diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 431418c179..0000000000 --- a/.eslintrc.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "ignorePatterns": [ - "./.github", - "./dist" - ], - "env": { - "browser": true, - "commonjs": true, - "es2021": true, - "node": true - }, - "extends": [ - "eslint:recommended", - "prettier" - ], - "overrides": [ - { - "files": ["*.ts", "*.tsx"], - "rules": { - "no-dupe-class-members": "off" - } - } - ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": 12 - }, - "plugins": [ - "@typescript-eslint" - ], - "rules": { - "indent": [ - "error", - 4, - { - "SwitchCase": 1 - } - ], - "no-unused-vars": "off", - "quotes": [ - "error", - "double" - ], - "semi": [ - "error", - "never" - ] - }, - "globals": { - "Buffer": "readonly", - "BufferEncoding": "readonly" - } -} diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml new file mode 100644 index 0000000000..1781899521 --- /dev/null +++ b/.github/workflows/crowdin.yml @@ -0,0 +1,113 @@ +name: crowdin + +on: + pull_request: + types: + - opened + - reopened + - synchronize + - labeled + +permissions: + contents: write + pull-requests: read + +jobs: + format: + name: Format Translations + if: | + contains(github.event.pull_request.labels.*.name, 'translations') && + startsWith(github.event.pull_request.head.ref, 'l10n_') && + github.event.pull_request.head.repo.full_name == github.repository + runs-on: ubuntu-latest + + steps: + - name: Checkout PR branch + uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Get files + id: files + run: | + git fetch origin "${{ github.event.pull_request.base.ref }}" + + git diff \ + --name-only \ + "origin/${{ github.event.pull_request.base.ref }}...HEAD" \ + -- '*.json' > files.txt + + cat files.txt + + - name: Format translation files + run: | + cat > fix.js <<'EOF' + const fs = require('fs'); + + function clean(value) { + if (typeof value === 'string') { + return value === '' ? undefined : value; + } + + if (Array.isArray(value)) { + const arr = value.map(clean).filter(v => v !== undefined); + return arr.length ? arr : undefined; + } + + if (value && typeof value === 'object') { + const result = {}; + + for (const [key, val] of Object.entries(value)) { + const cleaned = clean(val); + + if (cleaned !== undefined) { + result[key] = cleaned; + } + } + + return Object.keys(result).length ? result : undefined; + } + + return value; + } + + const files = fs.readFileSync('files.txt', 'utf8') + .split('\n') + .map(f => f.trim()) + .filter(Boolean); + + for (const file of files) { + try { + const json = JSON.parse(fs.readFileSync(file, 'utf8')); + const cleaned = clean(json) ?? {}; + + fs.writeFileSync(file, JSON.stringify(cleaned), 'utf8'); + + console.log(`Processed ${file}`); + } catch (err) { + console.warn(`Skipping ${file}: ${err.message}`); + } + } + EOF + + node fix.js + + - name: Commit changes + run: | + if git diff --quiet; then + echo "No changes." + exit 0 + fi + + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + + git add $(cat files.txt) + git commit -m "Format Crowdin translation exports" + git push \ No newline at end of file diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 511e79a55b..4f385f3e3d 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -1,29 +1,23 @@ name: lint on: pull_request: - branches: - - "*" - push: - branches: - - '*' + push: jobs: - build: + lint: name: Run Linters runs-on: ubuntu-latest steps: - - name: Check out Git repo - uses: actions/checkout@v3 - with: - node-version: 16.11.0 - - - name: Set up node.js - uses: actions/setup-node@v1 + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 with: - node-version: '18.x' - - - name: Install node.js deps - run: npm i eslint --save-dev - - - name: Run lint - run: npx eslint --fix ./src/**/*.ts \ No newline at end of file + node-version: 20 + + - name: Install dependencies + run: npm ci + + - name: Run ESLint + run: npx eslint ./src/**/*.ts \ No newline at end of file diff --git a/.github/workflows/tsc.yml b/.github/workflows/tsc.yml index f77564055b..7a3e0fdec3 100644 --- a/.github/workflows/tsc.yml +++ b/.github/workflows/tsc.yml @@ -1,29 +1,23 @@ name: tsc on: pull_request: - branches: - - "*" - push: - branches: - - '*' + push: jobs: - build: + tsc: name: Run tsc runs-on: ubuntu-latest steps: - - name: Check out Git repo - uses: actions/checkout@v3 - with: - node-version: 16.11.0 - - - name: Set up node.js - uses: actions/setup-node@v1 + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 with: - node-version: '18.x' - - - name: Install node.js deps - run: npm i eslint typescript --save-dev + node-version: 20 + + - name: Install dependencies + run: npm ci - name: Run tsc - run: npx tsc \ No newline at end of file + run: npx tsc \ No newline at end of file diff --git a/.npmignore b/.npmignore index 50cdee1f24..d6366de45d 100644 --- a/.npmignore +++ b/.npmignore @@ -10,6 +10,8 @@ EXTENSIONS.md .env tsconfig.json tsconfig.build.json +eslint.config.js .eslintrc.json .prettierrc -.prettierignore \ No newline at end of file +.prettierignore +crowdin.yml \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 22eea73967..a256c15469 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,4 @@ { - "editor.wordBasedSuggestions": "off" + "editor.wordBasedSuggestions": "off", + "compilets.autoStart": false } \ No newline at end of file diff --git a/README.md b/README.md index f8089f9c97..c29c18f8e4 100644 --- a/README.md +++ b/README.md @@ -117,5 +117,5 @@ The previous way to register commands can fill our index file with a lot of junk There's currently no known limitation. -> image Note this library reads codes from **TOP** to **BOTTOM**, and never the opposite. +> ⚠️ Note this library reads codes from **TOP** to **BOTTOM**, and never the opposite. diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 0000000000..41c4c174e0 --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,8 @@ +pull_request_title: Crowdin Translations +pull_request_labels: + - translations +pull_request_assignees: + - xNickyDev +files: + - source: /metadata/translations/en.json + translation: /metadata/translations/%locale%.json diff --git a/dist/@build/commit.js b/dist/@build/commit.js index c085e5ee11..b30ebb9899 100644 --- a/dist/@build/commit.js +++ b/dist/@build/commit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const process_1 = require("process"); @@ -9,7 +9,6 @@ const readline_1 = require("readline"); const child_process_1 = require("child_process"); const fs_1 = require("fs"); const path_1 = require("path"); -const os_1 = require("os"); async function prompt(q) { const itf = (0, readline_1.createInterface)(process_1.stdin, process_1.stdout); return new Promise(r => { @@ -51,12 +50,10 @@ async function main() { (0, fs_1.writeFileSync)(fileName, JSON.stringify(json), "utf-8"); } const branch = await prompt("Write the branch name to push to (defaults to dev): ") || "dev"; - let escapedMsg = msg; - if ((0, os_1.platform)() === "darwin") - escapedMsg = escapedMsg.replace(/\$/g, "\\$"); - (0, child_process_1.execSync)("git branch -M " + branch + " && git add . && git commit -m \"" + escapedMsg + "\" && git push -u origin " + branch, { - stdio: "inherit" - }); + (0, child_process_1.execFileSync)("git", ["branch", "-M", branch], { stdio: "inherit" }); + (0, child_process_1.execFileSync)("git", ["add", "."], { stdio: "inherit" }); + (0, child_process_1.execFileSync)("git", ["commit", "-m", msg], { stdio: "inherit" }); + (0, child_process_1.execFileSync)("git", ["push", "-u", "origin", branch], { stdio: "inherit" }); } // Nothing main(); diff --git a/dist/@build/commit.js.map b/dist/@build/commit.js.map index dad5316b92..e4aa4b71dc 100644 --- a/dist/@build/commit.js.map +++ b/dist/@build/commit.js.map @@ -1 +1 @@ -{"version":3,"file":"commit.js","sourceRoot":"","sources":["../../src/@build/commit.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAuC;AACvC,uCAA0C;AAC1C,iDAAwC;AACxC,2BAAuE;AACvE,+BAA2B;AAC3B,2BAA6B;AAE7B,KAAK,UAAU,MAAM,CAAC,CAAS;IAC3B,MAAM,GAAG,GAAG,IAAA,0BAAe,EAAC,eAAK,EAAE,gBAAM,CAAC,CAAA;IAC1C,OAAO,IAAI,OAAO,CAAS,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sBAAsB,CAAC,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAA;IACjE,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC;YAClB,OAAO,EAAE,GAAG;YACZ,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,MAAM;SACT,CAAC,CAAA;QACF,IAAA,kBAAa,EAAC,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAA;IAC1D,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sDAAsD,CAAC,IAAI,KAAK,CAAA;IAE5F,IAAA,4BAAY,EAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAA;IACnE,IAAA,4BAAY,EAAC,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAA;IACvD,IAAA,4BAAY,EAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,IAAI,EAAE,GAAG,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAA;IAChE,IAAA,4BAAY,EAAC,KAAK,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAA;AAC/E,CAAC;AAED,UAAU;AACV,IAAI,EAAE,CAAA"} \ No newline at end of file diff --git a/dist/@build/license.js b/dist/@build/license.js index 0c32bdadd5..94c893f8be 100644 --- a/dist/@build/license.js +++ b/dist/@build/license.js @@ -1,16 +1,17 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); const path_1 = require("path"); const LICENSE = `/* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © ${new Date().getFullYear()} BotForge */`; const dir = (0, path_1.resolve)("src"); +const HeaderRegex = /^\s*\/\*[\s\S]*?SPDX-License-Identifier:[\s\S]*?\*\/\s*/; function log(msg) { const time = new Date().toLocaleTimeString(); console.log(`[${time}] ${msg}`); @@ -23,18 +24,11 @@ const isTs = (file) => file.endsWith(".ts"); function addHeaderIfMissing(filePath) { try { const content = (0, fs_1.readFileSync)(filePath, "utf8"); - const c = content.split("\n"); - const l = LICENSE.split("\n"); - let i = 0; - for (const line of c) { - if (line.startsWith(l[i])) - i++; - else - break; - } - if (i === l.length) + const stripped = content.replace(HeaderRegex, ""); + const updated = `${LICENSE}\n\n${stripped}`; + if (updated === content) return false; - (0, fs_1.writeFileSync)(filePath, `${LICENSE}\n\n${content}`); + (0, fs_1.writeFileSync)(filePath, updated); log(`Added license header → ${filePath}`); return true; } diff --git a/dist/@build/license.js.map b/dist/@build/license.js.map index 6c1491f45d..fd5a6c6958 100644 --- a/dist/@build/license.js.map +++ b/dist/@build/license.js.map @@ -1 +1 @@ -{"version":3,"file":"license.js","sourceRoot":"","sources":["../../src/@build/license.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAmF;AACnF,+BAAoC;AAEpC,MAAM,OAAO,GAAG;;;GAGb,CAAA;AAEH,MAAM,GAAG,GAAG,IAAA,cAAO,EAAC,KAAK,CAAC,CAAA;AAE1B,SAAS,GAAG,CAAC,GAAW;IACpB,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC,kBAAkB,EAAE,CAAA;IAC5C,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC,CAAA;AACnC,CAAC;AAED,IAAI,CAAC,IAAA,eAAU,EAAC,GAAG,CAAC,EAAE;IAClB,OAAO,C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CAAA;QAC3C,IAAI,OAAO,KAAK,OAAO;YAAE,OAAO,KAAK,CAAA;QACrC,IAAA,kBAAa,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAA;QAChC,GAAG,CAAC,0BAA0B,QAAQ,EAAE,CAAC,CAAA;QACzC,OAAO,IAAI,CAAA;IACf,CAAC;IAAC,MAAM,CAAC;QACL,OAAO,KAAK,CAAA;IAChB,CAAC;AACL,CAAC;AAED,SAAS,OAAO,CAAC,GAAW;IACxB,KAAK,MAAM,KAAK,IAAI,IAAA,gBAAW,EAAC,GAAG,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,GAAG,IAAA,WAAI,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QAC7B,MAAM,EAAE,GAAG,IAAA,aAAQ,EAAC,IAAI,CAAC,CAAA;QACzB,IAAI,EAAE,CAAC,WAAW,EAAE;YAAE,OAAO,CAAC,IAAI,CAAC,CAAA;aAC9B,IAAI,EAAE,CAAC,MAAM,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC;YAAE,kBAAkB,CAAC,IAAI,CAAC,CAAA;IAChE,CAAC;AACL,CAAC;AAED,GAAG,CAAC,8CAA8C,CAAC,CAAA;AACnD,OAAO,CAAC,GAAG,CAAC,CAAA;AACZ,GAAG,CAAC,qBAAqB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/__tests__/app/ok.js b/dist/__tests__/app/ok.js index 8ed8af3975..9538a0bd89 100644 --- a/dist/__tests__/app/ok.js +++ b/dist/__tests__/app/ok.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/__tests__/app/ping.js b/dist/__tests__/app/ping.js index 680dcad1eb..2397f37ec4 100644 --- a/dist/__tests__/app/ping.js +++ b/dist/__tests__/app/ping.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/__tests__/app/test/bye.js b/dist/__tests__/app/test/bye.js index 1c4462b9ff..bd48a08d7e 100644 --- a/dist/__tests__/app/test/bye.js +++ b/dist/__tests__/app/test/bye.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/__tests__/async.js b/dist/__tests__/async.js index d7ed017965..c8cfc22a00 100644 --- a/dist/__tests__/async.js +++ b/dist/__tests__/async.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ async function asyncTask() { return 0; diff --git a/dist/__tests__/async.js.map b/dist/__tests__/async.js.map index b857fbf699..432d8d3228 100644 --- a/dist/__tests__/async.js.map +++ b/dist/__tests__/async.js.map @@ -1 +1 @@ -{"version":3,"file":"async.js","sourceRoot":"","sources":["../../src/__tests__/async.ts"],"names":[],"mappings":";AAAA;;;EAGE;AAEF,KAAK,UAAU,SAAS;IACpB,OAAO,CAAC,CAAA;AACZ,CAAC;AAED,SAAS,QAAQ;IACb,OAAO,CAAC,CAAA;AACZ,CAAC;AAED,KAAK,UAAU,QAAQ;IACnB,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE,CAAA;IAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAC,CAAC,GAAG,OAAO,EAAC,CAAC,EAAE,EAAE;QAC5B,MAAM,SAAS,EAAE,CAAA;KAC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AG,OAAO,EAAC,CAAC,EAAE,EAAE,CAAC;QAC7B,MAAM,SAAS,EAAE,CAAA;IACrB,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,KAAK,EAAE,IAAI,CAAC,CAAA;IAC5C,OAAO,QAAQ,CAAA;AACnB,CAAC;AAED,KAAK,UAAU,OAAO;IAClB,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE,CAAA;IAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAC,CAAC,GAAG,OAAO,EAAC,CAAC,EAAE,EAAE,CAAC;QAC7B,IAAI,GAAG,GAAG,QAAQ,EAAE,CAAA;IACxB,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,KAAK,EAAE,IAAI,CAAC,CAAA;IAC5C,OAAO,OAAO,CAAA;AAClB,CAAC;AAED,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;AACpB,QAAQ,EAAE;KACL,IAAI,CAAC,QAAQ,CAAC;KACd,IAAI,CAAC,QAAQ,CAAC;KACd,IAAI,CAAC,QAAQ,CAAC;KACd,IAAI,CAAC,QAAQ,CAAC;KACd,IAAI,CAAC,GAAG,EAAE;IACP,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IACnB,OAAO,EAAE;SACJ,IAAI,CAAC,OAAO,CAAC;SACb,IAAI,CAAC,OAAO,CAAC;SACb,IAAI,CAAC,OAAO,CAAC;SACb,IAAI,CAAC,OAAO,CAAC,CAAA;AACtB,CAAC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/__tests__/bar.js b/dist/__tests__/bar.js index dfc623256c..c23c897273 100644 --- a/dist/__tests__/bar.js +++ b/dist/__tests__/bar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const generateBar_1 = require("../functions/generateBar"); diff --git a/dist/__tests__/bulk.js b/dist/__tests__/bulk.js index 340638bc83..1fa539e64d 100644 --- a/dist/__tests__/bulk.js +++ b/dist/__tests__/bulk.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const promises_1 = require("timers/promises"); diff --git a/dist/__tests__/client.js b/dist/__tests__/client.js index 0e77098eda..11c07610d8 100644 --- a/dist/__tests__/client.js +++ b/dist/__tests__/client.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../core"); @@ -140,6 +140,5 @@ client.commands.add({ $addChoice[tmr;land] `, }); -// eslint-disable-next-line no-undef client.login(process.env.TOKEN); //# sourceMappingURL=client.js.map \ No newline at end of file diff --git a/dist/__tests__/client.js.map b/dist/__tests__/client.js.map index 2f2a0a6ce2..2a41f94099 100644 --- a/dist/__tests__/client.js.map +++ b/dist/__tests__/client.js.map @@ -1 +1 @@ -{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/__tests__/client.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,kCAAqC;AACrC,mCAA+B;AAC/B,2CAAyE;AACzE,2DAA4D;AAC5D,+BAAmC;AACnC,IAAA,eAAM,GAAE,CAAA;AAER,MAAM,MAAM,GAAG,IAAI,kBAAW,CAAC;IAC3B,QAAQ,EAAE,oBAAW,CAAC,IAAI;IAC1B,OAAO,EAAE;QACL,QAAQ;QACR,gBAAgB;QAChB,eAAe;QACf,cAAc;QACd,gBAAgB;QAChB,cAAc;QACd,iBAAiB;QACjB,uBAAuB;QACv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C;IACzC,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE;;;KAGL;CACJ,CAAC,CAAA;AAEF,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/__tests__/custom/uwu.d.ts b/dist/__tests__/custom/uwu.d.ts index f7c64a8ab2..9b5169769b 100644 --- a/dist/__tests__/custom/uwu.d.ts +++ b/dist/__tests__/custom/uwu.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures/@internal/NativeFunction"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=uwu.d.ts.map \ No newline at end of file diff --git a/dist/__tests__/custom/uwu.js b/dist/__tests__/custom/uwu.js index 1f9def01c3..7fabe0eeb7 100644 --- a/dist/__tests__/custom/uwu.js +++ b/dist/__tests__/custom/uwu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/__tests__/diagnostics.js b/dist/__tests__/diagnostics.js index 05984c06cd..71c9669abb 100644 --- a/dist/__tests__/diagnostics.js +++ b/dist/__tests__/diagnostics.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const node_diagnostics_channel_1 = require("node:diagnostics_channel"); diff --git a/dist/__tests__/docs.js b/dist/__tests__/docs.js index f8a9826023..6ce7ad84aa 100644 --- a/dist/__tests__/docs.js +++ b/dist/__tests__/docs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/__tests__/error.js b/dist/__tests__/error.js index aeca8bcc80..9f0e8b0770 100644 --- a/dist/__tests__/error.js +++ b/dist/__tests__/error.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const ForgeError_1 = require("../structures/forge/ForgeError"); diff --git a/dist/__tests__/ext.d.ts.map b/dist/__tests__/ext.d.ts.map index 71e54251ff..361c2367a5 100644 --- a/dist/__tests__/ext.d.ts.map +++ b/dist/__tests__/ext.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ext.d.ts","sourceRoot":"","sources":["../../src/__tests__/ext.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAEnE,qBAAa,UAAW,SAAQ,kBAAkB,CAAC,EAAE,CAAC;IAC3C,WAAW,SAAS;CAC9B;AAGD,qBAAa,WAAY,SAAQ,cAAc;IACpC,WAAW,EAAE,MAAM,CAAqB;IACxC,IAAI,EAAE,MAAM,CAAQ;IACpB,OAAO,EAAE,MAAM,CAAU;IAEzB,MAAM,EAAG,UAAU,CAAA;IAEnB,IAAI,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;CAKzC"} \ No newline at end of file +{"version":3,"file":"ext.d.ts","sourceRoot":"","sources":["../../src/__tests__/ext.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAEnE,qBAAa,UAAW,SAAQ,kBAAkB,CAAC,EAAE,CAAC;IAC3C,WAAW,SAAS;CAC9B;AAGD,qBAAa,WAAY,SAAQ,cAAc;IACpC,WAAW,EAAE,MAAM,CAAqB;IACxC,IAAI,EAAE,MAAM,CAAQ;IACpB,OAAO,EAAE,MAAM,CAAU;IAEzB,MAAM,EAAG,UAAU,CAAA;IAEnB,IAAI,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI;CAIzC"} \ No newline at end of file diff --git a/dist/__tests__/ext.js b/dist/__tests__/ext.js index c6224285f4..4b15aed847 100644 --- a/dist/__tests__/ext.js +++ b/dist/__tests__/ext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MyExtension = exports.RndManager = void 0; @@ -19,7 +19,6 @@ class MyExtension extends ForgeExtension_1.ForgeExtension { version = "1.0.0"; random; init(client) { - // eslint-disable-next-line no-undef this.load((0, node_path_1.join)(__dirname, "custom")); this.random = new RndManager(client); } diff --git a/dist/__tests__/ext.js.map b/dist/__tests__/ext.js.map index 5d3f872299..2647fc8520 100644 --- a/dist/__tests__/ext.js.map +++ b/dist/__tests__/ext.js.map @@ -1 +1 @@ -{"version":3,"file":"ext.js","sourceRoot":"","sources":["../../src/__tests__/ext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,yCAAgC;AAEhC,0CAAgD;AAEhD,uEAAmE;AAEnE,MAAa,UAAW,SAAQ,6BAAsB;IAC3C,WAAW,GAAG,MAAM,CAAA;CAC9B;AAFD,gCAEC;AAED,kBAAkB;AAClB,MAAa,WAAY,SAAQ,+BAAc;IACpC,WAAW,GAAW,kBAAkB,CAAA;IACxC,IAAI,GAAW,KAAK,CAAA;IACpB,OAAO,GAAW,OAAO,CAAA;IAEzB,MAAM,CAAa;IAEnB,IAAI,CAAC,MAAmB;QAC3B,oCAAoC;QACpC,IAAI,CAAC,IAAI,CAAC,IAAA,gBAAI,EAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAA;QACpC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;CACJ;AAZD,kCAYC"} \ No newline at end of file +{"version":3,"file":"ext.js","sourceRoot":"","sources":["../../src/__tests__/ext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,yCAAgC;AAEhC,0CAAgD;AAChD,uEAAmE;AAEnE,MAAa,UAAW,SAAQ,6BAAsB;IAC3C,WAAW,GAAG,MAAM,CAAA;CAC9B;AAFD,gCAEC;AAED,kBAAkB;AAClB,MAAa,WAAY,SAAQ,+BAAc;IACpC,WAAW,GAAW,kBAAkB,CAAA;IACxC,IAAI,GAAW,KAAK,CAAA;IACpB,OAAO,GAAW,OAAO,CAAA;IAEzB,MAAM,CAAa;IAEnB,IAAI,CAAC,MAAmB;QAC3B,IAAI,CAAC,IAAI,CAAC,IAAA,gBAAI,EAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAA;QACpC,IAAI,CAAC,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;CACJ;AAXD,kCAWC"} \ No newline at end of file diff --git a/dist/__tests__/fs.js b/dist/__tests__/fs.js index b480efb968..be66c3c8c3 100644 --- a/dist/__tests__/fs.js +++ b/dist/__tests__/fs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const FileReader_1 = require("../core/FileReader"); diff --git a/dist/__tests__/read.js b/dist/__tests__/read.js index 9a7cc5eeb5..d5d783d965 100644 --- a/dist/__tests__/read.js +++ b/dist/__tests__/read.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const util_1 = require("util"); diff --git a/dist/__tests__/regex.js b/dist/__tests__/regex.js index cfb1f0cccc..bc339a29de 100644 --- a/dist/__tests__/regex.js +++ b/dist/__tests__/regex.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const node_util_1 = require("node:util"); diff --git a/dist/__tests__/rgb.js b/dist/__tests__/rgb.js index 27687c55c2..86b33ee354 100644 --- a/dist/__tests__/rgb.js +++ b/dist/__tests__/rgb.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/__tests__/runner.js b/dist/__tests__/runner.js index af806c1d6c..9751153ad6 100644 --- a/dist/__tests__/runner.js +++ b/dist/__tests__/runner.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -19,13 +19,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); const process_1 = require("process"); Promise.resolve(`${`./${process_1.argv.slice(2).join(" ")}`}`).then(s => __importStar(require(s))); diff --git a/dist/__tests__/runner.js.map b/dist/__tests__/runner.js.map index 7423201c2a..639d2a8e36 100644 --- a/dist/__tests__/runner.js.map +++ b/dist/__tests__/runner.js.map @@ -1 +1 @@ -{"version":3,"file":"runner.js","sourceRoot":"","sources":["../../src/__tests__/runner.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,qCAA8B;AAE9B,mBAAO,KAAK,cAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,wCAAC"} \ No newline at end of file +{"version":3,"file":"runner.js","sourceRoot":"","sources":["../../src/__tests__/runner.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,qCAA8B;AAE9B,mBAAO,KAAK,cAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,wCAAC"} \ No newline at end of file diff --git a/dist/__tests__/validate.js b/dist/__tests__/validate.js index ccfaddd709..057ec6c22a 100644 --- a/dist/__tests__/validate.js +++ b/dist/__tests__/validate.js @@ -1,13 +1,12 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const managers_1 = require("../managers"); const structures_1 = require("../structures"); const Logger_1 = require("../structures/@internal/Logger"); -// eslint-disable-next-line no-undef managers_1.FunctionManager.load("Validator", __dirname + "/../native"); for (const [, fn] of managers_1.FunctionManager["Functions"]) { if (fn.data.args?.length) { diff --git a/dist/__tests__/validate.js.map b/dist/__tests__/validate.js.map index 31159cb4f6..30c07c6aae 100644 --- a/dist/__tests__/validate.js.map +++ b/dist/__tests__/validate.js.map @@ -1 +1 @@ -{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../src/__tests__/validate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,0CAA6C;AAC7C,8CAAuC;AACvC,2DAAuD;AAEvD,oCAAoC;AACpC,0BAAe,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,YAAY,CAAC,CAAA;AAE3D,KAAK,MAAM,CAAC,EAAE,EAAE,CAAC,IAAI,0BAAe,CAAC,WAAW,CAAC,EAAE;IAC/C,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE;QACtB,KAAK,MAAM,GAAG,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE;YAC5B,IACI,GAAG,CAAC,OAAO,KAAK,SAAS;gBACzB,CAAC,oBAAO,CAAC,IAAI,EAAE,oBAAO,CAAC,MAAM,EAAE,oBAAO,CAAC,OAAO,EAAE,oBAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,CACxE,GAAG,CAAC,IAAI,CACX,EACH;gBACE,eAAM,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,IAAI,kCAAkC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAA;aACvE;SACJ;KACJ;CACJ"} \ No newline at end of file +{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../src/__tests__/validate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,0CAA6C;AAC7C,8CAAuC;AACvC,2DAAuD;AAEvD,0BAAe,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,YAAY,CAAC,CAAA;AAE3D,KAAK,MAAM,CAAC,EAAE,EAAE,CAAC,IAAI,0BAAe,CAAC,WAAW,CAAC,EAAE,CAAC;IAChD,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC;QACvB,KAAK,MAAM,GAAG,IAAI,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAC7B,IACI,GAAG,CAAC,OAAO,KAAK,SAAS;gBACzB,CAAC,oBAAO,CAAC,IAAI,EAAE,oBAAO,CAAC,MAAM,EAAE,oBAAO,CAAC,OAAO,EAAE,oBAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,CACxE,GAAG,CAAC,IAAI,CACX,EACH,CAAC;gBACC,eAAM,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,IAAI,kCAAkC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAA;YACxE,CAAC;QACL,CAAC;IACL,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/dist/constants.js b/dist/constants.js index 66698c6980..29f16e24e3 100644 --- a/dist/constants.js +++ b/dist/constants.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -16,21 +16,21 @@ exports.TimeParser = new ms_utility_1.default([ "w", { word: "week", - ms: 1000 * 60 * 60 * 24 * 7 + ms: 1_000 * 60 * 60 * 24 * 7 } ], [ "M", { word: "month", - ms: 1000 * 60 * 60 * 24 * 30 + ms: 1_000 * 60 * 60 * 24 * 30 } ], [ "y", { word: "year", - ms: 1000 * 60 * 60 * 24 * 30 * 12 + ms: 1_000 * 60 * 60 * 24 * 30 * 12 } ], ]); diff --git a/dist/constants.js.map b/dist/constants.js.map index 9b63a88dc7..1c6d2db03e 100644 --- a/dist/constants.js.map +++ b/dist/constants.js.map @@ -1 +1 @@ -{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,4DAA+B;AAC/B,yDAA4D;AAE/C,QAAA,UAAU,GAAG,IAAI,oBAAM,CAAC;IACjC,GAAG,4BAAgB;IACnB;QACI,GAAG;QACH;YACI,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,IAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;SAC/B;KACJ;IACD;QACI,GAAG;QACH;YACI,IAAI,EAAE,OAAO;YACb,EAAE,EAAE,IAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;SAChC;KACJ;IACD;QACI,GAAG;QACH;YACI,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,IAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;SACrC;KACJ;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,4DAA+B;AAC/B,yDAA4D;AAE/C,QAAA,UAAU,GAAG,IAAI,oBAAM,CAAC;IACjC,GAAG,4BAAgB;IACnB;QACI,GAAG;QACH;YACI,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;SAC/B;KACJ;IACD;QACI,GAAG;QACH;YACI,IAAI,EAAE,OAAO;YACb,EAAE,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;SAChC;KACJ;IACD;QACI,GAAG;QACH;YACI,IAAI,EAAE,MAAM;YACZ,EAAE,EAAE,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE;SACrC;KACJ;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/core/Compiler.d.ts b/dist/core/Compiler.d.ts index b483b22e99..e1db288916 100644 --- a/dist/core/Compiler.d.ts +++ b/dist/core/Compiler.d.ts @@ -21,6 +21,7 @@ export type WrappedCode = (args: unknown[]) => string; export type WrappedConditionCode = (lhs: unknown, rhs: unknown) => boolean; export interface ICompiledFunctionField { value: string; + rawValue: string; functions: ICompiledFunction[]; resolve: WrappedCode; } diff --git a/dist/core/Compiler.d.ts.map b/dist/core/Compiler.d.ts.map index ba5d22b437..7d3c7ee194 100644 --- a/dist/core/Compiler.d.ts.map +++ b/dist/core/Compiler.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Compiler.d.ts","sourceRoot":"","sources":["../../src/core/Compiler.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAI3E,MAAM,WAAW,SAAS;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,2BAA2B;IACxC,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,SAAS,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,YAAY;IACzB,OAAO,EAAE,IAAI,GAAG,MAAM,EAAE,CAAA;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,IAAI,EAAE,2BAA2B,GAAG,IAAI,CAAA;CAC3C;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM,CAAA;AACrD,MAAM,MAAM,oBAAoB,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,KAAK,OAAO,CAAA;AAE1E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b,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,0BAA0B;WAQxE,SAAS,CAAC,MAAM,EAAE,OAAO,IAAI,CAAC,MAAM;CAGrD"} \ No newline at end of file diff --git a/dist/core/Compiler.js b/dist/core/Compiler.js index a3097db507..94534459c1 100644 --- a/dist/core/Compiler.js +++ b/dist/core/Compiler.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Compiler = exports.Conditions = exports.Operators = exports.OperatorType = void 0; @@ -146,11 +146,14 @@ class Compiler { }; } parseFieldMatch(fns, match) { + const start = match.index; const fn = this.parseFunction(); fns.push(fn); + const raw = this.code.slice(start, this.index); // Next match return { nextMatch: this.match, + raw, fn, }; } @@ -169,6 +172,7 @@ class Compiler { parseConditionField(ref) { const data = {}; const functions = new Array(); + let rawValue = ""; let fieldValue = ""; let closedGracefully = false; let match = this.match; @@ -178,6 +182,7 @@ class Compiler { if (isEscape) { const { char, nextMatch } = this.processEscape(); fieldValue += char; + rawValue += char; match = nextMatch; continue; } @@ -186,9 +191,10 @@ class Compiler { break; } if (match?.index === this.index) { - const { fn, nextMatch } = this.parseFieldMatch(functions, match); + const { fn, raw, nextMatch } = this.parseFieldMatch(functions, match); match = nextMatch; fieldValue += fn.id; + rawValue += raw; continue; } if (data.op === undefined) { @@ -199,7 +205,9 @@ class Compiler { functions: [...functions], resolve: this.wrap(fieldValue), value: fieldValue, + rawValue }; + rawValue = ""; fieldValue = ""; functions.length = 0; this.index += data.op.length; @@ -207,12 +215,14 @@ class Compiler { } } fieldValue += char; + rawValue += char; this.index++; } if (!closedGracefully) this.error(`Function ${ref.fn.name} is missing brace closure`); const out = { functions, + rawValue, value: fieldValue, resolve: this.wrap(fieldValue), }; @@ -226,6 +236,7 @@ class Compiler { } parseNormalField(ref) { const functions = new Array(); + let rawValue = ""; let fieldValue = ""; let closedGracefully = false; let match = this.match; @@ -235,6 +246,7 @@ class Compiler { if (isEscape) { const { char, nextMatch } = this.processEscape(); fieldValue += char; + rawValue += char; match = nextMatch; continue; } @@ -243,12 +255,14 @@ class Compiler { break; } if (match?.index === this.index) { - const { fn, nextMatch } = this.parseFieldMatch(functions, match); + const { fn, raw, nextMatch } = this.parseFieldMatch(functions, match); match = nextMatch; fieldValue += fn.id; + rawValue += raw; continue; } fieldValue += char; + rawValue += char; this.index++; } if (!closedGracefully) @@ -256,6 +270,7 @@ class Compiler { return { resolve: this.wrap(fieldValue), functions, + rawValue, value: fieldValue, }; } diff --git a/dist/core/Compiler.js.map b/dist/core/Compiler.js.map index 1f4dc85e0f..5b3054e105 100644 --- a/dist/core/Compiler.js.map +++ b/dist/core/Compiler.js.map @@ -1 +1 @@ -{"version":3,"file":"Compiler.js","sourceRoot":"","sources":["../../src/core/Compiler.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAGF,+EAA2E;AAC3E,+DAAsE;AACtE,2CAAuC;AAgCvC,IAAY,YAQX;AARD,WAAY,YAAY;IACpB,yBAAS,CAAA;IACT,4BAAY,CAAA;IACZ,0BAAU,CAAA;IACV,0BAAU,CAAA;IACV,wBAAQ,CAAA;IACR,wBAAQ,CAAA;IACR,gCAAgB,CAAA;AACpB,CAAC,EARW,YAAY,4BAAZ,YAAY,QAQvB;AAEY,QAAA,SAAS,GAAG,IAAI,GAAG,CAAe,MAAM,CAAC,MAAM,CAAC,YAAY,CAAmB,CAAC,CAAA;AAEhF,QAAA,UAAU,GAA+C;IAClE,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,MAAM;IACrC,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,GAAG;IAC/B,IAAI,EAAE,CAAC,GAAG,EAAE,GA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CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC,CAAA;QAEhD,IAAI,CAAC,KAAK,GAAG,IAAI,MAAM,CACnB,kCAAkC,MAAM;aACnC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACP,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,OAAO,CACpE,QAAQ,CAAC,WAAW,EACpB,MAAM,CACT,CACJ;aACA,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;aACnC,IAAI,CAAC,GAAG,CAAC,GAAG,EACjB,KAAK,CACR,CAAA;IACL,CAAC;IAEM,MAAM,CAAC,OAAO,CAAC,IAAa,EAAE,IAAoB;QACrD,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,OAAO,EAAE,CAAA;QAC7C,OAAO;YACH,GAAG,MAAM;YACT,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,mCAAgB,CAAC,CAAC,CAAC,CAAC;SAClE,CAAA;IACL,CAAC;IAEM,MAAM,CAAC,SAAS,CAAC,MAA0B;QAC9C,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;IAC3C,CAAC;;AA/ZL,4BAgaC"} \ No newline at end of file diff --git a/dist/core/FileReader.js b/dist/core/FileReader.js index 4b660c5331..1d2f63212e 100644 --- a/dist/core/FileReader.js +++ b/dist/core/FileReader.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.FileReader = void 0; diff --git a/dist/core/FileReader.js.map b/dist/core/FileReader.js.map index 5cc66333f9..b7d6a9ddac 100644 --- a/dist/core/FileReader.js.map +++ b/dist/core/FileReader.js.map @@ -1 +1 @@ -{"version":3,"file":"FileReader.js","sourceRoot":"","sources":["../../src/core/FileReader.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,2BAAiC;AACjC,8CAAgF;AAEhF,MAAa,UAAU;IASiB;IAA+B;IAR5D,MAAM,CAAU,MAAM,GAAG;QAC5B,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,IAAI;KACf,CAAA;IAEO,KAAK,GAAG,CAAC,CAAA;IAEjB,YAAoC,IAAY,EAAmB,GAAQ;QAAvC,SAAI,GAAJ,IAAI,CAAQ;QAAmB,QAAG,GAAH,GAAG,CAAK;IAAG,CAAC;IAExE,MAAM,CAAC,IAAI,CAAC,MAAc,EAAE,OAAe;QAC9C,MAAM,GAAG,GAAG,IAAA,iBAAY,EAAC,MAAM,EAAE,OAAO,CAAC,CAAA;QACzC,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;QAC5D,OAAO,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAA;IACpC,CAAC;IAED,IAAI;QACA,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,EAAE;YACnB,IAAI,SAAS,IAAI,IAAI,CAAC,GAAG;gBAAE,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAA;iBAC7C,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;gBAAE,OAAO,IAAI,CAAC,GAAG,CAAA;iBAC5C,IAAI,MAAM,CAA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MAAM,IAAI,IAAI,CAAA;YAEnB,OAAO,GAAG,KAAK,CAAA;YACf,IAAI,CAAC,KAAK,EAAE,CAAA;QAChB,CAAC;QAED,IAAI,CAAC,MAAM;YAAE,MAAM,IAAI,uBAAU,CAAC,IAAI,EAAE,sBAAS,CAAC,aAAa,EAAE,mCAAmC,EAAE,CAAC,EAAE,CAAC,EAAE,SAAS,CAAC,CAAA;QAEtH,IAAI,CAAC,KAAK,EAAE,CAAA;QAEZ,OAAO,MAAM,CAAA;IACjB,CAAC;IAEO,IAAI;QACR,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IAChC,CAAC;;AAxGL,gCAyGC"} \ No newline at end of file diff --git a/dist/core/ForgeClient.d.ts b/dist/core/ForgeClient.d.ts index e4cf09c6dc..3a5aa35e4f 100644 --- a/dist/core/ForgeClient.d.ts +++ b/dist/core/ForgeClient.d.ts @@ -1,4 +1,3 @@ -/// import { ClientOptions, Client, IntentsBitField, Message } from "discord.js"; import { IExtendedCompilationResult } from "."; import { NativeCommandManager, EventManager, CooldownManager, ForgeFunctionManager, ApplicationCommandManager, ThreadManager, BaseCommandManager } from "../managers"; @@ -14,43 +13,54 @@ export interface IRestrictions { } export interface IRawForgeClientOptions extends ClientOptions { /** - * Specifies a folder (path) to load all commands from it + * Specifies a folder (path) to load all commands from it. */ commands?: string; /** - * The discord.js events our bot will use + * The discord.js events the bot will listen to. */ events?: CommandType[]; /** - * The prefixes our bot will act upon for command messages + * The prefixes the bot will act upon for command messages. */ prefixes?: string[]; /** - * Whether prefixes should be case-insensitive, this only affects letters + * Whether prefixes should be case-insensitive, this only affects letters. + * + * @default false */ prefixCaseInsensitive?: boolean; /** - * Specifies the logs to be received + * Specifies the logs to be received. + * + * @default LogPriority.Medium */ logLevel?: LogPriority; + /** + * Specifies a folder (path) to load all custom functions from it. + */ functions?: string; /** - * Allows the bot to execute events triggered by other bots (and itself) + * Allows the bot to execute events triggered by other bots (and itself). + * + * @default false */ allowBots?: boolean; token?: string; /** - * @deprecated use trackers: { invites: true } instead + * @deprecated Use `trackers: { invites: true }` instead. */ useInviteSystem?: boolean; disableConsoleErrors?: boolean; /** - * This will connect the client to Discord with the mobile status + * This will connect the client to Discord with the mobile status. + * + * @default false */ mobile?: boolean; trackers?: ITrackers; /** - * @deprecated Does not work + * @deprecated Does not work. */ optionalGuildID?: boolean; extensions?: ForgeExtension[]; @@ -59,6 +69,8 @@ export interface IRawForgeClientOptions extends ClientOptions { * Allows the bot to re-use messages that were edited to find possibly command calls. * If a number is passed, it's treated as the amount of milliseconds that can pass before * the message becomes completely unusable. + * + * @default false */ respondOnEdit?: number | boolean; } diff --git a/dist/core/ForgeClient.d.ts.map b/dist/core/ForgeClient.d.ts.map index 3c80057469..6766cdd144 100644 --- a/dist/core/ForgeClient.d.ts.map +++ b/dist/core/ForgeClient.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ForgeClient.d.ts","sourceRoot":"","sources":["../../src/core/ForgeClient.ts"],"names":[],"mappings":";AAKA,OAAO,EAEH,aAAa,EACb,MAAM,EACN,eAAe,EAGf,OAAO,EACV,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,0BAA0B,EAAY,MAAM,GAAG,CAAA;AACxD,OAAO,EACH,oBAAoB,EACpB,YAAY,EACZ,eAAe,EACf,oBAAoB,EAGpB,yBAAyB,EACzB,aAAa,EACb,kBAAkB,EACrB,MAAM,aAAa,CAAA;AACpB,OAAO,EACH,WAAW,EACX,WAAW,EACX,cAAc,EAGd,SAAS,EACT,aAAa,EAGb,WAAW,EACd,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAA;AAI9B,MAAM,WAAW,SAAS;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,aAAa;IAC1B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,OAAO,C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AC;IAGzB,IAAW,OAAO,IACkC,MAAM,CACzD;IAEY,SAAS,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAoBrD,gBAAgB,CAAC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC,GAAG,OAAO;IAIvD;;OAEG;IACH,IAAW,eAAe,kCAazB;IAEQ,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC;CAM9D"} \ No newline at end of file diff --git a/dist/core/ForgeClient.js b/dist/core/ForgeClient.js index 2620b0b702..31b73b2115 100644 --- a/dist/core/ForgeClient.js +++ b/dist/core/ForgeClient.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ForgeClient = void 0; diff --git a/dist/core/ForgeClient.js.map b/dist/core/ForgeClient.js.map index 2d85a4a594..2f56a91499 100644 --- a/dist/core/ForgeClient.js.map +++ b/dist/core/ForgeClient.js.map @@ -1 +1 @@ -{"version":3,"file":"ForgeClient.js","sourceRoot":"","sources":["../../src/core/ForgeClient.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,2CAQmB;AACnB,wBAAwD;AACxD,0CAUoB;AACpB,8CAWsB;AACtB,sEAAkE;AAClE,+CAA2C;AAG3C,IAAA,8BAAiB,GAAE,CAAA;AA8EnB,MAAa,WAAY,SAAQ,mBAAY;IAEzB,QAAQ,GAAG,IAAI,+BAAoB,CAAC,IAAI,CAAC,CAAA;IACzC,mBAAmB,GAAG,IAAI,oCAAyB,CAAC,IAAI,CAAC,CAAA;IACzD,MAAM,GAAG,IAAI,uBAAY,CAAC,IAAI,CAAC,CAAA;IAC/B,SAAS,GAAG,IAAI,0BAAe,CAAC,IAAI,CAAC,CAAA;IACrC,SAAS,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I,CAAC,QAAQ,CAAC,CAAA;QAEjE,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;YAClC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBACjE,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAA;gBACtC,MAAM,OAAO,GAAG,GAAG,CAAC,iBAAiB,EAAE,CAAA;gBACvC,IAAI,CAAC,OAAO;oBAAE,SAAQ;gBACtB,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;YACrB,CAAC;QACL,CAAC;QAED,OAAO,GAAG,CAAA;IACd,CAAC;IAEQ,KAAK,CAAC,KAA0B;QACrC,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;YAC/D,MAAM,IAAI,CAAC,mBAAmB,CAAC,cAAc,EAAE,CAAA;YAC/C,OAAO,GAAG,CAAA;QACd,CAAC,CAAC,CAAA;IACN,CAAC;CACJ;AA3JD,kCA2JC"} \ No newline at end of file diff --git a/dist/core/Interpreter.d.ts b/dist/core/Interpreter.d.ts index 6414c28b52..05662e090b 100644 --- a/dist/core/Interpreter.d.ts +++ b/dist/core/Interpreter.d.ts @@ -1,10 +1,11 @@ -import { AutoModerationRule, Channel, Entitlement, Guild, GuildAuditLogsEntry, GuildBan, GuildEmoji, GuildMember, GuildScheduledEvent, Invite, Message, PartialMessage, PartialPollAnswer, PartialSoundboardSound, PollAnswer, Presence, Role, SoundboardSound, StageInstance, Sticker, Subscription, User, VoiceChannelEffect, VoiceState } from "discord.js"; +import { AutoModerationRule, Channel, Entitlement, Guild, GuildAuditLogsEntry, GuildBan, GuildEmoji, GuildMember, GuildScheduledEvent, Invite, Message, PartialMessage, PartialPollAnswer, PartialSoundboardSound, PollAnswer, Presence, Role, SoundboardSound, StageInstance, Sticker, Subscription, User, VoiceChannelEffect, VoiceServerUpdateData, VoiceState } from "discord.js"; import { IExtendedCompilationResult } from "."; import { Sendable, BaseCommand, Context, Container, ILocalFunctionData } from "../structures"; import { ForgeClient } from "./ForgeClient"; export interface IStates { message: Message; voiceState: VoiceState; + voiceServer: VoiceServerUpdateData; voiceEffect: VoiceChannelEffect; presence: Presence; role: Role; diff --git a/dist/core/Interpreter.d.ts.map b/dist/core/Interpreter.d.ts.map index 59270d4cc8..d0a8244a7e 100644 --- a/dist/core/Interpreter.d.ts.map +++ b/dist/core/Interpreter.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Interpreter.d.ts","sourceRoot":"","sources":["../../src/core/Interpreter.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,kBAAkB,EAClB,OAAO,EACP,WAAW,EACX,KAAK,EACL,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,MAAM,EACN,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,eAAe,EACf,aAAa,EACb,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,kBAAkB,EAClB,UAAU,EACb,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAU,SAAS,EAAU,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAC7G,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,WAAW,OAAO;IACpB,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,QAAQ,CAAA;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AM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;IAEjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAErC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;IAEnD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;CACxB;AAED,qBAAa,WAAW;WACA,GAAG,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;WACzC,GAAG,CAAC,OAAO,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;CAsDtE"} \ No newline at end of file +{"version":3,"file":"Interpreter.d.ts","sourceRoot":"","sources":["../../src/core/Interpreter.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,kBAAkB,EAClB,OAAO,EACP,WAAW,EACX,KAAK,EACL,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,MAAM,EACN,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACtB,UAAU,EACV,QAAQ,EACR,IAAI,EACJ,eAAe,EACf,aAAa,EACb,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,kBAAkB,EAClB,qBAAqB,EACrB,UAAU,EACb,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,0BAA0B,EAAE,MAAM,GAAG,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAU,SAAS,EAAU,kBAAkB,EAAE,MAAM,eAAe,CAAA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B;;OAEG;IACH,GAAG,EAAE,QAAQ,CAAA;IAEb;;OAEG;IACH,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;IAEpC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAE9B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;IAEjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAElC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAErC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;IAEnD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;CACxB;AAED,qBAAa,WAAW;WACA,GAAG,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;WACzC,GAAG,CAAC,OAAO,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;CAsDtE"} \ No newline at end of file diff --git a/dist/core/Interpreter.js b/dist/core/Interpreter.js index 0166e7d60c..21899e0931 100644 --- a/dist/core/Interpreter.js +++ b/dist/core/Interpreter.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Interpreter = void 0; diff --git a/dist/core/Interpreter.js.map b/dist/core/Interpreter.js.map index c36ecdd647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;gBACxF,CAAC;YACL,CAAC;YAAC,OAAO,GAAY,EAAE,CAAC;gBACpB,IAAI,GAAG,YAAY,KAAK;oBACpB,mBAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;qBAChB,IAAI,GAAG,YAAY,mBAAM,EAAE,CAAC;oBAC7B,IAAI,GAAG,CAAC,MAAM;wBACV,OAAO,GAAG,CAAC,KAAe,CAAA;gBAClC,CAAC;gBAED,OAAO,IAAI,CAAA;YACf,CAAC;YAED,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;QACxC,CAAC;QAED,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC;YACrB,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAA;YAC/B,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QACzC,CAAC;QAED,OAAO,OAAO,CAAA;IAClB,CAAC;CACJ;AAxDD,kCAwDC"} \ No newline at end of file diff --git a/dist/core/index.js b/dist/core/index.js index 750594d4a6..e95a831a4e 100644 --- a/dist/core/index.js +++ b/dist/core/index.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; diff --git a/dist/docgen.js b/dist/docgen.js index acaa459fe5..c4e322da60 100644 --- a/dist/docgen.js +++ b/dist/docgen.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/experimental/threading/thread.js b/dist/experimental/threading/thread.js index 325d5aadbd..580bd15153 100644 --- a/dist/experimental/threading/thread.js +++ b/dist/experimental/threading/thread.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const worker_threads_1 = require("worker_threads"); diff --git a/dist/experimental/threading/translationThread.js b/dist/experimental/threading/translationThread.js index e15e11935e..9d081ff23e 100644 --- a/dist/experimental/threading/translationThread.js +++ b/dist/experimental/threading/translationThread.js @@ -1,48 +1,21 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); -const worker_threads_1 = require("worker_threads"); -const noop_1 = __importDefault(require("../../functions/noop")); -worker_threads_1.parentPort?.on("message", async function (msg) { - const translate = await Promise.resolve().then(() => __importStar(require("@iamtraction/google-translate"))).then(x => x.default); +/* Translation package not installed. +parentPort?.on("message", async function(msg: ITranslateData) { + const translate = await import("@iamtraction/google-translate").then(x => x.default) for (;;) { const txt = await translate(msg.text, { from: "en", to: msg.locale - }).catch(noop_1.default); + }).catch(noop) if (!txt) - continue; - worker_threads_1.parentPort?.postMessage(txt.text); - break; + continue + parentPort?.postMessage(txt.text) + break } -}); +}) */ //# sourceMappingURL=translationThread.js.map \ No newline at end of file diff --git a/dist/experimental/threading/translationThread.js.map b/dist/experimental/threading/translationThread.js.map index e1251ab180..7ba1f762ed 100644 --- a/dist/experimental/threading/translationThread.js.map +++ b/dist/experimental/threading/translationThread.js.map @@ -1 +1 @@ -{"version":3,"file":"translationThread.js","sourceRoot":"","sources":["../../../src/experimental/threading/translationThread.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,mDAA2C;AAC3C,gEAAuC;AAOvC,2BAAU,EAAE,EAAE,CAAC,SAAS,EAAE,KAAK,WAAU,GAAmB;IACxD,MAAM,SAAS,GAAG,MAAM,kDAAO,+BAA+B,IAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;IACpF,SAAS;QACL,MAAM,GAAG,GAAG,MAAM,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE;YAClC,IAAI,EAAE,IAAI;YACV,EAAE,EAAE,GAAG,CAAC,MAAM;SACjB,CAAC,CAAC,KAAK,CAAC,cAAI,CAAC,CAAA;QACd,IAAI,CAAC,GAAG;YACJ,SAAQ;QACZ,2BAAU,EAAE,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACjC,MAAK;KACR;AACL,CAAC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"translationThread.js","sourceRoot":"","sources":["../../../src/experimental/threading/translationThread.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAUF;;;;;;;;;;;;;KAaK"} \ No newline at end of file diff --git a/dist/functions/array.js b/dist/functions/array.js index d0dc9ea664..47064062cb 100644 --- a/dist/functions/array.js +++ b/dist/functions/array.js @@ -1,11 +1,11 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = default_1; function default_1(value) { return value ?? null; } -exports.default = default_1; //# sourceMappingURL=array.js.map \ No newline at end of file diff --git a/dist/functions/array.js.map b/dist/functions/array.js.map index e0062ae5da..397c4641e4 100644 --- a/dist/functions/array.js.map +++ b/dist/functions/array.js.map @@ -1 +1 @@ -{"version":3,"file":"array.js","sourceRoot":"","sources":["../../src/functions/array.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,mBAA2C,KAAW;IAClD,OAAO,KAAK,IAAI,IAAI,CAAA;AACxB,CAAC;AAFD,4BAEC"} \ No newline at end of file +{"version":3,"file":"array.js","sourceRoot":"","sources":["../../src/functions/array.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,4BAEC;AAFD,mBAA2C,KAAW;IAClD,OAAO,KAAK,IAAI,IAAI,CAAA;AACxB,CAAC"} \ No newline at end of file diff --git a/dist/functions/components.d.ts b/dist/functions/components.d.ts index 3449c2f0dd..121b780733 100644 --- a/dist/functions/components.d.ts +++ b/dist/functions/components.d.ts @@ -1,4 +1,4 @@ -import { ActionRowBuilder, ButtonBuilder, ChannelSelectMenuBuilder, ComponentType, ContainerBuilder, FileBuilder, MediaGalleryBuilder, MentionableSelectMenuBuilder, RoleSelectMenuBuilder, SectionBuilder, SeparatorBuilder, StringSelectMenuBuilder, TextDisplayBuilder, UserSelectMenuBuilder } from "discord.js"; +import { ActionRowBuilder, ButtonBuilder, ChannelSelectMenuBuilder, CheckboxBuilder, CheckboxGroupBuilder, ComponentType, ContainerBuilder, FileBuilder, FileUploadBuilder, MediaGalleryBuilder, MentionableSelectMenuBuilder, MessageActionRowComponentBuilder, RadioGroupBuilder, RoleSelectMenuBuilder, SectionBuilder, SeparatorBuilder, StringSelectMenuBuilder, TextDisplayBuilder, TextInputBuilder, UserSelectMenuBuilder } from "discord.js"; import { Context } from "../structures"; /** * Checks whether the specified component type is a top level component. @@ -19,13 +19,13 @@ export declare function buildActionRow(comp: any): ButtonBuilder | StringSelectM * @param ctx The current context, if any. * @returns */ -export declare function buildComponent(comp: any, ctx?: Context): ContainerBuilder | FileBuilder | MediaGalleryBuilder | SectionBuilder | SeparatorBuilder | TextDisplayBuilder | ActionRowBuilder; +export declare function buildComponent(comp: any, ctx?: Context): ContainerBuilder | FileBuilder | MediaGalleryBuilder | SectionBuilder | SeparatorBuilder | TextDisplayBuilder | ActionRowBuilder; /** * Gets the last component of the current label or action row. * @param ctx The current context. * @returns */ -export declare function getLastComponent(ctx: Context): import("@discordjs/builders").MessageActionRowComponentBuilder | import("@discordjs/builders").TextInputBuilder | import("@discordjs/builders").FileUploadBuilder | undefined; +export declare function getLastComponent(ctx: Context): MessageActionRowComponentBuilder | TextInputBuilder | CheckboxBuilder | CheckboxGroupBuilder | FileUploadBuilder | RadioGroupBuilder | undefined; /** * Adds an action row to the components. This is mostly needed inside ComponentsV2 functions. * @param ctx The current context. diff --git a/dist/functions/components.d.ts.map b/dist/functions/components.d.ts.map index e774f49542..c34ef4c448 100644 --- a/dist/functions/components.d.ts.map +++ b/dist/functions/components.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/functions/components.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,gBAAgB,EAChB,aAAa,EACb,wBAAwB,EACxB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,mBAAmB,EACnB,4BAA4B,EAC5B,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,qBAAqB,EACxB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAqBvC;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,GAAE,OAAc,WAExE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,qJAGvC;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,OAAO,uLAItD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,iLAE5C;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,GAAE,OAAc,QAa7D"} \ No newline at end of file +{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/functions/components.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,gBAAgB,EAChB,aAAa,EACb,wBAAwB,EACxB,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,4BAA4B,EAC5B,gCAAgC,EAChC,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACxB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAqBvC;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,aAAa,EAAE,SAAS,GAAE,OAAc,WAExE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,qJAGvC;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,OAAO,8KAItD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,gCAAgC,GAAG,gBAAgB,GAAG,eAAe,GAAG,oBAAoB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,SAAS,CAE/L;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,GAAE,OAAc,QAa7D"} \ No newline at end of file diff --git a/dist/functions/components.js b/dist/functions/components.js index c6b857ee9c..19a40e6644 100644 --- a/dist/functions/components.js +++ b/dist/functions/components.js @@ -1,10 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.addActionRow = exports.getLastComponent = exports.buildComponent = exports.buildActionRow = exports.isTopLevel = void 0; +exports.isTopLevel = isTopLevel; +exports.buildActionRow = buildActionRow; +exports.buildComponent = buildComponent; +exports.getLastComponent = getLastComponent; +exports.addActionRow = addActionRow; const discord_js_1 = require("discord.js"); const MessageComponentBuilders = { [discord_js_1.ComponentType.Button]: discord_js_1.ButtonBuilder, @@ -32,7 +36,6 @@ const TopLevelComponentBuilders = { function isTopLevel(type, actionRow = true) { return (type in TopLevelComponentBuilders) && (actionRow || type !== discord_js_1.ComponentType.ActionRow); } -exports.isTopLevel = isTopLevel; /** * Builds a message component for action rows. * @param comp The component data. @@ -42,7 +45,6 @@ function buildActionRow(comp) { const type = comp?.type; return new MessageComponentBuilders[type](comp.toJSON?.() ?? comp); } -exports.buildActionRow = buildActionRow; /** * Builds a top level component. * @param comp The component data. @@ -55,7 +57,6 @@ function buildComponent(comp, ctx) { ctx.container.isComponentsV2 = true; return new TopLevelComponentBuilders[type](comp.toJSON?.() ?? comp); } -exports.buildComponent = buildComponent; /** * Gets the last component of the current label or action row. * @param ctx The current context. @@ -64,7 +65,6 @@ exports.buildComponent = buildComponent; function getLastComponent(ctx) { return (ctx.component.label?.data.component ?? ctx.container.actionRow?.components[0]); } -exports.getLastComponent = getLastComponent; /** * Adds an action row to the components. This is mostly needed inside ComponentsV2 functions. * @param ctx The current context. @@ -84,5 +84,4 @@ function addActionRow(ctx, cv2 = true) { ctx.container.components.push(row); delete ctx.container.actionRow; } -exports.addActionRow = addActionRow; //# sourceMappingURL=components.js.map \ No newline at end of file diff --git a/dist/functions/components.js.map b/dist/functions/components.js.map index 1d2a4b5695..56fe4d2b2c 100644 --- a/dist/functions/components.js.map +++ b/dist/functions/components.js.map @@ -1 +1 @@ -{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/functions/components.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,2CAemB;AAGnB,MAAM,wBAAwB,GAAG;IAC7B,CAAC,0BAAa,CAAC,MAAuB,CAAC,EAAE,0BAAa;IACtD,CAAC,0BAAa,CAAC,YAA6B,CAAC,EAAE,oCAAuB;IACtE,CAAC,0BAAa,CAAC,UAA2B,CAAC,EAAE,kCAAqB;IAClE,CAAC,0BAAa,CAAC,aAA8B,CAAC,EAAE,qCAAwB;IACxE,CAAC,0BAAa,CAAC,UAA2B,CAAC,EAAE,kCAAqB;IAClE,CAAC,0BAAa,CAAC,iBAAkC,CAAC,EAAE,yCAA4B;CACnF,CAAA;AAED,MAAM,yBAAyB,GAAG;IAC9B,CAAC,0BAAa,CAAC,SAA0B,CAAC,EAAE,6BAAgB;IAC5D,CAAC,0BAAa,CAAC,SAA0B,CAAC,EAAE,6BAAgB;IAC5D,CAAC,0BAAa,CAAC,WAA4B,CAAC,EAAE,+BAAkB;IAChE,CAAC,0BAAa,CAAC,SAA0B,CAAC,EAAE,6BAAgB;IAC5D,CAAC,0BAAa,CAAC,YAA6B,CAAC,EAAE,gCAAmB;IAClE,CAAC,0BAAa,CAAC,OAAwB,CAAC,EAAE,2BAAc;IACxD,CAAC,0BAAa,CAAC,IAAqB,CAAC,EAAE,wBAAW;CACrD,CAAA;AAED;;;;;GAKG;AACH,SAAgB,UAAU,CAAC,IAAmB,EAAE,YAAqB,IAAI;IACrE,OAAO,CAAC,IAAI,IAAI,yBAAyB,CA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C,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;QACnF,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;;QAC/B,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAEvC,OAAO,GAAG,CAAC,SAAS,CAAC,SAAS,CAAA;AAClC,CAAC;AAbD,oCAaC"} \ No newline at end of file +{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/functions/components.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAmDF,gCAEC;AAOD,wCAGC;AAQD,wCAIC;AAOD,4CAEC;AAQD,oCAaC;AAvGD,2CAqBmB;AAGnB,MAAM,wBAAwB,GAAG;IAC7B,CAAC,0BAAa,CAAC,MAAuB,CAAC,EAAE,0BAAa;IACtD,CAAC,0BAAa,CAAC,YAA6B,CAAC,EAAE,oCAAuB;IACtE,CAAC,0BAAa,CAAC,UAA2B,CAAC,EAAE,kCAAqB;IAClE,CAAC,0BAAa,CAAC,aAA8B,CAAC,EAAE,qCAAwB;IACxE,CAAC,0BAAa,CAAC,UAA2B,CAAC,EAAE,kCAAqB;IAClE,CAAC,0BAAa,CAAC,iBAAkC,CAAC,EAAE,yCAA4B;CACnF,CAAA;AAED,MAAM,yBAAyB,GAAG;IAC9B,CAAC,0BAAa,CAAC,SAA0B,CAAC,EAAE,6BAAgB;IAC5D,CAAC,0BAAa,CAAC,SAA0B,CAAC,EAAE,6BAAgB;IAC5D,CAAC,0BAAa,CAAC,WAA4B,CAAC,EAAE,+BAAkB;IAChE,CAAC,0BAAa,CAAC,SAA0B,CAAC,EAAE,6BAAgB;IAC5D,CAAC,0BAAa,CAAC,YAA6B,CAAC,EAAE,gCAAmB;IAClE,CAAC,0BAAa,CAAC,OAAwB,CAAC,EAAE,2BAAc;IACxD,CAAC,0BAAa,CAAC,IAAqB,CAAC,EAAE,wBAAW;CACr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AS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;IAE5C,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;QACnF,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;;QAC/B,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAEvC,OAAO,GAAG,CAAC,SAAS,CAAC,SAAS,CAAA;AAClC,CAAC"} \ No newline at end of file diff --git a/dist/functions/contextNoop.js b/dist/functions/contextNoop.js index dd15546ff1..84a8725adc 100644 --- a/dist/functions/contextNoop.js +++ b/dist/functions/contextNoop.js @@ -1,9 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = default_1; const structures_1 = require("../structures"); function default_1(...args) { if (this.hasDisabledConsoleErrors()) { @@ -11,5 +12,4 @@ function default_1(...args) { } structures_1.Logger.error(...args); } -exports.default = default_1; //# sourceMappingURL=contextNoop.js.map \ No newline at end of file diff --git a/dist/functions/contextNoop.js.map b/dist/functions/contextNoop.js.map index ec472302bc..18c7e528a3 100644 --- a/dist/functions/contextNoop.js.map +++ b/dist/functions/contextNoop.js.map @@ -1 +1 @@ -{"version":3,"file":"contextNoop.js","sourceRoot":"","sources":["../../src/functions/contextNoop.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8CAA+C;AAE/C,mBAAuC,GAAG,IAAW;IACjD,IAAI,IAAI,CAAC,wBAAwB,EAAE,EAAE;QACjC,OAAM;KACT;IAED,mBAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;AACzB,CAAC;AAND,4BAMC"} \ No newline at end of file +{"version":3,"file":"contextNoop.js","sourceRoot":"","sources":["../../src/functions/contextNoop.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,4BAMC;AARD,8CAA+C;AAE/C,mBAAuC,GAAG,IAAW;IACjD,IAAI,IAAI,CAAC,wBAAwB,EAAE,EAAE,CAAC;QAClC,OAAM;IACV,CAAC;IAED,mBAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;AACzB,CAAC"} \ No newline at end of file diff --git a/dist/functions/customImport.js b/dist/functions/customImport.js index b5f15aa1d3..b3481a20f4 100644 --- a/dist/functions/customImport.js +++ b/dist/functions/customImport.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -19,15 +19,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? ( }) : function(o, v) { o["default"] = v; }); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; +var __importStar = (this && this.__importStar) || (function () { + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + return function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; +})(); Object.defineProperty(exports, "__esModule", { value: true }); -exports.customImport = void 0; +exports.customImport = customImport; const child_process_1 = require("child_process"); const structures_1 = require("../structures"); async function customImport(pkg) { @@ -37,5 +47,4 @@ async function customImport(pkg) { return customImport(pkg); }); } -exports.customImport = customImport; //# sourceMappingURL=customImport.js.map \ No newline at end of file diff --git a/dist/functions/customImport.js.map b/dist/functions/customImport.js.map index cd90c89253..9ae99ee520 100644 --- a/dist/functions/customImport.js.map +++ b/dist/functions/customImport.js.map @@ -1 +1 @@ -{"version":3,"file":"customImport.js","sourceRoot":"","sources":["../../src/functions/customImport.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,iDAAwC;AACxC,8CAAsC;AAE/B,KAAK,UAAU,YAAY,CAAI,GAAW;IAC7C,OAAO,mBAAO,GAAG,wCAAE,KAAK,CAAC,KAAK,IAAI,EAAE;QAChC,mBAAM,CAAC,IAAI,CAAC,WAAW,GAAG,2BAA2B,CAAC,CAAA;QACtD,IAAA,wBAAQ,EAAC,SAAS,GAAG,EAAE,CAAC,CAAA;QACxB,OAAO,YAAY,CAAC,GAAG,CAAC,CAAA;IAC5B,CAAC,CAAC,CAAA;AACN,CAAC;AAND,oCAMC"} \ No newline at end of file +{"version":3,"file":"customImport.js","sourceRoot":"","sources":["../../src/functions/customImport.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKF,oCAMC;AATD,iDAAwC;AACxC,8CAAsC;AAE/B,KAAK,UAAU,YAAY,CAAI,GAAW;IAC7C,OAAO,mBAAO,GAAG,wCAAE,KAAK,CAAC,KAAK,IAAI,EAAE;QAChC,mBAAM,CAAC,IAAI,CAAC,WAAW,GAAG,2BAA2B,CAAC,CAAA;QACtD,IAAA,wBAAQ,EAAC,SAAS,GAAG,EAAE,CAAC,CAAA;QACxB,OAAO,YAAY,CAAC,GAAG,CAAC,CAAA;IAC5B,CAAC,CAAC,CAAA;AACN,CAAC"} \ No newline at end of file diff --git a/dist/functions/defineProperties.d.ts.map b/dist/functions/defineProperties.d.ts.map index 20cc4fbd6f..e7ffb574f0 100644 --- a/dist/functions/defineProperties.d.ts.map +++ b/dist/functions/defineProperties.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"defineProperties.d.ts","sourceRoot":"","sources":["../../src/functions/defineProperties.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAW,MAAM,eAAe,CAAA;AAEjD,MAAM,MAAM,UAAU,CAAC,IAAI,SAAS,QAAQ,EAAE,IAAI,IAAI;KACjD,CAAC,IAAI,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO;CACnI,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,IAAI,SAAS,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,0BAElG"} \ No newline at end of file +{"version":3,"file":"defineProperties.d.ts","sourceRoot":"","sources":["../../src/functions/defineProperties.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC,MAAM,MAAM,UAAU,CAAC,IAAI,SAAS,QAAQ,EAAE,IAAI,IAAI;KACjD,CAAC,IAAI,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO;CACnI,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,IAAI,SAAS,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,0BAElG"} \ No newline at end of file diff --git a/dist/functions/defineProperties.js b/dist/functions/defineProperties.js index 6a8ccdbddd..4705afe16e 100644 --- a/dist/functions/defineProperties.js +++ b/dist/functions/defineProperties.js @@ -1,11 +1,11 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = defineProperties; function defineProperties(props) { return props; } -exports.default = defineProperties; //# sourceMappingURL=defineProperties.js.map \ No newline at end of file diff --git a/dist/functions/defineProperties.js.map b/dist/functions/defineProperties.js.map index 0c8797340f..202d5b4782 100644 --- a/dist/functions/defineProperties.js.map +++ b/dist/functions/defineProperties.js.map @@ -1 +1 @@ -{"version":3,"file":"defineProperties.js","sourceRoot":"","sources":["../../src/functions/defineProperties.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AASF,SAAwB,gBAAgB,CAA8B,KAA6B;IAC/F,OAAO,KAAK,CAAA;AAChB,CAAC;AAFD,mCAEC"} \ No newline at end of file +{"version":3,"file":"defineProperties.js","sourceRoot":"","sources":["../../src/functions/defineProperties.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAQF,mCAEC;AAFD,SAAwB,gBAAgB,CAA8B,KAA6B;IAC/F,OAAO,KAAK,CAAA;AAChB,CAAC"} \ No newline at end of file diff --git a/dist/functions/digital.js b/dist/functions/digital.js index 6331893a19..8bc7c6c729 100644 --- a/dist/functions/digital.js +++ b/dist/functions/digital.js @@ -1,10 +1,11 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.unparseDigital = exports.parseDigital = void 0; +exports.parseDigital = parseDigital; +exports.unparseDigital = unparseDigital; const DigitalFormatRegex = /^(?:(\d+):)?([0-5]?\d):([0-5]?\d)$/; function parseDigital(ms) { const hours = Math.floor(ms / (1000 * 60 * 60)); @@ -15,7 +16,6 @@ function parseDigital(ms) { const SS = String(seconds).padStart(2, "0"); return `${HH}:${MM}:${SS}`; } -exports.parseDigital = parseDigital; function unparseDigital(digital) { const match = digital.match(DigitalFormatRegex); if (!match) @@ -27,5 +27,4 @@ function unparseDigital(digital) { const ms = (h * 3600000) + (m * 60000) + (s * 1000); return isNaN(ms) ? 0 : ms; } -exports.unparseDigital = unparseDigital; //# sourceMappingURL=digital.js.map \ No newline at end of file diff --git a/dist/functions/digital.js.map b/dist/functions/digital.js.map index c96c5c29e9..3552f7a699 100644 --- a/dist/functions/digital.js.map +++ b/dist/functions/digital.js.map @@ -1 +1 @@ -{"version":3,"file":"digital.js","sourceRoot":"","sources":["../../src/functions/digital.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,MAAM,kBAAkB,GAAG,oCAAoC,CAAA;AAE/D,SAAgB,YAAY,CAAC,EAAU;IACnC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;IAC/C,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,CAAA;IACjE,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;IAErD,MAAM,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;IACzC,MAAM,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;IAC3C,MAAM,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC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line at end of file diff --git a/dist/functions/enum.js b/dist/functions/enum.js index 7cecc820c4..6f80bbf00b 100644 --- a/dist/functions/enum.js +++ b/dist/functions/enum.js @@ -1,16 +1,15 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.resolveNumericEnum = exports.enumToArray = void 0; +exports.enumToArray = enumToArray; +exports.resolveNumericEnum = resolveNumericEnum; function enumToArray(x) { return Object.keys(x).filter((x) => isNaN(Number(x))); } -exports.enumToArray = enumToArray; function resolveNumericEnum(en, value) { return typeof (value) === "string" ? en[value] : value; } -exports.resolveNumericEnum = resolveNumericEnum; //# sourceMappingURL=enum.js.map \ No newline at end of file diff --git a/dist/functions/enum.js.map b/dist/functions/enum.js.map index 1f1381af37..970dec3f58 100644 --- a/dist/functions/enum.js.map +++ b/dist/functions/enum.js.map @@ -1 +1 @@ -{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../src/functions/enum.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAIF,SAAgB,WAAW,CAAC,CAAW;IACnC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACzD,CAAC;AAFD,kCAEC;AAED,SAAgB,kBAAkB,CAAC,EAAY,EAAE,KAAsB;IACnE,OAAO,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAwB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;AAC5E,CAAC;AAFD,gDAEC"} \ No newline at end of file +{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../src/functions/enum.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,kCAEC;AAED,gDAEC;AAND,SAAgB,WAAW,CAAC,CAAW;IACnC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AACzD,CAAC;AAED,SAAgB,kBAAkB,CAAC,EAAY,EAAE,KAAsB;IACnE,OAAO,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAwB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;AAC5E,CAAC"} \ No newline at end of file diff --git a/dist/functions/fetchAllMessages.js b/dist/functions/fetchAllMessages.js index beb7e186a4..415de66394 100644 --- a/dist/functions/fetchAllMessages.js +++ b/dist/functions/fetchAllMessages.js @@ -1,9 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = default_1; async function default_1(ch) { const arr = new Array(); let lastId = undefined; @@ -21,5 +22,4 @@ async function default_1(ch) { } return arr; } -exports.default = default_1; //# sourceMappingURL=fetchAllMessages.js.map \ No newline at end of file diff --git a/dist/functions/fetchAllMessages.js.map b/dist/functions/fetchAllMessages.js.map index cff0d4934c..c06c5c25fe 100644 --- a/dist/functions/fetchAllMessages.js.map +++ b/dist/functions/fetchAllMessages.js.map @@ -1 +1 @@ -{"version":3,"file":"fetchAllMessages.js","sourceRoot":"","sources":["../../src/functions/fetchAllMessages.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIa,KAAK,oBAAW,EAAoB;IAC/C,MAAM,GAAG,GAAG,IAAI,KAAK,EAAW,CAAA;IAChC,IAAI,MAAM,GAAuB,SAAS,CAAA;IAE1C,SAAS;QACL,MAAM,IAAI,GAAuC,MAAM,EAAE,CAAC,QAAQ;aAC7D,KAAK,CAAC;YACH,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,MAAM;SACjB,CAAC;aACD,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;QAEtB,IAAI,CAAC,IAAI,EAAE,IAAI;YAAE,MAAK;QACtB,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,CAAA;QAC1B,MAAM,GAAG,IAAI,CAAC,OAAO,EAAG,CAAA;KAC3B;IAED,OAAO,GAAG,CAAA;AACd,CAAC;AAlBD,4BAkBC"} \ No newline at end of file +{"version":3,"file":"fetchAllMessages.js","sourceRoot":"","sources":["../../src/functions/fetchAllMessages.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,4BAkBC;AAlBc,KAAK,oBAAW,EAAoB;IAC/C,MAAM,GAAG,GAAG,IAAI,KAAK,EAAW,CAAA;IAChC,IAAI,MAAM,GAAuB,SAAS,CAAA;IAE1C,SAAS,CAAC;QACN,MAAM,IAAI,GAAuC,MAAM,EAAE,CAAC,QAAQ;aAC7D,KAAK,CAAC;YACH,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,MAAM;SACjB,CAAC;aACD,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;QAEtB,IAAI,CAAC,IAAI,EAAE,IAAI;YAAE,MAAK;QACtB,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,CAAA;QAC1B,MAAM,GAAG,IAAI,CAAC,OAAO,EAAG,CAAA;IAC5B,CAAC;IAED,OAAO,GAAG,CAAA;AACd,CAAC"} \ No newline at end of file diff --git a/dist/functions/generateBar.d.ts.map b/dist/functions/generateBar.d.ts.map index c9c73dde74..bedb04f468 100644 --- a/dist/functions/generateBar.d.ts.map +++ b/dist/functions/generateBar.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"generateBar.d.ts","sourceRoot":"","sources":["../../src/functions/generateBar.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CACvB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,EACX,GAAG,GAAE,MAAW,EAChB,IAAI,GAAE,MAAY,EAClB,KAAK,GAAE,MAAY,EACnB,KAAK,UAAO,EACZ,SAAS,GAAE,MAAW,EACtB,OAAO,GAAE,MAAW,EACpB,UAAU,GAAE,MAAW,EACvB,QAAQ,GAAE,MAAW,GACtB,MAAM,CA0BR;AAED,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,EACX,GAAG,oBAAa,EAChB,IAAI,EAAE,MAAM,EAAE,GACf,MAAM,CAUR"} \ No newline at end of file +{"version":3,"file":"generateBar.d.ts","sourceRoot":"","sources":["../../src/functions/generateBar.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CACvB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,EACX,GAAG,GAAE,MAAW,EAChB,IAAI,GAAE,MAAY,EAClB,KAAK,GAAE,MAAY,EACnB,KAAK,UAAO,EACZ,SAAS,GAAE,MAAW,EACtB,OAAO,GAAE,MAAW,EACpB,UAAU,GAAE,MAAW,EACvB,QAAQ,GAAE,MAAW,GACtB,MAAM,CA0BR;AAED,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,YAAK,EAChB,IAAI,EAAE,MAAM,EAAE,GACf,MAAM,CAUR"} \ No newline at end of file diff --git a/dist/functions/generateBar.js b/dist/functions/generateBar.js index cfe4fc7d2a..ea41012852 100644 --- a/dist/functions/generateBar.js +++ b/dist/functions/generateBar.js @@ -1,10 +1,11 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.generateAdvancedBar = exports.generateBar = void 0; +exports.generateBar = generateBar; +exports.generateAdvancedBar = generateAdvancedBar; function generateBar(current, max, len = 10, fill = "█", empty = "▒", round = true, fillStart = "", fillEnd = "", emptyStart = "", emptyEnd = "") { let fillN = Math[round ? "round" : "trunc"](Math.min(Math.max(current, 0), max) / max * len); let emptyN = len - fillN; @@ -31,7 +32,6 @@ function generateBar(current, max, len = 10, fill = "█", empty = "▒", round emptyN = Math.max(emptyN, 0); return start + fill.repeat(fillN) + empty.repeat(emptyN) + end; } -exports.generateBar = generateBar; function generateAdvancedBar(current, max, len = 10, data) { let out = ""; const portion = max / len; @@ -41,5 +41,4 @@ function generateAdvancedBar(current, max, len = 10, data) { } return out; } -exports.generateAdvancedBar = generateAdvancedBar; //# sourceMappingURL=generateBar.js.map \ No newline at end of file diff --git a/dist/functions/generateBar.js.map b/dist/functions/generateBar.js.map index 6dfff67a24..2ecc2793f5 100644 --- a/dist/functions/generateBar.js.map +++ b/dist/functions/generateBar.js.map @@ -1 +1 @@ -{"version":3,"file":"generateBar.js","sourceRoot":"","sources":["../../src/functions/generateBar.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,SAAgB,WAAW,CACvB,OAAe,EACf,GAAW,EACX,MAAc,EAAE,EAChB,OAAe,GAAG,EAClB,QAAgB,GAAG,EACnB,KAAK,GAAG,IAAI,EACZ,YAAoB,EAAE,EACtB,UAAkB,EAAE,EACpB,aAAqB,EAAE,EACvB,WAAmB,EAAE;IAErB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,CAAA;IAC5F,IAAI,MAAM,GAAG,GAAG,GAAG,KAAK,CAAA;IACxB,IAAI,KAAK,GAAG,EAAE,EAAE,GAAG,GAAG,EAAE,CAAA;IAExB,IAAI,GAAG,GAAG,CAAC,EAAE;QACT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MAAc,EAAE,EAChB,IAAc;IAEd,IAAI,GAAG,GAAG,EAAE,CAAA;IACZ,MAAM,OAAO,GAAG,GAAG,GAAG,GAAG,CAAA;IAEzB,OAAO,GAAG,EAAE,EAAE;QACV,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,OAAO,CAAA;QAC3C,GAAG,IAAI,CAAC,OAAO,IAAI,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KACjG;IAED,OAAO,GAAG,CAAA;AACd,CAAC;AAfD,kDAeC"} \ No newline at end of file +{"version":3,"file":"generateBar.js","sourceRoot":"","sources":["../../src/functions/generateBar.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,kCAqCC;AAED,kDAeC;AAtDD,SAAgB,WAAW,CACvB,OAAe,EACf,GAAW,EACX,MAAc,EAAE,EAChB,OAAe,GAAG,EAClB,QAAgB,GAAG,EACnB,KAAK,GAAG,IAAI,EACZ,YAAoB,EAAE,EACtB,UAAkB,EAAE,EACpB,aAAqB,EAAE,EACvB,WAAmB,EAAE;IAErB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,CAAA;IAC5F,IAAI,MAAM,GAAG,GAAG,GAAG,KAAK,CAAA;IACxB,IAAI,KAAK,GAAG,EAAE,EAAE,GAAG,GAAG,EAAE,CAAA;IAExB,IAAI,GAAG,GAAG,CAAC,EAAE,CAAC;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B,CAC/B,OAAe,EACf,GAAW,EACX,MAAc,EAAE,EAChB,IAAc;IAEd,IAAI,GAAG,GAAG,EAAE,CAAA;IACZ,MAAM,OAAO,GAAG,GAAG,GAAG,GAAG,CAAA;IAEzB,OAAO,GAAG,EAAE,EAAE,CAAC;QACX,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,GAAG,OAAO,CAAA;QAC3C,GAAG,IAAI,CAAC,OAAO,IAAI,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAClG,CAAC;IAED,OAAO,GAAG,CAAA;AACd,CAAC"} \ No newline at end of file diff --git a/dist/functions/generateMetadata.d.ts b/dist/functions/generateMetadata.d.ts index 10c944fda8..292d583317 100644 --- a/dist/functions/generateMetadata.d.ts +++ b/dist/functions/generateMetadata.d.ts @@ -1,4 +1,6 @@ import { EnumLike } from "../structures"; import { Locale } from "discord.js"; -export default function (functionsAbsolutePath: string, mainCategoryName?: string, eventName?: string, warnOnNoOutput?: boolean, expose?: Record, eventsAbsolutePath?: string, translate?: Array): Promise; +export default function (functionsAbsolutePath: string, mainCategoryName?: string, eventName?: string, warnOnNoOutput?: boolean, expose?: Record, eventsAbsolutePath?: string, +/** @deprecated This parameter is no longer being used. */ +translate?: Array): Promise; //# sourceMappingURL=generateMetadata.d.ts.map \ No newline at end of file diff --git a/dist/functions/generateMetadata.d.ts.map b/dist/functions/generateMetadata.d.ts.map index f95736c410..69465c388c 100644 --- a/dist/functions/generateMetadata.d.ts.map +++ b/dist/functions/generateMetadata.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"generateMetadata.d.ts","sourceRoot":"","sources":["../../src/functions/generateMetadata.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAyC,MAAM,eAAe,CAAA;AAG/E,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAwDnC,yBAA8B,qBAAqB,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,cAAc,UAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,kBAAkB,CAAC,EAAE,MAAM,EAAE,SAAS,GAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAM,iBA+GzO"} \ No newline at end of file +{"version":3,"file":"generateMetadata.d.ts","sourceRoot":"","sources":["../../src/functions/generateMetadata.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,QAAQ,EAAiC,MAAM,eAAe,CAAA;AAEvE,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AA8DnC,yBACI,qBAAqB,EAAE,MAAM,EAC7B,gBAAgB,CAAC,EAAE,MAAM,EACzB,SAAS,CAAC,EAAE,MAAM,EAClB,cAAc,UAAQ,EACtB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,EACjC,kBAAkB,CAAC,EAAE,MAAM;AAC3B,0DAA0D;AAC1D,SAAS,GAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAM,iBAkJzC"} \ No newline at end of file diff --git a/dist/functions/generateMetadata.js b/dist/functions/generateMetadata.js index 2656ba7359..4942e18e07 100644 --- a/dist/functions/generateMetadata.js +++ b/dist/functions/generateMetadata.js @@ -1,20 +1,24 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = default_1; const fs_1 = require("fs"); const managers_1 = require("../managers"); -const process_1 = require("process"); const structures_1 = require("../structures"); const enum_1 = require("./enum"); -const translate_1 = require("./translate"); const path_1 = require("path"); +const process_1 = require("process"); const FunctionNameRegex = /(name: "\$?(\w+)"),?/m; const FunctionCategoryRegex = /\r?\n(.*)(category: "\$?(\w+)"),?/m; const ArgEnumRegex = /(?:enum: +(\w+),?|Arg\.(?:\w+)Enum\([\r\n\t ]*(\w+))/gim; const OutputRegex = /output:(array(<[A-Za-z.]+>)?\((\w+)?\)|(\w+)|ArgType.(\w+)|\[((array(<[A-Za-z.]+>)?\(\w*\)|\w+|ArgType\.\w+),?)+\]),/im; +const translations = { + functions: {}, + events: {} +}; function getOutputValues(fn, txt, enums) { const output = OutputRegex.exec(txt.replace(/[^0-9A-Za-z:,.[\]<>()|]/gm, ""))?.[1].replace(/[[\]]/g, "").trim(); if (!output) { @@ -54,7 +58,9 @@ function getOutputValues(fn, txt, enums) { } return arr; } -async function default_1(functionsAbsolutePath, mainCategoryName, eventName, warnOnNoOutput = false, expose, eventsAbsolutePath, translate = []) { +async function default_1(functionsAbsolutePath, mainCategoryName, eventName, warnOnNoOutput = false, expose, eventsAbsolutePath, +/** @deprecated This parameter is no longer being used. */ +translate = []) { let total = 0; const enums = {}; if (expose?.length) @@ -115,6 +121,19 @@ async function default_1(functionsAbsolutePath, mainCategoryName, eventName, war } if (modified) (0, fs_1.writeFileSync)(nativePath, txt); + const func = {}; + func.description = fn.data.description; + if (fn.data.args?.length) { + func.args = {}; + for (const arg of fn.data.args) { + func.args[arg.name] = { + description: arg.description + }; + } + if (!Object.keys(func.args).length) + delete func.args; + } + translations.functions[fn.name] = func; } if (warnOnNoOutput) structures_1.Logger.warn(`${total.toLocaleString()} functions are missing output value`); @@ -135,17 +154,29 @@ async function default_1(functionsAbsolutePath, mainCategoryName, eventName, war event.data.version = v; (0, fs_1.writeFileSync)(nativePath, txt.replace(FunctionNameRegex, `$1,\n version: "${v}",`)); } + const ev = {}; + ev.description = event.data.description; + translations.events[event.name] = ev; } (0, fs_1.writeFileSync)((0, path_1.join)(metaOutPath, "events.json"), JSON.stringify(managers_1.EventManager.toJSON(eventName))); } + const transOutPath = (0, path_1.join)(metaOutPath, "translations"); + if (!(0, fs_1.existsSync)(transOutPath)) + (0, fs_1.mkdirSync)(transOutPath, { recursive: true }); + const transFile = (0, path_1.join)(transOutPath, "en.json"); + const json = JSON.stringify(translations); + if (!(0, fs_1.existsSync)(transFile) || (0, fs_1.readFileSync)(transFile, "utf8") !== json) { + structures_1.Logger.info("Writing translation metadata..."); + (0, fs_1.writeFileSync)(transFile, json, "utf8"); + } + /* Deprecated. if (translate.length) { - structures_1.Logger.info("Now translating data, hold tight..."); - await (0, translate_1.translateData)({ + Logger.info("Now translating data, hold tight...") + await translateData({ languages: translate, - events: eventName ? Object.values(managers_1.EventManager["Loaded"][eventName]).map(x => x.data) : [], - functions: [...managers_1.FunctionManager["Functions"].values()].map(x => x.data) - }); - } + events: eventName ? Object.values(EventManager["Loaded"]![eventName]!).map(x => x.data as unknown as IEvent) : [], + functions: [...FunctionManager["Functions"].values()].map(x => x.data) + }) + } */ } -exports.default = default_1; //# sourceMappingURL=generateMetadata.js.map \ No newline at end of file diff --git a/dist/functions/generateMetadata.js.map b/dist/functions/generateMetadata.js.map index aea090a057..2245c96e32 100644 --- a/dist/functions/generateMetadata.js.map +++ b/dist/functions/generateMetadata.js.map @@ -1 +1 @@ -{"version":3,"file":"generateMetadata.js","sourceRoot":"","sources":["../../src/functions/generateMetadata.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAuE;AACvE,0CAA2D;AAC3D,qCAAmC;AACnC,8CAA+E;AAC/E,iCAAoC;AACpC,2CAA2C;AAE3C,+BAAqC;AAErC,MAAM,iBAAiB,GAAG,uBAAuB,CAAA;AACjD,MAAM,qBAAqB,GAAG,oCAAoC,CAAA;AAClE,MAAM,YAAY,GAAG,yDAAyD,CAAA;AAC9E,MAAM,WAAW,GAAG,wHAAwH,CAAA;AAE5I,SAAS,eAAe,CAAC,EAA2B,EAAE,GAAW,EAAE,KAA+B;IA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C,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAiD,CAAC,CAAC,CAAC,CAAC,EAAE;YACzI,SAAS,EAAE,CAAC,GAAG,0BAAe,CAAC,WAAW,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;SACzE,CAAC,CAAA;KACL;AACL,CAAC;AA/GD,4BA+GC"} \ No newline at end of file +{"version":3,"file":"generateMetadata.js","sourceRoot":"","sources":["../../src/functions/generateMetadata.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAoEF,4BA0JC;AA5ND,2BAAuE;AACvE,0CAA2D;AAC3D,8CAAuE;AACvE,iCAAoC;AAEpC,+BAAqC;AACrC,qCAAmC;AAEnC,MAAM,iBAAiB,GAAG,uBAAuB,CAAA;AACjD,MAAM,qBAAqB,GAAG,oCAAoC,CAAA;AAClE,MAAM,YAAY,GAAG,yDAAyD,CAAA;AAC9E,MAAM,WAAW,GAAG,wHAAwH,CAAA;AAE5I,MAAM,YAAY,GAAG;IACjB,SAAS,EAAE,EAAyB;IACpC,MAAM,EAAE,EAAyB;CACpC,CAAA;AAED,SAAS,eAAe,CAAC,EAA2B,EAAE,GAAW,EAAE,KAA+B;IAC9F,MAAM,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAA;IAE/G,IAAI,CAAC,MAAM,EAAE,CAAC;QACV,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC;YACZ,mBAAM,CAAC,KAAK,CAAC,6BAA6B,EAAE,CAAC,IAAI,UAAU,MAAM,EAAE,CAAC,CAAA;YACpE,IAAA,cAAI,GAAE,CAAA;QACV,CAAC;QAED,OAAO,IAAI,CAAA;IACf,CAAC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EAAE,CAAA;YAClC,EAAE,CAAC,WAAW,GAAG,KAAK,CAAC,IAAI,CAAC,WAAW,CAAA;YACvC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,CAAA;QACxC,CAAC;QAED,IAAA,kBAAa,EAAC,IAAA,WAAI,EAAC,WAAW,EAAE,aAAa,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,uBAAY,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;IACnG,CAAC;IAED,MAAM,YAAY,GAAG,IAAA,WAAI,EAAC,WAAW,EAAE,cAAc,CAAC,CAAA;IACtD,IAAI,CAAC,IAAA,eAAU,EAAC,YAAY,CAAC;QAAE,IAAA,cAAS,EAAC,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;IAE3E,MAAM,SAAS,GAAG,IAAA,WAAI,EAAC,YAAY,EAAE,SAAS,CAAC,CAAA;IAC/C,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAA;IAEzC,IAAI,CAAC,IAAA,eAAU,EAAC,SAAS,CAAC,IAAI,IAAA,iBAAY,EAAC,SAAS,EAAE,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;QACrE,mBAAM,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAA;QAC9C,IAAA,kBAAa,EAAC,SAAS,EAAE,IAAI,EAAE,MAAM,CAAC,CAAA;IAC1C,CAAC;IAED;;;;;;;;QAQI;AACR,CAAC"} \ No newline at end of file diff --git a/dist/functions/getVersionNumber.js b/dist/functions/getVersionNumber.js index 7f9283f16b..46033c6b42 100644 --- a/dist/functions/getVersionNumber.js +++ b/dist/functions/getVersionNumber.js @@ -1,11 +1,11 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = default_1; function default_1(v) { return Number(v.replace(/\./g, "")); } -exports.default = default_1; //# sourceMappingURL=getVersionNumber.js.map \ No newline at end of file diff --git a/dist/functions/getVersionNumber.js.map b/dist/functions/getVersionNumber.js.map index 1f4d7debb8..3871bf509b 100644 --- a/dist/functions/getVersionNumber.js.map +++ b/dist/functions/getVersionNumber.js.map @@ -1 +1 @@ -{"version":3,"file":"getVersionNumber.js","sourceRoot":"","sources":["../../src/functions/getVersionNumber.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,mBAAwB,CAAS;IAC7B,OAAO,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAA;AACvC,CAAC;AAFD,4BAEC"} \ No newline at end of file +{"version":3,"file":"getVersionNumber.js","sourceRoot":"","sources":["../../src/functions/getVersionNumber.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,4BAEC;AAFD,mBAAwB,CAAS;IAC7B,OAAO,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAA;AACvC,CAAC"} \ No newline at end of file diff --git a/dist/functions/hex.js b/dist/functions/hex.js index 7e46fe6e09..97555484c8 100644 --- a/dist/functions/hex.js +++ b/dist/functions/hex.js @@ -1,19 +1,19 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.resolveColor = exports.int2hex = exports.hex2int = void 0; +exports.hex2int = hex2int; +exports.int2hex = int2hex; +exports.resolveColor = resolveColor; const discord_js_1 = require("discord.js"); function hex2int(hex) { return parseInt(hex.replace("#", ""), 16); } -exports.hex2int = hex2int; function int2hex(int) { return Number(int).toString(16).padStart(6, "0"); } -exports.int2hex = int2hex; function resolveColor(value) { if (typeof value === "number" || !isNaN(Number(value))) return Number(value); @@ -24,5 +24,4 @@ function resolveColor(value) { else return hex2int(value); } -exports.resolveColor = resolveColor; //# sourceMappingURL=hex.js.map \ No newline at end of file diff --git a/dist/functions/hex.js.map b/dist/functions/hex.js.map index 6577a847d6..3effa9fc84 100644 --- a/dist/functions/hex.js.map +++ b/dist/functions/hex.js.map @@ -1 +1 @@ -{"version":3,"file":"hex.js","sourceRoot":"","sources":["../../src/functions/hex.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,2CAAmC;AAEnC,SAAgB,OAAO,CAAC,GAAW;IAC/B,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAA;AAC7C,CAAC;AAFD,0BAEC;AAED,SAAgB,OAAO,CAAC,GAAoB;IACxC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;AACpD,CAAC;AAFD,0BAEC;AAED,SAAgB,YAAY,CAAC,KAAsB;IAC/C,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAClD,OAAO,MAAM,CAAC,KAAK,CAAC,CAAA;IAExB,IAAI,KAAK,KAAK,QAAQ;QAClB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAA;SAC1C,IAAI,KAAK,IAAI,mBAAM;QACpB,OAAO,mBAAM,CAAC,KAA4B,CAAC,CAAA;;QAE3C,OAAO,OAAO,CAAC,KAAK,CAAC,CAAA;AAC7B,CAAC;AAVD,oCAUC"} \ No newline at end of file +{"version":3,"file":"hex.js","sourceRoot":"","sources":["../../src/functions/hex.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,0BAEC;AAED,0BAEC;AAED,oCAUC;AApBD,2CAAmC;AAEnC,SAAgB,OAAO,CAAC,GAAW;IAC/B,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAA;AAC7C,CAAC;AAED,SAAgB,OAAO,CAAC,GAAoB;IACxC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;AACpD,CAAC;AAED,SAAgB,YAAY,CAAC,KAAsB;IAC/C,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAClD,OAAO,MAAM,CAAC,KAAK,CAAC,CAAA;IAExB,IAAI,KAAK,KAAK,QAAQ;QAClB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAA;SAC1C,IAAI,KAAK,IAAI,mBAAM;QACpB,OAAO,mBAAM,CAAC,KAA4B,CAAC,CAAA;;QAE3C,OAAO,OAAO,CAAC,KAAK,CAAC,CAAA;AAC7B,CAAC"} \ No newline at end of file diff --git a/dist/functions/isTrue.js b/dist/functions/isTrue.js index a177d3e12b..cfc2cfb284 100644 --- a/dist/functions/isTrue.js +++ b/dist/functions/isTrue.js @@ -1,11 +1,11 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = default_1; function default_1(t) { return t.value === "true" || t.value === true; } -exports.default = default_1; //# sourceMappingURL=isTrue.js.map \ No newline at end of file diff --git a/dist/functions/isTrue.js.map b/dist/functions/isTrue.js.map index 1d0d1266f2..914eb6fbf9 100644 --- a/dist/functions/isTrue.js.map +++ b/dist/functions/isTrue.js.map @@ -1 +1 @@ -{"version":3,"file":"isTrue.js","sourceRoot":"","sources":["../../src/functions/isTrue.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,mBAAwB,CAAS;IAC7B,OAAO,CAAC,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,CAAC,KAAK,KAAK,IAAI,CAAA;AACjD,CAAC;AAFD,4BAEC"} \ No newline at end of file +{"version":3,"file":"isTrue.js","sourceRoot":"","sources":["../../src/functions/isTrue.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,4BAEC;AAFD,mBAAwB,CAAS;IAC7B,OAAO,CAAC,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,CAAC,KAAK,KAAK,IAAI,CAAA;AACjD,CAAC"} \ No newline at end of file diff --git a/dist/functions/noop.d.ts.map b/dist/functions/noop.d.ts.map index 911b965312..313aff98d2 100644 --- a/dist/functions/noop.d.ts.map +++ b/dist/functions/noop.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"noop.d.ts","sourceRoot":"","sources":["../../src/functions/noop.ts"],"names":[],"mappings":"kCASyB,GAAG,EAAE;AAA9B,wBAEC"} \ No newline at end of file +{"version":3,"file":"noop.d.ts","sourceRoot":"","sources":["../../src/functions/noop.ts"],"names":[],"mappings":"yBAOgB,GAAG,MAAM,GAAG,EAAE;AAA9B,wBAEC"} \ No newline at end of file diff --git a/dist/functions/noop.js b/dist/functions/noop.js index 395d1cbc6d..521681e854 100644 --- a/dist/functions/noop.js +++ b/dist/functions/noop.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const Logger_1 = require("../structures/@internal/Logger"); diff --git a/dist/functions/noop.js.map b/dist/functions/noop.js.map index 69c7deac84..1fe8c19403 100644 --- a/dist/functions/noop.js.map +++ b/dist/functions/noop.js.map @@ -1 +1 @@ -{"version":3,"file":"noop.js","sourceRoot":"","sources":["../../src/functions/noop.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAIF,2DAAuD;AAEvD,kBAAe,CAAC,GAAG,IAAW,EAAE,EAAE;IAC9B,eAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;AACzB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"noop.js","sourceRoot":"","sources":["../../src/functions/noop.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2DAAuD;AAEvD,kBAAe,CAAC,GAAG,IAAW,EAAE,EAAE;IAC9B,eAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;AACzB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/functions/ordinal.js b/dist/functions/ordinal.js index fddfddcd43..c21b6b5177 100644 --- a/dist/functions/ordinal.js +++ b/dist/functions/ordinal.js @@ -1,10 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.ordinal = void 0; +exports.ordinal = ordinal; function ordinal(i) { const j = i % 10, k = i % 100; if (j == 1 && k !== 11) { @@ -18,5 +18,4 @@ function ordinal(i) { } return i + "th"; } -exports.ordinal = ordinal; //# sourceMappingURL=ordinal.js.map \ No newline at end of file diff --git a/dist/functions/ordinal.js.map b/dist/functions/ordinal.js.map index 6fb39a1297..c4482c6278 100644 --- a/dist/functions/ordinal.js.map +++ b/dist/functions/ordinal.js.map @@ -1 +1 @@ -{"version":3,"file":"ordinal.js","sourceRoot":"","sources":["../../src/functions/ordinal.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,SAAgB,OAAO,CAAC,CAAS;IAC7B,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,EACZ,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA;IACf,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE;QACpB,OAAO,CAAC,GAAG,IAAI,CAAA;KAClB;IACD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE;QACpB,OAAO,CAAC,GAAG,IAAI,CAAA;KAClB;IACD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE;QACpB,OAAO,CAAC,GAAG,IAAI,CAAA;KAClB;IACD,OAAO,CAAC,GAAG,IAAI,CAAA;AACnB,CAAC;AAbD,0BAaC"} \ No newline at end of file +{"version":3,"file":"ordinal.js","sourceRoot":"","sources":["../../src/functions/ordinal.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,0BAaC;AAbD,SAAgB,OAAO,CAAC,CAAS;IAC7B,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,EACZ,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA;IACf,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC;QACrB,OAAO,CAAC,GAAG,IAAI,CAAA;IACnB,CAAC;IACD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC;QACrB,OAAO,CAAC,GAAG,IAAI,CAAA;IACnB,CAAC;IACD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC;QACrB,OAAO,CAAC,GAAG,IAAI,CAAA;IACnB,CAAC;IACD,OAAO,CAAC,GAAG,IAAI,CAAA;AACnB,CAAC"} \ No newline at end of file diff --git a/dist/functions/overwritePermissions.d.ts b/dist/functions/overwritePermissions.d.ts new file mode 100644 index 0000000000..0e129c1d23 --- /dev/null +++ b/dist/functions/overwritePermissions.d.ts @@ -0,0 +1,5 @@ +import type { OverwriteData } from "discord.js"; +import type { OverwritePermission } from "../structures"; +export declare function overwritePermissionsArrayToObject(arr: OverwritePermission[]): Partial>; +export declare function overwritePermissionsToOverwriteData(id: string, arr: OverwritePermission[]): OverwriteData; +//# sourceMappingURL=overwritePermissions.d.ts.map \ No newline at end of file diff --git a/dist/functions/overwritePermissions.d.ts.map b/dist/functions/overwritePermissions.d.ts.map new file mode 100644 index 0000000000..7046388837 --- /dev/null +++ b/dist/functions/overwritePermissions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"overwritePermissions.d.ts","sourceRoot":"","sources":["../../src/functions/overwritePermissions.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAwB,MAAM,YAAY,CAAA;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAExD,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,mBAAmB,EAAE,ijCAQ3E;AAED,wBAAgB,mCAAmC,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,mBAAmB,EAAE,GAAG,aAAa,CAazG"} \ No newline at end of file diff --git a/dist/functions/overwritePermissions.js b/dist/functions/overwritePermissions.js new file mode 100644 index 0000000000..cb98b73341 --- /dev/null +++ b/dist/functions/overwritePermissions.js @@ -0,0 +1,30 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +exports.overwritePermissionsArrayToObject = overwritePermissionsArrayToObject; +exports.overwritePermissionsToOverwriteData = overwritePermissionsToOverwriteData; +function overwritePermissionsArrayToObject(arr) { + const obj = {}; + for (let i = 0, len = arr.length; i < len; i++) { + const data = arr[i]; + obj[data.permission] = data.value; + } + return obj; +} +function overwritePermissionsToOverwriteData(id, arr) { + const allow = []; + const deny = []; + for (const perm of arr) { + if (perm.value === true) { + allow.push(perm.permission); + } + else if (perm.value === false) { + deny.push(perm.permission); + } + } + return { id, allow, deny }; +} +//# sourceMappingURL=overwritePermissions.js.map \ No newline at end of file diff --git a/dist/functions/overwritePermissions.js.map b/dist/functions/overwritePermissions.js.map new file mode 100644 index 0000000000..dd1ff13931 --- /dev/null +++ b/dist/functions/overwritePermissions.js.map @@ -0,0 +1 @@ +{"version":3,"file":"overwritePermissions.js","sourceRoot":"","sources":["../../src/functions/overwritePermissions.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAKF,8EAQC;AAED,kFAaC;AAvBD,SAAgB,iCAAiC,CAAC,GAA0B;IACxE,MAAM,GAAG,GAAqF,EAAE,CAAA;IAChG,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7C,MAAM,IAAI,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;QACnB,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,KAAK,CAAA;IACrC,CAAC;IAED,OAAO,GAAG,CAAA;AACd,CAAC;AAED,SAAgB,mCAAmC,CAAC,EAAU,EAAE,GAA0B;IACtF,MAAM,KAAK,GAA2B,EAAE,CAAA;IACxC,MAAM,IAAI,GAA2B,EAAE,CAAA;IAEvC,KAAK,MAAM,IAAI,IAAI,GAAG,EAAE,CAAC;QACrB,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,EAAE,CAAC;YACtB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QAC/B,CAAC;aAAM,IAAI,IAAI,CAAC,KAAK,KAAK,KAAK,EAAE,CAAC;YAC9B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QAC9B,CAAC;IACL,CAAC;IAED,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAA;AAC9B,CAAC"} \ No newline at end of file diff --git a/dist/functions/overwritePermissionsArrayToObject.d.ts b/dist/functions/overwritePermissionsArrayToObject.d.ts deleted file mode 100644 index 0425f4f876..0000000000 --- a/dist/functions/overwritePermissionsArrayToObject.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { OverwritePermission } from "../structures"; -export default function (arr: OverwritePermission[]): Partial>; -//# sourceMappingURL=overwritePermissionsArrayToObject.d.ts.map \ No newline at end of file diff --git a/dist/functions/overwritePermissionsArrayToObject.d.ts.map b/dist/functions/overwritePermissionsArrayToObject.d.ts.map deleted file mode 100644 index 2f9b7821ea..0000000000 --- a/dist/functions/overwritePermissionsArrayToObject.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"overwritePermissionsArrayToObject.d.ts","sourceRoot":"","sources":["../../src/functions/overwritePermissionsArrayToObject.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAEnD,MAAM,CAAC,OAAO,WAAU,GAAG,EAAE,mBAAmB,EAAE,uhCAQjD"} \ No newline at end of file diff --git a/dist/functions/overwritePermissionsArrayToObject.js b/dist/functions/overwritePermissionsArrayToObject.js deleted file mode 100644 index 4f7bbfcbbc..0000000000 --- a/dist/functions/overwritePermissionsArrayToObject.js +++ /dev/null @@ -1,16 +0,0 @@ -"use strict"; -/* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge -*/ -Object.defineProperty(exports, "__esModule", { value: true }); -function default_1(arr) { - const obj = {}; - for (let i = 0, len = arr.length; i < len; i++) { - const data = arr[i]; - obj[data.permission] = data.value; - } - return obj; -} -exports.default = default_1; -//# sourceMappingURL=overwritePermissionsArrayToObject.js.map \ No newline at end of file diff --git a/dist/functions/overwritePermissionsArrayToObject.js.map b/dist/functions/overwritePermissionsArrayToObject.js.map deleted file mode 100644 index 034ac1c242..0000000000 --- a/dist/functions/overwritePermissionsArrayToObject.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"overwritePermissionsArrayToObject.js","sourceRoot":"","sources":["../../src/functions/overwritePermissionsArrayToObject.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAKF,mBAAwB,GAA0B;IAC9C,MAAM,GAAG,GAAqF,EAAE,CAAA;IAChG,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,EAAE,EAAE;QAC1C,MAAM,IAAI,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;QACnB,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,KAAK,CAAA;KACpC;IAED,OAAO,GAAG,CAAA;AACd,CAAC;AARD,4BAQC"} \ No newline at end of file diff --git a/dist/functions/parseJSON.d.ts b/dist/functions/parseJSON.d.ts index cf2c83e1d5..8c7747d398 100644 --- a/dist/functions/parseJSON.d.ts +++ b/dist/functions/parseJSON.d.ts @@ -1,5 +1,5 @@ export declare const JSONStartRegex: RegExp; export declare const JSONEndRegex: RegExp; export declare const JSONNumberRegex: RegExp; -export default function parseJSON(str: unknown): any; +export default function parseJSON(str: unknown, parseNull?: boolean): any; //# sourceMappingURL=parseJSON.d.ts.map \ No newline at end of file diff --git a/dist/functions/parseJSON.d.ts.map b/dist/functions/parseJSON.d.ts.map index 411678878b..97cda43d17 100644 --- a/dist/functions/parseJSON.d.ts.map +++ b/dist/functions/parseJSON.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"parseJSON.d.ts","sourceRoot":"","sources":["../../src/functions/parseJSON.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,QAAU,CAAA;AACrC,eAAO,MAAM,YAAY,QAAW,CAAA;AACpC,eAAO,MAAM,eAAe,QAAU,CAAA;AAEtC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,GAAG,EAAE,OAAO,OAS7C"} \ No newline at end of file +{"version":3,"file":"parseJSON.d.ts","sourceRoot":"","sources":["../../src/functions/parseJSON.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,cAAc,QAAU,CAAA;AACrC,eAAO,MAAM,YAAY,QAAW,CAAA;AACpC,eAAO,MAAM,eAAe,QAAU,CAAA;AAEtC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,GAAG,EAAE,OAAO,EAAE,SAAS,UAAO,OAS/D"} \ No newline at end of file diff --git a/dist/functions/parseJSON.js b/dist/functions/parseJSON.js index 9c2d6d1281..3ab5f47539 100644 --- a/dist/functions/parseJSON.js +++ b/dist/functions/parseJSON.js @@ -1,22 +1,22 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.JSONNumberRegex = exports.JSONEndRegex = exports.JSONStartRegex = void 0; +exports.default = parseJSON; exports.JSONStartRegex = /^[[{]/; exports.JSONEndRegex = /^[\]}]/; exports.JSONNumberRegex = /^\d+$/; -function parseJSON(str) { - if (typeof str !== "string") +function parseJSON(str, parseNull = true) { + if (typeof str !== "string" || (!parseNull && str === "null")) return str; try { - return exports.JSONNumberRegex.test(str) ? str : JSON.parse(str); + return exports.JSONNumberRegex.test(str) ? Number(str) : JSON.parse(str); } catch (error) { return str; } } -exports.default = parseJSON; //# sourceMappingURL=parseJSON.js.map \ No newline at end of file diff --git a/dist/functions/parseJSON.js.map b/dist/functions/parseJSON.js.map index b439db42c1..16856b50d1 100644 --- a/dist/functions/parseJSON.js.map +++ b/dist/functions/parseJSON.js.map @@ -1 +1 @@ -{"version":3,"file":"parseJSON.js","sourceRoot":"","sources":["../../src/functions/parseJSON.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEW,QAAA,cAAc,GAAG,OAAO,CAAA;AACxB,QAAA,YAAY,GAAG,QAAQ,CAAA;AACvB,QAAA,eAAe,GAAG,OAAO,CAAA;AAEtC,SAAwB,SAAS,CAAC,GAAY;IAC1C,IAAI,OAAO,GAAG,KAAK,QAAQ;QACvB,OAAO,GAAG,CAAA;IAEd,IAAI;QACA,OAAO,uBAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;KAC3D;IAAC,OAAO,KAAK,EAAE;QACZ,OAAO,GAAG,CAAA;KACb;AACL,CAAC;AATD,4BASC"} \ No newline at end of file +{"version":3,"file":"parseJSON.js","sourceRoot":"","sources":["../../src/functions/parseJSON.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAMF,4BASC;AAbY,QAAA,cAAc,GAAG,OAAO,CAAA;AACxB,QAAA,YAAY,GAAG,QAAQ,CAAA;AACvB,QAAA,eAAe,GAAG,OAAO,CAAA;AAEtC,SAAwB,SAAS,CAAC,GAAY,EAAE,SAAS,GAAG,IAAI;IAC5D,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,CAAC,SAAS,IAAI,GAAG,KAAK,MAAM,CAAC;QACzD,OAAO,GAAG,CAAA;IAEd,IAAI,CAAC;QACD,OAAO,uBAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IACpE,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,GAAG,CAAA;IACd,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/dist/functions/parseSingleEmoji.js b/dist/functions/parseSingleEmoji.js index b170d137a1..8ba5b1d646 100644 --- a/dist/functions/parseSingleEmoji.js +++ b/dist/functions/parseSingleEmoji.js @@ -1,10 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.parseSingleEmoji = void 0; +exports.parseSingleEmoji = parseSingleEmoji; const discord_js_1 = require("discord.js"); const structures_1 = require("../structures"); function parseSingleEmoji(ctx, str) { @@ -15,5 +15,4 @@ function parseSingleEmoji(ctx, str) { const emoji = ctx.client.emojis.cache.get(id ?? str) ?? parsed; return emoji ? { id: emoji.id ?? null, name: emoji.id ? null : emoji.name } : null; } -exports.parseSingleEmoji = parseSingleEmoji; //# sourceMappingURL=parseSingleEmoji.js.map \ No newline at end of file diff --git a/dist/functions/parseSingleEmoji.js.map b/dist/functions/parseSingleEmoji.js.map index 48bb8c4bd9..6932c3ee6d 100644 --- a/dist/functions/parseSingleEmoji.js.map +++ b/dist/functions/parseSingleEmoji.js.map @@ -1 +1 @@ -{"version":3,"file":"parseSingleEmoji.js","sourceRoot":"","sources":["../../src/functions/parseSingleEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,2CAAuC;AACvC,8CAAyD;AAEzD,SAAgB,gBAAgB,CAAC,GAAY,EAAE,GAAkB;IAC7D,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAA;IAErB,MAAM,MAAM,GAAG,IAAA,uBAAU,EAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,EAAE,GAAG,6BAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,EAAE,CAAA;IACnE,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,GAAG,CAAC,IAAI,MAAM,CAAA;IAE9D,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,IAAI,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACtF,CAAC;AARD,4CAQC"} \ No newline at end of file +{"version":3,"file":"parseSingleEmoji.js","sourceRoot":"","sources":["../../src/functions/parseSingleEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAKF,4CAQC;AAXD,2CAAuC;AACvC,8CAAyD;AAEzD,SAAgB,gBAAgB,CAAC,GAAY,EAAE,GAAkB;IAC7D,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAA;IAErB,MAAM,MAAM,GAAG,IAAA,uBAAU,EAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,EAAE,GAAG,6BAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,EAAE,CAAA;IACnE,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,GAAG,CAAC,IAAI,MAAM,CAAA;IAE9D,OAAO,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,IAAI,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;AACtF,CAAC"} \ No newline at end of file diff --git a/dist/functions/prompt.js b/dist/functions/prompt.js index 156d9d285d..9ce6e821ae 100644 --- a/dist/functions/prompt.js +++ b/dist/functions/prompt.js @@ -1,9 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = default_1; const process_1 = require("process"); const readline_1 = require("readline"); async function default_1(q) { @@ -15,5 +16,4 @@ async function default_1(q) { }); }); } -exports.default = default_1; //# sourceMappingURL=prompt.js.map \ No newline at end of file diff --git a/dist/functions/prompt.js.map b/dist/functions/prompt.js.map index 34994a1231..1b9915413a 100644 --- a/dist/functions/prompt.js.map +++ b/dist/functions/prompt.js.map @@ -1 +1 @@ -{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/functions/prompt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAuC;AACvC,uCAA0C;AAE3B,KAAK,oBAAU,CAAS;IACnC,MAAM,GAAG,GAAG,IAAA,0BAAe,EAAC,eAAK,EAAE,gBAAM,CAAC,CAAA;IAC1C,OAAO,IAAI,OAAO,CAAS,CAAC,CAAC,EAAE;QAC3B,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE;YACpB,GAAG,CAAC,KAAK,EAAE,CAAA;YACX,CAAC,CAAC,KAAK,CAAC,CAAA;QACZ,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACN,CAAC;AARD,4BAQC"} \ No newline at end of file +{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../../src/functions/prompt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAKF,4BAQC;AAXD,qCAAuC;AACvC,uCAA0C;AAE3B,KAAK,oBAAU,CAAS;IACnC,MAAM,GAAG,GAAG,IAAA,0BAAe,EAAC,eAAK,EAAE,gBAAM,CAAC,CAAA;IAC1C,OAAO,IAAI,OAAO,CAAS,CAAC,CAAC,EAAE;QAC3B,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE;YACpB,GAAG,CAAC,KAAK,EAAE,CAAA;YACX,CAAC,CAAC,KAAK,CAAC,CAAA;QACZ,CAAC,CAAC,CAAA;IACN,CAAC,CAAC,CAAA;AACN,CAAC"} \ No newline at end of file diff --git a/dist/functions/recursiveReaddirSync.js b/dist/functions/recursiveReaddirSync.js index 069c480b94..ce3e98eddb 100644 --- a/dist/functions/recursiveReaddirSync.js +++ b/dist/functions/recursiveReaddirSync.js @@ -1,9 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = recursiveReaddirSync; const fs_1 = require("fs"); const path_1 = require("path"); function recursiveReaddirSync(path) { @@ -20,5 +21,4 @@ function recursiveReaddirSync(path) { } return arr; } -exports.default = recursiveReaddirSync; //# sourceMappingURL=recursiveReaddirSync.js.map \ No newline at end of file diff --git a/dist/functions/recursiveReaddirSync.js.map b/dist/functions/recursiveReaddirSync.js.map index e661b286b9..2e974b5401 100644 --- a/dist/functions/recursiveReaddirSync.js.map +++ b/dist/functions/recursiveReaddirSync.js.map @@ -1 +1 @@ -{"version":3,"file":"recursiveReaddirSync.js","sourceRoot":"","sources":["../../src/functions/recursiveReaddirSync.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAmD;AACnD,+BAA2B;AAE3B,SAAwB,oBAAoB,CAAC,IAAY;IACrD,MAAM,GAAG,GAAG,IAAI,KAAK,EAAU,CAAA;IAE/B,KAAK,MAAM,IAAI,IAAI,IAAA,gBAAW,EAAC,IAAI,CAAC,EAAE;QAClC,MAAM,CAAC,GAAG,IAAA,WAAI,EAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QAC1B,MAAM,KAAK,GAAG,IAAA,cAAS,EAAC,CAAC,CAAC,CAAA;QAC1B,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE;YACrB,GAAG,CAAC,IAAI,CAAC,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAA;SACvC;aAAM;YACH,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;SACd;KACJ;IAED,OAAO,GAAG,CAAA;AACd,CAAC;AAdD,uCAcC"} \ No newline at end of file +{"version":3,"file":"recursiveReaddirSync.js","sourceRoot":"","sources":["../../src/functions/recursiveReaddirSync.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAKF,uCAcC;AAjBD,2BAAmD;AACnD,+BAA2B;AAE3B,SAAwB,oBAAoB,CAAC,IAAY;IACrD,MAAM,GAAG,GAAG,IAAI,KAAK,EAAU,CAAA;IAE/B,KAAK,MAAM,IAAI,IAAI,IAAA,gBAAW,EAAC,IAAI,CAAC,EAAE,CAAC;QACnC,MAAM,CAAC,GAAG,IAAA,WAAI,EAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QAC1B,MAAM,KAAK,GAAG,IAAA,cAAS,EAAC,CAAC,CAAC,CAAA;QAC1B,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,CAAC;YACtB,GAAG,CAAC,IAAI,CAAC,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAA;QACxC,CAAC;aAAM,CAAC;YACJ,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QACf,CAAC;IACL,CAAC;IAED,OAAO,GAAG,CAAA;AACd,CAAC"} \ No newline at end of file diff --git a/dist/functions/splitNumber.js b/dist/functions/splitNumber.js index ad05a1b1bc..e15e8c1840 100644 --- a/dist/functions/splitNumber.js +++ b/dist/functions/splitNumber.js @@ -1,9 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.default = default_1; function default_1(n, max) { const splitTimes = n % max === 0 ? Math.floor(n / max) : Math.floor(n / max) + 1; const arr = new Array(splitTimes); @@ -13,5 +14,4 @@ function default_1(n, max) { arr[arr.length - 1] = left; return arr; } -exports.default = default_1; //# sourceMappingURL=splitNumber.js.map \ No newline at end of file diff --git a/dist/functions/splitNumber.js.map b/dist/functions/splitNumber.js.map index 30d9ace8c8..fd795e7e99 100644 --- a/dist/functions/splitNumber.js.map +++ b/dist/functions/splitNumber.js.map @@ -1 +1 @@ -{"version":3,"file":"splitNumber.js","sourceRoot":"","sources":["../../src/functions/splitNumber.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,mBAAyB,CAAS,EAAE,GAAW;IAC3C,MAAM,UAAU,GAAG,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;IAChF,MAAM,GAAG,GAAG,IAAI,KAAK,CAAS,UAAU,CAAC,CAAA;IACzC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IACb,MAAM,IAAI,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,UAAU,GAAG,CAAC,CAAC,CAAA;IACvC,IAAI,IAAI,KAAK,CAAC;QAAE,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,CAAA;IAC1C,OAAO,GAAG,CAAA;AACd,CAAC;AAPD,4BAOC"} \ No newline at end of file +{"version":3,"file":"splitNumber.js","sourceRoot":"","sources":["../../src/functions/splitNumber.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,4BAOC;AAPD,mBAAyB,CAAS,EAAE,GAAW;IAC3C,MAAM,UAAU,GAAG,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;IAChF,MAAM,GAAG,GAAG,IAAI,KAAK,CAAS,UAAU,CAAC,CAAA;IACzC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IACb,MAAM,IAAI,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,UAAU,GAAG,CAAC,CAAC,CAAA;IACvC,IAAI,IAAI,KAAK,CAAC;QAAE,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,GAAG,IAAI,CAAA;IAC1C,OAAO,GAAG,CAAA;AACd,CAAC"} \ No newline at end of file diff --git a/dist/functions/thread.d.ts b/dist/functions/thread.d.ts index f179b9bcfe..64b21a7295 100644 --- a/dist/functions/thread.d.ts +++ b/dist/functions/thread.d.ts @@ -1,4 +1,3 @@ -/// import { Worker } from "worker_threads"; export declare function spawn(name: string): Promise; export declare function postMessage(worker: Worker, msg: any): Promise; diff --git a/dist/functions/thread.d.ts.map b/dist/functions/thread.d.ts.map index c994a3f1d6..e9b0e98772 100644 --- a/dist/functions/thread.d.ts.map +++ b/dist/functions/thread.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/functions/thread.ts"],"names":[],"mappings":";AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAEvC,wBAAsB,KAAK,CAAC,IAAI,EAAE,MAAM,mBAKvC;AAED,wBAAsB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,CAIzE;AAED,wBAAsB,SAAS,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,iBAKnD"} \ No newline at end of file +{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/functions/thread.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAEvC,wBAAsB,KAAK,CAAC,IAAI,EAAE,MAAM,mBAIvC;AAED,wBAAsB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,CAIzE;AAED,wBAAsB,SAAS,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,iBAKnD"} \ No newline at end of file diff --git a/dist/functions/thread.js b/dist/functions/thread.js index 3c8ec2c59c..e39d2d5ff5 100644 --- a/dist/functions/thread.js +++ b/dist/functions/thread.js @@ -1,31 +1,29 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.terminate = exports.postMessage = exports.spawn = void 0; +exports.spawn = spawn; +exports.postMessage = postMessage; +exports.terminate = terminate; const events_1 = require("events"); const path_1 = require("path"); const worker_threads_1 = require("worker_threads"); async function spawn(name) { - // eslint-disable-next-line no-undef const worker = new worker_threads_1.Worker((0, path_1.join)(__dirname, "..", "experimental", "threading", `${name}.js`)); await (0, events_1.once)(worker, "online"); return worker; } -exports.spawn = spawn; async function postMessage(worker, msg) { worker.postMessage(msg); const result = await (0, events_1.once)(worker, "message").then(x => x[0]); return result; } -exports.postMessage = postMessage; async function terminate(...workers) { for (const worker of workers) { worker.terminate(); await (0, events_1.once)(worker, "exit"); } } -exports.terminate = terminate; //# sourceMappingURL=thread.js.map \ No newline at end of file diff --git a/dist/functions/thread.js.map b/dist/functions/thread.js.map index 8ba846de08..d9ed6e5742 100644 --- a/dist/functions/thread.js.map +++ b/dist/functions/thread.js.map @@ -1 +1 @@ -{"version":3,"file":"thread.js","sourceRoot":"","sources":["../../src/functions/thread.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,mCAA6B;AAC7B,+BAA2B;AAC3B,mDAAuC;AAEhC,KAAK,UAAU,KAAK,CAAC,IAAY;IACpC,oCAAoC;IACpC,MAAM,MAAM,GAAG,IAAI,uBAAM,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,IAAI,KAAK,CAAC,CAAC,CAAA;IAC3F,MAAM,IAAA,aAAI,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC5B,OAAO,MAAM,CAAA;AACjB,CAAC;AALD,sBAKC;AAEM,KAAK,UAAU,WAAW,CAAI,MAAc,EAAE,GAAQ;IACzD,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;IACvB,MAAM,MAAM,GAAG,MAAM,IAAA,aAAI,EAAC,MAAM,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5D,OAAO,MAAM,CAAA;AACjB,CAAC;AAJD,kCAIC;AAEM,KAAK,UAAU,SAAS,CAAC,GAAG,OAAiB;IAChD,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;QAC1B,MAAM,CAAC,SAAS,EAAE,CAAA;QAClB,MAAM,IAAA,aAAI,EAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAC7B;AACL,CAAC;AALD,8BAKC"} \ No newline at end of file +{"version":3,"file":"thread.js","sourceRoot":"","sources":["../../src/functions/thread.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAMF,sBAIC;AAED,kCAIC;AAED,8BAKC;AArBD,mCAA6B;AAC7B,+BAA2B;AAC3B,mDAAuC;AAEhC,KAAK,UAAU,KAAK,CAAC,IAAY;IACpC,MAAM,MAAM,GAAG,IAAI,uBAAM,CAAC,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,IAAI,KAAK,CAAC,CAAC,CAAA;IAC3F,MAAM,IAAA,aAAI,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC5B,OAAO,MAAM,CAAA;AACjB,CAAC;AAEM,KAAK,UAAU,WAAW,CAAI,MAAc,EAAE,GAAQ;IACzD,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;IACvB,MAAM,MAAM,GAAG,MAAM,IAAA,aAAI,EAAC,MAAM,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5D,OAAO,MAAM,CAAA;AACjB,CAAC;AAEM,KAAK,UAAU,SAAS,CAAC,GAAG,OAAiB;IAChD,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC3B,MAAM,CAAC,SAAS,EAAE,CAAA;QAClB,MAAM,IAAA,aAAI,EAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/dist/functions/translate.d.ts.map b/dist/functions/translate.d.ts.map index bf3236098b..da90708ff8 100644 --- a/dist/functions/translate.d.ts.map +++ b/dist/functions/translate.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"translate.d.ts","sourceRoot":"","sources":["../../src/functions/translate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAiB,MAAM,YAAY,CAAA;AAClD,OAAO,EAAW,IAAI,EAAE,MAAM,EAAE,eAAe,EAAU,MAAM,eAAe,CAAA;AAoB9E,MAAM,WAAW,qBAAqB;IAClC,SAAS,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;IAC9B,SAAS,EAAE,eAAe,CAAC,IAAI,EAAE,CAAC,EAAE,CAAA;IACpC,MAAM,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,EAAE,CAAA;CAC3C;AAED,MAAM,WAAW,qBAAqB;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACrC,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IAEvB,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,MAAM,CAAA;QAEhB,WAAW,EAAE,MAAM,CAAA;QACnB,eAAe,EAAE,MAAM,CAAA;KAC1B,EAAE,CAAA;CACN;AAED,MAAM,WAAW,gBAAgB;IAC7B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAA;IACnD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAA;CAChD;AAuFD,wBAAsB,aAAa,CAAC,OAAO,EAAE,qBAAqB,iBA8EjE"} \ No newline at end of file +{"version":3,"file":"translate.d.ts","sourceRoot":"","sources":["../../src/functions/translate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,EAAU,MAAM,eAAe,CAAA;AAkBrE,MAAM,WAAW,qBAAqB;IAClC,SAAS,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAA;IAC9B,SAAS,EAAE,eAAe,CAAC,IAAI,EAAE,CAAC,EAAE,CAAA;IACpC,MAAM,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,EAAE,CAAA;CAC3C;AAED,MAAM,WAAW,qBAAqB;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACrC,WAAW,EAAE,MAAM,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IAEvB,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,MAAM,CAAA;QAEhB,WAAW,EAAE,MAAM,CAAA;QACnB,eAAe,EAAE,MAAM,CAAA;KAC1B,EAAE,CAAA;CACN;AAED,MAAM,WAAW,gBAAgB;IAC7B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAA;IACnD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAA;CAChD;AAuFD,wBAAsB,aAAa,CAAC,OAAO,EAAE,qBAAqB,iBA8EjE"} \ No newline at end of file diff --git a/dist/functions/translate.js b/dist/functions/translate.js index 2648f32617..5010ce925d 100644 --- a/dist/functions/translate.js +++ b/dist/functions/translate.js @@ -1,10 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.translateData = void 0; +exports.translateData = translateData; const structures_1 = require("../structures"); const fs_1 = require("fs"); const crypto_1 = require("crypto"); @@ -154,5 +154,4 @@ async function translateData(options) { await (0, thread_1.terminate)(...workers); } } -exports.translateData = translateData; //# sourceMappingURL=translate.js.map \ No newline at end of file diff --git a/dist/functions/translate.js.map b/dist/functions/translate.js.map index b6b4232c7e..171fc241ca 100644 --- a/dist/functions/translate.js.map +++ b/dist/functions/translate.js.map @@ -1 +1 @@ -{"version":3,"file":"translate.js","sourceRoot":"","sources":["../../src/functions/translate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAGF,8CAA8E;AAC9E,2BAAuE;AACvE,mCAAmC;AAGnC,4CAAyC;AACzC,+CAA2C;AAC3C,+BAA2B;AAC3B,qCAAwD;AAExD,2BAAsC;AAEtC,MAAM,UAAU,GAAG;IACf,CAAE,OAAO,EAAE,QAAQ,CAAE;IACrB,CAAE,MAAM,EAAE,SAAS,CAAE;IACrB,CAAE,KAAK,EAAE,aAAa,CAAE;IACxB,CAAE,OAAO,EAAE,WAAW,CAAC;IACvB,CAAE,MAAM,EAAE,YAAY,CAAE;CACE,CAAA;AA+B9B,SAAS,IAAI,CAAC,GAAW;IACrB,OAAO,IAAA,mBAAU,EAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;AACpE,CAAC;AAED,KAAK,UAAU,iBAAiB,CAAC,MAAc,EAAE,GAAQ,EAAE,EAAmB,EAAE,WAAgB,EAAE;IAC9F,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QAChC,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;QACtB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,MAAM,OAAO,GAAG,GAAG,GAAG,MAAM,CAAA;YAC5B,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAA;YACjC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAA;YAC3B,IAAI,OAAO,KAAK,OAAO,EAAE;gBACrB,QAAQ,CAAC,OAAO,CAAC,GAAG,OAAO,CAAA;gBAC3B,QAAQ,CAA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,CAAC,IAAI,OAAO,CAAC,KAAK,EAAC,OAAO,EAAC,EAAE;oBACtC,MAAM,CAAC,MAAO,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,MAAM,gBAAgB,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAA;oBAC5E,OAAO,EAAE,CAAA;gBACb,CAAC,CAAC,CAAC,CAAA;YACP,CAAC;YAED,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;YAC3B,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,eAAe,CAAA;YAC5C,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;YACtD,mBAAM,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,yBAAyB,IAAA,yBAAW,EAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,sBAAU,CAAC,aAAa,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAA;QAC1L,CAAC;QAED,IAAA,kBAAa,EAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAA;QAC1D,mBAAM,CAAC,UAAU,CAAC,gDAAgD,CAAC,CAAA;QACnE,MAAM,IAAA,kBAAS,EAAC,GAAG,OAAO,CAAC,CAAA;IAC/B,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/dist/handlers/events/autoModerationActionExecution.js b/dist/handlers/events/autoModerationActionExecution.js index 8ba00c6854..190e3266c5 100644 --- a/dist/handlers/events/autoModerationActionExecution.js +++ b/dist/handlers/events/autoModerationActionExecution.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/autoModerationActionExecution.js.map b/dist/handlers/events/autoModerationActionExecution.js.map index f8abab2af2..75a2e66f28 100644 --- a/dist/handlers/events/autoModerationActionExecution.js.map +++ b/dist/handlers/events/autoModerationActionExecution.js.map @@ -1 +1 @@ -{"version":3,"file":"autoModerationActionExecution.js","sourceRoot":"","sources":["../../../src/handlers/events/autoModerationActionExecution.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,+BAA+B;IACrC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8DAA8D;IAC3E,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAA;QAEnE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,yBAAyB,CAAC;CACjD,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"autoModerationActionExecution.js","sourceRoot":"","sources":["../../../src/handlers/events/autoModerationActionExecution.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,+BAA+B;IACrC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8DAA8D;IAC3E,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAA;QAEnE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,yBAAyB,CAAC;CACjD,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/autoModerationRuleCreate.js b/dist/handlers/events/autoModerationRuleCreate.js index a61349c4a7..56e96edddd 100644 --- a/dist/handlers/events/autoModerationRuleCreate.js +++ b/dist/handlers/events/autoModerationRuleCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/autoModerationRuleCreate.js.map b/dist/handlers/events/autoModerationRuleCreate.js.map index 0063b9f084..4f743a2417 100644 --- a/dist/handlers/events/autoModerationRuleCreate.js.map +++ b/dist/handlers/events/autoModerationRuleCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"autoModerationRuleCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/autoModerationRuleCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,6BAA6B,CAAC;CACrD,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"autoModerationRuleCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/autoModerationRuleCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,6BAA6B,CAAC;CACrD,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/autoModerationRuleDelete.js b/dist/handlers/events/autoModerationRuleDelete.js index 251f32d04b..dba898a938 100644 --- a/dist/handlers/events/autoModerationRuleDelete.js +++ b/dist/handlers/events/autoModerationRuleDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/autoModerationRuleDelete.js.map b/dist/handlers/events/autoModerationRuleDelete.js.map index 40a62e065a..80faf17e34 100644 --- a/dist/handlers/events/autoModerationRuleDelete.js.map +++ b/dist/handlers/events/autoModerationRuleDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"autoModerationRuleDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/autoModerationRuleDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,6BAA6B,CAAC;CACrD,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"autoModerationRuleDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/autoModerationRuleDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,6BAA6B,CAAC;CACrD,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/autoModerationRuleUpdate.js b/dist/handlers/events/autoModerationRuleUpdate.js index 3187ba3bde..6515391808 100644 --- a/dist/handlers/events/autoModerationRuleUpdate.js +++ b/dist/handlers/events/autoModerationRuleUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/autoModerationRuleUpdate.js.map b/dist/handlers/events/autoModerationRuleUpdate.js.map index 6f57b7ea40..7b8f8c0493 100644 --- a/dist/handlers/events/autoModerationRuleUpdate.js.map +++ b/dist/handlers/events/autoModerationRuleUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"autoModerationRuleUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/autoModerationRuleUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,6BAA6B,CAAC;CACrD,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"autoModerationRuleUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/autoModerationRuleUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,6BAA6B,CAAC;CACrD,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/channelCreate.js b/dist/handlers/events/channelCreate.js index 0d185d7860..7b20ddf453 100644 --- a/dist/handlers/events/channelCreate.js +++ b/dist/handlers/events/channelCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/channelCreate.js.map b/dist/handlers/events/channelCreate.js.map index 31135ab198..9e835b4ab4 100644 --- a/dist/handlers/events/channelCreate.js.map +++ b/dist/handlers/events/channelCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"channelCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/channelCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"channelCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/channelCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/channelDelete.js b/dist/handlers/events/channelDelete.js index 2d354358f7..ff43ddca24 100644 --- a/dist/handlers/events/channelDelete.js +++ b/dist/handlers/events/channelDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/channelDelete.js.map b/dist/handlers/events/channelDelete.js.map index 1850ec7329..a1d388c3d1 100644 --- a/dist/handlers/events/channelDelete.js.map +++ b/dist/handlers/events/channelDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"channelDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/channelDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,EAAE;wBACP,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"channelDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/channelDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,EAAE;wBACP,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/channelPinsUpdate.js b/dist/handlers/events/channelPinsUpdate.js index 2d91755463..a7cf4dd853 100644 --- a/dist/handlers/events/channelPinsUpdate.js +++ b/dist/handlers/events/channelPinsUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/channelPinsUpdate.js.map b/dist/handlers/events/channelPinsUpdate.js.map index 3a7226545f..4b51755951 100644 --- a/dist/handlers/events/channelPinsUpdate.js.map +++ b/dist/handlers/events/channelPinsUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"channelPinsUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/channelPinsUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,gBAAgB,CAAC;CACxC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"channelPinsUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/channelPinsUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,gBAAgB,CAAC;CACxC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/channelUpdate.js b/dist/handlers/events/channelUpdate.js index 0b0b252042..d029f35b44 100644 --- a/dist/handlers/events/channelUpdate.js +++ b/dist/handlers/events/channelUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/channelUpdate.js.map b/dist/handlers/events/channelUpdate.js.map index be3db4920f..b3c857e1e2 100644 --- a/dist/handlers/events/channelUpdate.js.map +++ b/dist/handlers/events/channelUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"channelUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/channelUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"channelUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/channelUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/clientReady.js b/dist/handlers/events/clientReady.js index e4f19322b1..bd2a9db845 100644 --- a/dist/handlers/events/clientReady.js +++ b/dist/handlers/events/clientReady.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/clientReady.js.map b/dist/handlers/events/clientReady.js.map index 8210e0a9a2..e3af476daf 100644 --- a/dist/handlers/events/clientReady.js.map +++ b/dist/handlers/events/clientReady.js.map @@ -1 +1 @@ -{"version":3,"file":"clientReady.js","sourceRoot":"","sources":["../../../src/handlers/events/clientReady.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,iDAAyC;AACzC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK;QACX,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QACjD,IAAI,QAAQ,CAAC,MAAM,EAAE;YACjB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;gBAC5B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;aACL;SACJ;aAAM;YACH,mBAAM,CAAC,IAAI,CAAC,mBAAmB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAA;SAC1D;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,EAAE;YAChC,MAAM,6BAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;SACrC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"clientReady.js","sourceRoot":"","sources":["../../../src/handlers/events/clientReady.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,iDAAyC;AACzC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK;QACX,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QACjD,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;YAClB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC7B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;YACN,CAAC;QACL,CAAC;aAAM,CAAC;YACJ,mBAAM,CAAC,IAAI,CAAC,mBAAmB,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAA;QAC3D,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,EAAE,CAAC;YACjC,MAAM,6BAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/debug.js b/dist/handlers/events/debug.js index c0930d117d..e8ada3fd01 100644 --- a/dist/handlers/events/debug.js +++ b/dist/handlers/events/debug.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/debug.js.map b/dist/handlers/events/debug.js.map index e298c4a0f3..5d82b3e8bb 100644 --- a/dist/handlers/events/debug.js.map +++ b/dist/handlers/events/debug.js.map @@ -1 +1 @@ -{"version":3,"file":"debug.js","sourceRoot":"","sources":["../../../src/handlers/events/debug.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0DAA0D;IACvE,QAAQ,EAAE,UAAU,KAAK;QACrB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QAC3C,IAAI,QAAQ,CAAC,MAAM,EAAE;YACjB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;gBAC5B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;oBACP,MAAM,EAAE,KAAK;iBAChB,CAAC,CAAA;aACL;SACJ;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"debug.js","sourceRoot":"","sources":["../../../src/handlers/events/debug.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0DAA0D;IACvE,QAAQ,EAAE,UAAU,KAAK;QACrB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QAC3C,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;YAClB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC7B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;oBACP,MAAM,EAAE,KAAK;iBAChB,CAAC,CAAA;YACN,CAAC;QACL,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/emojiCreate.js b/dist/handlers/events/emojiCreate.js index b2e809676b..462b54eec6 100644 --- a/dist/handlers/events/emojiCreate.js +++ b/dist/handlers/events/emojiCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/emojiCreate.js.map b/dist/handlers/events/emojiCreate.js.map index 8aed62ea37..ef34bfeb5c 100644 --- a/dist/handlers/events/emojiCreate.js.map +++ b/dist/handlers/events/emojiCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"emojiCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/emojiCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"emojiCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/emojiCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/emojiDelete.js b/dist/handlers/events/emojiDelete.js index 51ad9a7c19..52059ad3bf 100644 --- a/dist/handlers/events/emojiDelete.js +++ b/dist/handlers/events/emojiDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/emojiDelete.js.map b/dist/handlers/events/emojiDelete.js.map index 2a7c2d8155..f2e5cc1e73 100644 --- a/dist/handlers/events/emojiDelete.js.map +++ b/dist/handlers/events/emojiDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"emojiDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/emojiDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"emojiDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/emojiDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/emojiUpdate.js b/dist/handlers/events/emojiUpdate.js index f977413900..4f0897ba78 100644 --- a/dist/handlers/events/emojiUpdate.js +++ b/dist/handlers/events/emojiUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/emojiUpdate.js.map b/dist/handlers/events/emojiUpdate.js.map index bf0b97dceb..b4a9d6bd8a 100644 --- a/dist/handlers/events/emojiUpdate.js.map +++ b/dist/handlers/events/emojiUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"emojiUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/emojiUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,kBAAkB,CAAC;IAC7B,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"emojiUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/emojiUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,kBAAkB,CAAC;IAC7B,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/entitlementCreate.js b/dist/handlers/events/entitlementCreate.js index 492ff5f08a..2eb4897794 100644 --- a/dist/handlers/events/entitlementCreate.js +++ b/dist/handlers/events/entitlementCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/entitlementCreate.js.map b/dist/handlers/events/entitlementCreate.js.map index 3ef9440e4e..73824d3448 100644 --- a/dist/handlers/events/entitlementCreate.js.map +++ b/dist/handlers/events/entitlementCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"entitlementCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/entitlementCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"entitlementCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/entitlementCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/entitlementDelete.js b/dist/handlers/events/entitlementDelete.js index d847fa2c3d..fb3890278f 100644 --- a/dist/handlers/events/entitlementDelete.js +++ b/dist/handlers/events/entitlementDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/entitlementDelete.js.map b/dist/handlers/events/entitlementDelete.js.map index 806308dfd1..768feb39da 100644 --- a/dist/handlers/events/entitlementDelete.js.map +++ b/dist/handlers/events/entitlementDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"entitlementDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/entitlementDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,EAAE;wBACP,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"entitlementDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/entitlementDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,EAAE;wBACP,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/entitlementUpdate.js b/dist/handlers/events/entitlementUpdate.js index bf99a30f02..8464424835 100644 --- a/dist/handlers/events/entitlementUpdate.js +++ b/dist/handlers/events/entitlementUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/entitlementUpdate.js.map b/dist/handlers/events/entitlementUpdate.js.map index 6cc43e379d..0b5b075a39 100644 --- a/dist/handlers/events/entitlementUpdate.js.map +++ b/dist/handlers/events/entitlementUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"entitlementUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/entitlementUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,GAAG;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,GAAG;wBACR,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"entitlementUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/entitlementUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,GAAG;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,GAAG;wBACR,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/error.js b/dist/handlers/events/error.js index fa000afe68..4453e6cfb4 100644 --- a/dist/handlers/events/error.js +++ b/dist/handlers/events/error.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/error.js.map b/dist/handlers/events/error.js.map index c4c38dcbf0..e08dbc30bb 100644 --- a/dist/handlers/events/error.js.map +++ b/dist/handlers/events/error.js.map @@ -1 +1 @@ -{"version":3,"file":"error.js","sourceRoot":"","sources":["../../../src/handlers/events/error.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC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,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildAuditLogEntryCreate.js b/dist/handlers/events/guildAuditLogEntryCreate.js index 775334d41e..4fb4d0a52f 100644 --- a/dist/handlers/events/guildAuditLogEntryCreate.js +++ b/dist/handlers/events/guildAuditLogEntryCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildAuditLogEntryCreate.js.map b/dist/handlers/events/guildAuditLogEntryCreate.js.map index 9bf1a6544e..d282be4d6f 100644 --- a/dist/handlers/events/guildAuditLogEntryCreate.js.map +++ b/dist/handlers/events/guildAuditLogEntryCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildAuditLogEntryCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildAuditLogEntryCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6DAA6D;IAC1E,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,KAAK;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;CACzC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildAuditLogEntryCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildAuditLogEntryCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6DAA6D;IAC1E,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,KAAK;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,iBAAiB,CAAC;CACzC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildAvailable.js b/dist/handlers/events/guildAvailable.js index 24b89121eb..f9786aa726 100644 --- a/dist/handlers/events/guildAvailable.js +++ b/dist/handlers/events/guildAvailable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildAvailable.js.map b/dist/handlers/events/guildAvailable.js.map index 24d6ef5d44..31a9b755ca 100644 --- a/dist/handlers/events/guildAvailable.js.map +++ b/dist/handlers/events/guildAvailable.js.map @@ -1 +1 @@ -{"version":3,"file":"guildAvailable.js","sourceRoot":"","sources":["../../../src/handlers/events/guildAvailable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildAvailable.js","sourceRoot":"","sources":["../../../src/handlers/events/guildAvailable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildBanAdd.js b/dist/handlers/events/guildBanAdd.js index c75b9ae917..0e316e771b 100644 --- a/dist/handlers/events/guildBanAdd.js +++ b/dist/handlers/events/guildBanAdd.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildBanAdd.js.map b/dist/handlers/events/guildBanAdd.js.map index 978a8f245d..1801131252 100644 --- a/dist/handlers/events/guildBanAdd.js.map +++ b/dist/handlers/events/guildBanAdd.js.map @@ -1 +1 @@ -{"version":3,"file":"guildBanAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/guildBanAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE;oBACD,KAAK,EAAE,CAAC,CAAC,KAAK;oBACd,IAAI,EAAE,CAAC,CAAC,IAAI;iBACf;gBACD,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,GAAG,EAAE;wBACD,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildBanAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/guildBanAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE;oBACD,KAAK,EAAE,CAAC,CAAC,KAAK;oBACd,IAAI,EAAE,CAAC,CAAC,IAAI;iBACf;gBACD,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,GAAG,EAAE;wBACD,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildBanRemove.js b/dist/handlers/events/guildBanRemove.js index 3576edd224..360ac8bd74 100644 --- a/dist/handlers/events/guildBanRemove.js +++ b/dist/handlers/events/guildBanRemove.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildBanRemove.js.map b/dist/handlers/events/guildBanRemove.js.map index 5c0283bf0e..6dcf607509 100644 --- a/dist/handlers/events/guildBanRemove.js.map +++ b/dist/handlers/events/guildBanRemove.js.map @@ -1 +1 @@ -{"version":3,"file":"guildBanRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/guildBanRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE;oBACD,KAAK,EAAE,CAAC,CAAC,KAAK;oBACd,IAAI,EAAE,CAAC,CAAC,IAAI;iBACf;gBACD,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,GAAG,EAAE;wBACD,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildBanRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/guildBanRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE;oBACD,KAAK,EAAE,CAAC,CAAC,KAAK;oBACd,IAAI,EAAE,CAAC,CAAC,IAAI;iBACf;gBACD,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,GAAG,EAAE;wBACD,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildCreate.js b/dist/handlers/events/guildCreate.js index d67678b0f6..8ba8dada52 100644 --- a/dist/handlers/events/guildCreate.js +++ b/dist/handlers/events/guildCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildCreate.js.map b/dist/handlers/events/guildCreate.js.map index 888a0a6ddf..a52840382a 100644 --- a/dist/handlers/events/guildCreate.js.map +++ b/dist/handlers/events/guildCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;QAEhE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;QAEhE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildDelete.js b/dist/handlers/events/guildDelete.js index 1e63df5e66..546d766c8b 100644 --- a/dist/handlers/events/guildDelete.js +++ b/dist/handlers/events/guildDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildDelete.js.map b/dist/handlers/events/guildDelete.js.map index 639b73a9f2..4f74e97734 100644 --- a/dist/handlers/events/guildDelete.js.map +++ b/dist/handlers/events/guildDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"guildDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/guildDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,6BAAa,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;QAE5D,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/guildDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,6BAAa,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;QAE5D,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildIntegrationsUpdate.js b/dist/handlers/events/guildIntegrationsUpdate.js index ae31d5d0f6..0b5015dfcd 100644 --- a/dist/handlers/events/guildIntegrationsUpdate.js +++ b/dist/handlers/events/guildIntegrationsUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildIntegrationsUpdate.js.map b/dist/handlers/events/guildIntegrationsUpdate.js.map index 5e9aa8b5ae..a1fad303d1 100644 --- a/dist/handlers/events/guildIntegrationsUpdate.js.map +++ b/dist/handlers/events/guildIntegrationsUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildIntegrationsUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildIntegrationsUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+DAA+D;IAC5E,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAA;QAE7D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;CACjC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildIntegrationsUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildIntegrationsUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+DAA+D;IAC5E,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAA;QAE7D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;CACjC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildMemberAdd.js b/dist/handlers/events/guildMemberAdd.js index baa7267cb8..3cfcb075e5 100644 --- a/dist/handlers/events/guildMemberAdd.js +++ b/dist/handlers/events/guildMemberAdd.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildMemberAdd.js.map b/dist/handlers/events/guildMemberAdd.js.map index 3bd8382c12..6170c6658e 100644 --- a/dist/handlers/events/guildMemberAdd.js.map +++ b/dist/handlers/events/guildMemberAdd.js.map @@ -1 +1 @@ -{"version":3,"file":"guildMemberAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/guildMemberAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QAEtE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildMemberAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/guildMemberAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QAEtE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildMemberAvailable.js b/dist/handlers/events/guildMemberAvailable.js index 942c54c7cb..fdf76229f3 100644 --- a/dist/handlers/events/guildMemberAvailable.js +++ b/dist/handlers/events/guildMemberAvailable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildMemberAvailable.js.map b/dist/handlers/events/guildMemberAvailable.js.map index cf609c9893..4290eecc5c 100644 --- a/dist/handlers/events/guildMemberAvailable.js.map +++ b/dist/handlers/events/guildMemberAvailable.js.map @@ -1 +1 @@ -{"version":3,"file":"guildMemberAvailable.js","sourceRoot":"","sources":["../../../src/handlers/events/guildMemberAvailable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gEAAgE;IAC7E,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QAEtE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAA;QAE1D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,CAAgB;qBACxB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildMemberAvailable.js","sourceRoot":"","sources":["../../../src/handlers/events/guildMemberAvailable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gEAAgE;IAC7E,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QAEtE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAA;QAE1D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,CAAgB;qBACxB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildMemberRemove.js b/dist/handlers/events/guildMemberRemove.js index 4d07d13f9f..3ce5ee80f2 100644 --- a/dist/handlers/events/guildMemberRemove.js +++ b/dist/handlers/events/guildMemberRemove.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildMemberRemove.js.map b/dist/handlers/events/guildMemberRemove.js.map index db7a7de6d5..a2b8ef6709 100644 --- a/dist/handlers/events/guildMemberRemove.js.map +++ b/dist/handlers/events/guildMemberRemove.js.map @@ -1 +1 @@ -{"version":3,"file":"guildMemberRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/guildMemberRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,2EAAuE;AACvE,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4EAA4E;IACzF,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,6BAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;QAElE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAgB;gBACrB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,CAAgB;wBACrB,GAAG,EAAE,CAAgB;qBACxB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildMemberRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/guildMemberRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,2EAAuE;AACvE,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4EAA4E;IACzF,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,6BAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;QAElE,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAgB;gBACrB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,CAAgB;wBACrB,GAAG,EAAE,CAAgB;qBACxB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildMemberUpdate.js b/dist/handlers/events/guildMemberUpdate.js index 7dfea024be..c7d89e9241 100644 --- a/dist/handlers/events/guildMemberUpdate.js +++ b/dist/handlers/events/guildMemberUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildMemberUpdate.js.map b/dist/handlers/events/guildMemberUpdate.js.map index 1ab420b087..5621dd824b 100644 --- a/dist/handlers/events/guildMemberUpdate.js.map +++ b/dist/handlers/events/guildMemberUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildMemberUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildMemberUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,2EAAuE;AACvE,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yDAAyD;IACtE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,IACI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAC9B,KAAK,CAAC,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE;YACzB,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC;YACnC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,EACtC;YACE,yBAAyB;YACzB,MAAM,6BAAa,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACzC;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAoB;gBACzB,OAAO;gBACP,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,GAAkB;wBACvB,GAAG,EAAE,KAAoB;qBAC5B;iBACJ;gBACD,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildMemberUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildMemberUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,2EAAuE;AACvE,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yDAAyD;IACtE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,IACI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAC9B,KAAK,CAAC,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE;YACzB,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC;YACnC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,EACtC,CAAC;YACC,yBAAyB;YACzB,MAAM,6BAAa,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QAC1C,CAAC;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAoB;gBACzB,OAAO;gBACP,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,GAAkB;wBACvB,GAAG,EAAE,KAAoB;qBAC5B;iBACJ;gBACD,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildScheduledEventCreate.js b/dist/handlers/events/guildScheduledEventCreate.js index 382359e0d4..0501ab2250 100644 --- a/dist/handlers/events/guildScheduledEventCreate.js +++ b/dist/handlers/events/guildScheduledEventCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildScheduledEventCreate.js.map b/dist/handlers/events/guildScheduledEventCreate.js.map index aa9b0d8cac..c9d1bd575a 100644 --- a/dist/handlers/events/guildScheduledEventCreate.js.map +++ b/dist/handlers/events/guildScheduledEventCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildScheduledEventCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QAE/D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildScheduledEventCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QAE/D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildScheduledEventDelete.js b/dist/handlers/events/guildScheduledEventDelete.js index e19f7d48d3..3c4bc0f2b6 100644 --- a/dist/handlers/events/guildScheduledEventDelete.js +++ b/dist/handlers/events/guildScheduledEventDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildScheduledEventDelete.js.map b/dist/handlers/events/guildScheduledEventDelete.js.map index 3647b6f3e3..c23772a16e 100644 --- a/dist/handlers/events/guildScheduledEventDelete.js.map +++ b/dist/handlers/events/guildScheduledEventDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"guildScheduledEventDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,MAAM,GAAG,GAAwB,GAAG,CAAA;QACpC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QAE/D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildScheduledEventDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,MAAM,GAAG,GAAwB,GAAG,CAAA;QACpC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QAE/D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildScheduledEventUpdate.js b/dist/handlers/events/guildScheduledEventUpdate.js index 4af90622d5..b4123f9ff4 100644 --- a/dist/handlers/events/guildScheduledEventUpdate.js +++ b/dist/handlers/events/guildScheduledEventUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildScheduledEventUpdate.js.map b/dist/handlers/events/guildScheduledEventUpdate.js.map index ce4ae1bf9c..735914435c 100644 --- a/dist/handlers/events/guildScheduledEventUpdate.js.map +++ b/dist/handlers/events/guildScheduledEventUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildScheduledEventUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,GAAG;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QAE/D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAA0B;qBAClC;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildScheduledEventUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,GAAG;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QAE/D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAA0B;qBAClC;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildScheduledEventUserAdd.js b/dist/handlers/events/guildScheduledEventUserAdd.js index 4b4ea04fbd..ba72f32df5 100644 --- a/dist/handlers/events/guildScheduledEventUserAdd.js +++ b/dist/handlers/events/guildScheduledEventUserAdd.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildScheduledEventUserAdd.js.map b/dist/handlers/events/guildScheduledEventUserAdd.js.map index 62e564eeb3..e9ec099136 100644 --- a/dist/handlers/events/guildScheduledEventUserAdd.js.map +++ b/dist/handlers/events/guildScheduledEventUserAdd.js.map @@ -1 +1 @@ -{"version":3,"file":"guildScheduledEventUserAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventUserAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gEAAgE;IAC7E,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,IAAI;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,CAAwB;wBAC7B,GAAG,EAAE,CAAwB;qBAChC;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildScheduledEventUserAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventUserAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gEAAgE;IAC7E,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,IAAI;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,CAAwB;wBAC7B,GAAG,EAAE,CAAwB;qBAChC;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildScheduledEventUserRemove.js b/dist/handlers/events/guildScheduledEventUserRemove.js index 8c65bf24b7..7fd5ad93aa 100644 --- a/dist/handlers/events/guildScheduledEventUserRemove.js +++ b/dist/handlers/events/guildScheduledEventUserRemove.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildScheduledEventUserRemove.js.map b/dist/handlers/events/guildScheduledEventUserRemove.js.map index 4436ce144c..9d8b5f8b45 100644 --- a/dist/handlers/events/guildScheduledEventUserRemove.js.map +++ b/dist/handlers/events/guildScheduledEventUserRemove.js.map @@ -1 +1 @@ -{"version":3,"file":"guildScheduledEventUserRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventUserRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,+BAA+B;IACrC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oEAAoE;IACjF,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,IAAI;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAA;QAEnE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,CAAwB;wBAC7B,GAAG,EAAE,CAAwB;qBAChC;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildScheduledEventUserRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/guildScheduledEventUserRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,+BAA+B;IACrC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oEAAoE;IACjF,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,IAAI;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAA;QAEnE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,cAAc,EAAE;wBACZ,GAAG,EAAE,CAAwB;wBAC7B,GAAG,EAAE,CAAwB;qBAChC;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildSoundboardSoundCreate.js b/dist/handlers/events/guildSoundboardSoundCreate.js index 242283f0e7..eb69cfe6e3 100644 --- a/dist/handlers/events/guildSoundboardSoundCreate.js +++ b/dist/handlers/events/guildSoundboardSoundCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildSoundboardSoundCreate.js.map b/dist/handlers/events/guildSoundboardSoundCreate.js.map index a8078309cf..ded8e35049 100644 --- a/dist/handlers/events/guildSoundboardSoundCreate.js.map +++ b/dist/handlers/events/guildSoundboardSoundCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildSoundboardSoundCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildSoundboardSoundCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,eAAe,EAAE;wBACb,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildSoundboardSoundCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildSoundboardSoundCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,eAAe,EAAE;wBACb,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildSoundboardSoundDelete.js b/dist/handlers/events/guildSoundboardSoundDelete.js index 384f39dd5a..d794ed7577 100644 --- a/dist/handlers/events/guildSoundboardSoundDelete.js +++ b/dist/handlers/events/guildSoundboardSoundDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildSoundboardSoundDelete.js.map b/dist/handlers/events/guildSoundboardSoundDelete.js.map index bc229d1d05..2754836421 100644 --- a/dist/handlers/events/guildSoundboardSoundDelete.js.map +++ b/dist/handlers/events/guildSoundboardSoundDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"guildSoundboardSoundDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/guildSoundboardSoundDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,eAAe,EAAE;wBACb,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildSoundboardSoundDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/guildSoundboardSoundDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,eAAe,EAAE;wBACb,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildSoundboardSoundUpdate.js b/dist/handlers/events/guildSoundboardSoundUpdate.js index 0ef8696a29..4d6581d75c 100644 --- a/dist/handlers/events/guildSoundboardSoundUpdate.js +++ b/dist/handlers/events/guildSoundboardSoundUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildSoundboardSoundUpdate.js.map b/dist/handlers/events/guildSoundboardSoundUpdate.js.map index e2d1250b8d..99b9a47f98 100644 --- a/dist/handlers/events/guildSoundboardSoundUpdate.js.map +++ b/dist/handlers/events/guildSoundboardSoundUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildSoundboardSoundUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildSoundboardSoundUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,eAAe,EAAE;wBACb,GAAG;wBACH,GAAG,EAAE,KAAK;qBACb;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildSoundboardSoundUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildSoundboardSoundUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,eAAe,EAAE;wBACb,GAAG;wBACH,GAAG,EAAE,KAAK;qBACb;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildUnavailable.js b/dist/handlers/events/guildUnavailable.js index e23d678a80..c12aad0589 100644 --- a/dist/handlers/events/guildUnavailable.js +++ b/dist/handlers/events/guildUnavailable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildUnavailable.js.map b/dist/handlers/events/guildUnavailable.js.map index e42c8d614a..ce25028b18 100644 --- a/dist/handlers/events/guildUnavailable.js.map +++ b/dist/handlers/events/guildUnavailable.js.map @@ -1 +1 @@ -{"version":3,"file":"guildUnavailable.js","sourceRoot":"","sources":["../../../src/handlers/events/guildUnavailable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAA;QAEtD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildUnavailable.js","sourceRoot":"","sources":["../../../src/handlers/events/guildUnavailable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAA;QAEtD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/guildUpdate.js b/dist/handlers/events/guildUpdate.js index 746e061c68..81c5722f0a 100644 --- a/dist/handlers/events/guildUpdate.js +++ b/dist/handlers/events/guildUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/guildUpdate.js.map b/dist/handlers/events/guildUpdate.js.map index def6c31a62..02d6fce57d 100644 --- a/dist/handlers/events/guildUpdate.js.map +++ b/dist/handlers/events/guildUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"guildUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yDAAyD;IACtE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/guildUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yDAAyD;IACtE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/interactionCreate.js b/dist/handlers/events/interactionCreate.js index f479244eb0..62ddc2cef7 100644 --- a/dist/handlers/events/interactionCreate.js +++ b/dist/handlers/events/interactionCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/interactionCreate.js.map b/dist/handlers/events/interactionCreate.js.map index 8b61872696..11ba05a538 100644 --- a/dist/handlers/events/interactionCreate.js.map +++ b/dist/handlers/events/interactionCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"interactionCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/interactionCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uFAAuF;IACpG,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE;YACf,MAAM,OAAO,GAAG,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YAC/C,IAAI,OAAO,EAAE;gBACT,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO,EAAE,IAAI;oBACb,IAAI,EAAE,OAAO,CAAC,QAAQ;oBACtB,GAAG,EAAE,CAAC;iBACT,CAAC,CAAA;aACL;SACJ;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAC9B,mBAAmB,EACnB,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAC,CACvC,CAAA;QAED,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"interactionCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/interactionCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uFAAuF;IACpG,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC;YAChB,MAAM,OAAO,GAAG,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YAC/C,IAAI,OAAO,EAAE,CAAC;gBACV,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO,EAAE,IAAI;oBACb,IAAI,EAAE,OAAO,CAAC,QAAQ;oBACtB,GAAG,EAAE,CAAC;iBACT,CAAC,CAAA;YACN,CAAC;QACL,CAAC;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAC9B,mBAAmB,EACnB,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAC,CACvC,CAAA;QAED,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/inviteCreate.js b/dist/handlers/events/inviteCreate.js index 2594f5018b..5e10f6274c 100644 --- a/dist/handlers/events/inviteCreate.js +++ b/dist/handlers/events/inviteCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/inviteCreate.js.map b/dist/handlers/events/inviteCreate.js.map index 4ce3e4bead..f7bce0bfd4 100644 --- a/dist/handlers/events/inviteCreate.js.map +++ b/dist/handlers/events/inviteCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"inviteCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/inviteCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAA;QAEhF,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC;CACtC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"inviteCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/inviteCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAA;QAEhF,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC;CACtC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/inviteDelete.js b/dist/handlers/events/inviteDelete.js index 6b00cff8cd..0ed81e2fe5 100644 --- a/dist/handlers/events/inviteDelete.js +++ b/dist/handlers/events/inviteDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/inviteDelete.js.map b/dist/handlers/events/inviteDelete.js.map index afb6cf88ce..9e40385e63 100644 --- a/dist/handlers/events/inviteDelete.js.map +++ b/dist/handlers/events/inviteDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"inviteDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/inviteDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAA;QAEhF,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC;CACtC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"inviteDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/inviteDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AACnF,2EAAuE;AAEvE,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO;YAAE,MAAM,6BAAa,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAA;QAEhF,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC;CACtC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messageCreate.d.ts.map b/dist/handlers/events/messageCreate.d.ts.map index 9a4424dde9..44eed4b989 100644 --- a/dist/handlers/events/messageCreate.d.ts.map +++ b/dist/handlers/events/messageCreate.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"messageCreate.d.ts","sourceRoot":"","sources":["../../../src/handlers/events/messageCreate.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAA;;AAEnF,wBAuCE"} \ No newline at end of file +{"version":3,"file":"messageCreate.d.ts","sourceRoot":"","sources":["../../../src/handlers/events/messageCreate.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAA;;AAEnF,wBAqDE"} \ No newline at end of file diff --git a/dist/handlers/events/messageCreate.js b/dist/handlers/events/messageCreate.js index 6da2debdf2..e1377132f3 100644 --- a/dist/handlers/events/messageCreate.js +++ b/dist/handlers/events/messageCreate.js @@ -1,10 +1,11 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const Interpreter_1 = require("../../core/Interpreter"); +const structures_1 = require("../../structures"); const DiscordEventHandler_1 = require("../../structures/extended/DiscordEventHandler"); exports.default = new DiscordEventHandler_1.DiscordEventHandler({ name: "messageCreate", @@ -13,17 +14,29 @@ exports.default = new DiscordEventHandler_1.DiscordEventHandler({ listener: async function (message) { const prefix = await this.getPrefix(message); const args = message.content + .trim() .slice(prefix?.length ?? 0) .trim() .split(/ +/g); - const name = prefix ? args.shift()?.toLowerCase() : args[0]; - const commands = this.commands.get("messageCreate").filter( - // Allow always execute commands - (cmd) => !cmd.name || - ( // Check if it matches the command name or one of aliases - (cmd.name === name || !!cmd.data.aliases?.includes(name)) && + const rawName = prefix ? args.shift() : args[0]; + const commands = this.commands.get("messageCreate").filter((cmd) => { + const ignoreCase = cmd.data.nameCaseInsensitive !== false; + const name = ignoreCase ? rawName?.toLowerCase() : rawName; + const cmdName = ignoreCase ? cmd.name?.toLowerCase() : cmd.name; + const aliases = ignoreCase ? cmd.data.aliases?.map((x) => x.toLowerCase()) : cmd.data.aliases; + const mode = cmd.data.prefixMode ?? (cmd.data.unprefixed ? structures_1.PrefixMode.None : structures_1.PrefixMode.Required); + const prefixMatches = mode === structures_1.PrefixMode.Optional + ? true // If unprefixed there can be no prefix - (cmd.data.unprefixed ? true : !!prefix))); + : mode === structures_1.PrefixMode.None + ? !prefix + : !!prefix; + // Allow always execute commands + return !cmd.name || ( + // Check if it matches the command name or one of aliases + (cmdName === name || !!aliases?.includes(name)) && + prefixMatches); + }); for (const command of commands) { Interpreter_1.Interpreter.run({ obj: message, @@ -39,6 +52,6 @@ exports.default = new DiscordEventHandler_1.DiscordEventHandler({ }); } }, - intents: ["GuildMessages", "DirectMessages"], + intents: ["GuildMessages", "DirectMessages", "MessageContent"], }); //# sourceMappingURL=messageCreate.js.map \ No newline at end of file diff --git a/dist/handlers/events/messageCreate.js.map b/dist/handlers/events/messageCreate.js.map index 7e1a70668d..b9bcf314b9 100644 --- a/dist/handlers/events/messageCreate.js.map +++ b/dist/handlers/events/messageCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"messageCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/messageCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,wDAAoD;AACpD,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,KAAK,WAAW,OAAO;QAC7B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QAE5C,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO;aACvB,KAAK,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,CAAC;aAC1B,IAAI,EAAE;aACN,KAAK,CAAC,KAAK,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QAE3D,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,MAAM;QACtD,gCAAgC;QAChC,CAAC,GAAG,EAAE,EAAE,CACJ,CAAC,GAAG,CAAC,IAAI;YACT,EAAC,yDAAyD;YACtD,CAAC,GAAG,CAAC,IAAI,KAAK,IAAI,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAK,CAAC,CAAC;gBAC1D,uCAAuC;gBACvC,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CACnD,CAAA;QAED,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,yBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,OAAO;gBACZ,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,OAAO;qBACf;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI;aACP,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/messageCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,wDAAoD;AACpD,iDAA6C;AAC7C,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,KAAK,WAAW,OAAO;QAC7B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QAE5C,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO;aACvB,IAAI,EAAE;aACN,KAAK,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,CAAC;aAC1B,IAAI,EAAE;aACN,KAAK,CAAC,KAAK,CAAC,CAAA;QACjB,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QAE/C,MAAM,QAAQ,GAAG,IA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AAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,yBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,OAAO;gBACZ,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,OAAO;qBACf;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI;aACP,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,CAAC;CACjE,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messageDelete.js b/dist/handlers/events/messageDelete.js index ba4f9438c7..6eb2a45008 100644 --- a/dist/handlers/events/messageDelete.js +++ b/dist/handlers/events/messageDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/messageDelete.js.map b/dist/handlers/events/messageDelete.js.map index f406ce5f05..c632a72eae 100644 --- a/dist/handlers/events/messageDelete.js.map +++ b/dist/handlers/events/messageDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"messageDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/messageDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAY;gBACjB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,CAAY;wBACjB,GAAG,EAAE,CAAY;qBACpB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC;aAC/B,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/messageDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAY;gBACjB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,CAAY;wBACjB,GAAG,EAAE,CAAY;qBACpB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC;aAC/B,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messageDeleteBulk.js b/dist/handlers/events/messageDeleteBulk.js index a4285c2dd6..79adc5b7db 100644 --- a/dist/handlers/events/messageDeleteBulk.js +++ b/dist/handlers/events/messageDeleteBulk.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/handlers/events/messageDeleteBulk.js.map b/dist/handlers/events/messageDeleteBulk.js.map index 0f3a303fc2..729f40692c 100644 --- a/dist/handlers/events/messageDeleteBulk.js.map +++ b/dist/handlers/events/messageDeleteBulk.js.map @@ -1 +1 @@ -{"version":3,"file":"messageDeleteBulk.js","sourceRoot":"","sources":["../../../src/handlers/events/messageDeleteBulk.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAuC;AACvC,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,QAAQ,EAAE,KAAK,WAAW,EAAE,EAAE,OAAO;QACjC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QACvD,MAAM,OAAO,GAAG,EAAE,YAAY,uBAAU,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAE,EAAE,CAAE,CAAA;QAE3E,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,OAAO;gBACZ,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,OAAO;qBACf;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,CAAC;CAC7B,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageDeleteBulk.js","sourceRoot":"","sources":["../../../src/handlers/events/messageDeleteBulk.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAuC;AACvC,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,QAAQ,EAAE,KAAK,WAAW,EAAE,EAAE,OAAO;QACjC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QACvD,MAAM,OAAO,GAAG,EAAE,YAAY,uBAAU,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAE,EAAE,CAAE,CAAA;QAE3E,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,OAAO;gBACZ,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,OAAO;qBACf;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,CAAC;CAC7B,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messagePollVoteAdd.js b/dist/handlers/events/messagePollVoteAdd.js index 47afce9b04..4dd316c977 100644 --- a/dist/handlers/events/messagePollVoteAdd.js +++ b/dist/handlers/events/messagePollVoteAdd.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/messagePollVoteAdd.js.map b/dist/handlers/events/messagePollVoteAdd.js.map index f51a9aed4a..1fea30ed98 100644 --- a/dist/handlers/events/messagePollVoteAdd.js.map +++ b/dist/handlers/events/messagePollVoteAdd.js.map @@ -1 +1 @@ -{"version":3,"file":"messagePollVoteAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/messagePollVoteAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,MAAM,EAAE,MAAM;QACpC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;QAE3C,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,MAAM;qBACd;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;CACvD,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messagePollVoteAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/messagePollVoteAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,MAAM,EAAE,MAAM;QACpC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;QAE3C,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,MAAM;qBACd;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;CACvD,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messagePollVoteRemove.js b/dist/handlers/events/messagePollVoteRemove.js index cb828a4753..1a3200e558 100644 --- a/dist/handlers/events/messagePollVoteRemove.js +++ b/dist/handlers/events/messagePollVoteRemove.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/messagePollVoteRemove.js.map b/dist/handlers/events/messagePollVoteRemove.js.map index 64dfb205e4..3b214ff4ca 100644 --- a/dist/handlers/events/messagePollVoteRemove.js.map +++ b/dist/handlers/events/messagePollVoteRemove.js.map @@ -1 +1 @@ -{"version":3,"file":"messagePollVoteRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/messagePollVoteRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,QAAQ,EAAE,KAAK,WAAW,MAAM,EAAE,MAAM;QACpC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;QAE3C,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAA;QAE3D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,MAAM;qBACd;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;CACvD,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messagePollVoteRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/messagePollVoteRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,QAAQ,EAAE,KAAK,WAAW,MAAM,EAAE,MAAM;QACpC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;QAE3C,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAA;QAE3D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,MAAM;qBACd;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;CACvD,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messageReactionAdd.js b/dist/handlers/events/messageReactionAdd.js index 9be4522f47..34ab86dc94 100644 --- a/dist/handlers/events/messageReactionAdd.js +++ b/dist/handlers/events/messageReactionAdd.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/messageReactionAdd.js.map b/dist/handlers/events/messageReactionAdd.js.map index 50a91dc86b..58662bafc7 100644 --- a/dist/handlers/events/messageReactionAdd.js.map +++ b/dist/handlers/events/messageReactionAdd.js.map @@ -1 +1 @@ -{"version":3,"file":"messageReactionAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/messageReactionAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,IAAI;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAoB;gBACzB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,IAAY;qBACpB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;CAC/D,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageReactionAdd.js","sourceRoot":"","sources":["../../../src/handlers/events/messageReactionAdd.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,IAAI;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAoB;gBACzB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,IAAY;qBACpB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;CAC/D,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messageReactionRemove.js b/dist/handlers/events/messageReactionRemove.js index 61f568a103..c155d015ee 100644 --- a/dist/handlers/events/messageReactionRemove.js +++ b/dist/handlers/events/messageReactionRemove.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/messageReactionRemove.js.map b/dist/handlers/events/messageReactionRemove.js.map index 2c376da90f..4b4b295b8e 100644 --- a/dist/handlers/events/messageReactionRemove.js.map +++ b/dist/handlers/events/messageReactionRemove.js.map @@ -1 +1 @@ -{"version":3,"file":"messageReactionRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/messageReactionRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,OAAO,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,IAAI;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAA;QAE3D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAoB;gBACzB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,IAAY;qBACpB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageReactionRemove.js","sourceRoot":"","sources":["../../../src/handlers/events/messageReactionRemove.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,OAAO,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC,EAAE,IAAI;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAA;QAE3D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAoB;gBACzB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,IAAY;qBACpB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messageReactionRemoveAll.js b/dist/handlers/events/messageReactionRemoveAll.js index 27b578bfd3..a2a3788c4c 100644 --- a/dist/handlers/events/messageReactionRemoveAll.js +++ b/dist/handlers/events/messageReactionRemoveAll.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/messageReactionRemoveAll.js.map b/dist/handlers/events/messageReactionRemoveAll.js.map index 509da20908..bc8b8dd316 100644 --- a/dist/handlers/events/messageReactionRemoveAll.js.map +++ b/dist/handlers/events/messageReactionRemoveAll.js.map @@ -1 +1 @@ -{"version":3,"file":"messageReactionRemoveAll.js","sourceRoot":"","sources":["../../../src/handlers/events/messageReactionRemoveAll.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4EAA4E;IACzF,OAAO,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageReactionRemoveAll.js","sourceRoot":"","sources":["../../../src/handlers/events/messageReactionRemoveAll.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4EAA4E;IACzF,OAAO,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAA;QAE9D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messageReactionRemoveEmoji.js b/dist/handlers/events/messageReactionRemoveEmoji.js index 79d1fff114..c33b0b3b7e 100644 --- a/dist/handlers/events/messageReactionRemoveEmoji.js +++ b/dist/handlers/events/messageReactionRemoveEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/messageReactionRemoveEmoji.js.map b/dist/handlers/events/messageReactionRemoveEmoji.js.map index dcb2ccd387..47823b0170 100644 --- a/dist/handlers/events/messageReactionRemoveEmoji.js.map +++ b/dist/handlers/events/messageReactionRemoveEmoji.js.map @@ -1 +1 @@ -{"version":3,"file":"messageReactionRemoveEmoji.js","sourceRoot":"","sources":["../../../src/handlers/events/messageReactionRemoveEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yEAAyE;IACtF,OAAO,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAoB;gBACzB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageReactionRemoveEmoji.js","sourceRoot":"","sources":["../../../src/handlers/events/messageReactionRemoveEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yEAAyE;IACtF,OAAO,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAA;QAEhE,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAoB;gBACzB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/messageUpdate.js b/dist/handlers/events/messageUpdate.js index 93036cdbf5..4073e78b1e 100644 --- a/dist/handlers/events/messageUpdate.js +++ b/dist/handlers/events/messageUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/handlers/events/messageUpdate.js.map b/dist/handlers/events/messageUpdate.js.map index 0b5c47e198..e7e11044b1 100644 --- a/dist/handlers/events/messageUpdate.js.map +++ b/dist/handlers/events/messageUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"messageUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/messageUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,2CAAoC;AACpC,qCAAwC;AACxC,uFAAmF;AACnF,oEAA2C;AAE3C,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,IAAI,KAAK,YAAY,oBAAO,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;YACxD,IAAI,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,KAAK,QAAQ,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,gBAAgB,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE;gBACrH,MAAM,uBAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,KAAY,CAAC,CAAA;aACxD;SACJ;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAgB;gBACrB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,GAAc;wBACnB,GAAG,EAAE,KAAgB;qBACxB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC;aACnC,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/messageUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,2CAAoC;AACpC,qCAAwC;AACxC,uFAAmF;AACnF,oEAA2C;AAE3C,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,IAAI,KAAK,YAAY,oBAAO,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;YACzD,IAAI,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,KAAK,QAAQ,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,gBAAgB,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;gBACtH,MAAM,uBAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,KAAY,CAAC,CAAA;YACzD,CAAC;QACL,CAAC;QAED,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAgB;gBACrB,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,GAAc;wBACnB,GAAG,EAAE,KAAgB;qBACxB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC;aACnC,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,EAAE,gBAAgB,CAAC;CAC/C,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/presenceUpdate.js b/dist/handlers/events/presenceUpdate.js index f8cd122930..c6ad2a34d0 100644 --- a/dist/handlers/events/presenceUpdate.js +++ b/dist/handlers/events/presenceUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/presenceUpdate.js.map b/dist/handlers/events/presenceUpdate.js.map index a3e028156a..2774c22778 100644 --- a/dist/handlers/events/presenceUpdate.js.map +++ b/dist/handlers/events/presenceUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"presenceUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/presenceUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,QAAQ,EAAE;wBACN,GAAG;wBACH,GAAG,EAAE,KAAK;qBACb;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,gBAAgB,CAAC;CACxC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"presenceUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/presenceUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,QAAQ,EAAE;wBACN,GAAG;wBACH,GAAG,EAAE,KAAK;qBACb;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,gBAAgB,CAAC;CACxC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/roleCreate.js b/dist/handlers/events/roleCreate.js index 3ddeb93f24..3b00b51b04 100644 --- a/dist/handlers/events/roleCreate.js +++ b/dist/handlers/events/roleCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/roleCreate.js.map b/dist/handlers/events/roleCreate.js.map index 3e6eb30757..746d2a8120 100644 --- a/dist/handlers/events/roleCreate.js.map +++ b/dist/handlers/events/roleCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"roleCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/roleCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAEhD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,WAAW,EAAE,4CAA4C;IACzD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"roleCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/roleCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAEhD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,WAAW,EAAE,4CAA4C;IACzD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/roleDelete.js b/dist/handlers/events/roleDelete.js index 2e711f184f..8dfee0302b 100644 --- a/dist/handlers/events/roleDelete.js +++ b/dist/handlers/events/roleDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/roleDelete.js.map b/dist/handlers/events/roleDelete.js.map index 49946f6faf..2b8354b5b9 100644 --- a/dist/handlers/events/roleDelete.js.map +++ b/dist/handlers/events/roleDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"roleDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/roleDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAEhD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG;wBACH,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,WAAW,EAAE,4CAA4C;IACzD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"roleDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/roleDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAEhD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG;wBACH,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,WAAW,EAAE,4CAA4C;IACzD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/roleUpdate.js b/dist/handlers/events/roleUpdate.js index 7103bb7908..f85308aece 100644 --- a/dist/handlers/events/roleUpdate.js +++ b/dist/handlers/events/roleUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/roleUpdate.js.map b/dist/handlers/events/roleUpdate.js.map index 78184050e7..2e3f52b1e1 100644 --- a/dist/handlers/events/roleUpdate.js.map +++ b/dist/handlers/events/roleUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"roleUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/roleUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAEhD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG;wBACH,GAAG,EAAE,KAAK;qBACb;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"roleUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/roleUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAEhD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG;wBACH,GAAG,EAAE,KAAK;qBACb;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/shardDisconnect.js b/dist/handlers/events/shardDisconnect.js index 69ea9250bc..23db439e56 100644 --- a/dist/handlers/events/shardDisconnect.js +++ b/dist/handlers/events/shardDisconnect.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/shardDisconnect.js.map b/dist/handlers/events/shardDisconnect.js.map index 7d6ac47c95..8db561f49f 100644 --- a/dist/handlers/events/shardDisconnect.js.map +++ b/dist/handlers/events/shardDisconnect.js.map @@ -1 +1 @@ -{"version":3,"file":"shardDisconnect.js","sourceRoot":"","sources":["../../../src/handlers/events/shardDisconnect.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,UAAU,KAAK,EAAE,OAAO;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAA;QACrD,IAAI,QAAQ,CAAC,MAAM,EAAE;YACjB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;gBAC5B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,OAAO;oBACf,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;aACL;SACJ;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"shardDisconnect.js","sourceRoot":"","sources":["../../../src/handlers/events/shardDisconnect.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,UAAU,KAAK,EAAE,OAAO;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAA;QACrD,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;YAClB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC7B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,OAAO;oBACf,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;YACN,CAAC;QACL,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/shardError.js b/dist/handlers/events/shardError.js index 78b0bcc148..904f837302 100644 --- a/dist/handlers/events/shardError.js +++ b/dist/handlers/events/shardError.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/shardError.js.map b/dist/handlers/events/shardError.js.map index 3320edc758..a3ef911e52 100644 --- a/dist/handlers/events/shardError.js.map +++ b/dist/handlers/events/shardError.js.map @@ -1 +1 @@ -{"version":3,"file":"shardError.js","sourceRoot":"","sources":["../../../src/handlers/events/shardError.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,UAAU,GAAG;QACnB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAChD,IAAI,QAAQ,CAAC,MAAM,EAAE;YACjB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;gBAC5B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,GAAG,CAAC,OAAO;oBACnB,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;aACL;SACJ;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"shardError.js","sourceRoot":"","sources":["../../../src/handlers/events/shardError.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,UAAU,GAAG;QACnB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAChD,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;YAClB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC7B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,GAAG,CAAC,OAAO;oBACnB,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;YACN,CAAC;QACL,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/shardReady.js b/dist/handlers/events/shardReady.js index 69de8355d0..d6f7977194 100644 --- a/dist/handlers/events/shardReady.js +++ b/dist/handlers/events/shardReady.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/shardReady.js.map b/dist/handlers/events/shardReady.js.map index 9332f948a9..a30cf04acb 100644 --- a/dist/handlers/events/shardReady.js.map +++ b/dist/handlers/events/shardReady.js.map @@ -1 +1 @@ -{"version":3,"file":"shardReady.js","sourceRoot":"","sources":["../../../src/handlers/events/shardReady.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0DAA0D;IACvE,QAAQ,EAAE,UAAU,OAAO;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAChD,IAAI,QAAQ,CAAC,MAAM,EAAE;YACjB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;gBAC5B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,OAAO;oBACf,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;aACL;SACJ;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"shardReady.js","sourceRoot":"","sources":["../../../src/handlers/events/shardReady.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0DAA0D;IACvE,QAAQ,EAAE,UAAU,OAAO;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAChD,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;YAClB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC7B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,OAAO;oBACf,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;YACN,CAAC;QACL,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/shardReconnecting.js b/dist/handlers/events/shardReconnecting.js index 20a4a3e256..301e1f1c93 100644 --- a/dist/handlers/events/shardReconnecting.js +++ b/dist/handlers/events/shardReconnecting.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/shardReconnecting.js.map b/dist/handlers/events/shardReconnecting.js.map index 6722bda2f6..d70728674d 100644 --- a/dist/handlers/events/shardReconnecting.js.map +++ b/dist/handlers/events/shardReconnecting.js.map @@ -1 +1 @@ -{"version":3,"file":"shardReconnecting.js","sourceRoot":"","sources":["../../../src/handlers/events/shardReconnecting.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,UAAU,OAAO;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QACvD,IAAI,QAAQ,CAAC,MAAM,EAAE;YACjB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;gBAC5B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,OAAO;oBACf,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;aACL;SACJ;IACL,CAAC;IACD,WAAW,EAAE,sDAAsD;CACtE,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"shardReconnecting.js","sourceRoot":"","sources":["../../../src/handlers/events/shardReconnecting.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,UAAU,OAAO;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QACvD,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;YAClB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC7B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,OAAO;oBACf,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;YACN,CAAC;QACL,CAAC;IACL,CAAC;IACD,WAAW,EAAE,sDAAsD;CACtE,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/shardResume.js b/dist/handlers/events/shardResume.js index f70fe14e75..c140a42d9a 100644 --- a/dist/handlers/events/shardResume.js +++ b/dist/handlers/events/shardResume.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/shardResume.js.map b/dist/handlers/events/shardResume.js.map index 29483ad662..562f7298b3 100644 --- a/dist/handlers/events/shardResume.js.map +++ b/dist/handlers/events/shardResume.js.map @@ -1 +1 @@ -{"version":3,"file":"shardResume.js","sourceRoot":"","sources":["../../../src/handlers/events/shardResume.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,UAAU,OAAO;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QACjD,IAAI,QAAQ,CAAC,MAAM,EAAE;YACjB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;gBAC5B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,OAAO;oBACf,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;aACL;SACJ;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"shardResume.js","sourceRoot":"","sources":["../../../src/handlers/events/shardResume.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,UAAU,OAAO;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QACjD,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;YAClB,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;gBAC7B,kBAAW,CAAC,GAAG,CAAC;oBACZ,MAAM,EAAE,IAAI;oBACZ,OAAO;oBACP,MAAM,EAAE,OAAO;oBACf,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;oBAC3B,GAAG,EAAE,EAAE;iBACV,CAAC,CAAA;YACN,CAAC;QACL,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/stageInstanceCreate.js b/dist/handlers/events/stageInstanceCreate.js index 9025319845..47dce2a9ee 100644 --- a/dist/handlers/events/stageInstanceCreate.js +++ b/dist/handlers/events/stageInstanceCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/stageInstanceCreate.js.map b/dist/handlers/events/stageInstanceCreate.js.map index cd0fc17072..8542434b8d 100644 --- a/dist/handlers/events/stageInstanceCreate.js.map +++ b/dist/handlers/events/stageInstanceCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"stageInstanceCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/stageInstanceCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;QAEzD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"stageInstanceCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/stageInstanceCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;QAEzD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/stageInstanceDelete.js b/dist/handlers/events/stageInstanceDelete.js index b398330900..818e84b343 100644 --- a/dist/handlers/events/stageInstanceDelete.js +++ b/dist/handlers/events/stageInstanceDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/stageInstanceDelete.js.map b/dist/handlers/events/stageInstanceDelete.js.map index d1ce7ec649..1e1b14e1f1 100644 --- a/dist/handlers/events/stageInstanceDelete.js.map +++ b/dist/handlers/events/stageInstanceDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"stageInstanceDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/stageInstanceDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;QAEzD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,EAAE;wBACP,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"stageInstanceDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/stageInstanceDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;QAEzD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG,EAAE,EAAE;wBACP,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/stageInstanceUpdate.js b/dist/handlers/events/stageInstanceUpdate.js index 556e8bda0c..4d86bcd3ed 100644 --- a/dist/handlers/events/stageInstanceUpdate.js +++ b/dist/handlers/events/stageInstanceUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/stageInstanceUpdate.js.map b/dist/handlers/events/stageInstanceUpdate.js.map index 6120f54bdc..274f9d69f3 100644 --- a/dist/handlers/events/stageInstanceUpdate.js.map +++ b/dist/handlers/events/stageInstanceUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"stageInstanceUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/stageInstanceUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,EAAE;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;QAEzD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG;wBACH,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"stageInstanceUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/stageInstanceUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,EAAE;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAA;QAEzD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,KAAK,EAAE;wBACH,GAAG;wBACH,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/stickerCreate.js b/dist/handlers/events/stickerCreate.js index abdad8eafa..07ecafe5cc 100644 --- a/dist/handlers/events/stickerCreate.js +++ b/dist/handlers/events/stickerCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/stickerCreate.js.map b/dist/handlers/events/stickerCreate.js.map index 9cf94561c0..e3e0544109 100644 --- a/dist/handlers/events/stickerCreate.js.map +++ b/dist/handlers/events/stickerCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"stickerCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/stickerCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"stickerCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/stickerCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/stickerDelete.js b/dist/handlers/events/stickerDelete.js index b7523a6124..26b7290430 100644 --- a/dist/handlers/events/stickerDelete.js +++ b/dist/handlers/events/stickerDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/stickerDelete.js.map b/dist/handlers/events/stickerDelete.js.map index ec2f38dbeb..0ea1daafa4 100644 --- a/dist/handlers/events/stickerDelete.js.map +++ b/dist/handlers/events/stickerDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"stickerDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/stickerDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"stickerDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/stickerDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/stickerUpdate.js b/dist/handlers/events/stickerUpdate.js index 9331260ac8..4faed2c2bc 100644 --- a/dist/handlers/events/stickerUpdate.js +++ b/dist/handlers/events/stickerUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/stickerUpdate.js.map b/dist/handlers/events/stickerUpdate.js.map index 301b6b1a98..94ae090d99 100644 --- a/dist/handlers/events/stickerUpdate.js.map +++ b/dist/handlers/events/stickerUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"stickerUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/stickerUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,GAAG;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG;wBACH,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"stickerUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/stickerUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,GAAG;QAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QAEnD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG;wBACH,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/subscriptionCreate.js b/dist/handlers/events/subscriptionCreate.js index 185e90ccc4..a5173f88f7 100644 --- a/dist/handlers/events/subscriptionCreate.js +++ b/dist/handlers/events/subscriptionCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/subscriptionCreate.js.map b/dist/handlers/events/subscriptionCreate.js.map index 91bb492531..4e3f39fd72 100644 --- a/dist/handlers/events/subscriptionCreate.js.map +++ b/dist/handlers/events/subscriptionCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"subscriptionCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/subscriptionCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,YAAY,EAAE;wBACV,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"subscriptionCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/subscriptionCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,YAAY,EAAE;wBACV,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/subscriptionDelete.js b/dist/handlers/events/subscriptionDelete.js index 3d98801ad0..5deaf3fd5b 100644 --- a/dist/handlers/events/subscriptionDelete.js +++ b/dist/handlers/events/subscriptionDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/subscriptionDelete.js.map b/dist/handlers/events/subscriptionDelete.js.map index b1d6acab7e..e6cd65619e 100644 --- a/dist/handlers/events/subscriptionDelete.js.map +++ b/dist/handlers/events/subscriptionDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"subscriptionDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/subscriptionDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,YAAY,EAAE;wBACV,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"subscriptionDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/subscriptionDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,GAAG;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,GAAG;gBACR,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,YAAY,EAAE;wBACV,GAAG,EAAE,GAAG;wBACR,GAAG,EAAE,GAAG;qBACX;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/subscriptionUpdate.js b/dist/handlers/events/subscriptionUpdate.js index 50ab843e75..2f9290c259 100644 --- a/dist/handlers/events/subscriptionUpdate.js +++ b/dist/handlers/events/subscriptionUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/subscriptionUpdate.js.map b/dist/handlers/events/subscriptionUpdate.js.map index f2db8a3332..ac90b1c7af 100644 --- a/dist/handlers/events/subscriptionUpdate.js.map +++ b/dist/handlers/events/subscriptionUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"subscriptionUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/subscriptionUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,YAAY,EAAE;wBACV,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"subscriptionUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/subscriptionUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,YAAY,EAAE;wBACV,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/threadCreate.js b/dist/handlers/events/threadCreate.js index ce69bb11e8..807770768f 100644 --- a/dist/handlers/events/threadCreate.js +++ b/dist/handlers/events/threadCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/threadCreate.js.map b/dist/handlers/events/threadCreate.js.map index 14e04a2f69..138b592460 100644 --- a/dist/handlers/events/threadCreate.js.map +++ b/dist/handlers/events/threadCreate.js.map @@ -1 +1 @@ -{"version":3,"file":"threadCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/threadCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"threadCreate.js","sourceRoot":"","sources":["../../../src/handlers/events/threadCreate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/threadDelete.js b/dist/handlers/events/threadDelete.js index 2465e78d20..900ff3f40b 100644 --- a/dist/handlers/events/threadDelete.js +++ b/dist/handlers/events/threadDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/threadDelete.js.map b/dist/handlers/events/threadDelete.js.map index 2f5d1f8d82..086a48fd3c 100644 --- a/dist/handlers/events/threadDelete.js.map +++ b/dist/handlers/events/threadDelete.js.map @@ -1 +1 @@ -{"version":3,"file":"threadDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/threadDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,EAAE;wBACP,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"threadDelete.js","sourceRoot":"","sources":["../../../src/handlers/events/threadDelete.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,EAAE;QACxB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,EAAE;wBACP,GAAG,EAAE,EAAE;qBACV;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,CAAC;CACtB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/threadMemberUpdate.js b/dist/handlers/events/threadMemberUpdate.js index 71b965664e..3e783e5916 100644 --- a/dist/handlers/events/threadMemberUpdate.js +++ b/dist/handlers/events/threadMemberUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/threadMemberUpdate.js.map b/dist/handlers/events/threadMemberUpdate.js.map index 83fc0df9a9..1975578a8a 100644 --- a/dist/handlers/events/threadMemberUpdate.js.map +++ b/dist/handlers/events/threadMemberUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"threadMemberUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/threadMemberUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gEAAgE;IAC7E,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,GAAG,CAAC,WAAW;wBACpB,GAAG,EAAE,KAAK,CAAC,WAAW;qBACzB;iBACJ;gBACD,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC;CACtC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"threadMemberUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/threadMemberUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gEAAgE;IAC7E,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;QAExD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE;oBACJ,MAAM,EAAE;wBACJ,GAAG,EAAE,GAAG,CAAC,WAAW;wBACpB,GAAG,EAAE,KAAK,CAAC,WAAW;qBACzB;iBACJ;gBACD,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC;CACtC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/threadUpdate.js b/dist/handlers/events/threadUpdate.js index b465dd277b..2c4bb0cda0 100644 --- a/dist/handlers/events/threadUpdate.js +++ b/dist/handlers/events/threadUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/threadUpdate.js.map b/dist/handlers/events/threadUpdate.js.map index e83d741d0d..28be6f3ec3 100644 --- a/dist/handlers/events/threadUpdate.js.map +++ b/dist/handlers/events/threadUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"threadUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/threadUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"threadUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/threadUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAElD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,KAAK;wBACV,GAAG;qBACN;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/typingStart.js b/dist/handlers/events/typingStart.js index 0af9b3f5d4..c62e5ff907 100644 --- a/dist/handlers/events/typingStart.js +++ b/dist/handlers/events/typingStart.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); @@ -9,12 +9,12 @@ const DiscordEventHandler_1 = require("../../structures/extended/DiscordEventHan exports.default = new DiscordEventHandler_1.DiscordEventHandler({ name: "typingStart", version: "1.4.0", - description: "This event is fired when a user starts typing", + description: "This event is fired when a user starts typing in a channel", listener: async function (typing) { const commands = this.commands.get("typingStart"); for (const command of commands) { core_1.Interpreter.run({ - obj: typing.member ?? typing.user, + obj: typing, command, client: this, data: command.compiled.code, diff --git a/dist/handlers/events/typingStart.js.map b/dist/handlers/events/typingStart.js.map index 29198b83e5..1efb47a6ba 100644 --- a/dist/handlers/events/typingStart.js.map +++ b/dist/handlers/events/typingStart.js.map @@ -1 +1 @@ -{"version":3,"file":"typingStart.js","sourceRoot":"","sources":["../../../src/handlers/events/typingStart.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,MAAM;QAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI;gBACjC,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;CACzD,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"typingStart.js","sourceRoot":"","sources":["../../../src/handlers/events/typingStart.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,QAAQ,EAAE,KAAK,WAAW,MAAM;QAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;QAEjD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,MAAM;gBACX,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;CACzD,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/userUpdate.js b/dist/handlers/events/userUpdate.js index 947ef1562e..e466a3812c 100644 --- a/dist/handlers/events/userUpdate.js +++ b/dist/handlers/events/userUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/userUpdate.js.map b/dist/handlers/events/userUpdate.js.map index 398ee5df0c..9bf52085c9 100644 --- a/dist/handlers/events/userUpdate.js.map +++ b/dist/handlers/events/userUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"userUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/userUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAEhD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,KAAK;wBACV,GAAG,EAAE,GAAW;qBACnB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,WAAW,EAAE,uDAAuD;IACpE,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"userUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/userUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAEhD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,IAAI,EAAE;wBACF,GAAG,EAAE,KAAK;wBACV,GAAG,EAAE,GAAW;qBACnB;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,WAAW,EAAE,uDAAuD;IACpE,OAAO,EAAE,CAAC,cAAc,CAAC;CAC5B,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/voiceChannelEffectSend.js b/dist/handlers/events/voiceChannelEffectSend.js index 2d1c89ca04..4ba764cc0a 100644 --- a/dist/handlers/events/voiceChannelEffectSend.js +++ b/dist/handlers/events/voiceChannelEffectSend.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/voiceChannelEffectSend.js.map b/dist/handlers/events/voiceChannelEffectSend.js.map index e0154fe80d..bd92fb4a73 100644 --- a/dist/handlers/events/voiceChannelEffectSend.js.map +++ b/dist/handlers/events/voiceChannelEffectSend.js.map @@ -1 +1 @@ -{"version":3,"file":"voiceChannelEffectSend.js","sourceRoot":"","sources":["../../../src/handlers/events/voiceChannelEffectSend.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oEAAoE;IACjF,QAAQ,EAAE,KAAK,WAAW,MAAM;QAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAA;QAE5D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,MAAM;gBACX,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,MAAM;qBACd;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"voiceChannelEffectSend.js","sourceRoot":"","sources":["../../../src/handlers/events/voiceChannelEffectSend.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oEAAoE;IACjF,QAAQ,EAAE,KAAK,WAAW,MAAM;QAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAA;QAE5D,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,MAAM;gBACX,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,MAAM;qBACd;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/voiceServerUpdate.d.ts b/dist/handlers/events/voiceServerUpdate.d.ts new file mode 100644 index 0000000000..3faf9abc49 --- /dev/null +++ b/dist/handlers/events/voiceServerUpdate.d.ts @@ -0,0 +1,4 @@ +import { DiscordEventHandler } from "../../structures/extended/DiscordEventHandler"; +declare const _default: DiscordEventHandler<"voiceServerUpdate">; +export default _default; +//# sourceMappingURL=voiceServerUpdate.d.ts.map \ No newline at end of file diff --git a/dist/handlers/events/voiceServerUpdate.d.ts.map b/dist/handlers/events/voiceServerUpdate.d.ts.map new file mode 100644 index 0000000000..23b4154682 --- /dev/null +++ b/dist/handlers/events/voiceServerUpdate.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"voiceServerUpdate.d.ts","sourceRoot":"","sources":["../../../src/handlers/events/voiceServerUpdate.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAA;;AAEnF,wBAwBE"} \ No newline at end of file diff --git a/dist/handlers/events/voiceServerUpdate.js b/dist/handlers/events/voiceServerUpdate.js new file mode 100644 index 0000000000..ea872a3e41 --- /dev/null +++ b/dist/handlers/events/voiceServerUpdate.js @@ -0,0 +1,33 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const core_1 = require("../../core"); +const DiscordEventHandler_1 = require("../../structures/extended/DiscordEventHandler"); +exports.default = new DiscordEventHandler_1.DiscordEventHandler({ + name: "voiceServerUpdate", + version: "2.7.0", + description: "This event is fired when a voice server is updated", + listener: async function (data) { + const commands = this.commands.get("voiceServerUpdate"); + for (const command of commands) { + core_1.Interpreter.run({ + obj: data, + command, + client: this, + states: { + voiceServer: { + new: data, + old: data + }, + }, + data: command.compiled.code, + args: [], + }); + } + }, + intents: ["GuildVoiceStates"], +}); +//# sourceMappingURL=voiceServerUpdate.js.map \ No newline at end of file diff --git a/dist/handlers/events/voiceServerUpdate.js.map b/dist/handlers/events/voiceServerUpdate.js.map new file mode 100644 index 0000000000..a06af129f6 --- /dev/null +++ b/dist/handlers/events/voiceServerUpdate.js.map @@ -0,0 +1 @@ +{"version":3,"file":"voiceServerUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/voiceServerUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,KAAK,WAAW,IAAI;QAC1B,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAA;QAEvD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,IAAI;gBACT,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,WAAW,EAAE;wBACT,GAAG,EAAE,IAAI;wBACT,GAAG,EAAE,IAAI;qBACZ;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/voiceStateUpdate.js b/dist/handlers/events/voiceStateUpdate.js index 286353b425..57bacfc70f 100644 --- a/dist/handlers/events/voiceStateUpdate.js +++ b/dist/handlers/events/voiceStateUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/voiceStateUpdate.js.map b/dist/handlers/events/voiceStateUpdate.js.map index 69841e7782..e7a05cafd3 100644 --- a/dist/handlers/events/voiceStateUpdate.js.map +++ b/dist/handlers/events/voiceStateUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"voiceStateUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/voiceStateUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8DAA8D;IAC3E,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAA;QAEtD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,UAAU,EAAE;wBACR,GAAG;wBACH,GAAG,EAAE,KAAK;qBACb;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"voiceStateUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/voiceStateUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8DAA8D;IAC3E,QAAQ,EAAE,KAAK,WAAW,GAAG,EAAE,KAAK;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAA;QAEtD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,KAAK;gBACV,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,UAAU,EAAE;wBACR,GAAG;wBACH,GAAG,EAAE,KAAK;qBACb;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;CAChC,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/handlers/events/webhooksUpdate.js b/dist/handlers/events/webhooksUpdate.js index cb1ae9e50d..a00e2ce771 100644 --- a/dist/handlers/events/webhooksUpdate.js +++ b/dist/handlers/events/webhooksUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/handlers/events/webhooksUpdate.js.map b/dist/handlers/events/webhooksUpdate.js.map index a8d60dda86..50a7a70b9b 100644 --- a/dist/handlers/events/webhooksUpdate.js.map +++ b/dist/handlers/events/webhooksUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"webhooksUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/webhooksUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;SACL;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,CAAC;CAC7B,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"webhooksUpdate.js","sourceRoot":"","sources":["../../../src/handlers/events/webhooksUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAwC;AACxC,uFAAmF;AAEnF,kBAAe,IAAI,yCAAmB,CAAC;IACnC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,KAAK,WAAW,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAA;QAEpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAC7B,kBAAW,CAAC,GAAG,CAAC;gBACZ,GAAG,EAAE,CAAC;gBACN,OAAO;gBACP,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE;oBACJ,OAAO,EAAE;wBACL,GAAG,EAAE,CAAC;wBACN,GAAG,EAAE,CAAC;qBACT;iBACJ;gBACD,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAC3B,IAAI,EAAE,EAAE;aACX,CAAC,CAAA;QACN,CAAC;IACL,CAAC;IACD,OAAO,EAAE,CAAC,eAAe,CAAC;CAC7B,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts index 211e9840a6..6cd3b11bcf 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,6 +1,9 @@ import generateMetadata from "./functions/generateMetadata"; +import defineProperties from "./functions/defineProperties"; +import array from "./functions/array"; export * from "./managers"; export * from "./structures"; export * from "./core"; -export { generateMetadata }; +export { generateMetadata, defineProperties, array }; +export type { Properties } from "./functions/defineProperties"; //# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map index 187ac441aa..b21a0ea333 100644 --- a/dist/index.d.ts.map +++ b/dist/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,gBAAgB,MAAM,8BAA8B,CAAA;AAE3D,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AAEtB,OAAO,EAAE,gBAAgB,EAAE,CAAA"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,gBAAgB,MAAM,8BAA8B,CAAA;AAC3D,OAAO,gBAAgB,MAAM,8BAA8B,CAAA;AAC3D,OAAO,KAAK,MAAM,mBAAmB,CAAA;AAErC,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AAEtB,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAA;AACpD,YAAY,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 90ea762388..0dc9347627 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; @@ -21,9 +21,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.generateMetadata = void 0; +exports.array = exports.defineProperties = exports.generateMetadata = void 0; const generateMetadata_1 = __importDefault(require("./functions/generateMetadata")); exports.generateMetadata = generateMetadata_1.default; +const defineProperties_1 = __importDefault(require("./functions/defineProperties")); +exports.defineProperties = defineProperties_1.default; +const array_1 = __importDefault(require("./functions/array")); +exports.array = array_1.default; __exportStar(require("./managers"), exports); __exportStar(require("./structures"), exports); __exportStar(require("./core"), exports); diff --git a/dist/index.js.map b/dist/index.js.map index a47064ffc5..b7f3e20ebc 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;;;;;;;;;;;;;;;AAEF,oFAA2D;AAMlD,2BANF,0BAAgB,CAME;AAJzB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;;;;;;;;;;;;;;;AAEF,oFAA2D;AAQlD,2BARF,0BAAgB,CAQE;AAPzB,oFAA2D;AAOhC,2BAPpB,0BAAgB,CAOoB;AAN3C,8DAAqC;AAMQ,gBANtC,eAAK,CAMsC;AAJlD,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB"} \ No newline at end of file diff --git a/dist/managers/ApplicationCommandManager.js b/dist/managers/ApplicationCommandManager.js index c5c5b615fa..05a06c45e6 100644 --- a/dist/managers/ApplicationCommandManager.js +++ b/dist/managers/ApplicationCommandManager.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ApplicationCommandManager = exports.RegistrationType = void 0; @@ -185,7 +185,7 @@ class ApplicationCommandManager { return JSON.parse((0, fs_1.readFileSync)(configPath, "utf-8")); } catch (err) { - throw new Error(`Error reading config.json in ${folderPath}: ${err}`); + throw new Error(`Error reading config.json in ${folderPath}: `, { cause: err }); } } return null; @@ -206,7 +206,7 @@ class ApplicationCommandManager { const folderPath = (0, path_1.join)(this.path, commandName); const config = readConfig(folderPath); const json = { - ...config, + ...config, // Apply config data if available name: commandName, description: config?.description || "none", type: discord_js_1.ApplicationCommandType.ChatInput, @@ -218,7 +218,7 @@ class ApplicationCommandManager { const subConfig = readConfig(subFolderPath); // Apply only for subcommand groups const raw = { - ...subConfig, + ...subConfig, // Apply subcommand group config data name: nextName, description: subConfig?.description || "none", type: discord_js_1.ApplicationCommandOptionType.SubcommandGroup, @@ -252,7 +252,7 @@ class ApplicationCommandManager { const raw = values.toJSON(); json.options.push({ ...raw, - ...subConfig, + ...subConfig, // Apply subcommand config data type: discord_js_1.ApplicationCommandOptionType.Subcommand, }); } diff --git a/dist/managers/ApplicationCommandManager.js.map b/dist/managers/ApplicationCommandManager.js.map index c8f4fb24be..922fc0469a 100644 --- a/dist/managers/ApplicationCommandManager.js.map +++ b/dist/managers/ApplicationCommandManager.js.map @@ -1 +1 @@ -{"version":3,"file":"ApplicationCommandManager.js","sourceRoot":"","sources":["../../src/managers/ApplicationCommandManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,2BAA2B;AAC3B,2CAmBmB;AACnB,8EAA0E;AAE1E,iDAAgD;AAChD,2BAAoE;AACpE,+BAA2B;AAC3B,qCAA6B;AAE7B,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IACxB,2DAAM,CAAA;IACN,yDAAK,CAAA;IACL,qDAAG,CAAA;AACP,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAaD,MAAa,yBAAyB;IAcC;IAbnC;;;;;;OAMG;IACK,QAAQ,GAAG,IAAI,uBAAU,EAG9B,CAAA;IACK,IAAI,CAAS;IAErB,YAAmC,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAE1D;;;OAGG;IACI,IAAI,CAAC,OAAe,IAAI,CAAC,IAAI;QAChC,IAAI,CAAC,IAAI;YAAE,OAAM;QAEjB,IAAI,CAAC,IAAI,KAAK,IAAI,CAAA;QAClB,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAA;QAErB,KAAK,MAAM,QAAQ,IAAI,IAAA,gBAAW,EAAC,IAAI,CAAC,EAAE;YACtC,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAA;YACrC,MAAM,KAAK,GAAG,IAAA,aAAQ,EAAC,QAAQ,CAAC,CAAA;YAChC,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE;gBACrB,MAAM,GAAG,GAAG,IAAI,uBAAU,EAAuE,CAAA;gBAEjG,KAAK,MAAM,UAAU,IAAI,IAAA,gBAAW,EAAC,QAAQ,CAAC,EAAE;oBAC5C,MAAM,cAAc,GAAG,IAAA,WAAI,EAA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IAAI,CAAC,IAAI,CAAC,CAAA;iBACjB;aACJ;SACJ;QAED,OAAO,GAAG,CAAA;IACd,CAAC;IAEM,cAAc;QACjB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI;YAAE,OAAM;QAC/B,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,8BAAe,EAAE,mBAAM,CAAC,iBAAiB,CAAC,CAAA;QAClE,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAA;IACrF,CAAC;IAEM,aAAa,CAAC,CAAQ;QACzB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI;YAAE,OAAM;QAC/B,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,8BAAe,EAAE,mBAAM,CAAC,iBAAiB,CAAC,CAAA;QAClE,OAAO,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAA;IAC9D,CAAC;CACJ;AAjSD,8DAiSC"} \ No newline at end of file +{"version":3,"file":"ApplicationCommandManager.js","sourceRoot":"","sources":["../../src/managers/ApplicationCommandManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,2BAA2B;AAC3B,2CAmBmB;AACnB,8EAA0E;AAE1E,iDAAgD;AAChD,2BAAoE;AACpE,+BAA2B;AAC3B,qCAA6B;AAE7B,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IACxB,2DAAM,CAAA;IACN,yDAAK,CAAA;IACL,qDAAG,CAAA;AACP,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAaD,MAAa,yBAAyB;IAcC;IAbnC;;;;;;OAMG;IACK,QAAQ,GAAG,IAAI,uBAAU,EAG9B,CAAA;IACK,IAAI,CAAS;IAErB,YAAmC,MAAm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IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,8BAAe,EAAE,mBAAM,CAAC,iBAAiB,CAAC,CAAA;QAClE,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAA;IACrF,CAAC;IAEM,aAAa,CAAC,CAAQ;QACzB,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI;YAAE,OAAM;QAC/B,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,8BAAe,EAAE,mBAAM,CAAC,iBAAiB,CAAC,CAAA;QAClE,OAAO,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAA;IAC9D,CAAC;CACJ;AAjSD,8DAiSC"} \ No newline at end of file diff --git a/dist/managers/BaseCommandManager.d.ts.map b/dist/managers/BaseCommandManager.d.ts.map index a12dd6addf..b52e3172e2 100644 --- a/dist/managers/BaseCommandManager.d.ts.map +++ b/dist/managers/BaseCommandManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"BaseCommandManager.d.ts","sourceRoot":"","sources":["../../src/managers/BaseCommandManager.ts"],"names":[],"mappings":"AAOA,OAAO,EAAc,WAAW,EAAE,MAAM,SAAS,CAAA;AAEjD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAU,MAAM,eAAe,CAAA;AAEjE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,8BAAsB,kBAAkB,CAAC,CAAC,CAAE,SAAQ,YAAY,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;IAMnE,OAAO,CAAC,QAAQ,CAAC,MAAM;IAL1C,OAAO,CAAC,QAAQ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I,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,OAAO,GAAG,WAAW,CAAC,CAAC,CAAC,EAAE;IAMrE,GAAG,CAAC,GAAG,QAAQ,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE;IAI5D,OAAO,CAAC,OAAO;IAsBR,OAAO;CAGjB"} \ No newline at end of file diff --git a/dist/managers/BaseCommandManager.js b/dist/managers/BaseCommandManager.js index ebe63a54a1..834c54789c 100644 --- a/dist/managers/BaseCommandManager.js +++ b/dist/managers/BaseCommandManager.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -32,7 +32,6 @@ class BaseCommandManager extends tiny_typed_emitter_1.TypedEmitter { } for (const p of this.paths) { for (const file of (0, recursiveReaddirSync_1.default)(p).filter((x) => x.endsWith(".js") || x.endsWith)) { - // eslint-disable-next-line no-undef const path = (0, path_1.join)((0, process_1.cwd)(), file); delete require.cache[require.resolve(path)]; } @@ -44,7 +43,6 @@ class BaseCommandManager extends tiny_typed_emitter_1.TypedEmitter { if (!this.paths.includes(path)) this.paths.push(path); for (const file of (0, recursiveReaddirSync_1.default)(path).filter((x) => x.endsWith(".js") || x.endsWith(".fs"))) { - // eslint-disable-next-line no-undef const path = (0, path_1.join)((0, process_1.cwd)(), file); const req = core_1.FileReader.read(file, path); if (!req) @@ -77,7 +75,7 @@ class BaseCommandManager extends tiny_typed_emitter_1.TypedEmitter { if (this.handlerName && !this.client.events.has(this.handlerName, cmd.type)) { structures_1.Logger.warn(`Command is using the following listener: ${cmd.type} but the client is not listening to it. (${cmd.data.path ?? "index file"})`); } - const col = this.commands.ensure(cmd.type, () => new Array()); + const col = this.commands.ensure(cmd.type, () => []); cmd.data.unloadable = unloadable; col.push(cmd); } diff --git a/dist/managers/BaseCommandManager.js.map b/dist/managers/BaseCommandManager.js.map index 6c5224fbf9..e8dd001858 100644 --- a/dist/managers/BaseCommandManager.js.map +++ b/dist/managers/BaseCommandManager.js.map @@ -1 +1 @@ -{"version":3,"file":"BaseCommandManager.js","sourceRoot":"","sources":["../../src/managers/BaseCommandManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAAuC;AACvC,qCAA6B;AAC7B,kCAAiD;AACjD,6FAAoE;AACpE,8CAAiE;AACjE,+BAA2B;AAC3B,2DAAiD;AAMjD,MAAsB,kBAAsB,SAAQ,iCAAsC;IAMlD;IALnB,QAAQ,GAAG,IAAI,uBAAU,EAAuB,CAAA;IAChD,KAAK,GAAG,IAAI,KAAK,EAAU,CAAA;IAI5C,YAAoC,MAAmB;QACnD,KAAK,EAAE,CAAA;QADyB,WAAM,GAAN,MAAM,CAAa;IAEvD,CAAC;IAEM,OAAO;QACV,KAAK,MAAM,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE;YACzC,qCAAqC;YACrC,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;YAE7D,kBAAkB;YAClB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAA;SACrC;QAED,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE;YACxB,KAAK,MAAM,IAAI,IAAI,IAAA,8BAAoB,EAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,EAAE;gBACvF,oCAAoC;g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IAAI,KAAK,EAAE,CAAC,CAAA;YAClE,GAAG,CAAC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;YAEhC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;SAChB;QAED,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IACvB,CAAC;IAEM,OAAO;QACV,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAA;IACpD,CAAC;CACJ;AArFD,gDAqFC"} \ No newline at end of file +{"version":3,"file":"BaseCommandManager.js","sourceRoot":"","sources":["../../src/managers/BaseCommandManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAAuC;AACvC,qCAA6B;AAC7B,kCAAiD;AACjD,6FAAoE;AACpE,8CAAiE;AACjE,+BAA2B;AAC3B,2DAAiD;AAMjD,MAAsB,kBAAsB,SAAQ,iCAAsC;IAMlD;IALnB,QAAQ,GAAG,IAAI,uBAAU,EAAuB,CAAA;IAChD,KAAK,GAAG,IAAI,KAAK,EAAU,CAAA;IAI5C,YAAoC,MAAmB;QACnD,KAAK,EAAE,CAAA;QADyB,WAAM,GAAN,MAAM,CAAa;IAEvD,CAAC;IAEM,OAAO;QACV,KAAK,MAAM,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC1C,qCAAqC;YACrC,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;YAC7D,kBAAkB;YAClB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QACtC,CAAC;QAED,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACzB,KAAK,MAAM,IAAI,IAAI,IAAA,8BAAoB,EA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GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,YAAY,GAAG,CAAC,CAAA;YACjJ,CAAC;YAED,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,IAAS,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,CAAA;YACzD,GAAG,CAAC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;YAEhC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QACjB,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IACvB,CAAC;IAEM,OAAO;QACV,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAA;IACpD,CAAC;CACJ;AAlFD,gDAkFC"} \ No newline at end of file diff --git a/dist/managers/CooldownManager.js b/dist/managers/CooldownManager.js index ac959ecdb3..fbf598fb96 100644 --- a/dist/managers/CooldownManager.js +++ b/dist/managers/CooldownManager.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CooldownManager = void 0; diff --git a/dist/managers/EventManager.d.ts b/dist/managers/EventManager.d.ts index 4a2477a75b..1c875032ee 100644 --- a/dist/managers/EventManager.d.ts +++ b/dist/managers/EventManager.d.ts @@ -12,10 +12,10 @@ export declare class EventManager { static toJSON(name: string): { name: string; description: string; - listener: (this: ForgeClient, ...args: unknown[]) => void | Promise; - version?: string | undefined; - intents?: ("Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls")[] | undefined; - deprecated?: boolean | undefined; + listener: (this: ForgeClient, ...args: unknown[]) => Promise | void; + version?: string; + intents?: import("discord.js").GatewayIntentsString[]; + deprecated?: boolean; }[]; has(handler: string, type: any): boolean; } diff --git a/dist/managers/EventManager.d.ts.map b/dist/managers/EventManager.d.ts.map index 0ed552da8b..9c6bfb8ad5 100644 --- a/dist/managers/EventManager.d.ts.map +++ b/dist/managers/EventManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"EventManager.d.ts","sourceRoot":"","sources":["../../src/managers/EventManager.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAItD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAEhD,eAAO,MAAM,eAAe,WAAW,CAAA;AAEvC,qBAAa,YAAY;IAKF,OAAO,CAAC,QAAQ,CAAC,MAAM;IAJ1C,gBAAuB,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAK;IAE7F,OAAO,CAAC,MAAM,CAAiE;gBAE3C,MAAM,EAAE,WAAW;WAEzC,UAAU;IAKxB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,GAAG,IAAI;WAY5C,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;WAQ/B,MAAM,CAAC,IAAI,EAAE,MAAM;;;;;;;;IAI1B,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;CAGxC"} \ No newline at end of file +{"version":3,"file":"EventManager.d.ts","sourceRoot":"","sources":["../../src/managers/EventManager.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAEhD,eAAO,MAAM,eAAe,WAAW,CAAA;AAEvC,qBAAa,YAAY;IAKF,OAAO,CAAC,QAAQ,CAAC,MAAM;IAJ1C,gBAAuB,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAK;IAE7F,OAAO,CAAC,MAAM,CAAiE;gBAE3C,MAAM,EAAE,WAAW;WAEzC,UAAU;IAIxB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,GAAG,IAAI;WAY5C,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;WAQ/B,MAAM,CAAC,IAAI,EAAE,MAAM;;;;;;;;IAI1B,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;CAGxC"} \ No newline at end of file diff --git a/dist/managers/EventManager.js b/dist/managers/EventManager.js index 066a85c126..44f8a2c236 100644 --- a/dist/managers/EventManager.js +++ b/dist/managers/EventManager.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -19,7 +19,6 @@ class EventManager { this.client = client; } static loadNative() { - // eslint-disable-next-line no-undef EventManager.load(exports.NativeEventName, __dirname + "/../handlers/events"); } load(name, ...events) { diff --git a/dist/managers/EventManager.js.map b/dist/managers/EventManager.js.map index ef2fd1c0d0..eaf3c525dc 100644 --- a/dist/managers/EventManager.js.map +++ b/dist/managers/EventManager.js.map @@ -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AI,CAAE,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;QACtC,CAAC;IACL,CAAC;IAEM,MAAM,CAAC,MAAM,CAAC,IAAY;QAC7B,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,CAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;IACzE,CAAC;IAEM,GAAG,CAAC,OAAe,EAAE,IAAS;QACjC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,CAAA;IACvD,CAAC;;AArCL,oCAsCC"} \ No newline at end of file diff --git a/dist/managers/ForgeFunctionManager.js b/dist/managers/ForgeFunctionManager.js index 0185fa765c..2b93442944 100644 --- a/dist/managers/ForgeFunctionManager.js +++ b/dist/managers/ForgeFunctionManager.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/managers/ForgeFunctionManager.js.map b/dist/managers/ForgeFunctionManager.js.map index a4be68b3a0..11ace117d7 100644 --- a/dist/managers/ForgeFunctionManager.js.map +++ b/dist/managers/ForgeFunctionManager.js.map @@ -1 +1 @@ -{"version":3,"file":"ForgeFunctionManager.js","sourceRoot":"","sources":["../../src/managers/ForgeFunctionManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAGF,qEAAiF;AACjF,6FAAoE;AACpE,uDAAmE;AACnE,+BAA2B;AAC3B,qCAA6B;AAE7B,MAAa,oBAAoB;IAGO;IAFnB,SAAS,GAAG,IAAI,GAAG,EAAyB,CAAA;IAE7D,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EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE;YAC5E,MAAM,IAAI,GAAG,IAAA,WAAI,EAAC,IAAA,aAAG,GAAE,EAAE,IAAI,CAAC,CAAA;YAE9B,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;YAC1B,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC;gBAC9B,SAAQ;YAEZ,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAmC,CAAA;YACpE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;SACnB;QACD,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IACpB,CAAC;CACJ;AA5CD,oDA4CC"} \ No newline at end of file +{"version":3,"file":"ForgeFunctionManager.js","sourceRoot":"","sources":["../../src/managers/ForgeFunctionManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAGF,qEAAiF;AACjF,6FAAoE;AACpE,uDAAmE;AACnE,+BAA2B;AAC3B,qCAA6B;AAE7B,MAAa,oBAAoB;IAGO;IAFnB,SAAS,GAAG,IAAI,GAAG,EAAyB,CAAA;IAE7D,YAAoC,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,GAAG,CAAC,GAAG,OAAyD;QACnE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,EAAE,EAAE,CAAC;YAC/C,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;YACzB,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;gBACrB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,CAAA;iBAClB,CAAC;gBACF,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;gBAChC,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AAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IACpB,CAAC;CACJ;AA5CD,oDA4CC"} \ No newline at end of file diff --git a/dist/managers/FunctionManager.d.ts b/dist/managers/FunctionManager.d.ts index 0a563854d9..f1a43434d7 100644 --- a/dist/managers/FunctionManager.d.ts +++ b/dist/managers/FunctionManager.d.ts @@ -9,7 +9,7 @@ export declare class FunctionManager { static addMany(...fns: RecursiveArray[]): void; static add(fn: NativeFunction): void; static reload(): void; - static get(name: string): NativeFunction>[], boolean>; + static get(name: string): NativeFunction>[], boolean>; static toJSON(): INativeFunction[]; static get raw(): IRawFunction[]; } diff --git a/dist/managers/FunctionManager.d.ts.map b/dist/managers/FunctionManager.d.ts.map index cadc19ebcb..407b966af7 100644 --- a/dist/managers/FunctionManager.d.ts.map +++ b/dist/managers/FunctionManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"FunctionManager.d.ts","sourceRoot":"","sources":["../../src/managers/FunctionManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AACvG,OAAO,EAAE,YAAY,EAAY,MAAM,SAAS,CAAA;AAOhD,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAA;AAEvC,qBAAa,eAAe;IACxB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAoC;WAEvD,UAAU;WAKV,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;WAC1C,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;WAgCxB,OAAO,CAAC,GAAG,GAAG,EAAE,cAAc,CAAC,cAAc,CAAC,EAAE,GAAG,IAAI;WAWvD,GAAG,CAAC,EAAE,EAAE,cAAc,CAAC,IAAI,EAAE,CAAC;WAI9B,MAAM;WAIN,GAAG,CAAC,IAAI,EAAE,MAAM;WAIhB,MAAM,IAAI,eAAe,CAAC,GAAG,CAAC,EAAE;IAgB9C,WAAkB,GAAG,IAAI,YAAY,EAAE,CAkBtC;CACJ"} \ No newline at end of file +{"version":3,"file":"FunctionManager.d.ts","sourceRoot":"","sources":["../../src/managers/FunctionManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AACvG,OAAO,EAAE,YAAY,EAAY,MAAM,SAAS,CAAA;AAOhD,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAA;AAEvC,qBAAa,eAAe;IACxB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAoC;WAEvD,UAAU;WAIV,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;WAC1C,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;WA+BxB,OAAO,CAAC,GAAG,GAAG,EAAE,cAAc,CAAC,cAAc,CAAC,EAAE,GAAG,IAAI;WAWvD,GAAG,CAAC,EAAE,EAAE,cAAc,CAAC,IAAI,EAAE,CAAC;WAI9B,MAAM;WAIN,GAAG,CAAC,IAAI,EAAE,MAAM;WAIhB,MAAM,IAAI,eAAe,CAAC,GAAG,CAAC,EAAE;IAgB9C,WAAkB,GAAG,IAAI,YAAY,EAAE,CAkBtC;CACJ"} \ No newline at end of file diff --git a/dist/managers/FunctionManager.js b/dist/managers/FunctionManager.js index a69ae1b464..1ba6e7584d 100644 --- a/dist/managers/FunctionManager.js +++ b/dist/managers/FunctionManager.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -18,7 +18,6 @@ const path_1 = require("path"); class FunctionManager { static Functions = new Map(); static loadNative() { - // eslint-disable-next-line no-undef FunctionManager.load("ForgeScript", (0, path_1.join)(__dirname, "..", "native")); } static load(provider, path) { @@ -28,7 +27,6 @@ class FunctionManager { const overrideAttempts = new Array(); const loader = new Array(); for (const file of (0, recursiveReaddirSync_1.default)(path).filter((x) => x.endsWith(".js"))) { - // eslint-disable-next-line @typescript-eslint/no-var-requires const req = require(file).default; req.path = file; if (this.Functions.has(req.name)) { diff --git a/dist/managers/FunctionManager.js.map b/dist/managers/FunctionManager.js.map index 11e14188fd..5df1204f66 100644 --- a/dist/managers/FunctionManager.js.map +++ b/dist/managers/FunctionManager.js.map @@ -1 +1 @@ -{"version":3,"file":"FunctionManager.js","sourceRoot":"","sources":["../../src/managers/FunctionManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2EAAuG;AACvG,kCAAgD;AAChD,6FAAoE;AACpE,2BAA2C;AAC3C,2DAAuD;AACvD,4CAA+C;AAC/C,+BAA2B;AAI3B,MAAa,eAAe;IAChB,MAAM,CAAU,SAAS,GAAG,IAAI,GAAG,EAA0B,CAAA;IAE9D,MAAM,CAAC,UAAU;QACpB,oCAAoC;QACpC,eAAe,CAAC,IAAI,CAAC,aAAa,EAAE,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAA;IACxE,CAAC;IAIM,MAAM,CAAC,IAAI,CAAC,QAAgB,EAAE,IAAa;QAC9C,8BAA8B;QAC9B,IAAI,CAAC,IAAI;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAA;QAEzC,MAAM,gBAAgB,GAAG,IAAI,KAAK,EAAU,CAAA;QAE5C,MAAM,MAAM,GAAG,IAAI,KAAK,EAAkB,CAAA;QAE1C,KAAK,MAAM,IAAI,IAAI,IAAA,8BAAoB,EAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,E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AC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YACxC,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAAA;YAC1B,OAAO;gBACH,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI;gBAC7B,IAAI;gBACJ,IAAI,EACA,IAAI,CAAC,QAAQ,KAAK,SAAS;oBACvB,CAAC,CAAC,IAAI;oBACN,CAAC,CAAC;wBACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;wBACvB,MAAM,EAAE,IAAI,CAAC,IAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;4BAC3B,SAAS,EAAE,CAAC,CAAC,SAAS;4BACtB,IAAI,EAAE,CAAC,CAAC,IAAI;yBACf,CAAC,CAAC;qBACN;aACZ,CAAA;QACL,CAAC,CAAC,CAAA;IACN,CAAC;;AAlGL,0CAmGC"} \ No newline at end of file +{"version":3,"file":"FunctionManager.js","sourceRoot":"","sources":["../../src/managers/FunctionManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2EAAuG;AACvG,kCAAgD;AAChD,6FAAoE;AACpE,2BAA2C;AAC3C,2DAAuD;AACvD,4CAA+C;AAC/C,+BAA2B;AAI3B,MAAa,eAAe;IAChB,MAAM,CAAU,SAAS,GAAG,IAAI,GAAG,EAA0B,CAAA;IAE9D,MAAM,CAAC,UAAU;QACpB,eAAe,CAAC,IAAI,CAAC,aAAa,EAAE,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAA;IACxE,CAAC;IAIM,MAAM,CAAC,IAAI,CAAC,QAAgB,EAAE,IAAa;QAC9C,8BAA8B;QAC9B,IAAI,CAAC,IAAI;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAA;QAEzC,MAAM,gBAAgB,GAAG,IAAI,KAAK,E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W,EAAC,CAAC,CAAC,IAAI,CAAC,CAAA;YAC5C,CAAC,CAAC,CAAA;YAEF,OAAO,IAAI,CAAA;QACf,CAAC,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAK,GAAG;QACjB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;YACxC,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAAA;YAC1B,OAAO;gBACH,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI;gBAC7B,IAAI;gBACJ,IAAI,EACA,IAAI,CAAC,QAAQ,KAAK,SAAS;oBACvB,CAAC,CAAC,IAAI;oBACN,CAAC,CAAC;wBACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;wBACvB,MAAM,EAAE,IAAI,CAAC,IAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;4BAC3B,SAAS,EAAE,CAAC,CAAC,SAAS;4BACtB,IAAI,EAAE,CAAC,CAAC,IAAI;yBACf,CAAC,CAAC;qBACN;aACZ,CAAA;QACL,CAAC,CAAC,CAAA;IACN,CAAC;;AAhGL,0CAiGC"} \ No newline at end of file diff --git a/dist/managers/NativeCommandManager.js b/dist/managers/NativeCommandManager.js index 6695a5fde0..6fd6fb116a 100644 --- a/dist/managers/NativeCommandManager.js +++ b/dist/managers/NativeCommandManager.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.NativeCommandManager = void 0; diff --git a/dist/managers/ThreadManager.d.ts.map b/dist/managers/ThreadManager.d.ts.map index f53caf9499..aa563c2931 100644 --- a/dist/managers/ThreadManager.d.ts.map +++ b/dist/managers/ThreadManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ThreadManager.d.ts","sourceRoot":"","sources":["../../src/managers/ThreadManager.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAKhD,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AAED,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IACrC,OAAO,EAAE,cAAc,CAAA;CAC1B;AAED,qBAAa,aAAa;IAWH,OAAO,CAAC,QAAQ,CAAC,MAAM;IAV1C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB;IAC9C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;IAEzC,OAAO,CAAC,cAAc,CAAI;IAE1B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiC;IACvD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiC;IAE3D,OAAO,CAAC,SAAS,CAAI;gBAEe,MAAM,EAAE,WAAW;IAE1C,GAAG,CAAC,GAAG,EAAE,cAAc;YAUtB,OAAO;YAKP,OAAO;IAkBrB,OAAO,CAAC,aAAa;IAIrB,OAAO,KAAK,WAAW,GAEtB;IAED,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,aAAa;YAKP,kBAAkB;YAYlB,YAAY;YAOZ,aAAa;YAMb,eAAe;CAOhC"} \ No newline at end of file +{"version":3,"file":"ThreadManager.d.ts","sourceRoot":"","sources":["../../src/managers/ThreadManager.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAIhD,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AAED,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IACrC,OAAO,EAAE,cAAc,CAAA;CAC1B;AAED,qBAAa,aAAa;IAWH,OAAO,CAAC,QAAQ,CAAC,MAAM;IAV1C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB;IAC9C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAoB;IAEzC,OAAO,CAAC,cAAc,CAAI;IAE1B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiC;IACvD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiC;IAE3D,OAAO,CAAC,SAAS,CAAI;gBAEe,MAAM,EAAE,WAAW;IAE1C,GAAG,CAAC,GAAG,EAAE,cAAc;YAUtB,OAAO;YAKP,OAAO;IAkBrB,OAAO,CAAC,aAAa;IAIrB,OAAO,KAAK,WAAW,GAEtB;IAED,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,aAAa;YAKP,kBAAkB;YAWlB,YAAY;YAOZ,aAAa;YAMb,eAAe;CAOhC"} \ No newline at end of file diff --git a/dist/managers/ThreadManager.js b/dist/managers/ThreadManager.js index bb1e6ced8f..e26ee22be1 100644 --- a/dist/managers/ThreadManager.js +++ b/dist/managers/ThreadManager.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ThreadManager = void 0; @@ -65,7 +65,6 @@ class ThreadManager { return this.available.values().next().value; if (this.workerCount >= this.maxWorkerCount) return undefined; - // eslint-disable-next-line no-undef const worker = await (0, thread_1.spawn)("thread"); worker.on("error", this.onWorkerError.bind(this, worker)); worker.on("message", this.onWorkerMessage.bind(this, worker)); diff --git a/dist/managers/ThreadManager.js.map b/dist/managers/ThreadManager.js.map index d35e56c64b..cadd1a94ac 100644 --- a/dist/managers/ThreadManager.js.map +++ b/dist/managers/ThreadManager.js.map @@ -1 +1 @@ -{"version":3,"file":"ThreadManager.js","sourceRoot":"","sources":["../../src/managers/ThreadManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAKF,2DAAuD;AACvD,gDAA2C;AAmB3C,MAAa,aAAa;IAWc;IAVnB,SAAS,GAAG,IAAI,GAAG,EAAU,CAAA;IAC7B,IAAI,GAAG,IAAI,GAAG,EAAU,CAAA;IAEjC,cAAc,GAAG,CAAC,CAAA;IAET,KAAK,GAAG,IAAI,GAAG,EAAuB,CAAA;IACtC,SAAS,GAAG,IAAI,GAAG,EAAuB,CAAA;IAEnD,SAAS,GAAG,CAAC,CAAA;IAErB,YAAoC,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,GAAG,CAAC,GAAmB;QAChC,OAAO,IAAI,OAAO,CAAgB,OAAO,CAAC,EAAE;YACxC,IAAI,CAAC,OAAO,CAAC;gBACT,EAAE,EAAE,IAAI,CAAC,aAAa,EAAE;gBACxB,OAAO,EAAE,GAAG;gBACZ,OAAO;aACV,CAAC,CAAA;QACN,CAAC,CAAC,CAAA;IACN,CAAC;IAEO,KAAK,CAAC,OAAO,CAAC,IAAiB;QACnC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,EAA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C5D,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;QAC/B,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAE,CAAA;QAC5C,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;QACjC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QACvB,MAAM,IAAI,CAAC,OAAO,EAAE,CAAA;IACxB,CAAC;CACJ;AAhGD,sCAgGC"} \ No newline at end of file +{"version":3,"file":"ThreadManager.js","sourceRoot":"","sources":["../../src/managers/ThreadManager.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAIF,2DAAuD;AACvD,gDAA2C;AAmB3C,MAAa,aAAa;IAWc;IAVnB,SAAS,GAAG,IAAI,GAAG,EAAU,CAAA;IAC7B,IAAI,GAAG,IAAI,GAAG,EAAU,CAAA;IAEjC,cAAc,GAAG,CAAC,CAAA;IAET,KAAK,GAAG,IAAI,GAAG,EAAuB,CAAA;IACtC,SAAS,GAAG,IAAI,GAAG,EAAuB,CAAA;IAEnD,SAAS,GAAG,CAAC,CAAA;IAErB,YAAoC,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAI,CAAC;IAErD,KAAK,CAAC,GAAG,CAAC,GAAmB;QAChC,OAAO,IAAI,OAAO,CAAgB,OAAO,CAAC,EAAE;YACxC,IAAI,CAAC,OAAO,CAAC;gBACT,EAAE,EAAE,IAAI,CAAC,aAAa,EAAE;gBACxB,OAAO,EAAE,GAAG;gBACZ,OAAO;aACV,CAAC,CAAA;QACN,CAAC,CAAC,CAAA;IACN,CAAC;IAEO,KAAK,CAAC,OAAO,CAAC,IAAiB;QACnC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;QAC7B,MAAM,IAAI,CAAC,OAAO,EAAE,CAAA;IACxB,CAAC;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I,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAE,CAAA;QAC5C,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;QACjC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QACvB,MAAM,IAAI,CAAC,OAAO,EAAE,CAAA;IACxB,CAAC;CACJ;AA/FD,sCA+FC"} \ No newline at end of file diff --git a/dist/managers/index.js b/dist/managers/index.js index f2a10a9ea1..1a86f1883e 100644 --- a/dist/managers/index.js +++ b/dist/managers/index.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; diff --git a/dist/native/array/advancedTextSplit.js b/dist/native/array/advancedTextSplit.js index 99ea8e5767..473a3bb06e 100644 --- a/dist/native/array/advancedTextSplit.js +++ b/dist/native/array/advancedTextSplit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/advancedTextSplit.js.map b/dist/native/array/advancedTextSplit.js.map index a9a753df6b..f3038eba2c 100644 --- a/dist/native/array/advancedTextSplit.js.map +++ b/dist/native/array/advancedTextSplit.js.map @@ -1 +1 @@ -{"version":3,"file":"advancedTextSplit.js","sourceRoot":"","sources":["../../../src/native/array/advancedTextSplit.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,wCAAwC;SACxD;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,MAAM,CAAE;QACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,IAAI,CAAC,EAAE;YAChD,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YACnC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAA;YAC/B,IAAI,IAAI,KAAK,SAAS;gBAClB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;SAC5B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"advancedTextSplit.js","sourceRoot":"","sources":["../../../src/native/array/advancedTextSplit.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,wCAAwC;SACxD;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,MAAM,CAAE;QACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,IAAI,CAAC,EAAE,CAAC;YACjD,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YACnC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAA;YAC/B,IAAI,IAAI,KAAK,SAAS;gBAClB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAC7B,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayAdvancedSort.js b/dist/native/array/arrayAdvancedSort.js index 40d6202714..59d31e75e9 100644 --- a/dist/native/array/arrayAdvancedSort.js +++ b/dist/native/array/arrayAdvancedSort.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayAdvancedSort.js.map b/dist/native/array/arrayAdvancedSort.js.map index 7f0a6cb367..6709aab51c 100644 --- a/dist/native/array/arrayAdvancedSort.js.map +++ b/dist/native/array/arrayAdvancedSort.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayAdvancedSort.js","sourceRoot":"","sources":["../../../src/native/array/arrayAdvancedSort.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,KAAK,UAAU,SAAS,CAAI,KAAU,EAAE,eAAgD;IACpF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE;QACvC,KAAK,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACvC,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;YACxD,IAAI,MAAM,GAAG,CAAC,EAAE;gBACZ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;aAC9C;SACJ;KACJ;IACD,OAAO,KAAK,CAAA;AAChB,CAAC;AAED,2CAA2C;AAC3C,KAAK,UAAU,YAAY,CAAC,CAAS,EAAE,CAAS;IAC5C,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,UAAU,CAAC,GAAG,EAAE;YACZ,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA,CAAC,kBAAkB;QACrC,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CA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AC,CAAC,CAAA;gBAC9B,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;gBAC9B,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;gBACtD,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YAC7B,CAAC,CAAC,CAAA;YAEF,IAAI,MAAM,KAAK,IAAI;gBAAE,OAAO,IAAI,CAAC,IAAI,EAAE,CAAA;YAEvC,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;gBACpB,GAAG,CAAC,iBAAiB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAA;YAC3C,CAAC;iBAAM,CAAC;gBACJ,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;YACnC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayAt.js b/dist/native/array/arrayAt.js index 8059325b94..cdf907eeaa 100644 --- a/dist/native/array/arrayAt.js +++ b/dist/native/array/arrayAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayClear.js b/dist/native/array/arrayClear.js index f1210a225a..e948414f0d 100644 --- a/dist/native/array/arrayClear.js +++ b/dist/native/array/arrayClear.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayClear.js.map b/dist/native/array/arrayClear.js.map index adba84eb06..018d0490ae 100644 --- a/dist/native/array/arrayClear.js.map +++ b/dist/native/array/arrayClear.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayClear.js","sourceRoot":"","sources":["../../../src/native/array/arrayClear.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACvC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,GAAG,CAAC,MAAM,GAAG,CAAC,CAAA;SACjB;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayClear.js","sourceRoot":"","sources":["../../../src/native/array/arrayClear.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACvC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACrB,GAAG,CAAC,MAAM,GAAG,CAAC,CAAA;QAClB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayConcat.js b/dist/native/array/arrayConcat.js index 60589c5ac6..a442db43ca 100644 --- a/dist/native/array/arrayConcat.js +++ b/dist/native/array/arrayConcat.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayConcat.js.map b/dist/native/array/arrayConcat.js.map index 9905a6a0be..fbe9888565 100644 --- a/dist/native/array/arrayConcat.js.map +++ b/dist/native/array/arrayConcat.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayConcat.js","sourceRoot":"","sources":["../../../src/native/array/arrayConcat.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kEAAkE;YAC/E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC;QAC1B,MAAM,GAAG,GAAG,IAAI,KAAK,EAAW,CAAA;QAEhC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAClD,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAA;YACtB,MAAM,IAAI,GAAG,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAA;YACrC,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;gBAAE,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAA;SAC7C;QAED,OAAO,IAAI,CAAC,CAAC;YACT,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;YACrD,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayConcat.js","sourceRoot":"","sources":["../../../src/native/array/arrayConcat.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kEAAkE;YAC/E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC;QAC1B,MAAM,GAAG,GAAG,IAAI,KAAK,EAAW,CAAA;QAEhC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACnD,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAA;YACtB,MAAM,IAAI,GAAG,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAA;YACrC,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;gBAAE,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAA;QAC9C,CAAC;QAED,OAAO,IAAI,CAAC,CAAC;YACT,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;YACrD,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayCreate.js b/dist/native/array/arrayCreate.js index 07da681105..5a45c790df 100644 --- a/dist/native/array/arrayCreate.js +++ b/dist/native/array/arrayCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayEvery.js b/dist/native/array/arrayEvery.js index 9ac4b9b74d..505aba4d32 100644 --- a/dist/native/array/arrayEvery.js +++ b/dist/native/array/arrayEvery.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/array/arrayEvery.js.map b/dist/native/array/arrayEvery.js.map index c07e6bd150..9f08c202f6 100644 --- a/dist/native/array/arrayEvery.js.map +++ b/dist/native/array/arrayEvery.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayEvery.js","sourceRoot":"","sources":["../../../src/native/array/arrayEvery.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wFAAwF;IACrG,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IA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AAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;oBAAE,OAAO,EAAE,CAAA;aACvD;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayEvery.js","sourceRoot":"","sources":["../../../src/native/array/arrayEvery.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wFAAwF;IACrG,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAEzF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;QACtD,IAAI,CAAC,IAAI,CAAC,m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4892780809..5bb0e9e48e 100644 --- a/dist/native/array/arrayFill.js +++ b/dist/native/array/arrayFill.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayFilter.d.ts b/dist/native/array/arrayFilter.d.ts new file mode 100644 index 0000000000..71bbf541b6 --- /dev/null +++ b/dist/native/array/arrayFilter.d.ts @@ -0,0 +1,29 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + required: true; + condition: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + required: false; + type: ArgType.String; +}], false>; +export default _default; +//# sourceMappingURL=arrayFilter.d.ts.map \ No newline at end of file diff --git a/dist/native/array/arrayFilter.d.ts.map b/dist/native/array/arrayFilter.d.ts.map new file mode 100644 index 0000000000..91a572abed --- /dev/null +++ b/dist/native/array/arrayFilter.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"arrayFilter.d.ts","sourceRoot":"","sources":["../../../src/native/array/arrayFilter.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAA2C,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGnG,wBAkEE"} \ No newline at end of file diff --git a/dist/native/array/arrayFilter.js b/dist/native/array/arrayFilter.js new file mode 100644 index 0000000000..6100bb32e1 --- /dev/null +++ b/dist/native/array/arrayFilter.js @@ -0,0 +1,78 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +const isTrue_1 = __importDefault(require("../../functions/isTrue")); +exports.default = new structures_1.NativeFunction({ + name: "$arrayFilter", + version: "2.7.0", + description: "Filters through every element of the array and loads the results to another array", + unwrap: false, + brackets: true, + experimental: true, + args: [ + { + name: "name", + description: "The variable that holds the array", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "variable", + description: "The variable to load the element value to", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "code", + description: "The code to execute for every element", + rest: false, + required: true, + condition: true, + type: structures_1.ArgType.String, + }, + { + name: "other variable", + description: "The other variable to load the result to, leave empty to return output", + rest: false, + required: false, + type: structures_1.ArgType.String, + }, + ], + output: structures_1.ArgType.Json, + async execute(ctx) { + const code = this.data.fields[2]; + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 1, 3); + if (!this["isValidReturnType"](rt)) + return rt; + const [name, varName, otherVarName] = args; + const arr = ctx.getEnvironmentKey(name); + const newArr = new Array(); + if (Array.isArray(arr)) { + for (let i = 0, len = arr.length; i < len; i++) { + const el = arr[i]; + ctx.setEnvironmentKey(varName, el); + const rt = await this["resolveCondition"](ctx, code); + if (rt.return || rt.success) { + if (!(0, isTrue_1.default)(rt)) + continue; + newArr.push(el); + } + else if (!this["isValidReturnType"](rt)) + return rt; + } + } + return otherVarName ? + this.success(void ctx.setEnvironmentKey(otherVarName, newArr)) : + this.successJSON(newArr); + }, +}); +//# sourceMappingURL=arrayFilter.js.map \ No newline at end of file diff --git a/dist/native/array/arrayFilter.js.map b/dist/native/array/arrayFilter.js.map new file mode 100644 index 0000000000..c7ae9a374e --- /dev/null +++ b/dist/native/array/arrayFilter.js.map @@ -0,0 +1 @@ +{"version":3,"file":"arrayFilter.js","sourceRoot":"","sources":["../../../src/native/array/arrayFilter.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAAmG;AACnG,oEAA2C;A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AO,EAAE,YAAY,CAAC,GAAG,IAAI,CAAA;QAE1C,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACvC,MAAM,MAAM,GAAG,IAAI,KAAK,EAAW,CAAA;QAEnC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACrB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC7C,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;gBACjB,GAAG,CAAC,iBAAiB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;gBAClC,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;gBAEpD,IAAI,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;oBAC1B,IAAI,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC;wBAAE,SAAQ;oBACzB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;gBACnB,CAAC;qBAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;oBAAE,OAAO,EAAE,CAAA;YACxD,CAAC;QACL,CAAC;QAED,OAAO,YAAY,CAAC,CAAC;YACjB,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,iBAAiB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;YAChE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayFind.d.ts b/dist/native/array/arrayFind.d.ts new file mode 100644 index 0000000000..29ff3450cb --- /dev/null +++ b/dist/native/array/arrayFind.d.ts @@ -0,0 +1,23 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + condition: true; + required: true; + type: ArgType.String; +}], false>; +export default _default; +//# sourceMappingURL=arrayFind.d.ts.map \ No newline at end of file diff --git a/dist/native/array/arrayFind.d.ts.map b/dist/native/array/arrayFind.d.ts.map new file mode 100644 index 0000000000..ce2c0ac74e --- /dev/null +++ b/dist/native/array/arrayFind.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"arrayFind.d.ts","sourceRoot":"","sources":["../../../src/native/array/arrayFind.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAA2C,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;AAEnG,wBAuDE"} \ No newline at end of file diff --git a/dist/native/array/arrayFind.js b/dist/native/array/arrayFind.js new file mode 100644 index 0000000000..af15a9130c --- /dev/null +++ b/dist/native/array/arrayFind.js @@ -0,0 +1,68 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const isTrue_1 = __importDefault(require("../../functions/isTrue")); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$arrayFind", + version: "2.7.0", + description: "Finds the value of a first found element in the array", + unwrap: false, + brackets: true, + experimental: true, + args: [ + { + name: "name", + description: "The variable that holds the array", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "variable", + description: "The variable to load the element value to", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "code", + description: "The code to execute for every element", + rest: false, + condition: true, + required: true, + type: structures_1.ArgType.String, + }, + ], + output: structures_1.ArgType.Unknown, + async execute(ctx) { + const code = this.data.fields[2]; + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 1); + if (!this["isValidReturnType"](rt)) + return rt; + const [name, varName] = args; + const arr = ctx.getEnvironmentKey(name); + if (!Array.isArray(arr)) + return this.success(); + for (let i = 0, len = arr.length; i < len; i++) { + const el = arr[i]; + ctx.setEnvironmentKey(varName, el); + const rt = await this["resolveCondition"](ctx, code); + if (rt.return || rt.success) { + if (!(0, isTrue_1.default)(rt)) + continue; + return this.successJSON(el); + } + else if (!this["isValidReturnType"](rt)) + return rt; + } + return this.success(); + }, +}); +//# sourceMappingURL=arrayFind.js.map \ No newline at end of file diff --git a/dist/native/array/arrayFind.js.map b/dist/native/array/arrayFind.js.map new file mode 100644 index 0000000000..086addbc89 --- /dev/null +++ b/dist/native/array/arrayFind.js.map @@ -0,0 +1 @@ +{"version":3,"file":"arrayFind.js","sourceRoot":"","sources":["../../../src/native/array/arrayFind.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAAmG;AAEnG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,SAAS,EAAE,IAAI;YACf,QAAQ,E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AAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;QACxD,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayFindIndex.js b/dist/native/array/arrayFindIndex.js index 902e1d9227..e2eb67fe23 100644 --- a/dist/native/array/arrayFindIndex.js +++ b/dist/native/array/arrayFindIndex.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/array/arrayFindIndex.js.map b/dist/native/array/arrayFindIndex.js.map index 04138e3f8b..53f014bf28 100644 --- a/dist/native/array/arrayFindIndex.js.map +++ b/dist/native/array/arrayFindIndex.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayFindIndex.js","sourceRoot":"","sources":["../../../src/native/array/arrayFindIndex.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAA2I;AAE3I,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SAC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,MAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE,IAA0D,CAAC,CAAW,CAAA;YAEtH,IAAI,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,OAAO,EAAE;gBACzB,IAAI,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC;oBAAE,SAAQ;gBACzB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;aACzB;iBAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;SACvD;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayFindIndex.js","sourceRoot":"","sources":["../../../src/native/array/arrayFindIndex.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAA2I;AAE3I,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM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,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC;oBAAE,SAAQ;gBACzB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;YAC1B,CAAC;iBAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;QACxD,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayFindLast.d.ts b/dist/native/array/arrayFindLast.d.ts new file mode 100644 index 0000000000..a5c21f8ca8 --- /dev/null +++ b/dist/native/array/arrayFindLast.d.ts @@ -0,0 +1,23 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + condition: true; + required: true; + type: ArgType.String; +}], false>; +export default _default; +//# sourceMappingURL=arrayFindLast.d.ts.map \ No newline at end of file diff --git a/dist/native/array/arrayFindLast.d.ts.map b/dist/native/array/arrayFindLast.d.ts.map new file mode 100644 index 0000000000..4736b35d6e --- /dev/null +++ b/dist/native/array/arrayFindLast.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"arrayFindLast.d.ts","sourceRoot":"","sources":["../../../src/native/array/arrayFindLast.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAA2C,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;AAEnG,wBAuDE"} \ No newline at end of file diff --git a/dist/native/array/arrayFindLast.js b/dist/native/array/arrayFindLast.js new file mode 100644 index 0000000000..832de5d922 --- /dev/null +++ b/dist/native/array/arrayFindLast.js @@ -0,0 +1,68 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const isTrue_1 = __importDefault(require("../../functions/isTrue")); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$arrayFindLast", + version: "2.7.0", + description: "Finds the value of a last found element in the array", + unwrap: false, + brackets: true, + experimental: true, + args: [ + { + name: "name", + description: "The variable that holds the array", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "variable", + description: "The variable to load the element value to", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "code", + description: "The code to execute for every element", + rest: false, + condition: true, + required: true, + type: structures_1.ArgType.String, + }, + ], + output: structures_1.ArgType.Unknown, + async execute(ctx) { + const code = this.data.fields[2]; + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 1); + if (!this["isValidReturnType"](rt)) + return rt; + const [name, varName] = args; + const arr = ctx.getEnvironmentKey(name); + if (!Array.isArray(arr)) + return this.success(); + for (let i = arr.length - 1; i >= 0; i--) { + const el = arr[i]; + ctx.setEnvironmentKey(varName, el); + const rt = await this["resolveCondition"](ctx, code); + if (rt.return || rt.success) { + if (!(0, isTrue_1.default)(rt)) + continue; + return this.successJSON(el); + } + else if (!this["isValidReturnType"](rt)) + return rt; + } + return this.success(); + }, +}); +//# sourceMappingURL=arrayFindLast.js.map \ No newline at end of file diff --git a/dist/native/array/arrayFindLast.js.map b/dist/native/array/arrayFindLast.js.map new file mode 100644 index 0000000000..37b1f8afed --- /dev/null +++ b/dist/native/array/arrayFindLast.js.map @@ -0,0 +1 @@ +{"version":3,"file":"arrayFindLast.js","sourceRoot":"","sources":["../../../src/native/array/arrayFindLast.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAAmG;AAEnG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IACh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AG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YACvC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;YACjB,GAAG,CAAC,iBAAiB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;YAClC,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YAEpD,IAAI,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;gBAC1B,IAAI,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC;oBAAE,SAAQ;gBACzB,OAAO,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;YAC/B,CAAC;iBAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;QACxD,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayFindLastIndex.js b/dist/native/array/arrayFindLastIndex.js index 3df1cebd15..30f40562d1 100644 --- a/dist/native/array/arrayFindLastIndex.js +++ b/dist/native/array/arrayFindLastIndex.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/array/arrayFindLastIndex.js.map b/dist/native/array/arrayFindLastIndex.js.map index 47a64ed5ef..030215e03e 100644 --- a/dist/native/array/arrayFindLastIndex.js.map +++ b/dist/native/array/arrayFindLastIndex.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayFindLastIndex.js","sourceRoot":"","sources":["../../../src/native/array/arrayFindLastIndex.ts"],"names":[],"mappings":";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AAQ,CAAA;QAEzD,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAe,CAAC,CAAA;QACvD,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAe,CAAA;QAExC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;QAEhD,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;YACtC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;YACjB,GAAG,CAAC,iBAAiB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;YAClC,MAAM,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE,IAA0D,CAAC,CAAW,CAAA;YAEtH,IAAI,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,OAAO,EAAE;gBACzB,IAAI,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC;oBAAE,SAAQ;gBACzB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;aACzB;iBAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;SACvD;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayFindLastIndex.js","sourceRoot":"","sources":["../../../src/native/array/arrayFindLastIndex.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAA2I;AAE3I,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,MA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C,OAAO,CAAC,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;QAEhD,KAAK,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YACvC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;YACjB,GAAG,CAAC,iBAAiB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;YAClC,MAAM,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE,IAA0D,CAAC,CAAW,CAAA;YAEtH,IAAI,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;gBAC1B,IAAI,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC;oBAAE,SAAQ;gBACzB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;YAC1B,CAAC;iBAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;QACxD,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayForEach.js b/dist/native/array/arrayForEach.js index 2373c668da..e50dfa281f 100644 --- a/dist/native/array/arrayForEach.js +++ b/dist/native/array/arrayForEach.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayForEach.js.map b/dist/native/array/arrayForEach.js.map index ea4d876d9f..ee49e15a86 100644 --- a/dist/native/array/arrayForEach.js.map +++ b/dist/native/array/arrayForEach.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayForEach.js","sourceRoot":"","sources":["../../../src/native/array/arrayForEach.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAEzF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;QACtD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC;YAAE,OAAO,IAAI,CAAA;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;QACzD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAA;QAEzD,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAe,CAAC,CAAA;QACvD,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAe,CAAA;QAExC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;gBAC5C,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAA;gBACjB,GAAG,CAAC,iBAAiB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;gBAClC,MAAM,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAW,CAAA;gBAE3D,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;oBAAE,OAAO,EAAE,CAAA;aAChD;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayForEach.js","sourceRoot":"","sources":["../../../src/native/array/arrayForEach.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YAC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AAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAW,CAAA;gBAE3D,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;oBAAE,OAAO,EAAE,CAAA;YACjD,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayIncludes.js b/dist/native/array/arrayIncludes.js index 63f9242e10..d5cd644b24 100644 --- a/dist/native/array/arrayIncludes.js +++ b/dist/native/array/arrayIncludes.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayIndexOf.js b/dist/native/array/arrayIndexOf.js index 9ccfa15f9a..9dde2325b7 100644 --- a/dist/native/array/arrayIndexOf.js +++ b/dist/native/array/arrayIndexOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayJoin.js b/dist/native/array/arrayJoin.js index 31401f0a83..c19a2ee5ad 100644 --- a/dist/native/array/arrayJoin.js +++ b/dist/native/array/arrayJoin.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/array/arrayLastIndexOf.js b/dist/native/array/arrayLastIndexOf.js index 38b2983596..4971810f84 100644 --- a/dist/native/array/arrayLastIndexOf.js +++ b/dist/native/array/arrayLastIndexOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayLength.js b/dist/native/array/arrayLength.js index 02e23c5e01..cb0d115cc1 100644 --- a/dist/native/array/arrayLength.js +++ b/dist/native/array/arrayLength.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayLoad.js b/dist/native/array/arrayLoad.js index ff97e4d7d2..bed7dc522d 100644 --- a/dist/native/array/arrayLoad.js +++ b/dist/native/array/arrayLoad.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayMap.js b/dist/native/array/arrayMap.js index 78b333a46e..2d272699fb 100644 --- a/dist/native/array/arrayMap.js +++ b/dist/native/array/arrayMap.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/array/arrayMap.js.map b/dist/native/array/arrayMap.js.map index 4b456bf127..cd5a26f110 100644 --- a/dist/native/array/arrayMap.js.map +++ b/dist/native/array/arrayMap.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayMap.js","sourceRoot":"","sources":["../../../src/native/array/arrayMap.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,0EAAiD;AACjD,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gFAAgF;IAC7F,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,wEAAwE;YACrF,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAExG,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;QACtD,IAAI,CA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B,CAAC,CAAC,EAAE,CAAC;oBAAE,OAAO,EAAE,CAAA;aACvD;SACJ;QAED,OAAO,YAAY,CAAC,CAAC;YACjB,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,iBAAiB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;YAChE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayMap.js","sourceRoot":"","sources":["../../../src/native/array/arrayMap.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,0EAAiD;AACjD,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gFAAgF;IAC7F,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,wEAAwE;YACrF,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;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M,EAAE,GAAG,CAAC,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAW,CAAA;gBAE3D,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC;oBACZ,MAAM,CAAC,IAAI,CAAC,IAAA,mBAAS,EAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAA;gBACpC,CAAC;qBAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;oBAAE,OAAO,EAAE,CAAA;YACxD,CAAC;QACL,CAAC;QAED,OAAO,YAAY,CAAC,CAAC;YACjB,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,iBAAiB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;YAChE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayPop.js b/dist/native/array/arrayPop.js index 800da76d9d..878c53deb9 100644 --- a/dist/native/array/arrayPop.js +++ b/dist/native/array/arrayPop.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayPush.js b/dist/native/array/arrayPush.js index 6de06522e7..12f79acf32 100644 --- a/dist/native/array/arrayPush.js +++ b/dist/native/array/arrayPush.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayPushJSON.js b/dist/native/array/arrayPushJSON.js index 8aa5c5cce5..71f5e01558 100644 --- a/dist/native/array/arrayPushJSON.js +++ b/dist/native/array/arrayPushJSON.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayRandomIndex.js b/dist/native/array/arrayRandomIndex.js index 20b2f1a947..963a86f0d1 100644 --- a/dist/native/array/arrayRandomIndex.js +++ b/dist/native/array/arrayRandomIndex.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayRandomValue.js b/dist/native/array/arrayRandomValue.js index 14549fdd65..c17c0f8359 100644 --- a/dist/native/array/arrayRandomValue.js +++ b/dist/native/array/arrayRandomValue.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayReduce.js b/dist/native/array/arrayReduce.js index df1eb394db..2fe9f18a98 100644 --- a/dist/native/array/arrayReduce.js +++ b/dist/native/array/arrayReduce.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayReduce.js.map b/dist/native/array/arrayReduce.js.map index d02523a152..e7503e1b34 100644 --- a/dist/native/array/arrayReduce.js.map +++ b/dist/native/array/arrayReduce.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayReduce.js","sourceRoot":"","sources":["../../../src/native/array/arrayReduce.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,6DAA6D;YAC1E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,EAA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array/arrayReverse.js +++ b/dist/native/array/arrayReverse.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayReverse.js.map b/dist/native/array/arrayReverse.js.map index 04f43c18f8..9d4c247875 100644 --- a/dist/native/array/arrayReverse.js.map +++ b/dist/native/array/arrayReverse.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayReverse.js","sourceRoot":"","sources":["../../../src/native/array/arrayReverse.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,kEAAkE;YAC/E,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK;SAClB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QAEvC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACpB,IAAI,IAAI;gBACJ,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,CAAA;;gBAEpE,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAA;SAC7C;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayReverse.js","sourceRoot":"","sources":["../../../src/native/array/arrayReverse.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,kEAAkE;YAC/E,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK;SAClB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QAEvC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACrB,IAAI,IAAI;gBACJ,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,CAAA;;gBAEpE,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAA;QAC9C,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayShift.js b/dist/native/array/arrayShift.js index 66ef09aedd..25aa61016c 100644 --- a/dist/native/array/arrayShift.js +++ b/dist/native/array/arrayShift.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayShuffle.js b/dist/native/array/arrayShuffle.js index 341fdbc0e9..e3a873c165 100644 --- a/dist/native/array/arrayShuffle.js +++ b/dist/native/array/arrayShuffle.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arraySlice.js b/dist/native/array/arraySlice.js index df3db92a78..3f92c39949 100644 --- a/dist/native/array/arraySlice.js +++ b/dist/native/array/arraySlice.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arraySlice.js.map b/dist/native/array/arraySlice.js.map index b8028c6136..8c7a3fc386 100644 --- a/dist/native/array/arraySlice.js.map +++ b/dist/native/array/arraySlice.js.map @@ -1 +1 @@ -{"version":3,"file":"arraySlice.js","sourceRoot":"","sources":["../../../src/native/array/arraySlice.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;A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C,MAAM,CAAC,CAAA;SACtC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arraySlice.js","sourceRoot":"","sources":["../../../src/native/array/arraySlice.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,kEAAkE;YAC/E,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC;QACjC,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QAEvC,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACrB,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,IAAI,SAAS,CAAC,CAAA;YACjD,IAAI,IAAI;gBACJ,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAA;;gBAE7D,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;QACvC,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arraySome.js b/dist/native/array/arraySome.js index 0fa02fc077..175ab8016a 100644 --- a/dist/native/array/arraySome.js +++ b/dist/native/array/arraySome.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/array/arraySome.js.map b/dist/native/array/arraySome.js.map index 5942f2fa4d..53a96ddb93 100644 --- a/dist/native/array/arraySome.js.map +++ b/dist/native/array/arraySome.js.map @@ -1 +1 @@ -{"version":3,"file":"arraySome.js","sourceRoot":"","sources":["../../../src/native/array/arraySome.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAA2I;AAE3I,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0DAA0D;IACvE,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,I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CAAC,MAAM,IAAI,EAAE,CAAC,OAAO,EAAE;oBACzB,IAAI,CAAC,IAAA,gBAAM,EAAC,EAAE,CAAC;wBAAE,SAAQ;oBACzB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;iBAC5B;qBAAM,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;oBAAE,OAAO,EAAE,CAAA;aACvD;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arraySome.js","sourceRoot":"","sources":["../../../src/native/array/arraySome.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,oEAA2C;AAC3C,iDAA2I;AAE3I,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0DAA0D;IACvE,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,EAAC,EAAE,IAAI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at end of file diff --git a/dist/native/array/arraySort.js b/dist/native/array/arraySort.js index f3c489ea22..1006dce7a7 100644 --- a/dist/native/array/arraySort.js +++ b/dist/native/array/arraySort.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SortType = void 0; diff --git a/dist/native/array/arraySort.js.map b/dist/native/array/arraySort.js.map index 1eb087eeb4..4f1e27d805 100644 --- a/dist/native/array/arraySort.js.map +++ b/dist/native/array/arraySort.js.map @@ -1 +1 @@ -{"version":3,"file":"arraySort.js","sourceRoot":"","sources":["../../../src/native/array/arraySort.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,iDAAkE;AAElE,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,qCAAG,CAAA;IACH,uCAAI,CAAA;AACR,CAAC,EAHW,QAAQ,wBAAR,QAAQ,QAGnB;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mBAAmB;IAChC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,8DAA8D;YAC3E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,QAAQ;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,CAAC;QACjC,MAAM,GAAG,GAAG,GAAG,CAAC,sBAAsB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;QACvD,IAAI,GAAG,KAAK,IAAI,EAAE;YACd,MAAM,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;YAEvH,IAAI,KAAK;gBACL,GAAG,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;;gBAEpC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;SACtC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arraySort.js","sourceRoot":"","sources":["../../../src/native/array/arraySort.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,iDAAkE;AAElE,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,qCAAG,CAAA;IACH,uCAAI,CAAA;AACR,CAAC,EAHW,QAAQ,wBAAR,QAAQ,QAGnB;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mBAAmB;IAChC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;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.js b/dist/native/array/arraySplice.js index cfb90547e2..a11179a179 100644 --- a/dist/native/array/arraySplice.js +++ b/dist/native/array/arraySplice.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayUnique.js b/dist/native/array/arrayUnique.js index f2e6316ca0..938738014a 100644 --- a/dist/native/array/arrayUnique.js +++ b/dist/native/array/arrayUnique.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const lodash_1 = require("lodash"); diff --git a/dist/native/array/arrayUnique.js.map b/dist/native/array/arrayUnique.js.map index f167eb0dc6..d8330fdaab 100644 --- a/dist/native/array/arrayUnique.js.map +++ b/dist/native/array/arrayUnique.js.map @@ -1 +1 @@ -{"version":3,"file":"arrayUnique.js","sourceRoot":"","sources":["../../../src/native/array/arrayUnique.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,mCAA0C;AAC1C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,8DAA8D;YAC3E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC;QAC1B,MAAM,GAAG,GAAG,GAAG,CAAC,sBAAsB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;QACvD,IAAI,GAAG,KAAK,IAAI,EAAE;YACd,MAAM,MAAM,GAAG,IAAA,iBAAQ,EAAC,GAAG,EAAE,gBAAO,CAAC,CAAA;YAErC,IAAI,KAAK;gBACL,GAAG,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;;gBAEpC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;SACtC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"arrayUnique.js","sourceRoot":"","sources":["../../../src/native/array/arrayUnique.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,mCAA0C;AAC1C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,8DAA8D;YAC3E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC;QAC1B,MAAM,GAAG,GAAG,GAAG,CAAC,sBAAsB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;QACvD,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACf,MAAM,MAAM,GAAG,IAAA,iBAAQ,EAAC,GAAG,EAAE,gBAAO,CAAC,CAAA;YAErC,IAAI,KAAK;gBACL,GAAG,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;;gBAEpC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;QACvC,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/arrayUnload.js b/dist/native/array/arrayUnload.js index 84aa7650eb..ac10379a20 100644 --- a/dist/native/array/arrayUnload.js +++ b/dist/native/array/arrayUnload.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayUnshift.js b/dist/native/array/arrayUnshift.js index 0ca69665d1..9c3e6f52c5 100644 --- a/dist/native/array/arrayUnshift.js +++ b/dist/native/array/arrayUnshift.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/arrayUnshiftJSON.js b/dist/native/array/arrayUnshiftJSON.js index 3216aa0373..e94a600843 100644 --- a/dist/native/array/arrayUnshiftJSON.js +++ b/dist/native/array/arrayUnshiftJSON.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/getSplitTextLength.d.ts b/dist/native/array/getSplitTextLength.d.ts index a0f1378b5c..f7bbb1b0ee 100644 --- a/dist/native/array/getSplitTextLength.d.ts +++ b/dist/native/array/getSplitTextLength.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=getSplitTextLength.d.ts.map \ No newline at end of file diff --git a/dist/native/array/getSplitTextLength.js b/dist/native/array/getSplitTextLength.js index 7cc5f47b0b..dbfcc06f41 100644 --- a/dist/native/array/getSplitTextLength.js +++ b/dist/native/array/getSplitTextLength.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/getTextSplitIndex.js b/dist/native/array/getTextSplitIndex.js index 047e147c27..eb8d088a0c 100644 --- a/dist/native/array/getTextSplitIndex.js +++ b/dist/native/array/getTextSplitIndex.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/isArray.d.ts b/dist/native/array/isArray.d.ts new file mode 100644 index 0000000000..2efc30898c --- /dev/null +++ b/dist/native/array/isArray.d.ts @@ -0,0 +1,10 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.Json; +}], true>; +export default _default; +//# sourceMappingURL=isArray.d.ts.map \ No newline at end of file diff --git a/dist/native/array/isArray.d.ts.map b/dist/native/array/isArray.d.ts.map new file mode 100644 index 0000000000..598ae2cd45 --- /dev/null +++ b/dist/native/array/isArray.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"isArray.d.ts","sourceRoot":"","sources":["../../../src/native/array/isArray.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAoBE"} \ No newline at end of file diff --git a/dist/native/array/isArray.js b/dist/native/array/isArray.js new file mode 100644 index 0000000000..86438ea6c1 --- /dev/null +++ b/dist/native/array/isArray.js @@ -0,0 +1,29 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$isArray", + version: "2.7.0", + description: "Checks whether given array is valid", + aliases: ["$isValidArray"], + unwrap: true, + brackets: true, + args: [ + { + name: "array", + description: "The array to check for", + rest: false, + required: true, + type: structures_1.ArgType.Json, + } + ], + output: structures_1.ArgType.Boolean, + execute(ctx, [arr]) { + return this.success(Array.isArray(arr)); + }, +}); +//# sourceMappingURL=isArray.js.map \ No newline at end of file diff --git a/dist/native/array/isArray.js.map b/dist/native/array/isArray.js.map new file mode 100644 index 0000000000..2bdb20c5c9 --- /dev/null +++ b/dist/native/array/isArray.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isArray.js","sourceRoot":"","sources":["../../../src/native/array/isArray.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,OAAO,EAAE,CAAC,eAAe,CAAC;IAC1B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/array/segmentTextSplit.d.ts.map b/dist/native/array/segmentTextSplit.d.ts.map index 277e0ed5cc..58432eb7dd 100644 --- a/dist/native/array/segmentTextSplit.d.ts.map +++ b/dist/native/array/segmentTextSplit.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"segmentTextSplit.d.ts","sourceRoot":"","sources":["../../../src/native/array/segmentTextSplit.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,eAAO,MAAM,aAAa,UAAoB,CAAA;AAE9C,eAAO,MAAM,SAAS,gBAAuB,CAAA;;;;;;;;AAE7C,wBAmBE"} \ No newline at end of file +{"version":3,"file":"segmentTextSplit.d.ts","sourceRoot":"","sources":["../../../src/native/array/segmentTextSplit.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,eAAO,MAAM,aAAa,EAAG,QAAiB,CAAA;AAE9C,eAAO,MAAM,SAAS,gBAAuB,CAAA;;;;;;;;AAE7C,wBAmBE"} \ No newline at end of file diff --git a/dist/native/array/segmentTextSplit.js b/dist/native/array/segmentTextSplit.js index 64997dfeac..d290ca6575 100644 --- a/dist/native/array/segmentTextSplit.js +++ b/dist/native/array/segmentTextSplit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Segmenter = exports.SplitTextName = void 0; diff --git a/dist/native/array/splitText.js b/dist/native/array/splitText.js index 4abb141aa8..ec90aa7774 100644 --- a/dist/native/array/splitText.js +++ b/dist/native/array/splitText.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/array/splitTextJoin.js b/dist/native/array/splitTextJoin.js index ddc5b1f0fe..04b57451a9 100644 --- a/dist/native/array/splitTextJoin.js +++ b/dist/native/array/splitTextJoin.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/array/textSplit.d.ts.map b/dist/native/array/textSplit.d.ts.map index a921b4c81e..20d00a38e4 100644 --- a/dist/native/array/textSplit.d.ts.map +++ b/dist/native/array/textSplit.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"textSplit.d.ts","sourceRoot":"","sources":["../../../src/native/array/textSplit.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,eAAO,MAAM,aAAa,UAAoB,CAAA;;;;;;;;;;;;;;AAE9C,wBA0BE"} \ No newline at end of file +{"version":3,"file":"textSplit.d.ts","sourceRoot":"","sources":["../../../src/native/array/textSplit.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,eAAO,MAAM,aAAa,EAAG,QAAiB,CAAA;;;;;;;;;;;;;;AAE9C,wBA0BE"} \ No newline at end of file diff --git a/dist/native/array/textSplit.js b/dist/native/array/textSplit.js index 2872caf2b8..20f49e5335 100644 --- a/dist/native/array/textSplit.js +++ b/dist/native/array/textSplit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SplitTextName = void 0; diff --git a/dist/native/audit/fetchAuditLog.js b/dist/native/audit/fetchAuditLog.js index cf988fc6b5..36836c1e77 100644 --- a/dist/native/audit/fetchAuditLog.js +++ b/dist/native/audit/fetchAuditLog.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/audit/fetchAuditLogCount.js b/dist/native/audit/fetchAuditLogCount.js index 20ee1e8a72..033fbccbd5 100644 --- a/dist/native/audit/fetchAuditLogCount.js +++ b/dist/native/audit/fetchAuditLogCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/audit/fetchUserAuditLog.js b/dist/native/audit/fetchUserAuditLog.js index 1ecb294f2e..440cfb4888 100644 --- a/dist/native/audit/fetchUserAuditLog.js +++ b/dist/native/audit/fetchUserAuditLog.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/audit/setAuditLogReason.js b/dist/native/audit/setAuditLogReason.js index 9626ed27ed..894bfdaf1d 100644 --- a/dist/native/audit/setAuditLogReason.js +++ b/dist/native/audit/setAuditLogReason.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodActionType.d.ts b/dist/native/automod/automodActionType.d.ts index f94ba3be2e..beca270754 100644 --- a/dist/native/automod/automodActionType.d.ts +++ b/dist/native/automod/automodActionType.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodActionType.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodActionType.js b/dist/native/automod/automodActionType.js index f9277a588e..05d3b51698 100644 --- a/dist/native/automod/automodActionType.js +++ b/dist/native/automod/automodActionType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/automod/automodAlertSystemMessageID.d.ts b/dist/native/automod/automodAlertSystemMessageID.d.ts index 8c79e97278..3a7dc215ae 100644 --- a/dist/native/automod/automodAlertSystemMessageID.d.ts +++ b/dist/native/automod/automodAlertSystemMessageID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodAlertSystemMessageID.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodAlertSystemMessageID.js b/dist/native/automod/automodAlertSystemMessageID.js index 57c5cb4535..fa81116552 100644 --- a/dist/native/automod/automodAlertSystemMessageID.js +++ b/dist/native/automod/automodAlertSystemMessageID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodChannelID.d.ts b/dist/native/automod/automodChannelID.d.ts index df000d2693..7a849a356a 100644 --- a/dist/native/automod/automodChannelID.d.ts +++ b/dist/native/automod/automodChannelID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodChannelID.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodChannelID.js b/dist/native/automod/automodChannelID.js index 77231e9b43..36f2c3fcf8 100644 --- a/dist/native/automod/automodChannelID.js +++ b/dist/native/automod/automodChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodContent.d.ts b/dist/native/automod/automodContent.d.ts index 457ef1ed8c..58f14ee537 100644 --- a/dist/native/automod/automodContent.d.ts +++ b/dist/native/automod/automodContent.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodContent.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodContent.js b/dist/native/automod/automodContent.js index 329683b0c5..8af54b7350 100644 --- a/dist/native/automod/automodContent.js +++ b/dist/native/automod/automodContent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodCustomMessage.d.ts b/dist/native/automod/automodCustomMessage.d.ts index 16f448aa24..18ac6a2118 100644 --- a/dist/native/automod/automodCustomMessage.d.ts +++ b/dist/native/automod/automodCustomMessage.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodCustomMessage.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodCustomMessage.js b/dist/native/automod/automodCustomMessage.js index f801e57080..8c2529c108 100644 --- a/dist/native/automod/automodCustomMessage.js +++ b/dist/native/automod/automodCustomMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodDuration.d.ts b/dist/native/automod/automodDuration.d.ts index 59665dd715..ad3aeb3533 100644 --- a/dist/native/automod/automodDuration.d.ts +++ b/dist/native/automod/automodDuration.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodDuration.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodDuration.js b/dist/native/automod/automodDuration.js index 2c932d88f6..14be934ea7 100644 --- a/dist/native/automod/automodDuration.js +++ b/dist/native/automod/automodDuration.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodMatchedContent.d.ts b/dist/native/automod/automodMatchedContent.d.ts index 46879e35b7..d0865e8c23 100644 --- a/dist/native/automod/automodMatchedContent.d.ts +++ b/dist/native/automod/automodMatchedContent.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodMatchedContent.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodMatchedContent.js b/dist/native/automod/automodMatchedContent.js index c5422882e0..7282d093b6 100644 --- a/dist/native/automod/automodMatchedContent.js +++ b/dist/native/automod/automodMatchedContent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodMatchedKeyword.d.ts b/dist/native/automod/automodMatchedKeyword.d.ts index a10a55fd2b..50290bc336 100644 --- a/dist/native/automod/automodMatchedKeyword.d.ts +++ b/dist/native/automod/automodMatchedKeyword.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodMatchedKeyword.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodMatchedKeyword.js b/dist/native/automod/automodMatchedKeyword.js index 69a05508ea..0ce66f5706 100644 --- a/dist/native/automod/automodMatchedKeyword.js +++ b/dist/native/automod/automodMatchedKeyword.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodRuleID.d.ts b/dist/native/automod/automodRuleID.d.ts index 3f9f0abe48..935dc8539f 100644 --- a/dist/native/automod/automodRuleID.d.ts +++ b/dist/native/automod/automodRuleID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodRuleID.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodRuleID.js b/dist/native/automod/automodRuleID.js index b316c3365d..00d86e8a36 100644 --- a/dist/native/automod/automodRuleID.js +++ b/dist/native/automod/automodRuleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/automodRuleTriggerType.d.ts b/dist/native/automod/automodRuleTriggerType.d.ts index 6ddb43d04e..9099e0f2a4 100644 --- a/dist/native/automod/automodRuleTriggerType.d.ts +++ b/dist/native/automod/automodRuleTriggerType.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=automodRuleTriggerType.d.ts.map \ No newline at end of file diff --git a/dist/native/automod/automodRuleTriggerType.js b/dist/native/automod/automodRuleTriggerType.js index 594f9a2c14..1f00b61a3e 100644 --- a/dist/native/automod/automodRuleTriggerType.js +++ b/dist/native/automod/automodRuleTriggerType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/automod/createAutomodRule.js b/dist/native/automod/createAutomodRule.js index 51f48144da..40aa6c79a7 100644 --- a/dist/native/automod/createAutomodRule.js +++ b/dist/native/automod/createAutomodRule.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/automod/deleteAutomodRule.js b/dist/native/automod/deleteAutomodRule.js index d943b48e0d..6edfcb025f 100644 --- a/dist/native/automod/deleteAutomodRule.js +++ b/dist/native/automod/deleteAutomodRule.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/deleteAutomodRule.js.map b/dist/native/automod/deleteAutomodRule.js.map index a28d64057b..ad2fb9eea4 100644 --- a/dist/native/automod/deleteAutomodRule.js.map +++ b/dist/native/automod/deleteAutomodRule.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteAutomodRule.js","sourceRoot":"","sources":["../../../src/native/automod/deleteAutomodRule.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;YACzB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC;QAC/B,IAAI;YACA,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,CAAA;SAC1C;QAAC,OAAO,KAAK,EAAE;YACZ,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YACf,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;SAC7B;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteAutomodRule.js","sourceRoot":"","sources":["../../../src/native/automod/deleteAutomodRule.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;YACzB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC;QAC/B,IAAI,CAAC;YACD,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,CAAA;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YACf,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/automod/editAutomodRule.js b/dist/native/automod/editAutomodRule.js index 96733a3b2c..e1e529823c 100644 --- a/dist/native/automod/editAutomodRule.js +++ b/dist/native/automod/editAutomodRule.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/automod/getAutomodRule.js b/dist/native/automod/getAutomodRule.js index 14403a1155..d3aedabf3a 100644 --- a/dist/native/automod/getAutomodRule.js +++ b/dist/native/automod/getAutomodRule.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/getAutomodRuleActions.js b/dist/native/automod/getAutomodRuleActions.js index 2eec66bb48..742b8a9ff6 100644 --- a/dist/native/automod/getAutomodRuleActions.js +++ b/dist/native/automod/getAutomodRuleActions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/automod/setAutomodAction.d.ts b/dist/native/automod/setAutomodAction.d.ts index 42238c4c7e..73e77a6cf3 100644 --- a/dist/native/automod/setAutomodAction.d.ts +++ b/dist/native/automod/setAutomodAction.d.ts @@ -12,7 +12,7 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/automod/setAutomodAction.js b/dist/native/automod/setAutomodAction.js index f52b3c259f..f8b5262fe2 100644 --- a/dist/native/automod/setAutomodAction.js +++ b/dist/native/automod/setAutomodAction.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/automod/setAutomodAllowList.js b/dist/native/automod/setAutomodAllowList.js index 808f8241a7..ab5c462ac2 100644 --- a/dist/native/automod/setAutomodAllowList.js +++ b/dist/native/automod/setAutomodAllowList.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/setAutomodExemptChannels.js b/dist/native/automod/setAutomodExemptChannels.js index 70a6b493b4..343d2e7b06 100644 --- a/dist/native/automod/setAutomodExemptChannels.js +++ b/dist/native/automod/setAutomodExemptChannels.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/setAutomodExemptRoles.js b/dist/native/automod/setAutomodExemptRoles.js index b10de82867..1c36dd1198 100644 --- a/dist/native/automod/setAutomodExemptRoles.js +++ b/dist/native/automod/setAutomodExemptRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/setAutomodKeywordFilter.js b/dist/native/automod/setAutomodKeywordFilter.js index a4ab548ddd..99a84bb874 100644 --- a/dist/native/automod/setAutomodKeywordFilter.js +++ b/dist/native/automod/setAutomodKeywordFilter.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/setAutomodMentionRaidProtection.js b/dist/native/automod/setAutomodMentionRaidProtection.js index 9db959eb4e..4ceba3ef19 100644 --- a/dist/native/automod/setAutomodMentionRaidProtection.js +++ b/dist/native/automod/setAutomodMentionRaidProtection.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/setAutomodMentionTotalLimit.js b/dist/native/automod/setAutomodMentionTotalLimit.js index 8e2ca8a88c..f0783d654c 100644 --- a/dist/native/automod/setAutomodMentionTotalLimit.js +++ b/dist/native/automod/setAutomodMentionTotalLimit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/automod/setAutomodPresets.js b/dist/native/automod/setAutomodPresets.js index 26ce5c6a92..378c667b97 100644 --- a/dist/native/automod/setAutomodPresets.js +++ b/dist/native/automod/setAutomodPresets.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/automod/setAutomodRegexFilter.js b/dist/native/automod/setAutomodRegexFilter.js index e80e1f3118..c90ed4c162 100644 --- a/dist/native/automod/setAutomodRegexFilter.js +++ b/dist/native/automod/setAutomodRegexFilter.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/applicationCommandCount.js b/dist/native/bot/applicationCommandCount.js index c4e44105d4..c785a2e930 100644 --- a/dist/native/bot/applicationCommandCount.js +++ b/dist/native/bot/applicationCommandCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/bot/applicationCommandCount.js.map b/dist/native/bot/applicationCommandCount.js.map index 13864959b9..06c4b9b1d8 100644 --- a/dist/native/bot/applicationCommandCount.js.map +++ b/dist/native/bot/applicationCommandCount.js.map @@ -1 +1 @@ -{"version":3,"file":"applicationCommandCount.js","sourceRoot":"","sources":["../../../src/native/bot/applicationCommandCount.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyD;AACzD,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,oBAAoB,CAAC;IAC/B,WAAW,EAAE,mEAAmE;IAChF,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,GAAG,CAAC;QACvB,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAChG,IAAI,CAAC,QAAQ;YAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;QAErC,IAAI,GAAG,EAAE;YACL,IAAI,KAAK,GAAG,CAAC,CAAA;YACb,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;gBACzB,IAAI,IAAI,GAAG,IAAI,CAAA;gBACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;oBAC5B,IAAI,GAAG,CAAC,IAAI,KAAK,yCAA4B,CAAC,UAAU,EAAE;wBACtD,KAAK,EAAE,CAAA;wBACP,IAAI,GAAG,KAAK,CAAA;qBACf;yBAAM,IAAI,GAAG,CAAC,IAAI,KAAK,yCAA4B,CAAC,eAAe,EAAE;wBAClE,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,CAAA;wBACpC,IAAI,GAAG,KAAK,CAAA;qBACf;gBACL,CAAC,CAAC,CAAA;gBACF,IAAI,IAAI;oBAAE,KAAK,EAAE,CAAA;YACrB,CAAC,CAAC,CAAA;YACF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;SAC7B;aAAM;YACH,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;SACrC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"applicationCommandCount.js","sourceRoot":"","sources":["../../../src/native/bot/applicationCommandC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,IAAI,GAAG,KAAK,CAAA;oBAChB,CAAC;yBAAM,IAAI,GAAG,CAAC,IAAI,KAAK,yCAA4B,CAAC,eAAe,EAAE,CAAC;wBACnE,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,CAAA;wBACpC,IAAI,GAAG,KAAK,CAAA;oBAChB,CAAC;gBACL,CAAC,CAAC,CAAA;gBACF,IAAI,IAAI;oBAAE,KAAK,EAAE,CAAA;YACrB,CAAC,CAAC,CAAA;YACF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC;aAAM,CAAC;YACJ,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;QACtC,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/bot/applicationCommands.js b/dist/native/bot/applicationCommands.js index a7e7cde54d..9e012c9a44 100644 --- a/dist/native/bot/applicationCommands.js +++ b/dist/native/bot/applicationCommands.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botCount.d.ts b/dist/native/bot/botCount.d.ts index b18088005d..31e7f9d7b4 100644 --- a/dist/native/bot/botCount.d.ts +++ b/dist/native/bot/botCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=botCount.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botCount.js b/dist/native/bot/botCount.js index bf169b76ad..339fafd2e4 100644 --- a/dist/native/bot/botCount.js +++ b/dist/native/bot/botCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botCustomInvite.d.ts b/dist/native/bot/botCustomInvite.d.ts index e0509d2460..1ca626a037 100644 --- a/dist/native/bot/botCustomInvite.d.ts +++ b/dist/native/bot/botCustomInvite.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botCustomInvite.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botCustomInvite.js b/dist/native/bot/botCustomInvite.js index 7e9885647e..21f095af2e 100644 --- a/dist/native/bot/botCustomInvite.js +++ b/dist/native/bot/botCustomInvite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botDescription.d.ts b/dist/native/bot/botDescription.d.ts index 31374761a7..3a15e1a697 100644 --- a/dist/native/bot/botDescription.d.ts +++ b/dist/native/bot/botDescription.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=botDescription.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botDescription.js b/dist/native/bot/botDescription.js index 508a2164ef..40065b5653 100644 --- a/dist/native/bot/botDescription.js +++ b/dist/native/bot/botDescription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botDestroy.d.ts b/dist/native/bot/botDestroy.d.ts index cf66dc071d..354e6de760 100644 --- a/dist/native/bot/botDestroy.d.ts +++ b/dist/native/bot/botDestroy.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=botDestroy.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botDestroy.js b/dist/native/bot/botDestroy.js index 0cc6d68fa8..54c4e43b10 100644 --- a/dist/native/bot/botDestroy.js +++ b/dist/native/bot/botDestroy.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botID.d.ts b/dist/native/bot/botID.d.ts index 39cf7b33ba..df2b0fedfd 100644 --- a/dist/native/bot/botID.d.ts +++ b/dist/native/bot/botID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botID.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botID.js b/dist/native/bot/botID.js index 3c3ea6aafc..c9f788a06b 100644 --- a/dist/native/bot/botID.js +++ b/dist/native/bot/botID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botInvite.js b/dist/native/bot/botInvite.js index 7193f0dadf..34b5ad4791 100644 --- a/dist/native/bot/botInvite.js +++ b/dist/native/bot/botInvite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/bot/botMutualGuilds.d.ts.map b/dist/native/bot/botMutualGuilds.d.ts.map index 54b66339a6..0dc304569a 100644 --- a/dist/native/bot/botMutualGuilds.d.ts.map +++ b/dist/native/bot/botMutualGuilds.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"botMutualGuilds.d.ts","sourceRoot":"","sources":["../../../src/native/bot/botMutualGuilds.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAElE,wBA+BE"} \ No newline at end of file +{"version":3,"file":"botMutualGuilds.d.ts","sourceRoot":"","sources":["../../../src/native/bot/botMutualGuilds.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAG1D,wBAwCE"} \ No newline at end of file diff --git a/dist/native/bot/botMutualGuilds.js b/dist/native/bot/botMutualGuilds.js index ca883adf59..3fe026f5ff 100644 --- a/dist/native/bot/botMutualGuilds.js +++ b/dist/native/bot/botMutualGuilds.js @@ -1,19 +1,21 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -const array_1 = __importDefault(require("../../functions/array")); +const discord_js_1 = require("discord.js"); const structures_1 = require("../../structures"); +const array_1 = __importDefault(require("../../functions/array")); exports.default = new structures_1.NativeFunction({ name: "$botMutualGuilds", version: "1.5.0", aliases: ["$clientMutualGuilds"], description: "Returns the client's mutual guilds with a user", + brackets: false, unwrap: true, args: [ { @@ -30,14 +32,21 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.String, }, ], - brackets: false, output: (0, array_1.default)(), async execute(ctx, [user, sep]) { user ??= ctx.user; - return this.success(ctx.client.guilds.cache - .filter(async (x) => await x.members.fetch(user).then(() => true).catch(() => false)) - .map(guild => guild.id) - .join(sep || ", ")); + if (!user) + return this.success(); + const guilds = await Promise.all(ctx.client.guilds.cache.map(async (guild) => { + try { + await guild.members.fetch(user.id); + return guild; + } + catch { + return null; + } + })); + return this.success(guilds.filter((x) => x instanceof discord_js_1.Guild).map((guild) => guild.id).join(sep ?? ", ")); }, }); //# sourceMappingURL=botMutualGuilds.js.map \ No newline at end of file diff --git a/dist/native/bot/botMutualGuilds.js.map b/dist/native/bot/botMutualGuilds.js.map index 4d5e0384ba..2f25427339 100644 --- a/dist/native/bot/botMutualGuilds.js.map +++ b/dist/native/bot/botMutualGuilds.js.map @@ -1 +1 @@ -{"version":3,"file":"botMutualGuilds.js","sourceRoot":"","sources":["../../../src/native/bot/botMutualGuilds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,kEAAyC;AACzC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,qBAAqB,CAAC;IAChC,WAAW,EAAE,gDAAgD;IAC7D,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAA,eAAK,GAAiB;IAC9B,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;QAC1B,IAAI,KAAK,GAAG,CAAC,IAAK,CAAA;QAClB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK;aACtC,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;aACpF,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;aACtB,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CACrB,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"botMutualGuilds.js","sourceRoot":"","sources":["../../../src/native/bot/botMutualGuilds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,2CAAkC;AAClC,iDAA0D;AAC1D,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,qBAAqB,CAAC;IAChC,WAAW,EAAE,gDAAgD;IAC7D,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAA,eAAK,GAAiB;IAC9B,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;QAC1B,IAAI,KAAK,GAAG,CAAC,IAAK,CAAA;QAClB,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAEhC,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,GAAG,CAC5B,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;YACxC,IAAI,CAAC;gBACD,MAAM,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;gBAClC,OAAO,KAAK,CAAA;YAChB,CAAC;YAAC,MAAM,CAAC;gBACL,OAAO,IAAI,CAAA;YACf,CAAC;QACL,CAAC,CAAC,CACL,CAAA;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,kBAAK,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAC5G,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/bot/botOwnerID.js b/dist/native/bot/botOwnerID.js index 2aafe14d80..be0d12d6aa 100644 --- a/dist/native/bot/botOwnerID.js +++ b/dist/native/bot/botOwnerID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/bot/botTags.js b/dist/native/bot/botTags.js index bcf1779d96..da9fd8acdb 100644 --- a/dist/native/bot/botTags.js +++ b/dist/native/bot/botTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/bot/botTeamCreatedAt.d.ts b/dist/native/bot/botTeamCreatedAt.d.ts index 986e117cfd..512ad56451 100644 --- a/dist/native/bot/botTeamCreatedAt.d.ts +++ b/dist/native/bot/botTeamCreatedAt.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botTeamCreatedAt.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botTeamCreatedAt.js b/dist/native/bot/botTeamCreatedAt.js index 892736ac4b..95e2d02bce 100644 --- a/dist/native/bot/botTeamCreatedAt.js +++ b/dist/native/bot/botTeamCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/bot/botTeamID.d.ts b/dist/native/bot/botTeamID.d.ts index a824d27355..c06eaee230 100644 --- a/dist/native/bot/botTeamID.d.ts +++ b/dist/native/bot/botTeamID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botTeamID.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botTeamID.js b/dist/native/bot/botTeamID.js index 7cd97aa21b..2a41bc911c 100644 --- a/dist/native/bot/botTeamID.js +++ b/dist/native/bot/botTeamID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/bot/botTeamIcon.js b/dist/native/bot/botTeamIcon.js index 3b5f81597d..5f210b9fbd 100644 --- a/dist/native/bot/botTeamIcon.js +++ b/dist/native/bot/botTeamIcon.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/bot/botTeamMembers.js b/dist/native/bot/botTeamMembers.js index 5cbed4fe34..29e6376cd6 100644 --- a/dist/native/bot/botTeamMembers.js +++ b/dist/native/bot/botTeamMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/bot/botTeamName.d.ts b/dist/native/bot/botTeamName.d.ts index 28fe4443e7..446d6133b7 100644 --- a/dist/native/bot/botTeamName.d.ts +++ b/dist/native/bot/botTeamName.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botTeamName.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botTeamName.js b/dist/native/bot/botTeamName.js index 086290c89b..eaf58e8ddd 100644 --- a/dist/native/bot/botTeamName.js +++ b/dist/native/bot/botTeamName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/bot/botToken.d.ts b/dist/native/bot/botToken.d.ts index e2146c1fa3..ea8fbe5000 100644 --- a/dist/native/bot/botToken.d.ts +++ b/dist/native/bot/botToken.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botToken.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botToken.js b/dist/native/bot/botToken.js index 8b181fd568..f37d5abb21 100644 --- a/dist/native/bot/botToken.js +++ b/dist/native/bot/botToken.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botUserAuthorizationCount.d.ts b/dist/native/bot/botUserAuthorizationCount.d.ts index b8beb41345..00669bc9cd 100644 --- a/dist/native/bot/botUserAuthorizationCount.d.ts +++ b/dist/native/bot/botUserAuthorizationCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botUserAuthorizationCount.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botUserAuthorizationCount.js b/dist/native/bot/botUserAuthorizationCount.js index cb1c7dccb1..dc4ebbbf5a 100644 --- a/dist/native/bot/botUserAuthorizationCount.js +++ b/dist/native/bot/botUserAuthorizationCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botUserInstallCount.d.ts b/dist/native/bot/botUserInstallCount.d.ts index ab869765ce..d454abbf2c 100644 --- a/dist/native/bot/botUserInstallCount.d.ts +++ b/dist/native/bot/botUserInstallCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botUserInstallCount.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botUserInstallCount.js b/dist/native/bot/botUserInstallCount.js index 5c30340fc1..30a5601911 100644 --- a/dist/native/bot/botUserInstallCount.js +++ b/dist/native/bot/botUserInstallCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/botWebhookEvents.js b/dist/native/bot/botWebhookEvents.js index 2b3b592f29..6ee73741e0 100644 --- a/dist/native/bot/botWebhookEvents.js +++ b/dist/native/bot/botWebhookEvents.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/bot/botWebhookStatus.d.ts b/dist/native/bot/botWebhookStatus.d.ts index 4a7326bf20..76e9eb934b 100644 --- a/dist/native/bot/botWebhookStatus.d.ts +++ b/dist/native/bot/botWebhookStatus.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botWebhookStatus.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botWebhookStatus.js b/dist/native/bot/botWebhookStatus.js index 8873a2421e..687a7632fa 100644 --- a/dist/native/bot/botWebhookStatus.js +++ b/dist/native/bot/botWebhookStatus.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/bot/botWebhookURL.d.ts b/dist/native/bot/botWebhookURL.d.ts index d9fe9f7267..5f180ee9cc 100644 --- a/dist/native/bot/botWebhookURL.d.ts +++ b/dist/native/bot/botWebhookURL.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=botWebhookURL.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/botWebhookURL.js b/dist/native/bot/botWebhookURL.js index 890e7123d0..43a700ecb6 100644 --- a/dist/native/bot/botWebhookURL.js +++ b/dist/native/bot/botWebhookURL.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/deleteGlobalApplicationCommands.d.ts b/dist/native/bot/deleteGlobalApplicationCommands.d.ts index ab6912d770..1239bd29a0 100644 --- a/dist/native/bot/deleteGlobalApplicationCommands.d.ts +++ b/dist/native/bot/deleteGlobalApplicationCommands.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=deleteGlobalApplicationCommands.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/deleteGlobalApplicationCommands.js b/dist/native/bot/deleteGlobalApplicationCommands.js index 88a86aaf5d..919309d41a 100644 --- a/dist/native/bot/deleteGlobalApplicationCommands.js +++ b/dist/native/bot/deleteGlobalApplicationCommands.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/extensionVersion.js b/dist/native/bot/extensionVersion.js index db6582455a..1b9af0a35c 100644 --- a/dist/native/bot/extensionVersion.js +++ b/dist/native/bot/extensionVersion.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/fetchApplication.d.ts b/dist/native/bot/fetchApplication.d.ts new file mode 100644 index 0000000000..b3c610c600 --- /dev/null +++ b/dist/native/bot/fetchApplication.d.ts @@ -0,0 +1,4 @@ +import { NativeFunction } from "../../structures"; +declare const _default: NativeFunction>[], false>; +export default _default; +//# sourceMappingURL=fetchApplication.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/fetchApplication.d.ts.map b/dist/native/bot/fetchApplication.d.ts.map new file mode 100644 index 0000000000..39abea5077 --- /dev/null +++ b/dist/native/bot/fetchApplication.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"fetchApplication.d.ts","sourceRoot":"","sources":["../../../src/native/bot/fetchApplication.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBASE"} \ No newline at end of file diff --git a/dist/native/bot/fetchApplication.js b/dist/native/bot/fetchApplication.js new file mode 100644 index 0000000000..5c878f4279 --- /dev/null +++ b/dist/native/bot/fetchApplication.js @@ -0,0 +1,18 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$fetchApplication", + version: "2.7.0", + description: "Fetches the application of the client", + unwrap: false, + async execute(ctx) { + await ctx.client.application.fetch().catch(ctx.noop); + return this.success(); + }, +}); +//# sourceMappingURL=fetchApplication.js.map \ No newline at end of file diff --git a/dist/native/bot/fetchApplication.js.map b/dist/native/bot/fetchApplication.js.map new file mode 100644 index 0000000000..693d1acb21 --- /dev/null +++ b/dist/native/bot/fetchApplication.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fetchApplication.js","sourceRoot":"","sources":["../../../src/native/bot/fetchApplication.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAiD;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACpD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/bot/hasExtension.js b/dist/native/bot/hasExtension.js index ffe1406e88..b407d40bc4 100644 --- a/dist/native/bot/hasExtension.js +++ b/dist/native/bot/hasExtension.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/ping.d.ts b/dist/native/bot/ping.d.ts index 228c042c3a..16b12969e7 100644 --- a/dist/native/bot/ping.d.ts +++ b/dist/native/bot/ping.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=ping.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/ping.js b/dist/native/bot/ping.js index e1b51682f2..acd0155470 100644 --- a/dist/native/bot/ping.js +++ b/dist/native/bot/ping.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setBotAvatar.js b/dist/native/bot/setBotAvatar.js index a00e18c4b7..22d27385c8 100644 --- a/dist/native/bot/setBotAvatar.js +++ b/dist/native/bot/setBotAvatar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setBotBanner.js b/dist/native/bot/setBotBanner.js index 96afe93afa..fb48568984 100644 --- a/dist/native/bot/setBotBanner.js +++ b/dist/native/bot/setBotBanner.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setBotDescription.js b/dist/native/bot/setBotDescription.js index 633cd8b710..4a7f835ddf 100644 --- a/dist/native/bot/setBotDescription.js +++ b/dist/native/bot/setBotDescription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setBotGuildAvatar.js b/dist/native/bot/setBotGuildAvatar.js index 8cc2b973cd..59fe84bc49 100644 --- a/dist/native/bot/setBotGuildAvatar.js +++ b/dist/native/bot/setBotGuildAvatar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setBotGuildBanner.js b/dist/native/bot/setBotGuildBanner.js index 31729ee320..ad7c027164 100644 --- a/dist/native/bot/setBotGuildBanner.js +++ b/dist/native/bot/setBotGuildBanner.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setBotGuildDescription.js b/dist/native/bot/setBotGuildDescription.js index 3aaa83f62d..2c98911357 100644 --- a/dist/native/bot/setBotGuildDescription.js +++ b/dist/native/bot/setBotGuildDescription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setBotName.js b/dist/native/bot/setBotName.js index d6463e363f..a7d3c2778e 100644 --- a/dist/native/bot/setBotName.js +++ b/dist/native/bot/setBotName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setBotTags.js b/dist/native/bot/setBotTags.js index 6a889b4129..584e3826e0 100644 --- a/dist/native/bot/setBotTags.js +++ b/dist/native/bot/setBotTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/setStatus.js b/dist/native/bot/setStatus.js index cc9123da6c..5a9684bef0 100644 --- a/dist/native/bot/setStatus.js +++ b/dist/native/bot/setStatus.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/bot/shardCount.d.ts b/dist/native/bot/shardCount.d.ts index 8ce2377600..8328a52636 100644 --- a/dist/native/bot/shardCount.d.ts +++ b/dist/native/bot/shardCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=shardCount.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/shardCount.js b/dist/native/bot/shardCount.js index 24012960f3..121e3940eb 100644 --- a/dist/native/bot/shardCount.js +++ b/dist/native/bot/shardCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/shardID.js b/dist/native/bot/shardID.js index 8eaee8602e..91a9a5f9b8 100644 --- a/dist/native/bot/shardID.js +++ b/dist/native/bot/shardID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/shardStatus.js b/dist/native/bot/shardStatus.js index dca2070147..511ee61182 100644 --- a/dist/native/bot/shardStatus.js +++ b/dist/native/bot/shardStatus.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/bot/updateApplicationCommands.d.ts b/dist/native/bot/updateApplicationCommands.d.ts index 00c857c3e4..0a6409e559 100644 --- a/dist/native/bot/updateApplicationCommands.d.ts +++ b/dist/native/bot/updateApplicationCommands.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=updateApplicationCommands.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/updateApplicationCommands.js b/dist/native/bot/updateApplicationCommands.js index 96af36d353..f221c5511c 100644 --- a/dist/native/bot/updateApplicationCommands.js +++ b/dist/native/bot/updateApplicationCommands.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/updateCommands.d.ts b/dist/native/bot/updateCommands.d.ts index 9fe6024cfd..66448b6691 100644 --- a/dist/native/bot/updateCommands.d.ts +++ b/dist/native/bot/updateCommands.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=updateCommands.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/updateCommands.js b/dist/native/bot/updateCommands.js index 78d606e773..0502a264c3 100644 --- a/dist/native/bot/updateCommands.js +++ b/dist/native/bot/updateCommands.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/uptime.d.ts b/dist/native/bot/uptime.d.ts index 3667fdf14d..05e2c8b1e3 100644 --- a/dist/native/bot/uptime.d.ts +++ b/dist/native/bot/uptime.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=uptime.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/uptime.js b/dist/native/bot/uptime.js index da080db7e8..e80c24be53 100644 --- a/dist/native/bot/uptime.js +++ b/dist/native/bot/uptime.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/bot/version.d.ts b/dist/native/bot/version.d.ts index beff09e402..26822c29c9 100644 --- a/dist/native/bot/version.d.ts +++ b/dist/native/bot/version.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/dist/native/bot/version.js b/dist/native/bot/version.js index 79ecf22613..edc0943a13 100644 --- a/dist/native/bot/version.js +++ b/dist/native/bot/version.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferAlloc.js b/dist/native/buffer/bufferAlloc.js index da075cafaf..c2db5b8332 100644 --- a/dist/native/buffer/bufferAlloc.js +++ b/dist/native/buffer/bufferAlloc.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferAllocUnsafe.js b/dist/native/buffer/bufferAllocUnsafe.js index 513d6a5daf..64bbc44e76 100644 --- a/dist/native/buffer/bufferAllocUnsafe.js +++ b/dist/native/buffer/bufferAllocUnsafe.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferLength.js b/dist/native/buffer/bufferLength.js index 0678d6bbe3..a5dd6fe882 100644 --- a/dist/native/buffer/bufferLength.js +++ b/dist/native/buffer/bufferLength.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferReadInt32.js b/dist/native/buffer/bufferReadInt32.js index 8c9638e149..9460f7c924 100644 --- a/dist/native/buffer/bufferReadInt32.js +++ b/dist/native/buffer/bufferReadInt32.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferReadUtf8.js b/dist/native/buffer/bufferReadUtf8.js index 9f23b122b2..1402789a7b 100644 --- a/dist/native/buffer/bufferReadUtf8.js +++ b/dist/native/buffer/bufferReadUtf8.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferResize.js b/dist/native/buffer/bufferResize.js index 2850fa1eef..01758cea85 100644 --- a/dist/native/buffer/bufferResize.js +++ b/dist/native/buffer/bufferResize.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferResize.js.map b/dist/native/buffer/bufferResize.js.map index 47252ecc8e..a6cdf35619 100644 --- a/dist/native/buffer/bufferResize.js.map +++ b/dist/native/buffer/bufferResize.js.map @@ -1 +1 @@ -{"version":3,"file":"bufferResize.js","sourceRoot":"","sources":["../../../src/native/buffer/bufferResize.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kBAAkB;IAC/B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gCAAgC;YAC7C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,MAAM,CAAE;QACzB,MAAM,MAAM,GAAG,GAAG,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;QACvD,IAAI,MAAM,KAAK,IAAI,EAAE;YACjB,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;YAChC,MAAM,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;YAClD,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;SACnC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"bufferResize.js","sourceRoot":"","sources":["../../../src/native/buffer/bufferResize.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kBAAkB;IAC/B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gCAAgC;YAC7C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,MAAM,CAAE;QACzB,MAAM,MAAM,GAAG,GAAG,CAAC,sBAAsB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;QACvD,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;YAClB,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;YAChC,MAAM,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;YAClD,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;QACpC,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/buffer/bufferToString.js b/dist/native/buffer/bufferToString.js index bc9c85e9af..b8a4e1b7f7 100644 --- a/dist/native/buffer/bufferToString.js +++ b/dist/native/buffer/bufferToString.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferWriteInt32.js b/dist/native/buffer/bufferWriteInt32.js index e2fde17a20..b0abd3a7a8 100644 --- a/dist/native/buffer/bufferWriteInt32.js +++ b/dist/native/buffer/bufferWriteInt32.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/buffer/bufferWriteUtf8.js b/dist/native/buffer/bufferWriteUtf8.js index 178c916683..aeb26f1401 100644 --- a/dist/native/buffer/bufferWriteUtf8.js +++ b/dist/native/buffer/bufferWriteUtf8.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/addChannelPerms.d.ts b/dist/native/channel/addChannelPerms.d.ts index c22c4543fa..e2dd4ced96 100644 --- a/dist/native/channel/addChannelPerms.d.ts +++ b/dist/native/channel/addChannelPerms.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; }, { name: string; description: string; @@ -68,6 +68,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/channel/addChannelPerms.d.ts.map b/dist/native/channel/addChannelPerms.d.ts.map index c7253dd73d..bc17f13ca2 100644 --- a/dist/native/channel/addChannelPerms.d.ts.map +++ b/dist/native/channel/addChannelPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addChannelPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/addChannelPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAwD,MAAM,YAAY,CAAA;AAC9F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAe3C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAblC,wBAyCE"} \ No newline at end of file +{"version":3,"file":"addChannelPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/addChannelPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAwD,MAAM,YAAY,CAAA;AAC9F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAe3C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAblC,wBAyCE"} \ No newline at end of file diff --git a/dist/native/channel/addChannelPerms.js b/dist/native/channel/addChannelPerms.js index 83ad732691..a797ad0494 100644 --- a/dist/native/channel/addChannelPerms.js +++ b/dist/native/channel/addChannelPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/addPermissionOverwrite.d.ts b/dist/native/channel/addPermissionOverwrite.d.ts new file mode 100644 index 0000000000..9b490ba4b0 --- /dev/null +++ b/dist/native/channel/addPermissionOverwrite.d.ts @@ -0,0 +1,73 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + type: ArgType.RoleOrUser; + rest: false; + required: true; + pointer: number; + pointerProperty: string; +}, { + name: string; + description: string; + type: ArgType.OverwritePermission; + rest: true; + required: true; + enum: { + readonly CreateInstantInvite: bigint; + readonly KickMembers: bigint; + readonly BanMembers: bigint; + readonly Administrator: bigint; + readonly ManageChannels: bigint; + readonly ManageGuild: bigint; + readonly AddReactions: bigint; + readonly ViewAuditLog: bigint; + readonly PrioritySpeaker: bigint; + readonly Stream: bigint; + readonly ViewChannel: bigint; + readonly SendMessages: bigint; + readonly SendTTSMessages: bigint; + readonly ManageMessages: bigint; + readonly EmbedLinks: bigint; + readonly AttachFiles: bigint; + readonly ReadMessageHistory: bigint; + readonly MentionEveryone: bigint; + readonly UseExternalEmojis: bigint; + readonly ViewGuildInsights: bigint; + readonly Connect: bigint; + readonly Speak: bigint; + readonly MuteMembers: bigint; + readonly DeafenMembers: bigint; + readonly MoveMembers: bigint; + readonly UseVAD: bigint; + readonly ChangeNickname: bigint; + readonly ManageNicknames: bigint; + readonly ManageRoles: bigint; + readonly ManageWebhooks: bigint; + readonly ManageEmojisAndStickers: bigint; + readonly ManageGuildExpressions: bigint; + readonly UseApplicationCommands: bigint; + readonly RequestToSpeak: bigint; + readonly ManageEvents: bigint; + readonly ManageThreads: bigint; + readonly CreatePublicThreads: bigint; + readonly CreatePrivateThreads: bigint; + readonly UseExternalStickers: bigint; + readonly SendMessagesInThreads: bigint; + readonly UseEmbeddedActivities: bigint; + readonly ModerateMembers: bigint; + readonly ViewCreatorMonetizationAnalytics: bigint; + readonly UseSoundboard: bigint; + readonly CreateGuildExpressions: bigint; + readonly CreateEvents: bigint; + readonly UseExternalSounds: bigint; + readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; + readonly SendPolls: bigint; + readonly UseExternalApps: bigint; + readonly PinMessages: bigint; + readonly BypassSlowmode: bigint; + }; +}], true>; +export default _default; +//# sourceMappingURL=addPermissionOverwrite.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/addPermissionOverwrite.d.ts.map b/dist/native/channel/addPermissionOverwrite.d.ts.map new file mode 100644 index 0000000000..f0413b9dd8 --- /dev/null +++ b/dist/native/channel/addPermissionOverwrite.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"addPermissionOverwrite.d.ts","sourceRoot":"","sources":["../../../src/native/channel/addPermissionOverwrite.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/channel/addPermissionOverwrite.js b/dist/native/channel/addPermissionOverwrite.js new file mode 100644 index 0000000000..d723fe3032 --- /dev/null +++ b/dist/native/channel/addPermissionOverwrite.js @@ -0,0 +1,42 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); +const structures_1 = require("../../structures"); +const overwritePermissions_1 = require("../../functions/overwritePermissions"); +exports.default = new structures_1.NativeFunction({ + name: "$addPermissionOverwrite", + version: "2.7.0", + description: "Adds a new permission overwrite to the channel", + unwrap: true, + brackets: true, + args: [ + { + name: "roleOrUser", + description: "The role or member to set perms for", + type: structures_1.ArgType.RoleOrUser, + rest: false, + required: true, + pointer: 0, + pointerProperty: "guild" + }, + { + name: "perms", + description: "The permissions to allow or disallow, (+,-)Perm", + type: structures_1.ArgType.OverwritePermission, + rest: true, + required: true, + enum: discord_js_1.PermissionFlagsBits + } + ], + async execute(ctx, [roleOrUser, raw]) { + const obj = (0, overwritePermissions_1.overwritePermissionsToOverwriteData)(roleOrUser.id, raw); + ctx.permissionOverwrites ??= []; + ctx.permissionOverwrites.push(obj); + return this.success(); + }, +}); +//# sourceMappingURL=addPermissionOverwrite.js.map \ No newline at end of file diff --git a/dist/native/channel/addPermissionOverwrite.js.map b/dist/native/channel/addPermissionOverwrite.js.map new file mode 100644 index 0000000000..6a17c694be --- /dev/null +++ b/dist/native/channel/addPermissionOverwrite.js.map @@ -0,0 +1 @@ +{"version":3,"file":"addPermissionOverwrite.js","sourceRoot":"","sources":["../../../src/native/channel/addPermissionOverwrite.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAgD;AAChD,iDAA0D;AAC1D,+EAA0F;AAE1F,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,UAAU;YACxB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,eAAe,EAAE,OAAO;SAC3B;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,oBAAO,CAAC,mBAAmB;YACjC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,gCAAmB;SAC5B;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,UAAU,EAAE,GAAG,CAAC;QAChC,MAAM,GAAG,GAAG,IAAA,0DAAmC,EAAC,UAAU,CAAC,EAAE,EAAE,GAAG,CAAC,CAAA;QACnE,GAAG,CAAC,oBAAoB,KAAK,EAAE,CAAA;QAC/B,GAAG,CAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAClC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/addPostTags.d.ts b/dist/native/channel/addPostTags.d.ts index 1cac746102..f1e7423f07 100644 --- a/dist/native/channel/addPostTags.d.ts +++ b/dist/native/channel/addPostTags.d.ts @@ -5,7 +5,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; description: string; }, { name: string; diff --git a/dist/native/channel/addPostTags.js b/dist/native/channel/addPostTags.js index 646a3ece02..b30fe1a8a4 100644 --- a/dist/native/channel/addPostTags.js +++ b/dist/native/channel/addPostTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/addThreadMember.d.ts b/dist/native/channel/addThreadMember.d.ts index 5917c9c5fd..810b037a4e 100644 --- a/dist/native/channel/addThreadMember.d.ts +++ b/dist/native/channel/addThreadMember.d.ts @@ -12,7 +12,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; pointer: number; diff --git a/dist/native/channel/addThreadMember.js b/dist/native/channel/addThreadMember.js index 04762abe0c..bcd8eb16de 100644 --- a/dist/native/channel/addThreadMember.js +++ b/dist/native/channel/addThreadMember.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/archiveThread.d.ts b/dist/native/channel/archiveThread.d.ts index 3fea9b4028..9d1ed484d0 100644 --- a/dist/native/channel/archiveThread.d.ts +++ b/dist/native/channel/archiveThread.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; description: string; diff --git a/dist/native/channel/archiveThread.js b/dist/native/channel/archiveThread.js index 41d410c5a5..e5076d18ce 100644 --- a/dist/native/channel/archiveThread.js +++ b/dist/native/channel/archiveThread.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelBitrate.js b/dist/native/channel/channelBitrate.js index f304e01e48..3790c23b89 100644 --- a/dist/native/channel/channelBitrate.js +++ b/dist/native/channel/channelBitrate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelCategoryID.js b/dist/native/channel/channelCategoryID.js index a80bf64b36..23ccd69431 100644 --- a/dist/native/channel/channelCategoryID.js +++ b/dist/native/channel/channelCategoryID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelChildrenCount.js b/dist/native/channel/channelChildrenCount.js index 2e052b9eb8..d579268cf7 100644 --- a/dist/native/channel/channelChildrenCount.js +++ b/dist/native/channel/channelChildrenCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/channelChildrenIDs.js b/dist/native/channel/channelChildrenIDs.js index 8ea49f0d63..efc2183893 100644 --- a/dist/native/channel/channelChildrenIDs.js +++ b/dist/native/channel/channelChildrenIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelCount.js b/dist/native/channel/channelCount.js index c712ff4200..2653b4d54c 100644 --- a/dist/native/channel/channelCount.js +++ b/dist/native/channel/channelCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/channelCreatedAt.js b/dist/native/channel/channelCreatedAt.js index 77ee682aca..8ad31d5d1f 100644 --- a/dist/native/channel/channelCreatedAt.js +++ b/dist/native/channel/channelCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelDeletable.js b/dist/native/channel/channelDeletable.js index c8396c277c..bd50fa1f29 100644 --- a/dist/native/channel/channelDeletable.js +++ b/dist/native/channel/channelDeletable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelExists.js b/dist/native/channel/channelExists.js index 5b64cb809a..0a742e81ac 100644 --- a/dist/native/channel/channelExists.js +++ b/dist/native/channel/channelExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelFlags.js b/dist/native/channel/channelFlags.js index 4510f5eb78..16656f2a5d 100644 --- a/dist/native/channel/channelFlags.js +++ b/dist/native/channel/channelFlags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelFull.js b/dist/native/channel/channelFull.js index b75342805b..78cb791958 100644 --- a/dist/native/channel/channelFull.js +++ b/dist/native/channel/channelFull.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelGuildID.js b/dist/native/channel/channelGuildID.js index 0ad3511713..389f0e2e09 100644 --- a/dist/native/channel/channelGuildID.js +++ b/dist/native/channel/channelGuildID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelHasAnyPerms.d.ts b/dist/native/channel/channelHasAnyPerms.d.ts index 65bee2f961..c09972e248 100644 --- a/dist/native/channel/channelHasAnyPerms.d.ts +++ b/dist/native/channel/channelHasAnyPerms.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionsFor", unknown>; }, { name: string; description: string; @@ -68,6 +68,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/channel/channelHasAnyPerms.d.ts.map b/dist/native/channel/channelHasAnyPerms.d.ts.map index 5c2a3436aa..43473a5db1 100644 --- a/dist/native/channel/channelHasAnyPerms.d.ts.map +++ b/dist/native/channel/channelHasAnyPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"channelHasAnyPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/channelHasAnyPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAA8C,MAAM,YAAY,CAAA;AACpF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAmBnC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhBlC,wBAsCE"} \ No newline at end of file +{"version":3,"file":"channelHasAnyPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/channelHasAnyPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAA8C,MAAM,YAAY,CAAA;AACpF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAmBnC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhBlC,wBAsCE"} \ No newline at end of file diff --git a/dist/native/channel/channelHasAnyPerms.js b/dist/native/channel/channelHasAnyPerms.js index 8181fb8f67..fe7f48f7fc 100644 --- a/dist/native/channel/channelHasAnyPerms.js +++ b/dist/native/channel/channelHasAnyPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/channelHasPerms.d.ts b/dist/native/channel/channelHasPerms.d.ts index a26a96da72..6e1cfc9bf7 100644 --- a/dist/native/channel/channelHasPerms.d.ts +++ b/dist/native/channel/channelHasPerms.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionsFor", unknown>; }, { name: string; description: string; @@ -68,6 +68,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/channel/channelHasPerms.d.ts.map b/dist/native/channel/channelHasPerms.d.ts.map index df71af5236..acee23cd41 100644 --- a/dist/native/channel/channelHasPerms.d.ts.map +++ b/dist/native/channel/channelHasPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"channelHasPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/channelHasPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAA8C,MAAM,YAAY,CAAA;AACpF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAoBnC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjBlC,wBAuCE"} \ No newline at end of file +{"version":3,"file":"channelHasPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/channelHasPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAA8C,MAAM,YAAY,CAAA;AACpF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAoBnC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjBlC,wBAuCE"} \ No newline at end of file diff --git a/dist/native/channel/channelHasPerms.js b/dist/native/channel/channelHasPerms.js index 8157e82134..e3e17c40c0 100644 --- a/dist/native/channel/channelHasPerms.js +++ b/dist/native/channel/channelHasPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/channelID.js b/dist/native/channel/channelID.js index 4746ad628b..7282f855ab 100644 --- a/dist/native/channel/channelID.js +++ b/dist/native/channel/channelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelIDs.js b/dist/native/channel/channelIDs.js index 2e6593474e..6716d34c08 100644 --- a/dist/native/channel/channelIDs.js +++ b/dist/native/channel/channelIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelIsChildrenOf.js b/dist/native/channel/channelIsChildrenOf.js index a23b6328e1..e314cd6373 100644 --- a/dist/native/channel/channelIsChildrenOf.js +++ b/dist/native/channel/channelIsChildrenOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/channelJoinable.js b/dist/native/channel/channelJoinable.js index 0b8043fb2f..284b3a296f 100644 --- a/dist/native/channel/channelJoinable.js +++ b/dist/native/channel/channelJoinable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelManageable.js b/dist/native/channel/channelManageable.js index 1bce246336..0df9b34792 100644 --- a/dist/native/channel/channelManageable.js +++ b/dist/native/channel/channelManageable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelMembers.js b/dist/native/channel/channelMembers.js index 6710c4ac98..346b08d818 100644 --- a/dist/native/channel/channelMembers.js +++ b/dist/native/channel/channelMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelNSFW.js b/dist/native/channel/channelNSFW.js index bfef45e4e2..557018a6fc 100644 --- a/dist/native/channel/channelNSFW.js +++ b/dist/native/channel/channelNSFW.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelName.js b/dist/native/channel/channelName.js index 892d1e61ab..6e3d3297b9 100644 --- a/dist/native/channel/channelName.js +++ b/dist/native/channel/channelName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelNames.js b/dist/native/channel/channelNames.js index 82cb66f0fe..ae6739ce87 100644 --- a/dist/native/channel/channelNames.js +++ b/dist/native/channel/channelNames.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelPermissions.d.ts b/dist/native/channel/channelPermissions.d.ts index f14666ee01..5c5401269f 100644 --- a/dist/native/channel/channelPermissions.d.ts +++ b/dist/native/channel/channelPermissions.d.ts @@ -7,7 +7,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/channelPermissions.js b/dist/native/channel/channelPermissions.js index e567c420ee..63194f2ccc 100644 --- a/dist/native/channel/channelPermissions.js +++ b/dist/native/channel/channelPermissions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelPermissionsFor.d.ts b/dist/native/channel/channelPermissionsFor.d.ts index e8011c8cc9..9c2a7e3be4 100644 --- a/dist/native/channel/channelPermissionsFor.d.ts +++ b/dist/native/channel/channelPermissionsFor.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionsFor", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/channelPermissionsFor.js b/dist/native/channel/channelPermissionsFor.js index 17c6128e35..47978e941a 100644 --- a/dist/native/channel/channelPermissionsFor.js +++ b/dist/native/channel/channelPermissionsFor.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelPermissionsOf.d.ts b/dist/native/channel/channelPermissionsOf.d.ts index 0c22d1101d..1e2f163347 100644 --- a/dist/native/channel/channelPermissionsOf.d.ts +++ b/dist/native/channel/channelPermissionsOf.d.ts @@ -10,7 +10,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/channelPermissionsOf.js b/dist/native/channel/channelPermissionsOf.js index b18a745ffd..549e208224 100644 --- a/dist/native/channel/channelPermissionsOf.js +++ b/dist/native/channel/channelPermissionsOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelPinnedMessages.d.ts b/dist/native/channel/channelPinnedMessages.d.ts index e5e2abedb4..5fb6484fdd 100644 --- a/dist/native/channel/channelPinnedMessages.d.ts +++ b/dist/native/channel/channelPinnedMessages.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"messages", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/channelPinnedMessages.js b/dist/native/channel/channelPinnedMessages.js index 34278502fe..51502658b3 100644 --- a/dist/native/channel/channelPinnedMessages.js +++ b/dist/native/channel/channelPinnedMessages.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelPosition.js b/dist/native/channel/channelPosition.js index 798b1faef2..a58eb60e04 100644 --- a/dist/native/channel/channelPosition.js +++ b/dist/native/channel/channelPosition.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelRawData.js b/dist/native/channel/channelRawData.js index bf1e186c92..2343ca155e 100644 --- a/dist/native/channel/channelRawData.js +++ b/dist/native/channel/channelRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelSlowmode.d.ts b/dist/native/channel/channelSlowmode.d.ts index d5838fefc7..dc0db2abf2 100644 --- a/dist/native/channel/channelSlowmode.d.ts +++ b/dist/native/channel/channelSlowmode.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"rateLimitPerUser", unknown>; }], true>; export default _default; //# sourceMappingURL=channelSlowmode.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/channelSlowmode.js b/dist/native/channel/channelSlowmode.js index da26e4882f..4b7e1215c9 100644 --- a/dist/native/channel/channelSlowmode.js +++ b/dist/native/channel/channelSlowmode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelTags.d.ts b/dist/native/channel/channelTags.d.ts index d4a13943cf..dc689186bb 100644 --- a/dist/native/channel/channelTags.d.ts +++ b/dist/native/channel/channelTags.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; description: string; diff --git a/dist/native/channel/channelTags.js b/dist/native/channel/channelTags.js index d226400578..3216c1fa12 100644 --- a/dist/native/channel/channelTags.js +++ b/dist/native/channel/channelTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelThreadIDs.d.ts b/dist/native/channel/channelThreadIDs.d.ts index a9f759c45c..052add34b9 100644 --- a/dist/native/channel/channelThreadIDs.d.ts +++ b/dist/native/channel/channelThreadIDs.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; type: ArgType.Channel; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"threads", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/channelThreadIDs.js b/dist/native/channel/channelThreadIDs.js index ca01575ba4..b962b1270a 100644 --- a/dist/native/channel/channelThreadIDs.js +++ b/dist/native/channel/channelThreadIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelTopic.js b/dist/native/channel/channelTopic.js index 6e0b6592ed..f65dfd991a 100644 --- a/dist/native/channel/channelTopic.js +++ b/dist/native/channel/channelTopic.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelType.js b/dist/native/channel/channelType.js index f0b4a86043..903e254160 100644 --- a/dist/native/channel/channelType.js +++ b/dist/native/channel/channelType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/channelURL.js b/dist/native/channel/channelURL.js index 02e935642f..1736101e5f 100644 --- a/dist/native/channel/channelURL.js +++ b/dist/native/channel/channelURL.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelUserLimit.js b/dist/native/channel/channelUserLimit.js index 14663d3f0a..9ada7cc96a 100644 --- a/dist/native/channel/channelUserLimit.js +++ b/dist/native/channel/channelUserLimit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelVoiceMemberCount.js b/dist/native/channel/channelVoiceMemberCount.js index 83c35735c6..e2250a5f0d 100644 --- a/dist/native/channel/channelVoiceMemberCount.js +++ b/dist/native/channel/channelVoiceMemberCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelVoiceMemberIDs.js b/dist/native/channel/channelVoiceMemberIDs.js index c3af212122..d4fbfc0854 100644 --- a/dist/native/channel/channelVoiceMemberIDs.js +++ b/dist/native/channel/channelVoiceMemberIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/channelVoiceRegion.d.ts b/dist/native/channel/channelVoiceRegion.d.ts index 3441a1eb53..1ce0761bac 100644 --- a/dist/native/channel/channelVoiceRegion.d.ts +++ b/dist/native/channel/channelVoiceRegion.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").VoiceBasedChannel; }], true>; export default _default; //# sourceMappingURL=channelVoiceRegion.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/channelVoiceRegion.js b/dist/native/channel/channelVoiceRegion.js index 67a41472b9..c433c26acd 100644 --- a/dist/native/channel/channelVoiceRegion.js +++ b/dist/native/channel/channelVoiceRegion.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/channelWebhooks.d.ts b/dist/native/channel/channelWebhooks.d.ts index 27ede40338..e9aeb15b74 100644 --- a/dist/native/channel/channelWebhooks.d.ts +++ b/dist/native/channel/channelWebhooks.d.ts @@ -7,7 +7,7 @@ declare const _default: NativeFunction<[{ rest: false; type: ArgType.Channel; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/channel/channelWebhooks.js b/dist/native/channel/channelWebhooks.js index 6fd7cce4fb..fb7582234b 100644 --- a/dist/native/channel/channelWebhooks.js +++ b/dist/native/channel/channelWebhooks.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/clearChannelPerms.d.ts b/dist/native/channel/clearChannelPerms.d.ts index 9ad318f14f..74276e8012 100644 --- a/dist/native/channel/clearChannelPerms.d.ts +++ b/dist/native/channel/clearChannelPerms.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/clearChannelPerms.js b/dist/native/channel/clearChannelPerms.js index 108efb4616..22dd3f3330 100644 --- a/dist/native/channel/clearChannelPerms.js +++ b/dist/native/channel/clearChannelPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/clearChannelPerms.js.map b/dist/native/channel/clearChannelPerms.js.map index 0a0ba1d1bf..5510082cf9 100644 --- a/dist/native/channel/clearChannelPerms.js.map +++ b/dist/native/channel/clearChannelPerms.js.map @@ -1 +1 @@ -{"version":3,"file":"clearChannelPerms.js","sourceRoot":"","sources":["../../../src/native/channel/clearChannelPerms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AAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/clearMessages.d.ts b/dist/native/channel/clearMessages.d.ts index 635855f591..33dc2f63de 100644 --- a/dist/native/channel/clearMessages.d.ts +++ b/dist/native/channel/clearMessages.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; rest: false; type: ArgType.Channel; - check: (x: BaseChannel) => boolean; + check: (x: BaseChannel) => x is BaseChannel & Record<"messages", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/clearMessages.js b/dist/native/channel/clearMessages.js index dd625d6691..33b660e986 100644 --- a/dist/native/channel/clearMessages.js +++ b/dist/native/channel/clearMessages.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/clearMessages.js.map b/dist/native/channel/clearMessages.js.map index a493c58be6..26b2ea0c58 100644 --- a/dist/native/channel/clearMessages.js.map +++ b/dist/native/channel/clearMessages.js.map @@ -1 +1 @@ -{"version":3,"file":"clearMessages.js","sourceRoot":"","sources":["../../../src/native/channel/clearMessages.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,8EAAqD;AAGrD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oFAAoF;IACjG,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,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CAAA;YAEtB,IAAI,GAAG;gBAAE,KAAK,IAAI,GAAG,CAAC,IAAI,CAAA;SAC7B;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"clearMessages.js","sourceRoot":"","sources":["../../../src/native/channel/clearMessages.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,8EAAqD;AAGrD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oFAAoF;IACjG,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC;QAC9C,IAAI,KAAK,GAAG,CAAC,CAAA;QAEb,KAAK,MAAM,CAAC,IAAI,IAAA,qBAAW,EAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;YACvC,MAAM,QAAQ,GAAG,MAAO,OAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC5F,IAAI,CAAC,QAAQ;gBAAE,MAAK;YAEpB,MAAM,GAAG,GAAG,MAAO,OAAuB;iBACrC,UAAU,CACP,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;gBAClB,IAAI,MAAM,KAAK,KAAK,IAAI,GAAG,CAAC,MAAM;oBAAE,OAAO,KAAK,CAAA;gBAChD,IAAI,IAAI,KAAK,KAAK,IAAI,GAAG,CAAC,MAAM,CAAC,GAAG;oBAAE,OAAO,KAAK,CAAA;gBAClD,OAAO,IAAI,CAAA;YACf,CAAC,CAAC,EACF,IAAI,CACP;iBACA,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;YAEtB,IAAI,GAAG;gBAAE,KAAK,IAAI,GAAG,CAAC,IAAI,CAAA;QAC9B,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/clearUserMessages.d.ts b/dist/native/channel/clearUserMessages.d.ts index 23af66e707..62aaac6883 100644 --- a/dist/native/channel/clearUserMessages.d.ts +++ b/dist/native/channel/clearUserMessages.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; rest: false; type: ArgType.Channel; - check: (x: BaseChannel) => boolean; + check: (x: BaseChannel) => x is BaseChannel & Record<"messages", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/clearUserMessages.js b/dist/native/channel/clearUserMessages.js index b725f2273d..9984ad26cd 100644 --- a/dist/native/channel/clearUserMessages.js +++ b/dist/native/channel/clearUserMessages.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/clearUserMessages.js.map b/dist/native/channel/clearUserMessages.js.map index 96318d9109..45e947d41e 100644 --- a/dist/native/channel/clearUserMessages.js.map +++ b/dist/native/channel/clearUserMessages.js.map @@ -1 +1 @@ -{"version":3,"file":"clearUserMessages.js","sourceRoot":"","sources":["../../../src/native/channel/clearUserMessages.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,8EAAqD;AAGrD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kGAAkG;IAC/G,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;QAC9C,IAAI,KAAK,GAAG,CAAC,CAAA;QAEb,KAAK,MAAM,CAAC,IAAI,IAAA,qBAAW,EAAC,MAAM,EAAE,GAAG,CAAC,EAAE;YACtC,MAAM,QAAQ,GAAG,MAAO,OAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC5F,IAAI,CAAC,QAAQ;gBAAE,MAAK;YAEpB,MAAM,GAAG,GAAG,MAAO,OAAuB;iBACrC,UAAU,CACP,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;gBAClB,IAAI,MAAM,KAAK,KAAK,IAAI,GAAG,CAAC,MAAM;oBAAE,OAAO,KAAK,CAAA;gBAChD,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,CAAA;YACxC,CAAC,CAAC,EACF,IAAI,CACP;iBACA,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;YAEtB,IAAI,CAAC,GAAG;gBAAE,MAAK;YAEf,KAAK,IAAI,GAAG,CAAC,IAAI,CAAA;SACpB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"clearUserMessages.js","sourceRoot":"","sources":["../../../src/native/channel/clearUserMessages.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,8EAAqD;AAGrD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAA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GAAG,MAAO,OAAuB;iBACrC,UAAU,CACP,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;gBAClB,IAAI,MAAM,KAAK,KAAK,IAAI,GAAG,CAAC,MAAM;oBAAE,OAAO,KAAK,CAAA;gBAChD,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,CAAA;YACxC,CAAC,CAAC,EACF,IAAI,CACP;iBACA,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;YAEtB,IAAI,CAAC,GAAG;gBAAE,MAAK;YAEf,KAAK,IAAI,GAAG,CAAC,IAAI,CAAA;QACrB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/cloneChannel.d.ts b/dist/native/channel/cloneChannel.d.ts index 5e96560cb3..ce29a2bae6 100644 --- a/dist/native/channel/cloneChannel.d.ts +++ b/dist/native/channel/cloneChannel.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ type: ArgType.Channel; rest: false; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"clone", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/cloneChannel.js b/dist/native/channel/cloneChannel.js index d2264d04b8..47bbf178df 100644 --- a/dist/native/channel/cloneChannel.js +++ b/dist/native/channel/cloneChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/cloneChannelPerms.d.ts b/dist/native/channel/cloneChannelPerms.d.ts index 3a5d6b0231..1e2b993f20 100644 --- a/dist/native/channel/cloneChannelPerms.d.ts +++ b/dist/native/channel/cloneChannelPerms.d.ts @@ -6,14 +6,14 @@ declare const _default: NativeFunction<[{ type: ArgType.Channel; rest: false; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; }, { name: string; description: string; type: ArgType.Channel; rest: false; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; }], true>; export default _default; //# sourceMappingURL=cloneChannelPerms.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/cloneChannelPerms.js b/dist/native/channel/cloneChannelPerms.js index 25ef5c41a7..e59d54ec6b 100644 --- a/dist/native/channel/cloneChannelPerms.js +++ b/dist/native/channel/cloneChannelPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/createChannel.d.ts.map b/dist/native/channel/createChannel.d.ts.map index 9b96719b3a..e2f4da33af 100644 --- a/dist/native/channel/createChannel.d.ts.map +++ b/dist/native/channel/createChannel.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createChannel.d.ts","sourceRoot":"","sources":["../../../src/native/channel/createChannel.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAmB,WAAW,EAA6B,MAAM,YAAY,CAAA;AACjG,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA2C3C,WAAW;;;AAzClC,wBAyDE"} \ No newline at end of file +{"version":3,"file":"createChannel.d.ts","sourceRoot":"","sources":["../../../src/native/channel/createChannel.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAmB,WAAW,EAA6B,MAAM,YAAY,CAAA;AACjG,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA2CnC,WAAW;;;AAzClC,wBA0DE"} \ No newline at end of file diff --git a/dist/native/channel/createChannel.js b/dist/native/channel/createChannel.js index dcb2af5cb4..9e23437c84 100644 --- a/dist/native/channel/createChannel.js +++ b/dist/native/channel/createChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -58,6 +58,7 @@ exports.default = new structures_1.NativeFunction({ name, topic: topic || undefined, parent: parent, + permissionOverwrites: ctx.permissionOverwrites, reason: ctx.reason }) .catch(ctx.noop); diff --git a/dist/native/channel/createChannel.js.map b/dist/native/channel/createChannel.js.map index 4e038d0dcd..8edd9e9133 100644 --- a/dist/native/channel/createChannel.js.map +++ b/dist/native/channel/createChannel.js.map @@ -1 +1 @@ -{"version":3,"file":"createChannel.js","sourceRoot":"","sources":["../../../src/native/channel/createChannel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAiG;AACjG,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,wBAAW;YACjB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,wBAAW,CAAC,aAAa;YAC/D,OAAO,EAAE,CAAC;SACb;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,CAAC;QACjD,MAAM,EAAE,GAAG,MAAM,KAAK,CAAC,QAAQ;aAC1B,MAAM,CAAC;YACJ,IAAI,EAAE,IAAyC;YAC/C,IAAI;YACJ,KAAK,EAAE,KAAK,IAAI,SAAS;YACzB,MAAM,EAAE,MAAyB;YACjC,MAAM,EAAE,GAAG,CAAC,MAAM;SACrB,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC/C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"createChannel.js","sourceRoot":"","sources":["../../../src/native/channel/createChannel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAiG;AACjG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AI,EAAE,IAAyC;YAC/C,IAAI;YACJ,KAAK,EAAE,KAAK,IAAI,SAAS;YACzB,MAAM,EAAE,MAAyB;YACjC,oBAAoB,EAAE,GAAG,CAAC,oBAAoB;YAC9C,MAAM,EAAE,GAAG,CAAC,MAAM;SACrB,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC/C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/createForumPost.d.ts b/dist/native/channel/createForumPost.d.ts index d66173e9cd..a228223685 100644 --- a/dist/native/channel/createForumPost.d.ts +++ b/dist/native/channel/createForumPost.d.ts @@ -1,11 +1,11 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; description: string; }, { name: string; diff --git a/dist/native/channel/createForumPost.d.ts.map b/dist/native/channel/createForumPost.d.ts.map index af10a7497e..766a2f77a1 100644 --- a/dist/native/channel/createForumPost.d.ts.map +++ b/dist/native/channel/createForumPost.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createForumPost.d.ts","sourceRoot":"","sources":["../../../src/native/channel/createForumPost.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAc3C,WAAW;;;;;;;;;;;;;;;;;;;AAZlC,wBAsDE"} \ No newline at end of file +{"version":3,"file":"createForumPost.d.ts","sourceRoot":"","sources":["../../../src/native/channel/createForumPost.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAc3C,WAAW;;;;;;;;;;;;;;;;;;;AAZlC,wBAsDE"} \ No newline at end of file diff --git a/dist/native/channel/createForumPost.js b/dist/native/channel/createForumPost.js index aa6864d59b..74ba5cb139 100644 --- a/dist/native/channel/createForumPost.js +++ b/dist/native/channel/createForumPost.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/createForumTag.d.ts b/dist/native/channel/createForumTag.d.ts index 3aff659d71..44153041cb 100644 --- a/dist/native/channel/createForumTag.d.ts +++ b/dist/native/channel/createForumTag.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; }, { name: string; description: string; diff --git a/dist/native/channel/createForumTag.d.ts.map b/dist/native/channel/createForumTag.d.ts.map index 4904eec851..a77a2c2d97 100644 --- a/dist/native/channel/createForumTag.d.ts.map +++ b/dist/native/channel/createForumTag.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"createForumTag.d.ts","sourceRoot":"","sources":["../../../src/native/channel/createForumTag.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAwC,MAAM,YAAY,CAAA;AAC9E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;;;;;;;;;;AAblC,wBA+CE"} \ No newline at end of file +{"version":3,"file":"createForumTag.d.ts","sourceRoot":"","sources":["../../../src/native/channel/createForumTag.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC9E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAgBnC,WAAW;;;;;;;;;;;;;;;;;;AAblC,wBA+CE"} \ No newline at end of file diff --git a/dist/native/channel/createForumTag.js b/dist/native/channel/createForumTag.js index aae0dbd490..2c61305978 100644 --- a/dist/native/channel/createForumTag.js +++ b/dist/native/channel/createForumTag.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/createForumTag.js.map b/dist/native/channel/createForumTag.js.map index 555d64ad3c..234bef1f98 100644 --- a/dist/native/channel/createForumTag.js.map +++ b/dist/native/channel/createForumTag.js.map @@ -1 +1 @@ -{"version":3,"file":"createForumTag.js","sourceRoot":"","sources":["../../../src/native/channel/createForumTag.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAClE,uEAAmE;AAEnE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,EAAE;SAC9C;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,QAAQ;IACxB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,CAAE;QAC5C,MAAM,KAAK,GAAG,OAA4B,CAAA;QAE1C,MAAM,GAAG,GAAG;YACR,IAAI;YACJ,KAAK,EAAE,IAAA,mCAAgB,EAAC,GAAG,EAAE,KAAK,CAAC;YACnC,SAAS,EAAE,GAAG,IAAI,SAAS;SACT,CAAA;QAEtB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK,CAAC,gBAAgB,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IAChI,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"createForumTag.js","sourceRoot":"","sources":["../../../src/native/channel/createForumTag.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAC1D,uEAAmE;AAEnE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IAC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a,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IAChI,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/createInvite.d.ts b/dist/native/channel/createInvite.d.ts index 90f3b3ef83..7078202479 100644 --- a/dist/native/channel/createInvite.d.ts +++ b/dist/native/channel/createInvite.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"createInvite", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/createInvite.js b/dist/native/channel/createInvite.js index a35e95c18c..431a051561 100644 --- a/dist/native/channel/createInvite.js +++ b/dist/native/channel/createInvite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -19,7 +19,7 @@ exports.default = new structures_1.NativeFunction({ rest: false, required: true, type: structures_1.ArgType.Channel, - check: (i) => !i.isDMBased(), + check: (i) => "createInvite" in i, }, { name: "max uses", diff --git a/dist/native/channel/createInvite.js.map b/dist/native/channel/createInvite.js.map index 8b795c3026..c537f80183 100644 --- a/dist/native/channel/createInvite.js.map +++ b/dist/native/channel/createInvite.js.map @@ -1 +1 @@ -{"version":3,"file":"createInvite.js","sourceRoot":"","sources":["../../../src/native/channel/createInvite.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,4CAA4C;IACzD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF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line at end of file +{"version":3,"file":"createInvite.js","sourceRoot":"","sources":["../../../src/native/channel/createInvite.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,4CAA4C;IACzD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,cAAc,IAAI,CAAC;SACjD;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;QAC5C,MAAM,OAAO,GAAG,CAAC,EAAE,IAAI,GAAG,CAAC,OAAO,CAAgB,CAAA;QAClD,MAAM,MAAM,GAAG,MAAM,OAAO;aACvB,YAAY,CAAC;YACV,MAAM,EAAE,MAAM,IAAI,GAAG,CAAC,MAAM;YAC5B,OAAO,EAAE,OAAO,IAAI,SAAS;YAC7B,MAAM,EAAE,OAAM,CAAC,MAAM,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;YACxD,MAAM,EAAE,IAAI;SACf,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACzD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/createStageInstance.js b/dist/native/channel/createStageInstance.js index be5c608954..27e5eda137 100644 --- a/dist/native/channel/createStageInstance.js +++ b/dist/native/channel/createStageInstance.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/createThread.d.ts b/dist/native/channel/createThread.d.ts index 0cbd00d4bd..b971269055 100644 --- a/dist/native/channel/createThread.d.ts +++ b/dist/native/channel/createThread.d.ts @@ -5,7 +5,7 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"threads", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/createThread.js b/dist/native/channel/createThread.js index a5c58a13c2..3fee4a62ca 100644 --- a/dist/native/channel/createThread.js +++ b/dist/native/channel/createThread.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/deleteChannelPerms.d.ts b/dist/native/channel/deleteChannelPerms.d.ts index e629319fa6..2f57ecfda5 100644 --- a/dist/native/channel/deleteChannelPerms.d.ts +++ b/dist/native/channel/deleteChannelPerms.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; }, { name: string; description: string; @@ -68,6 +68,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/channel/deleteChannelPerms.d.ts.map b/dist/native/channel/deleteChannelPerms.d.ts.map index c6bb2f06be..c57f1f1a4f 100644 --- a/dist/native/channel/deleteChannelPerms.d.ts.map +++ b/dist/native/channel/deleteChannelPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deleteChannelPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/deleteChannelPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAwD,MAAM,YAAY,CAAA;AAC9F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdlC,wBAyCE"} \ No newline at end of file +{"version":3,"file":"deleteChannelPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/deleteChannelPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAwD,MAAM,YAAY,CAAA;AAC9F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdlC,wBAyCE"} \ No newline at end of file diff --git a/dist/native/channel/deleteChannelPerms.js b/dist/native/channel/deleteChannelPerms.js index c8398e3b01..25385ccce1 100644 --- a/dist/native/channel/deleteChannelPerms.js +++ b/dist/native/channel/deleteChannelPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/deleteChannels.js b/dist/native/channel/deleteChannels.js index f09f9846a0..c60d995473 100644 --- a/dist/native/channel/deleteChannels.js +++ b/dist/native/channel/deleteChannels.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/deleteChannels.js.map b/dist/native/channel/deleteChannels.js.map index 57003fe78d..96ac850c5c 100644 --- a/dist/native/channel/deleteChannels.js.map +++ b/dist/native/channel/deleteChannels.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteChannels.js","sourceRoot":"","sources":["../../../src/native/channel/deleteChannels.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+DAA+D;IAC5E,OAAO,EAAE,CAAC,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,QAAQ,IAAI,CAAC;SAC3C;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC;QACzB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YACjD,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;YACtB,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACjD,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;SACvB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteChannels.js","sourceRoot":"","sources":["../../../src/native/channel/deleteChannels.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+DAA+D;IAC5E,OAAO,EAAE,CAAC,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,QAAQ,IAAI,CAAC;SAC3C;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC;QACzB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAClD,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;YACtB,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACjD,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/deleteForumTags.d.ts b/dist/native/channel/deleteForumTags.d.ts index eac3ed7d50..d2592f6569 100644 --- a/dist/native/channel/deleteForumTags.d.ts +++ b/dist/native/channel/deleteForumTags.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; }, { name: string; description: string; diff --git a/dist/native/channel/deleteForumTags.d.ts.map b/dist/native/channel/deleteForumTags.d.ts.map index f4ae829e50..7996a913dd 100644 --- a/dist/native/channel/deleteForumTags.d.ts.map +++ b/dist/native/channel/deleteForumTags.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deleteForumTags.d.ts","sourceRoot":"","sources":["../../../src/native/channel/deleteForumTags.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;AAdlC,wBA+BE"} \ No newline at end of file +{"version":3,"file":"deleteForumTags.d.ts","sourceRoot":"","sources":["../../../src/native/channel/deleteForumTags.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;AAdlC,wBA+BE"} \ No newline at end of file diff --git a/dist/native/channel/deleteForumTags.js b/dist/native/channel/deleteForumTags.js index a9dc4dd5fe..6cb9026e75 100644 --- a/dist/native/channel/deleteForumTags.js +++ b/dist/native/channel/deleteForumTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/deleteStageInstance.js b/dist/native/channel/deleteStageInstance.js index 14d9f8e65d..f2b621dd5b 100644 --- a/dist/native/channel/deleteStageInstance.js +++ b/dist/native/channel/deleteStageInstance.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/deleteThread.d.ts b/dist/native/channel/deleteThread.d.ts index 102b271c9f..2cea5be883 100644 --- a/dist/native/channel/deleteThread.d.ts +++ b/dist/native/channel/deleteThread.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; description: string; diff --git a/dist/native/channel/deleteThread.js b/dist/native/channel/deleteThread.js index 6ed831261c..23472122f0 100644 --- a/dist/native/channel/deleteThread.js +++ b/dist/native/channel/deleteThread.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/dmChannelID.js b/dist/native/channel/dmChannelID.js index b76f40bc42..839c12307e 100644 --- a/dist/native/channel/dmChannelID.js +++ b/dist/native/channel/dmChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/editForumTag.d.ts b/dist/native/channel/editForumTag.d.ts index 447ef4f65e..4d7a8acb75 100644 --- a/dist/native/channel/editForumTag.d.ts +++ b/dist/native/channel/editForumTag.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; }, { name: string; description: string; diff --git a/dist/native/channel/editForumTag.d.ts.map b/dist/native/channel/editForumTag.d.ts.map index 4f44e6bf28..85dc12eb8a 100644 --- a/dist/native/channel/editForumTag.d.ts.map +++ b/dist/native/channel/editForumTag.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editForumTag.d.ts","sourceRoot":"","sources":["../../../src/native/channel/editForumTag.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;AAblC,wBAuDE"} \ No newline at end of file +{"version":3,"file":"editForumTag.d.ts","sourceRoot":"","sources":["../../../src/native/channel/editForumTag.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;AAblC,wBAuDE"} \ No newline at end of file diff --git a/dist/native/channel/editForumTag.js b/dist/native/channel/editForumTag.js index 8e9bb2e9c7..455659b836 100644 --- a/dist/native/channel/editForumTag.js +++ b/dist/native/channel/editForumTag.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/editStageInstance.js b/dist/native/channel/editStageInstance.js index d760fcd4a6..1c5571f620 100644 --- a/dist/native/channel/editStageInstance.js +++ b/dist/native/channel/editStageInstance.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/fetchChannels.js b/dist/native/channel/fetchChannels.js index ae056b8e33..0195e7dcf7 100644 --- a/dist/native/channel/fetchChannels.js +++ b/dist/native/channel/fetchChannels.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/fetchThreads.d.ts b/dist/native/channel/fetchThreads.d.ts index 536756496e..dbf2e19ee1 100644 --- a/dist/native/channel/fetchThreads.d.ts +++ b/dist/native/channel/fetchThreads.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; type: ArgType.Channel; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"threads", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/fetchThreads.js b/dist/native/channel/fetchThreads.js index ba9d49d4e6..a2e6433777 100644 --- a/dist/native/channel/fetchThreads.js +++ b/dist/native/channel/fetchThreads.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/fetchThreads.js.map b/dist/native/channel/fetchThreads.js.map index 7bc68301c4..d42ab59b3f 100644 --- a/dist/native/channel/fetchThreads.js.map +++ b/dist/native/channel/fetchThreads.js.map @@ -1 +1 @@ -{"version":3,"file":"fetchThreads.js","sourceRoot":"","sources":["../../../src/native/channel/fetchThreads.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,SAAS,IAAI,CAAC;SAC5C;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qDAAqD;YAClE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6DAA6D;YAC1E,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC;QACxC,MAAM,IAAI,GAAG,OAAO,IAAI,GAAG,CAAC,OAAO,CAAA;QAEnC,IAAI,SAAS,IAAI,IAAI,EAAE;YACnB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAwB,CAAA;YAE7C,IAAI,QAAQ;gBAAE,MAAM,OAAO,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;;gBAC5G,MAAM,OAAO,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;SACnD;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"fetchThreads.js","sourceRoot":"","sources":["../../../src/native/channel/fetchThreads.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,SAAS,IAAI,CAAC;SAC5C;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qDAAqD;YAClE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6DAA6D;YAC1E,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC;QACxC,MAAM,IAAI,GAAG,OAAO,IAAI,GAAG,CAAC,OAAO,CAAA;QAEnC,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;YACpB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAwB,CAAA;YAE7C,IAAI,QAAQ;gBAAE,MAAM,OAAO,CAAC,aAAa,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;;gBAC5G,MAAM,OAAO,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACpD,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/firstMessageID.d.ts b/dist/native/channel/firstMessageID.d.ts index 8682cde24e..62cb10dee3 100644 --- a/dist/native/channel/firstMessageID.d.ts +++ b/dist/native/channel/firstMessageID.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"messages", unknown>; }], true>; export default _default; //# sourceMappingURL=firstMessageID.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/firstMessageID.js b/dist/native/channel/firstMessageID.js index 33b7648970..50d838e2dc 100644 --- a/dist/native/channel/firstMessageID.js +++ b/dist/native/channel/firstMessageID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/followChannel.js b/dist/native/channel/followChannel.js index a8fd817090..01c1c92613 100644 --- a/dist/native/channel/followChannel.js +++ b/dist/native/channel/followChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/forumDefaultLayout.js b/dist/native/channel/forumDefaultLayout.js index c6aae8ede8..8cd030cf00 100644 --- a/dist/native/channel/forumDefaultLayout.js +++ b/dist/native/channel/forumDefaultLayout.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/forumDefaultReactionEmoji.d.ts b/dist/native/channel/forumDefaultReactionEmoji.d.ts index 5ac84fa5e6..5a245f3448 100644 --- a/dist/native/channel/forumDefaultReactionEmoji.d.ts +++ b/dist/native/channel/forumDefaultReactionEmoji.d.ts @@ -1,11 +1,11 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; required: true; }], true>; export default _default; diff --git a/dist/native/channel/forumDefaultReactionEmoji.d.ts.map b/dist/native/channel/forumDefaultReactionEmoji.d.ts.map index d9535b0b59..bdea5c119f 100644 --- a/dist/native/channel/forumDefaultReactionEmoji.d.ts.map +++ b/dist/native/channel/forumDefaultReactionEmoji.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"forumDefaultReactionEmoji.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumDefaultReactionEmoji.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAc3C,WAAW;;;AAZlC,wBAqBE"} \ No newline at end of file +{"version":3,"file":"forumDefaultReactionEmoji.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumDefaultReactionEmoji.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAc3C,WAAW;;;AAZlC,wBAqBE"} \ No newline at end of file diff --git a/dist/native/channel/forumDefaultReactionEmoji.js b/dist/native/channel/forumDefaultReactionEmoji.js index af2aee73b0..06af7386af 100644 --- a/dist/native/channel/forumDefaultReactionEmoji.js +++ b/dist/native/channel/forumDefaultReactionEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/forumDefaultSortOrder.d.ts b/dist/native/channel/forumDefaultSortOrder.d.ts index 0206a2d283..1c026de57f 100644 --- a/dist/native/channel/forumDefaultSortOrder.d.ts +++ b/dist/native/channel/forumDefaultSortOrder.d.ts @@ -1,11 +1,11 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; required: true; }], true>; export default _default; diff --git a/dist/native/channel/forumDefaultSortOrder.d.ts.map b/dist/native/channel/forumDefaultSortOrder.d.ts.map index 0e5499ef80..1307d11812 100644 --- a/dist/native/channel/forumDefaultSortOrder.d.ts.map +++ b/dist/native/channel/forumDefaultSortOrder.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"forumDefaultSortOrder.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumDefaultSortOrder.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAoC,MAAM,YAAY,CAAA;AAC1E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAc3C,WAAW;;;AAZlC,wBAoBE"} \ No newline at end of file +{"version":3,"file":"forumDefaultSortOrder.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumDefaultSortOrder.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAiB,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC1E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAc3C,WAAW;;;AAZlC,wBAoBE"} \ No newline at end of file diff --git a/dist/native/channel/forumDefaultSortOrder.js b/dist/native/channel/forumDefaultSortOrder.js index f8be31b404..ba67c08895 100644 --- a/dist/native/channel/forumDefaultSortOrder.js +++ b/dist/native/channel/forumDefaultSortOrder.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/forumDefaultThreadArchiveDuration.d.ts b/dist/native/channel/forumDefaultThreadArchiveDuration.d.ts index 3f0359f3e8..fd7693c7dd 100644 --- a/dist/native/channel/forumDefaultThreadArchiveDuration.d.ts +++ b/dist/native/channel/forumDefaultThreadArchiveDuration.d.ts @@ -1,11 +1,11 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; required: true; }], true>; export default _default; diff --git a/dist/native/channel/forumDefaultThreadArchiveDuration.d.ts.map b/dist/native/channel/forumDefaultThreadArchiveDuration.d.ts.map index 664ddd4a40..8f6cf02c5e 100644 --- a/dist/native/channel/forumDefaultThreadArchiveDuration.d.ts.map +++ b/dist/native/channel/forumDefaultThreadArchiveDuration.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"forumDefaultThreadArchiveDuration.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumDefaultThreadArchiveDuration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAgD,MAAM,YAAY,CAAA;AACtF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAiB3C,WAAW;;;AAflC,wBAuBE"} \ No newline at end of file +{"version":3,"file":"forumDefaultThreadArchiveDuration.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumDefaultThreadArchiveDuration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAA6B,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACtF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAiB3C,WAAW;;;AAflC,wBAuBE"} \ No newline at end of file diff --git a/dist/native/channel/forumDefaultThreadArchiveDuration.js b/dist/native/channel/forumDefaultThreadArchiveDuration.js index 728c4b5a29..5fb54d3c6c 100644 --- a/dist/native/channel/forumDefaultThreadArchiveDuration.js +++ b/dist/native/channel/forumDefaultThreadArchiveDuration.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/forumDefaultThreadSlowmode.d.ts b/dist/native/channel/forumDefaultThreadSlowmode.d.ts index 79f8ce634b..8dcf80a15f 100644 --- a/dist/native/channel/forumDefaultThreadSlowmode.d.ts +++ b/dist/native/channel/forumDefaultThreadSlowmode.d.ts @@ -1,11 +1,11 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; required: true; }], true>; export default _default; diff --git a/dist/native/channel/forumDefaultThreadSlowmode.d.ts.map b/dist/native/channel/forumDefaultThreadSlowmode.d.ts.map index e8704ca348..4777e16638 100644 --- a/dist/native/channel/forumDefaultThreadSlowmode.d.ts.map +++ b/dist/native/channel/forumDefaultThreadSlowmode.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"forumDefaultThreadSlowmode.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumDefaultThreadSlowmode.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAc3C,WAAW;;;AAZlC,wBAoBE"} \ No newline at end of file +{"version":3,"file":"forumDefaultThreadSlowmode.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumDefaultThreadSlowmode.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAc3C,WAAW;;;AAZlC,wBAoBE"} \ No newline at end of file diff --git a/dist/native/channel/forumDefaultThreadSlowmode.js b/dist/native/channel/forumDefaultThreadSlowmode.js index 4d5338091c..2ac75b1b30 100644 --- a/dist/native/channel/forumDefaultThreadSlowmode.js +++ b/dist/native/channel/forumDefaultThreadSlowmode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/forumTags.d.ts b/dist/native/channel/forumTags.d.ts index 7ad7c48bef..8a13bef04b 100644 --- a/dist/native/channel/forumTags.d.ts +++ b/dist/native/channel/forumTags.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; import { ForumTagProperty } from "../../properties/forumTag"; declare const _default: NativeFunction<[{ @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; required: true; }, { name: string; diff --git a/dist/native/channel/forumTags.d.ts.map b/dist/native/channel/forumTags.d.ts.map index 3e9b69c291..e937cff3b5 100644 --- a/dist/native/channel/forumTags.d.ts.map +++ b/dist/native/channel/forumTags.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"forumTags.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumTags.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAE,gBAAgB,EAAsB,MAAM,2BAA2B,CAAA;;;;;;eAkBzD,WAAW;;;;;;;;;;;;;;AAflC,wBAuCE"} \ No newline at end of file +{"version":3,"file":"forumTags.d.ts","sourceRoot":"","sources":["../../../src/native/channel/forumTags.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAsB,MAAM,2BAA2B,CAAA;;;;;;eAkBzD,WAAW;;;;;;;;;;;;;;AAflC,wBAyCE"} \ No newline at end of file diff --git a/dist/native/channel/forumTags.js b/dist/native/channel/forumTags.js index 7e47cdc82b..7254c07418 100644 --- a/dist/native/channel/forumTags.js +++ b/dist/native/channel/forumTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -46,7 +46,11 @@ exports.default = new structures_1.NativeFunction({ execute(ctx, [ch, prop, sep]) { const channel = ch; const tags = channel?.availableTags; - return this.successJSON(!prop ? tags : tags?.map(tag => forumTag_1.ForumTagProperties[prop](tag)).join(sep ?? ", ")); + if (!tags) + return this.success(); + if (!prop) + return this.successJSON(tags); + return this.success(tags.map(tag => forumTag_1.ForumTagProperties[prop](tag)).join(sep ?? ", ")); }, }); //# sourceMappingURL=forumTags.js.map \ No newline at end of file diff --git a/dist/native/channel/forumTags.js.map b/dist/native/channel/forumTags.js.map index 793c4ccf19..f83d206797 100644 --- a/dist/native/channel/forumTags.js.map +++ b/dist/native/channel/forumTags.js.map @@ -1 +1 @@ -{"version":3,"file":"forumTags.js","sourceRoot":"","sources":["../../../src/native/channel/forumTags.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,wDAAgF;AAChF,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE;QACJ,oBAAO,CAAC,IAAI;QACZ,IAAA,eAAK,GAAmB;KAC3B;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,EAAE;YAC3C,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,2BAAgB;SACzB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC;QACxB,MAAM,OAAO,GAAG,EAAmC,CAAA;QACnD,MAAM,IAAI,GAAG,OAAO,EAAE,aAAa,CAAA;QAEnC,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,6BAAkB,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAC7G,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"forumTags.js","sourceRoot":"","sources":["../../../src/native/channel/forumTags.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAA0D;AAC1D,wDAAgF;AAChF,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE;QACJ,oBAAO,CAAC,IAAI;QACZ,IAAA,eAAK,GAAmB;KAC3B;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,EAAE;YAC3C,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,2BAAgB;SACzB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC;QACxB,MAAM,OAAO,GAAG,EAAmC,CAAA;QACnD,MAAM,IAAI,GAAG,OAAO,EAAE,aAAa,CAAA;QAEnC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAChC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,6BAAkB,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IACzF,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/getForumTag.d.ts b/dist/native/channel/getForumTag.d.ts new file mode 100644 index 0000000000..f25a320a45 --- /dev/null +++ b/dist/native/channel/getForumTag.d.ts @@ -0,0 +1,26 @@ +import { BaseChannel } from "discord.js"; +import { ArgType, NativeFunction } from "../../structures"; +import { ForumTagProperty } from "../../properties/forumTag"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.Channel; + check: (i: BaseChannel) => i is import("discord.js").ThreadOnlyChannel; +}, { + name: string; + description: string; + rest: false; + required: true; + type: ArgType.ForumTag; + pointer: number; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Enum; + enum: typeof ForumTagProperty; +}], true>; +export default _default; +//# sourceMappingURL=getForumTag.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/getForumTag.d.ts.map b/dist/native/channel/getForumTag.d.ts.map new file mode 100644 index 0000000000..174807e460 --- /dev/null +++ b/dist/native/channel/getForumTag.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getForumTag.d.ts","sourceRoot":"","sources":["../../../src/native/channel/getForumTag.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAsB,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;;;;;;;eAezD,WAAW;;;;;;;;;;;;;;;AAblC,wBAuCE"} \ No newline at end of file diff --git a/dist/native/channel/getForumTag.js b/dist/native/channel/getForumTag.js new file mode 100644 index 0000000000..38e7c851ba --- /dev/null +++ b/dist/native/channel/getForumTag.js @@ -0,0 +1,50 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +const forumTag_1 = require("../../properties/forumTag"); +exports.default = new structures_1.NativeFunction({ + name: "$getForumTag", + version: "2.7.0", + description: "Returns the tag of a forum", + unwrap: true, + brackets: true, + args: [ + { + name: "channel ID", + description: "The forum to pull tags from", + rest: false, + required: true, + type: structures_1.ArgType.Channel, + check: (i) => i.isThreadOnly(), + }, + { + name: "tag ID", + description: "The tag to retrieve", + rest: false, + required: true, + type: structures_1.ArgType.ForumTag, + pointer: 0 + }, + { + name: "property", + description: "The property of the tag to return", + rest: false, + type: structures_1.ArgType.Enum, + enum: forumTag_1.ForumTagProperty + }, + ], + output: [ + structures_1.ArgType.Json, + structures_1.ArgType.Unknown + ], + execute(ctx, [, tag, prop]) { + if (prop) + return this.success(forumTag_1.ForumTagProperties[prop](tag)); + return this.successJSON(tag); + }, +}); +//# sourceMappingURL=getForumTag.js.map \ No newline at end of file diff --git a/dist/native/channel/getForumTag.js.map b/dist/native/channel/getForumTag.js.map new file mode 100644 index 0000000000..56f59dfec4 --- /dev/null +++ b/dist/native/channel/getForumTag.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getForumTag.js","sourceRoot":"","sources":["../../../src/native/channel/getForumTag.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAC1D,wDAAgF;AAEhF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,EAAE;SAC9C;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,QAAQ;YACtB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,2BAAgB;SACzB;KACJ;IACD,MAAM,EAAE;QACJ,oBAAO,CAAC,IAAI;QACZ,oBAAO,CAAC,OAAO;KAClB;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC;QACtB,IAAI,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,CAAC,6BAAkB,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;QAC5D,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAA;IAChC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/getStageInstance.js b/dist/native/channel/getStageInstance.js index 6dd3a9ea6d..0724bf0cb7 100644 --- a/dist/native/channel/getStageInstance.js +++ b/dist/native/channel/getStageInstance.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const stage_1 = require("../../properties/stage"); diff --git a/dist/native/channel/getThreadMembers.d.ts b/dist/native/channel/getThreadMembers.d.ts index 070493f366..e624ff3511 100644 --- a/dist/native/channel/getThreadMembers.d.ts +++ b/dist/native/channel/getThreadMembers.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; description: string; diff --git a/dist/native/channel/getThreadMembers.d.ts.map b/dist/native/channel/getThreadMembers.d.ts.map index b748709a8a..6767300448 100644 --- a/dist/native/channel/getThreadMembers.d.ts.map +++ b/dist/native/channel/getThreadMembers.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getThreadMembers.d.ts","sourceRoot":"","sources":["../../../src/native/channel/getThreadMembers.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAiB,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAiB3C,WAAW;;;;;;;AAdlC,wBA8BE"} \ No newline at end of file +{"version":3,"file":"getThreadMembers.d.ts","sourceRoot":"","sources":["../../../src/native/channel/getThreadMembers.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAiB,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAgBnC,WAAW;;;;;;;AAblC,wBA8BE"} \ No newline at end of file diff --git a/dist/native/channel/getThreadMembers.js b/dist/native/channel/getThreadMembers.js index deb490fac9..7c2469fc05 100644 --- a/dist/native/channel/getThreadMembers.js +++ b/dist/native/channel/getThreadMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -12,9 +12,8 @@ const array_1 = __importDefault(require("../../functions/array")); exports.default = new structures_1.NativeFunction({ name: "$getThreadMembers", version: "1.0.0", - description: "Gets thread members", + description: "Returns all members from a thread", brackets: true, - output: (0, array_1.default)(), unwrap: true, args: [ { @@ -32,6 +31,7 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.String, }, ], + output: (0, array_1.default)(), async execute(ctx, [channel, sep]) { const thread = channel; const success = await thread.members.fetch().catch(ctx.noop); diff --git a/dist/native/channel/getThreadMembers.js.map b/dist/native/channel/getThreadMembers.js.map index fa882245f3..396b35c2d8 100644 --- a/dist/native/channel/getThreadMembers.js.map +++ b/dist/native/channel/getThreadMembers.js.map @@ -1 +1 @@ -{"version":3,"file":"getThreadMembers.js","sourceRoot":"","sources":["../../../src/native/channel/getThreadMembers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qBAAqB;IAClC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAA,eAAK,GAAkB;IAC/B,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;SAC1C;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC;QAC7B,MAAM,MAAM,GAAG,OAAwB,CAAA;QAEvC,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAE5D,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACzG,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"getThreadMembers.js","sourceRoot":"","sources":["../../../src/native/channel/getThreadMembers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAA0D;AAC1D,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;SAC1C;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAA,eAAK,GAAkB;IAC/B,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC;QAC7B,MAAM,MAAM,GAAG,OAAwB,CAAA;QAEvC,MAAM,OAAO,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAE5D,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACzG,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/guildChannelID.d.ts b/dist/native/channel/guildChannelID.d.ts index 66112da994..146cca7c4e 100644 --- a/dist/native/channel/guildChannelID.d.ts +++ b/dist/native/channel/guildChannelID.d.ts @@ -1,5 +1,5 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction<[import("../../structures").IArg, { +declare const _default: NativeFunction<[import("../..").IArg, { name: string; description: string; required: true; diff --git a/dist/native/channel/guildChannelID.js b/dist/native/channel/guildChannelID.js index f433257f50..e082412c8c 100644 --- a/dist/native/channel/guildChannelID.js +++ b/dist/native/channel/guildChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/lastMessageID.d.ts b/dist/native/channel/lastMessageID.d.ts index 5406c84678..f427d67501 100644 --- a/dist/native/channel/lastMessageID.d.ts +++ b/dist/native/channel/lastMessageID.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"messages", unknown>; }, { name: string; description: string; diff --git a/dist/native/channel/lastMessageID.js b/dist/native/channel/lastMessageID.js index 9248f429ed..0fa3c597e4 100644 --- a/dist/native/channel/lastMessageID.js +++ b/dist/native/channel/lastMessageID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/lastMessageID.js.map b/dist/native/channel/lastMessageID.js.map index e56f6de112..e7a2db8e52 100644 --- a/dist/native/channel/lastMessageID.js.map +++ b/dist/native/channel/lastMessageID.js.map @@ -1 +1 @@ -{"version":3,"file":"lastMessageID.js","sourceRoot":"","sources":["../../../src/native/channel/lastMessageID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAGlE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,uBAAuB;KAC1B;IACD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,WAAW,EAAE,8CAA8C;IAC3D,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAE,EAAE,EAAE,IAAI,CAAE;QAC3B,EAAE,KAAK,GAAG,CAAC,OAAQ,CAAA;QACnB,IAAI,IAAI,EAAE;YACN,MAAM,QAAQ,GAAG,MAAO,EAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC9F,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;SAC9F;QACD,OAAO,IAAI,CAAC,OAAO,CAAE,EAAkB,CAAC,aAAa,CAAC,CAAA;IAC1D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"lastMessageID.js","sourceRoot":"","sources":["../../../src/native/channel/lastMessageID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAGlE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,uBAAuB;KAC1B;IACD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,WAAW,EAAE,8CAA8C;IAC3D,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAE,EAAE,EAAE,IAAI,CAAE;QAC3B,EAAE,KAAK,GAAG,CAAC,OAAQ,CAAA;QACnB,IAAI,IAAI,EAAE,CAAC;YACP,MAAM,QAAQ,GAAG,MAAO,EAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC9F,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;QAC/F,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAE,EAAkB,CAAC,aAAa,CAAC,CAAA;IAC1D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/lastPinTimestamp.d.ts b/dist/native/channel/lastPinTimestamp.d.ts index d22f68a087..ee70e59c57 100644 --- a/dist/native/channel/lastPinTimestamp.d.ts +++ b/dist/native/channel/lastPinTimestamp.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"lastPinTimestamp", unknown>; }], true>; export default _default; //# sourceMappingURL=lastPinTimestamp.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/lastPinTimestamp.js b/dist/native/channel/lastPinTimestamp.js index 841cc77c89..fccd5e4dea 100644 --- a/dist/native/channel/lastPinTimestamp.js +++ b/dist/native/channel/lastPinTimestamp.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/lockThread.d.ts b/dist/native/channel/lockThread.d.ts index d9e4461aca..266b82353d 100644 --- a/dist/native/channel/lockThread.d.ts +++ b/dist/native/channel/lockThread.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; description: string; diff --git a/dist/native/channel/lockThread.js b/dist/native/channel/lockThread.js index 4a104cc8de..b918f3bf2a 100644 --- a/dist/native/channel/lockThread.js +++ b/dist/native/channel/lockThread.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/modifyChannelPerms.d.ts b/dist/native/channel/modifyChannelPerms.d.ts index 8ee93b1706..1cbd42d99c 100644 --- a/dist/native/channel/modifyChannelPerms.d.ts +++ b/dist/native/channel/modifyChannelPerms.d.ts @@ -5,7 +5,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; description: string; }, { name: string; @@ -70,6 +70,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/channel/modifyChannelPerms.d.ts.map b/dist/native/channel/modifyChannelPerms.d.ts.map index 9ca6a7545d..1637eeb7a4 100644 --- a/dist/native/channel/modifyChannelPerms.d.ts.map +++ b/dist/native/channel/modifyChannelPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"modifyChannelPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/modifyChannelPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqC,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;eAiBnC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdlC,wBA6CE"} \ No newline at end of file +{"version":3,"file":"modifyChannelPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/modifyChannelPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqC,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;eAiBnC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdlC,wBAiDE"} \ No newline at end of file diff --git a/dist/native/channel/modifyChannelPerms.js b/dist/native/channel/modifyChannelPerms.js index 2d06e5e296..9381ab4a68 100644 --- a/dist/native/channel/modifyChannelPerms.js +++ b/dist/native/channel/modifyChannelPerms.js @@ -1,15 +1,12 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); const structures_1 = require("../../structures"); -const overwritePermissionsArrayToObject_1 = __importDefault(require("../../functions/overwritePermissionsArrayToObject")); +const overwritePermissions_1 = require("../../functions/overwritePermissions"); exports.default = new structures_1.NativeFunction({ name: "$modifyChannelPerms", version: "1.4.0", @@ -47,7 +44,7 @@ exports.default = new structures_1.NativeFunction({ ], async execute(ctx, [channel, roleOrUser, raw]) { const ch = channel; - const mapped = (0, overwritePermissionsArrayToObject_1.default)(raw); + const mapped = (0, overwritePermissions_1.overwritePermissionsArrayToObject)(raw); if (ch.permissionOverwrites.cache.has(roleOrUser.id)) { return this.success(!!(await ch.permissionOverwrites.edit(roleOrUser, mapped, { reason: ctx.reason }).catch(ctx.noop))); } diff --git a/dist/native/channel/modifyChannelPerms.js.map b/dist/native/channel/modifyChannelPerms.js.map index c2324e6ab1..c20cea3369 100644 --- a/dist/native/channel/modifyChannelPerms.js.map +++ b/dist/native/channel/modifyChannelPerms.js.map @@ -1 +1 @@ -{"version":3,"file":"modifyChannelPerms.js","sourceRoot":"","sources":["../../../src/native/channel/modifyChannelPerms.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,2CAA2E;AAC3E,iDAA0D;AAC1D,0HAAiG;AAEjG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,OAAO,EAAE,CAAC,mBAAmB,CAAC;IAC9B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAA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} \ No newline at end of file +{"version":3,"file":"modifyChannelPerms.js","sourceRoot":"","sources":["../../../src/native/channel/modifyChannelPerms.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA2E;AAC3E,iDAA0D;AAC1D,+EAAwF;AAExF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,OAAO,EAAE,CAAC,mBAAmB,CAAC;IAC9B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,sBAAsB,IAAI,CAAC;YACtD,WAAW,EAAE,iCAAiC;SACjD;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,eAAe,EAAE,OAAO;YACxB,IAAI,EAAE,oBAAO,CAAC,UAAU;SAC3B;QACD;YACI,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,mBAAmB;YACjC,WAAW,EAAE,4DAA4D;YACzE,IAAI,EAAE,gCAAmB;SAC5B;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,CAAC;QACzC,MAAM,EAAE,GAAG,OAAuB,CAAA;QAClC,MAAM,MAAM,GAAG,IAAA,wDAAiC,EAAC,GAAG,CAAC,CAAA;QAErD,IAAI,EAAE,CAAC,oBAAoB,CAAC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC;YACnD,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACrG,CAAA;QACL,CAAC;aAAM,CAAC;YACJ,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,oBAAoB,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACvG,CAAA;QACL,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/modifyPostTags.d.ts b/dist/native/channel/modifyPostTags.d.ts index 424887beea..af0367a9ff 100644 --- a/dist/native/channel/modifyPostTags.d.ts +++ b/dist/native/channel/modifyPostTags.d.ts @@ -5,7 +5,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; description: string; }, { name: string; diff --git a/dist/native/channel/modifyPostTags.js b/dist/native/channel/modifyPostTags.js index 0d65c6978c..eb999187ee 100644 --- a/dist/native/channel/modifyPostTags.js +++ b/dist/native/channel/modifyPostTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/randomChannelID.js b/dist/native/channel/randomChannelID.js index 71560a14e1..0cc7b1f63b 100644 --- a/dist/native/channel/randomChannelID.js +++ b/dist/native/channel/randomChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/randomGuildChannelID.js b/dist/native/channel/randomGuildChannelID.js index 10a3e8d023..59431063c2 100644 --- a/dist/native/channel/randomGuildChannelID.js +++ b/dist/native/channel/randomGuildChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/removeChannelPerms.d.ts b/dist/native/channel/removeChannelPerms.d.ts index e6ccceb5e6..4db9ffd969 100644 --- a/dist/native/channel/removeChannelPerms.d.ts +++ b/dist/native/channel/removeChannelPerms.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"permissionOverwrites", unknown>; }, { name: string; description: string; @@ -68,6 +68,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/channel/removeChannelPerms.d.ts.map b/dist/native/channel/removeChannelPerms.d.ts.map index 7e98b08175..ae651fa3eb 100644 --- a/dist/native/channel/removeChannelPerms.d.ts.map +++ b/dist/native/channel/removeChannelPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"removeChannelPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/removeChannelPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAwD,MAAM,YAAY,CAAA;AAC9F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdlC,wBAyCE"} \ No newline at end of file +{"version":3,"file":"removeChannelPerms.d.ts","sourceRoot":"","sources":["../../../src/native/channel/removeChannelPerms.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAwD,MAAM,YAAY,CAAA;AAC9F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAdlC,wBAyCE"} \ No newline at end of file diff --git a/dist/native/channel/removeChannelPerms.js b/dist/native/channel/removeChannelPerms.js index 64ee427d5c..f1dbb8b561 100644 --- a/dist/native/channel/removeChannelPerms.js +++ b/dist/native/channel/removeChannelPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/removeThreadMember.d.ts b/dist/native/channel/removeThreadMember.d.ts index 21669aac7f..77336d5448 100644 --- a/dist/native/channel/removeThreadMember.d.ts +++ b/dist/native/channel/removeThreadMember.d.ts @@ -12,7 +12,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; pointer: number; diff --git a/dist/native/channel/removeThreadMember.js b/dist/native/channel/removeThreadMember.js index 7f9ed700bf..537d15a7eb 100644 --- a/dist/native/channel/removeThreadMember.js +++ b/dist/native/channel/removeThreadMember.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/sendMessage.d.ts b/dist/native/channel/sendMessage.d.ts index a5742a92be..3dc1beb229 100644 --- a/dist/native/channel/sendMessage.d.ts +++ b/dist/native/channel/sendMessage.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; type: ArgType.Channel; rest: false; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/channel/sendMessage.js b/dist/native/channel/sendMessage.js index d0f6ea8dc9..0297443015 100644 --- a/dist/native/channel/sendMessage.js +++ b/dist/native/channel/sendMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setChannelArchiveDuration.d.ts b/dist/native/channel/setChannelArchiveDuration.d.ts index 9ce64ffae6..962971e36a 100644 --- a/dist/native/channel/setChannelArchiveDuration.d.ts +++ b/dist/native/channel/setChannelArchiveDuration.d.ts @@ -3,7 +3,7 @@ import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"setDefaultAutoArchiveDuration", unknown>; description: string; rest: false; required: true; diff --git a/dist/native/channel/setChannelArchiveDuration.js b/dist/native/channel/setChannelArchiveDuration.js index bbe619a26c..e0f781c9c3 100644 --- a/dist/native/channel/setChannelArchiveDuration.js +++ b/dist/native/channel/setChannelArchiveDuration.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/setChannelCategory.d.ts b/dist/native/channel/setChannelCategory.d.ts index ed98343587..553fdf5a8c 100644 --- a/dist/native/channel/setChannelCategory.d.ts +++ b/dist/native/channel/setChannelCategory.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; description: string; rest: false; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"setParent", unknown>; type: ArgType.Channel; required: true; }, { diff --git a/dist/native/channel/setChannelCategory.js b/dist/native/channel/setChannelCategory.js index df2d1ac6da..2f30e65557 100644 --- a/dist/native/channel/setChannelCategory.js +++ b/dist/native/channel/setChannelCategory.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/setChannelNSFW.d.ts b/dist/native/channel/setChannelNSFW.d.ts index c6d8eb490a..4bac6b1c0d 100644 --- a/dist/native/channel/setChannelNSFW.d.ts +++ b/dist/native/channel/setChannelNSFW.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; description: string; rest: false; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"setNSFW", unknown>; type: ArgType.Channel; required: true; }, { diff --git a/dist/native/channel/setChannelNSFW.js b/dist/native/channel/setChannelNSFW.js index 02ec792392..199ff5ee4b 100644 --- a/dist/native/channel/setChannelNSFW.js +++ b/dist/native/channel/setChannelNSFW.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setChannelName.d.ts b/dist/native/channel/setChannelName.d.ts index 68b3edfd5e..7acc4e2465 100644 --- a/dist/native/channel/setChannelName.d.ts +++ b/dist/native/channel/setChannelName.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; description: string; rest: false; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"setName", unknown>; type: ArgType.Channel; required: true; }, { diff --git a/dist/native/channel/setChannelName.js b/dist/native/channel/setChannelName.js index 1046d39b9d..6c584eff68 100644 --- a/dist/native/channel/setChannelName.js +++ b/dist/native/channel/setChannelName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setChannelSlowmode.d.ts b/dist/native/channel/setChannelSlowmode.d.ts index a08d1194be..c5f115688d 100644 --- a/dist/native/channel/setChannelSlowmode.d.ts +++ b/dist/native/channel/setChannelSlowmode.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; description: string; rest: false; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"setRateLimitPerUser", unknown>; type: ArgType.Channel; required: true; }, { diff --git a/dist/native/channel/setChannelSlowmode.js b/dist/native/channel/setChannelSlowmode.js index 02e47fff04..a8cb7b9dc1 100644 --- a/dist/native/channel/setChannelSlowmode.js +++ b/dist/native/channel/setChannelSlowmode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setChannelTopic.d.ts b/dist/native/channel/setChannelTopic.d.ts index be85f618b8..9ba5bd4f3f 100644 --- a/dist/native/channel/setChannelTopic.d.ts +++ b/dist/native/channel/setChannelTopic.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; description: string; rest: false; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"setTopic", unknown>; type: ArgType.Channel; required: true; }, { diff --git a/dist/native/channel/setChannelTopic.js b/dist/native/channel/setChannelTopic.js index 75f340ebac..b7f3191c0f 100644 --- a/dist/native/channel/setChannelTopic.js +++ b/dist/native/channel/setChannelTopic.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setDefaultForumLayout.js b/dist/native/channel/setDefaultForumLayout.js index b5dd4f3ae4..d65439a5a6 100644 --- a/dist/native/channel/setDefaultForumLayout.js +++ b/dist/native/channel/setDefaultForumLayout.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/setDefaultReactionEmoji.d.ts b/dist/native/channel/setDefaultReactionEmoji.d.ts index 3d11e8554b..d41651bcfc 100644 --- a/dist/native/channel/setDefaultReactionEmoji.d.ts +++ b/dist/native/channel/setDefaultReactionEmoji.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; }, { name: string; description: string; diff --git a/dist/native/channel/setDefaultReactionEmoji.d.ts.map b/dist/native/channel/setDefaultReactionEmoji.d.ts.map index e434b8c890..7c343a7355 100644 --- a/dist/native/channel/setDefaultReactionEmoji.d.ts.map +++ b/dist/native/channel/setDefaultReactionEmoji.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"setDefaultReactionEmoji.d.ts","sourceRoot":"","sources":["../../../src/native/channel/setDefaultReactionEmoji.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAA2C,MAAM,YAAY,CAAA;AACjF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAgBnC,WAAW;;;;;;;;;;;;AAblC,wBAmCE"} \ No newline at end of file +{"version":3,"file":"setDefaultReactionEmoji.d.ts","sourceRoot":"","sources":["../../../src/native/channel/setDefaultReactionEmoji.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAwB,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACjF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAgBnC,WAAW;;;;;;;;;;;;AAblC,wBAmCE"} \ No newline at end of file diff --git a/dist/native/channel/setDefaultReactionEmoji.js b/dist/native/channel/setDefaultReactionEmoji.js index 66309094b5..32d89f5613 100644 --- a/dist/native/channel/setDefaultReactionEmoji.js +++ b/dist/native/channel/setDefaultReactionEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setDefaultSortOrder.d.ts b/dist/native/channel/setDefaultSortOrder.d.ts index 792c2beab0..128974f683 100644 --- a/dist/native/channel/setDefaultSortOrder.d.ts +++ b/dist/native/channel/setDefaultSortOrder.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel, SortOrderType } from "discord.js"; +import { BaseChannel, SortOrderType, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; }, { name: string; description: string; diff --git a/dist/native/channel/setDefaultSortOrder.d.ts.map b/dist/native/channel/setDefaultSortOrder.d.ts.map index 8d4f782c2c..fda329438f 100644 --- a/dist/native/channel/setDefaultSortOrder.d.ts.map +++ b/dist/native/channel/setDefaultSortOrder.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"setDefaultSortOrder.d.ts","sourceRoot":"","sources":["../../../src/native/channel/setDefaultSortOrder.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAqB,MAAM,YAAY,CAAA;AAC1E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,WAAW;;;;;;;;;;;;;AAblC,wBAiCE"} \ No newline at end of file +{"version":3,"file":"setDefaultSortOrder.d.ts","sourceRoot":"","sources":["../../../src/native/channel/setDefaultSortOrder.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC1E,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,WAAW;;;;;;;;;;;;;AAblC,wBAiCE"} \ No newline at end of file diff --git a/dist/native/channel/setDefaultSortOrder.js b/dist/native/channel/setDefaultSortOrder.js index c5fba3f9f3..c9d891cbe7 100644 --- a/dist/native/channel/setDefaultSortOrder.js +++ b/dist/native/channel/setDefaultSortOrder.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/setDefaultThreadArchiveDuration.d.ts b/dist/native/channel/setDefaultThreadArchiveDuration.d.ts index 48d7c5505c..722ce7b72b 100644 --- a/dist/native/channel/setDefaultThreadArchiveDuration.d.ts +++ b/dist/native/channel/setDefaultThreadArchiveDuration.d.ts @@ -1,10 +1,10 @@ -import { BaseChannel, ThreadAutoArchiveDuration } from "discord.js"; +import { BaseChannel, ThreadAutoArchiveDuration, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; rest: false; required: true; }, { diff --git a/dist/native/channel/setDefaultThreadArchiveDuration.d.ts.map b/dist/native/channel/setDefaultThreadArchiveDuration.d.ts.map index 516b8165b3..79c751ae28 100644 --- a/dist/native/channel/setDefaultThreadArchiveDuration.d.ts.map +++ b/dist/native/channel/setDefaultThreadArchiveDuration.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"setDefaultThreadArchiveDuration.d.ts","sourceRoot":"","sources":["../../../src/native/channel/setDefaultThreadArchiveDuration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,yBAAyB,EAAqB,MAAM,YAAY,CAAA;AACtF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;eAiBnC,WAAW;;;;;;;;;;;;;;;;AAflC,wBAqCE"} \ No newline at end of file +{"version":3,"file":"setDefaultThreadArchiveDuration.d.ts","sourceRoot":"","sources":["../../../src/native/channel/setDefaultThreadArchiveDuration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACtF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;eAiBnC,WAAW;;;;;;;;;;;;;;;;AAflC,wBAqCE"} \ No newline at end of file diff --git a/dist/native/channel/setDefaultThreadArchiveDuration.js b/dist/native/channel/setDefaultThreadArchiveDuration.js index bef7128315..7fb1a5f4a8 100644 --- a/dist/native/channel/setDefaultThreadArchiveDuration.js +++ b/dist/native/channel/setDefaultThreadArchiveDuration.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/setDefaultThreadSlowmode.d.ts b/dist/native/channel/setDefaultThreadSlowmode.d.ts index 1f4de08ec1..e55dcc151d 100644 --- a/dist/native/channel/setDefaultThreadSlowmode.d.ts +++ b/dist/native/channel/setDefaultThreadSlowmode.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, ThreadOnlyChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is ThreadOnlyChannel; }, { name: string; description: string; diff --git a/dist/native/channel/setDefaultThreadSlowmode.d.ts.map b/dist/native/channel/setDefaultThreadSlowmode.d.ts.map index e8d0f23623..62ecc92b47 100644 --- a/dist/native/channel/setDefaultThreadSlowmode.d.ts.map +++ b/dist/native/channel/setDefaultThreadSlowmode.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"setDefaultThreadSlowmode.d.ts","sourceRoot":"","sources":["../../../src/native/channel/setDefaultThreadSlowmode.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,WAAW;;;;;;;;;;;;;AAblC,wBAiCE"} \ No newline at end of file +{"version":3,"file":"setDefaultThreadSlowmode.d.ts","sourceRoot":"","sources":["../../../src/native/channel/setDefaultThreadSlowmode.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,WAAW;;;;;;;;;;;;;AAblC,wBAiCE"} \ No newline at end of file diff --git a/dist/native/channel/setDefaultThreadSlowmode.js b/dist/native/channel/setDefaultThreadSlowmode.js index 4871e576f5..df03a1784c 100644 --- a/dist/native/channel/setDefaultThreadSlowmode.js +++ b/dist/native/channel/setDefaultThreadSlowmode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setPostTags.d.ts b/dist/native/channel/setPostTags.d.ts index 800ceac774..058474ebb4 100644 --- a/dist/native/channel/setPostTags.d.ts +++ b/dist/native/channel/setPostTags.d.ts @@ -5,7 +5,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; description: string; }, { name: string; diff --git a/dist/native/channel/setPostTags.js b/dist/native/channel/setPostTags.js index e8b419d9a6..02a0e6285f 100644 --- a/dist/native/channel/setPostTags.js +++ b/dist/native/channel/setPostTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setThreadArchiveDuration.d.ts b/dist/native/channel/setThreadArchiveDuration.d.ts index 1639bee6ad..ee8fcdc437 100644 --- a/dist/native/channel/setThreadArchiveDuration.d.ts +++ b/dist/native/channel/setThreadArchiveDuration.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; rest: false; required: true; }, { diff --git a/dist/native/channel/setThreadArchiveDuration.js b/dist/native/channel/setThreadArchiveDuration.js index 5aad0eb8f7..835dfdb667 100644 --- a/dist/native/channel/setThreadArchiveDuration.js +++ b/dist/native/channel/setThreadArchiveDuration.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/setVoiceBitrate.d.ts b/dist/native/channel/setVoiceBitrate.d.ts index 326da0d64d..889fbabc1f 100644 --- a/dist/native/channel/setVoiceBitrate.d.ts +++ b/dist/native/channel/setVoiceBitrate.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").VoiceBasedChannel; }, { name: string; rest: false; diff --git a/dist/native/channel/setVoiceBitrate.js b/dist/native/channel/setVoiceBitrate.js index f0dfe56dbc..9a71570922 100644 --- a/dist/native/channel/setVoiceBitrate.js +++ b/dist/native/channel/setVoiceBitrate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setVoiceDeaf.js b/dist/native/channel/setVoiceDeaf.js index 2871ef90e4..688152525a 100644 --- a/dist/native/channel/setVoiceDeaf.js +++ b/dist/native/channel/setVoiceDeaf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setVoiceMute.js b/dist/native/channel/setVoiceMute.js index bf6301f612..bce0eda091 100644 --- a/dist/native/channel/setVoiceMute.js +++ b/dist/native/channel/setVoiceMute.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setVoiceRegion.d.ts b/dist/native/channel/setVoiceRegion.d.ts index 0d0cf74d03..b0a3138f53 100644 --- a/dist/native/channel/setVoiceRegion.d.ts +++ b/dist/native/channel/setVoiceRegion.d.ts @@ -22,7 +22,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").VoiceBasedChannel; }, { name: string; description: string; diff --git a/dist/native/channel/setVoiceRegion.js b/dist/native/channel/setVoiceRegion.js index c78df010e4..a0b17a0fb8 100644 --- a/dist/native/channel/setVoiceRegion.js +++ b/dist/native/channel/setVoiceRegion.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.VoiceRegionType = void 0; diff --git a/dist/native/channel/setVoiceUndeaf.js b/dist/native/channel/setVoiceUndeaf.js index 4b3daf1a98..06bff5655c 100644 --- a/dist/native/channel/setVoiceUndeaf.js +++ b/dist/native/channel/setVoiceUndeaf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setVoiceUnmute.js b/dist/native/channel/setVoiceUnmute.js index 2b9dd74319..7a43e014d1 100644 --- a/dist/native/channel/setVoiceUnmute.js +++ b/dist/native/channel/setVoiceUnmute.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setVoiceUserLimit.d.ts b/dist/native/channel/setVoiceUserLimit.d.ts index adb1fcea80..85bc5b3b9d 100644 --- a/dist/native/channel/setVoiceUserLimit.d.ts +++ b/dist/native/channel/setVoiceUserLimit.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").VoiceBasedChannel; }, { name: string; rest: false; diff --git a/dist/native/channel/setVoiceUserLimit.js b/dist/native/channel/setVoiceUserLimit.js index e893df8c95..4018210d00 100644 --- a/dist/native/channel/setVoiceUserLimit.js +++ b/dist/native/channel/setVoiceUserLimit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/setVoiceVideoQuality.d.ts b/dist/native/channel/setVoiceVideoQuality.d.ts index 5e7928039b..abe620b012 100644 --- a/dist/native/channel/setVoiceVideoQuality.d.ts +++ b/dist/native/channel/setVoiceVideoQuality.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").VoiceBasedChannel; }, { name: string; rest: false; diff --git a/dist/native/channel/setVoiceVideoQuality.js b/dist/native/channel/setVoiceVideoQuality.js index 5335b7f946..0d72bae834 100644 --- a/dist/native/channel/setVoiceVideoQuality.js +++ b/dist/native/channel/setVoiceVideoQuality.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/startTyping.d.ts b/dist/native/channel/startTyping.d.ts index 4f42937efb..09b746e061 100644 --- a/dist/native/channel/startTyping.d.ts +++ b/dist/native/channel/startTyping.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, TextChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }], true>; export default _default; //# sourceMappingURL=startTyping.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/startTyping.d.ts.map b/dist/native/channel/startTyping.d.ts.map index e29b09141c..cf2ccbc5c5 100644 --- a/dist/native/channel/startTyping.d.ts.map +++ b/dist/native/channel/startTyping.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"startTyping.d.ts","sourceRoot":"","sources":["../../../src/native/channel/startTyping.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAe,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAkB3C,WAAW;;AAhBlC,wBAwBE"} \ No newline at end of file +{"version":3,"file":"startTyping.d.ts","sourceRoot":"","sources":["../../../src/native/channel/startTyping.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAkB3C,WAAW;;AAhBlC,wBAwBE"} \ No newline at end of file diff --git a/dist/native/channel/startTyping.js b/dist/native/channel/startTyping.js index 7a8fb1ba6b..5351c039a7 100644 --- a/dist/native/channel/startTyping.js +++ b/dist/native/channel/startTyping.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/threadIsArchived.d.ts b/dist/native/channel/threadIsArchived.d.ts index d9450f5533..5b1a589379 100644 --- a/dist/native/channel/threadIsArchived.d.ts +++ b/dist/native/channel/threadIsArchived.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }], true>; export default _default; //# sourceMappingURL=threadIsArchived.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/threadIsArchived.js b/dist/native/channel/threadIsArchived.js index 620f6ec6f2..7544a376bd 100644 --- a/dist/native/channel/threadIsArchived.js +++ b/dist/native/channel/threadIsArchived.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/threadIsLocked.d.ts b/dist/native/channel/threadIsLocked.d.ts new file mode 100644 index 0000000000..5a3119aa85 --- /dev/null +++ b/dist/native/channel/threadIsLocked.d.ts @@ -0,0 +1,12 @@ +import { BaseChannel } from "discord.js"; +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.Channel; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; +}], true>; +export default _default; +//# sourceMappingURL=threadIsLocked.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/threadIsLocked.d.ts.map b/dist/native/channel/threadIsLocked.d.ts.map new file mode 100644 index 0000000000..98b589c591 --- /dev/null +++ b/dist/native/channel/threadIsLocked.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"threadIsLocked.d.ts","sourceRoot":"","sources":["../../../src/native/channel/threadIsLocked.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAiB,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAmBnC,WAAW;;AAjBlC,wBAyBE"} \ No newline at end of file diff --git a/dist/native/channel/threadIsLocked.js b/dist/native/channel/threadIsLocked.js new file mode 100644 index 0000000000..1a3784005f --- /dev/null +++ b/dist/native/channel/threadIsLocked.js @@ -0,0 +1,34 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$threadIsLocked", + version: "2.7.0", + aliases: [ + "$isLocked", + "$threadLocked" + ], + description: "Returns whether a thread is locked", + brackets: false, + unwrap: true, + args: [ + { + name: "channel ID", + description: "The thread to check if its locked", + rest: false, + required: true, + type: structures_1.ArgType.Channel, + check: (i) => i.isThread(), + } + ], + output: structures_1.ArgType.Boolean, + async execute(ctx, [channel]) { + const thread = (channel ?? ctx.channel); + return this.success(!!thread?.locked); + }, +}); +//# sourceMappingURL=threadIsLocked.js.map \ No newline at end of file diff --git a/dist/native/channel/threadIsLocked.js.map b/dist/native/channel/threadIsLocked.js.map new file mode 100644 index 0000000000..ae589f5232 --- /dev/null +++ b/dist/native/channel/threadIsLocked.js.map @@ -0,0 +1 @@ +{"version":3,"file":"threadIsLocked.js","sourceRoot":"","sources":["../../../src/native/channel/threadIsLocked.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,WAAW;QACX,eAAe;KAClB;IACD,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;SAC1C;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC;QACxB,MAAM,MAAM,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAkB,CAAA;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACzC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/threadOwnerID.d.ts b/dist/native/channel/threadOwnerID.d.ts index e634e2bbbf..57ed137fb1 100644 --- a/dist/native/channel/threadOwnerID.d.ts +++ b/dist/native/channel/threadOwnerID.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }], true>; export default _default; //# sourceMappingURL=threadOwnerID.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/threadOwnerID.js b/dist/native/channel/threadOwnerID.js index 4fbe3afd85..7369f69fc6 100644 --- a/dist/native/channel/threadOwnerID.js +++ b/dist/native/channel/threadOwnerID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/threadStarterMessageID.d.ts b/dist/native/channel/threadStarterMessageID.d.ts index 1b12e52256..8e560b3e43 100644 --- a/dist/native/channel/threadStarterMessageID.d.ts +++ b/dist/native/channel/threadStarterMessageID.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }], true>; export default _default; //# sourceMappingURL=threadStarterMessageID.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/threadStarterMessageID.js b/dist/native/channel/threadStarterMessageID.js index 5a1d911e8a..24ce488ec2 100644 --- a/dist/native/channel/threadStarterMessageID.js +++ b/dist/native/channel/threadStarterMessageID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/channel/threadTotalMessagesSent.d.ts b/dist/native/channel/threadTotalMessagesSent.d.ts index 9063244745..89f345a394 100644 --- a/dist/native/channel/threadTotalMessagesSent.d.ts +++ b/dist/native/channel/threadTotalMessagesSent.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }], true>; export default _default; //# sourceMappingURL=threadTotalMessagesSent.d.ts.map \ No newline at end of file diff --git a/dist/native/channel/threadTotalMessagesSent.js b/dist/native/channel/threadTotalMessagesSent.js index 4b549296cf..17d18c85e4 100644 --- a/dist/native/channel/threadTotalMessagesSent.js +++ b/dist/native/channel/threadTotalMessagesSent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/transcript.js b/dist/native/channel/transcript.js index 28f78cf69d..04a17bcd3e 100644 --- a/dist/native/channel/transcript.js +++ b/dist/native/channel/transcript.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/channel/transcript.js.map b/dist/native/channel/transcript.js.map index 3bc1bc5959..cd54c32f15 100644 --- a/dist/native/channel/transcript.js.map +++ b/dist/native/channel/transcript.js.map @@ -1 +1 @@ -{"version":3,"file":"transcript.js","sourceRoot":"","sources":["../../../src/native/channel/transcript.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,kEAAyC;AACzC,wFAA+D;AAC/D,iDAA0F;AAE1F,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,oBAAoB,EAAE,mBAAmB,CAAC;IACpD,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAA,eAAK,GAAkB;IAC/B,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,6DAA6D;YAC1E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SAC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AAA;YACrD,IAAI,QAAQ,CAAC,MAAM;gBAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAe,CAAC,CAAA;iBACtD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;gBAAE,OAAO,QAAQ,CAAA;SACjE;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAClD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"transcript.js","sourceRoot":"","sources":["../../../src/native/channel/transcript.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,kEAAyC;AACzC,wFAA+D;AAC/D,iDAA0F;AAE1F,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,oBAAoB,EAAE,mBAAmB,CAAC;IACpD,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAA,eAAK,GAAkB;IAC/B,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,6DAA6D;YAC1E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,uCAAuC;YACpD,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AI,CAAC,QAAQ,CAAC,KAAe,CAAC,CAAA;iBACtD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;gBAAE,OAAO,QAAQ,CAAA;QAClE,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAClD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/channel/unarchiveThread.d.ts b/dist/native/channel/unarchiveThread.d.ts index 52d7123d32..b278a7a441 100644 --- a/dist/native/channel/unarchiveThread.d.ts +++ b/dist/native/channel/unarchiveThread.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; description: string; diff --git a/dist/native/channel/unarchiveThread.js b/dist/native/channel/unarchiveThread.js index dddb60a3dc..620ee6e70b 100644 --- a/dist/native/channel/unarchiveThread.js +++ b/dist/native/channel/unarchiveThread.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/channel/unlockThread.d.ts b/dist/native/channel/unlockThread.d.ts index dba36f9462..1431c59a73 100644 --- a/dist/native/channel/unlockThread.d.ts +++ b/dist/native/channel/unlockThread.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; description: string; diff --git a/dist/native/channel/unlockThread.js b/dist/native/channel/unlockThread.js index 1f0e71c345..7e05844135 100644 --- a/dist/native/channel/unlockThread.js +++ b/dist/native/channel/unlockThread.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/command/commandCount.js b/dist/native/command/commandCount.js index 2b095545eb..98b714dd51 100644 --- a/dist/native/command/commandCount.js +++ b/dist/native/command/commandCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/command/commandInfo.js b/dist/native/command/commandInfo.js index 8c7f71dd01..a083ed0541 100644 --- a/dist/native/command/commandInfo.js +++ b/dist/native/command/commandInfo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/command/commandName.d.ts b/dist/native/command/commandName.d.ts index d2aca5510f..f0a7a6fd10 100644 --- a/dist/native/command/commandName.d.ts +++ b/dist/native/command/commandName.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=commandName.d.ts.map \ No newline at end of file diff --git a/dist/native/command/commandName.js b/dist/native/command/commandName.js index 3229464c74..f55b366e73 100644 --- a/dist/native/command/commandName.js +++ b/dist/native/command/commandName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/command/commandNames.js b/dist/native/command/commandNames.js index 50a075fe30..5cac403f2d 100644 --- a/dist/native/command/commandNames.js +++ b/dist/native/command/commandNames.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/command/deleteCommand.d.ts b/dist/native/command/deleteCommand.d.ts index 549fca570e..053d98f4e6 100644 --- a/dist/native/command/deleteCommand.d.ts +++ b/dist/native/command/deleteCommand.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=deleteCommand.d.ts.map \ No newline at end of file diff --git a/dist/native/command/deleteCommand.js b/dist/native/command/deleteCommand.js index 9df88a3597..bfcb6e8b55 100644 --- a/dist/native/command/deleteCommand.js +++ b/dist/native/command/deleteCommand.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/component/addActionRow.d.ts b/dist/native/component/addActionRow.d.ts index 03dcfc878a..cb08117d7c 100644 --- a/dist/native/component/addActionRow.d.ts +++ b/dist/native/component/addActionRow.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=addActionRow.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addActionRow.d.ts.map b/dist/native/component/addActionRow.d.ts.map index ceb0383552..a05ad975c2 100644 --- a/dist/native/component/addActionRow.d.ts.map +++ b/dist/native/component/addActionRow.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addActionRow.d.ts","sourceRoot":"","sources":["../../../src/native/component/addActionRow.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;AAGzD,wBAUE"} \ No newline at end of file +{"version":3,"file":"addActionRow.d.ts","sourceRoot":"","sources":["../../../src/native/component/addActionRow.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAGjD,wBAUE"} \ No newline at end of file diff --git a/dist/native/component/addActionRow.js b/dist/native/component/addActionRow.js index 54e5ab6dfc..e26e78e4a9 100644 --- a/dist/native/component/addActionRow.js +++ b/dist/native/component/addActionRow.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addActionRow.js.map b/dist/native/component/addActionRow.js.map index 1a07b41bb9..36cc05a9aa 100644 --- a/dist/native/component/addActionRow.js.map +++ b/dist/native/component/addActionRow.js.map @@ -1 +1 @@ -{"version":3,"file":"addActionRow.js","sourceRoot":"","sources":["../../../src/native/component/addActionRow.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAAyD;AACzD,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oBAAoB;IACjC,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG;QACP,IAAA,yBAAY,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QACxB,GAAG,CAAC,SAAS,CAAC,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;QAChD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addActionRow.js","sourceRoot":"","sources":["../../../src/native/component/addActionRow.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAAiD;AACjD,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oBAAoB;IACjC,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG;QACP,IAAA,yBAAY,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QACxB,GAAG,CAAC,SAAS,CAAC,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;QAChD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addActionRowTo.d.ts.map b/dist/native/component/addActionRowTo.d.ts.map index 995415d859..e373676304 100644 --- a/dist/native/component/addActionRowTo.d.ts.map +++ b/dist/native/component/addActionRowTo.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addActionRowTo.d.ts","sourceRoot":"","sources":["../../../src/native/component/addActionRowTo.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAA6C,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG7G,wBAwEE"} \ No newline at end of file +{"version":3,"file":"addActionRowTo.d.ts","sourceRoot":"","sources":["../../../src/native/component/addActionRowTo.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAA6C,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrG,wBAwEE"} \ No newline at end of file diff --git a/dist/native/component/addActionRowTo.js b/dist/native/component/addActionRowTo.js index 796002e5ce..c73bf5d69c 100644 --- a/dist/native/component/addActionRowTo.js +++ b/dist/native/component/addActionRowTo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addActionRowTo.js.map b/dist/native/component/addActionRowTo.js.map index 3688273dfd..d17a5931f1 100644 --- a/dist/native/component/addActionRowTo.js.map +++ b/dist/native/component/addActionRowTo.js.map @@ -1 +1 @@ -{"version":3,"file":"addActionRowTo.js","sourceRoot":"","sources":["../../../src/native/component/addActionRowTo.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAqE;AACrE,iDAA6G;AAC7G,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,KAAK;IACb,OAAO,EAAE;QACL,kBAAkB;KACrB;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE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AAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAA;QAEzD,wEAAwE;QACxE,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACjF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addActionRowTo.js","sourceRoot":"","sources":["../../../src/native/component/addActionRowTo.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAqE;AACrE,iDAAqG;AACrG,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,KAAK;IACb,OAAO,EAAE;QACL,kBAAkB;KACrB;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,oBAAoB;YAC1B,WA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,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAA;QAEzD,wEAAwE;QACxE,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACjF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addButton.d.ts.map b/dist/native/component/addButton.d.ts.map index f6b89c82c9..704e04812d 100644 --- a/dist/native/component/addButton.d.ts.map +++ b/dist/native/component/addButton.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addButton.d.ts","sourceRoot":"","sources":["../../../src/native/component/addButton.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,WAAW,EAAiB,MAAM,YAAY,CAAA;AACtE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBA+DE"} \ No newline at end of file +{"version":3,"file":"addButton.d.ts","sourceRoot":"","sources":["../../../src/native/component/addButton.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,WAAW,EAAiB,MAAM,YAAY,CAAA;AACtE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBA+DE"} \ No newline at end of file diff --git a/dist/native/component/addButton.js b/dist/native/component/addButton.js index 08f7b532f2..ffa608197c 100644 --- a/dist/native/component/addButton.js +++ b/dist/native/component/addButton.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addButton.js.map b/dist/native/component/addButton.js.map index f2d92d3221..de6aa9112e 100644 --- a/dist/native/component/addButton.js.map +++ b/dist/native/component/addButton.js.map @@ -1 +1 @@ -{"version":3,"file":"addButton.js","sourceRoot":"","sources":["../../../src/native/component/addButton.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsE;AACtE,iDAAkE;AAClE,+CAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,wBAAW;YACjB,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,WAAW,EAAE,2BAA2B;SAC3C;QACD;YACI,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,WAAW,EAAE,+BAA+B;SAC/C;KACJ;IACD,OAAO,C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AAQ,CAAC,EAAE,CAAC,CAAA;;YACnD,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QAExB,IAAI,KAAK,KAAK,wBAAW,CAAC,OAAO,EAAE,CAAC;YAChC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;YACnB,IAAI,KAAK;gBAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAClC,CAAC;QAED,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,OAAO,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAA;;YAC5F,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,CAAA;QAEhD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addButtonTo.d.ts.map b/dist/native/component/addButtonTo.d.ts.map index fd4ea7627c..5ba9093baa 100644 --- a/dist/native/component/addButtonTo.d.ts.map +++ b/dist/native/component/addButtonTo.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addButtonTo.d.ts","sourceRoot":"","sources":["../../../src/native/component/addButtonTo.ts"],"names":[],"mappings":"AAKA,OAAO,EAAmC,WAAW,EAA0B,MAAM,YAAY,CAAA;AACjG,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAkFE"} \ No newline at end of file +{"version":3,"file":"addButtonTo.d.ts","sourceRoot":"","sources":["../../../src/native/component/addButtonTo.ts"],"names":[],"mappings":"AAKA,OAAO,EAAmC,WAAW,EAA0B,MAAM,YAAY,CAAA;AACjG,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAkFE"} \ No newline at end of file diff --git a/dist/native/component/addButtonTo.js b/dist/native/component/addButtonTo.js index 648993bcca..94ae46cc9e 100644 --- a/dist/native/component/addButtonTo.js +++ b/dist/native/component/addButtonTo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addButtonTo.js.map b/dist/native/component/addButtonTo.js.map index eeae392915..1d423a7f8a 100644 --- a/dist/native/component/addButtonTo.js.map +++ b/dist/native/component/addButtonTo.js.map @@ -1 +1 @@ -{"version":3,"file":"addButtonTo.js","sourceRoot":"","sources":["../../../src/native/component/addButtonTo.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAiG;AACjG,iDAAkE;AAClE,+CAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,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GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;YACnB,IAAI,KAAK;gBAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;SACjC;QAED,MAAM,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,mCAAsB,EAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAA;QAC5E,MAAM,IAAI,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC9B,IAAI,IAAI,YAAY,6BAAgB;YAAE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;QAE7D,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACpF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addButtonTo.js","sourceRoot":"","sources":["../../../src/native/component/addButtonTo.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAiG;AACjG,iDAA0D;AAC1D,+CAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,8BAA8B;YAC3C,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,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;aACzC,IAAI,KAAK,KAAK,wBAAW,CAAC,OAAO;YAAE,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;;YACnD,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QAExB,IAAI,KAAK,KAAK,wBAAW,CAAC,OAAO,EAAE,CAAC;YAChC,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;YACnB,IAAI,KAAK;gBAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAClC,CAAC;QAED,MAAM,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,mCAAsB,EAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAA;QAC5E,MAAM,IAAI,GAAG,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC9B,IAAI,IAAI,YAAY,6BAAgB;YAAE,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAA;QAE7D,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACpF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addChannelSelectMenu.d.ts b/dist/native/component/addChannelSelectMenu.d.ts index c157419804..51332a148f 100644 --- a/dist/native/component/addChannelSelectMenu.d.ts +++ b/dist/native/component/addChannelSelectMenu.d.ts @@ -27,9 +27,9 @@ declare const _default: NativeFunction<[{ type: ArgType.Boolean; }, { name: string; - rest: true; - type: ArgType.String; description: string; + rest: false; + type: ArgType.Boolean; }], true>; export default _default; //# sourceMappingURL=addChannelSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addChannelSelectMenu.d.ts.map b/dist/native/component/addChannelSelectMenu.d.ts.map index b072ac71ae..003b538091 100644 --- a/dist/native/component/addChannelSelectMenu.d.ts.map +++ b/dist/native/component/addChannelSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addChannelSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addChannelSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA6DE"} \ No newline at end of file +{"version":3,"file":"addChannelSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addChannelSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA4DE"} \ No newline at end of file diff --git a/dist/native/component/addChannelSelectMenu.js b/dist/native/component/addChannelSelectMenu.js index b3d1243f12..82fb07937d 100644 --- a/dist/native/component/addChannelSelectMenu.js +++ b/dist/native/component/addChannelSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -45,17 +45,16 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.Boolean }, { - name: "default channels", - rest: true, - type: structures_1.ArgType.String, - description: "The default selected channels to use" - } + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: structures_1.ArgType.Boolean, + }, ], - execute(ctx, [id, placeholder, min, max, disabled, channels]) { + execute(ctx, [id, placeholder, min, max, disabled, required]) { const menu = new discord_js_1.ChannelSelectMenuBuilder() - .setDefaultChannels(channels) .setDisabled(disabled || false) - .setRequired(ctx.component.required) + .setRequired(required || false) .setCustomId(id); if (placeholder) menu.setPlaceholder(placeholder); diff --git a/dist/native/component/addChannelSelectMenu.js.map b/dist/native/component/addChannelSelectMenu.js.map index 70abc31a68..78d5ee5015 100644 --- a/dist/native/component/addChannelSelectMenu.js.map +++ b/dist/native/component/addChannelSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"addChannelSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addChannelSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoE;AACpE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,WAAW,EAAE,sCAAsC;SACtD;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAE;QAC1D,MAAM,IAAI,GAAG,IAAI,qCAAwB,EAAE;aACtC,kBAAkB,CAAC,QAAQ,CAAC;aAC5B,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC;aAC9B,WAAW,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC;aACnC,WAAW,CAAC,EAAE,CAAC,CAAA;QAEpB,IAAI,WAAW;YAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;QACjD,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAC/B,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAE/B,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,6BAA6B,CAAC,IAAI,CAAC,CAAA;;YACpG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addChannelSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addChannelSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoE;AACpE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IA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,CAAC,GAAG,CAAC,CAAA;QAE/B,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,6BAA6B,CAAC,IAAI,CAAC,CAAA;;YACpG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addChannelSelectMenuTo.js b/dist/native/component/addChannelSelectMenuTo.js index 9fa5bfe53b..b6126fdb0c 100644 --- a/dist/native/component/addChannelSelectMenuTo.js +++ b/dist/native/component/addChannelSelectMenuTo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addChannelType.js b/dist/native/component/addChannelType.js index e8005e387d..c09b135789 100644 --- a/dist/native/component/addChannelType.js +++ b/dist/native/component/addChannelType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addChannelType.js.map b/dist/native/component/addChannelType.js.map index c90502cdb1..04c8c9ac7c 100644 --- a/dist/native/component/addChannelType.js.map +++ b/dist/native/component/addChannelType.js.map @@ -1 +1 @@ -{"version":3,"file":"addChannelType.js","sourceRoot":"","sources":["../../../src/native/component/addChannelType.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAkE;AAClE,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,kBAAkB,CAAC;IAC7B,WAAW,EAAE,4CAA4C;IACzD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,wBAAW;YACjB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,KAAK,CAAE;QAClB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,qCAAwB,EAAE;YAC1C,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;SAC9B;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addChannelType.js","sourceRoot":"","sources":["../../../src/native/component/addChannelType.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAkE;AAClE,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,kBAAkB,CAAC;IAC7B,WAAW,EAAE,4CAA4C;IACzD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,wBAAW;YACjB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,KAAK,CAAE;QAClB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,qCAAwB,EAAE,CAAC;YAC3C,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;QAC/B,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addCheckbox.d.ts b/dist/native/component/addCheckbox.d.ts new file mode 100644 index 0000000000..cefd363825 --- /dev/null +++ b/dist/native/component/addCheckbox.d.ts @@ -0,0 +1,15 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Boolean; +}], true>; +export default _default; +//# sourceMappingURL=addCheckbox.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addCheckbox.d.ts.map b/dist/native/component/addCheckbox.d.ts.map new file mode 100644 index 0000000000..f27548bf50 --- /dev/null +++ b/dist/native/component/addCheckbox.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"addCheckbox.d.ts","sourceRoot":"","sources":["../../../src/native/component/addCheckbox.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAE1D,wBA6BE"} \ No newline at end of file diff --git a/dist/native/component/addCheckbox.js b/dist/native/component/addCheckbox.js new file mode 100644 index 0000000000..156f2c9f5b --- /dev/null +++ b/dist/native/component/addCheckbox.js @@ -0,0 +1,38 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$addCheckbox", + version: "2.7.0", + description: "Adds a new checkbox component to the newest modal label", + unwrap: true, + brackets: true, + args: [ + { + name: "custom ID", + description: "The custom id for this field", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "default", + description: "Whether this field is checked by default", + rest: false, + type: structures_1.ArgType.Boolean, + }, + ], + execute(ctx, [id, def]) { + const field = new discord_js_1.CheckboxBuilder().setCustomId(id); + if (typeof def === "boolean") + field.setDefault(def); + ctx.component.label?.setCheckboxComponent(field); + return this.success(); + }, +}); +//# sourceMappingURL=addCheckbox.js.map \ No newline at end of file diff --git a/dist/native/component/addCheckbox.js.map b/dist/native/component/addCheckbox.js.map new file mode 100644 index 0000000000..bae64b037f --- /dev/null +++ b/dist/native/component/addCheckbox.js.map @@ -0,0 +1 @@ +{"version":3,"file":"addCheckbox.js","sourceRoot":"","sources":["../../../src/native/component/addCheckbox.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4C;AAC5C,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yDAAyD;IACtE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC;QAClB,MAAM,KAAK,GAAG,IAAI,4BAAe,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QACnD,IAAI,OAAO,GAAG,KAAK,SAAS;YAAE,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;QAEnD,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAA;QAEhD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addCheckboxGroup.d.ts b/dist/native/component/addCheckboxGroup.d.ts new file mode 100644 index 0000000000..4560a0a8cf --- /dev/null +++ b/dist/native/component/addCheckboxGroup.d.ts @@ -0,0 +1,25 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Number; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Number; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Boolean; +}], true>; +export default _default; +//# sourceMappingURL=addCheckboxGroup.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addCheckboxGroup.d.ts.map b/dist/native/component/addCheckboxGroup.d.ts.map new file mode 100644 index 0000000000..8793486cd9 --- /dev/null +++ b/dist/native/component/addCheckboxGroup.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"addCheckboxGroup.d.ts","sourceRoot":"","sources":["../../../src/native/component/addCheckboxGroup.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA6CE"} \ No newline at end of file diff --git a/dist/native/component/addCheckboxGroup.js b/dist/native/component/addCheckboxGroup.js new file mode 100644 index 0000000000..0b5cec3505 --- /dev/null +++ b/dist/native/component/addCheckboxGroup.js @@ -0,0 +1,54 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$addCheckboxGroup", + version: "2.7.0", + description: "Adds a new checkbox group component to the newest modal label", + unwrap: true, + brackets: true, + args: [ + { + name: "custom ID", + description: "The custom id for this field", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "min options", + description: "The min options that can be selected", + rest: false, + type: structures_1.ArgType.Number, + }, + { + name: "max options", + description: "The max options that can be selected", + rest: false, + type: structures_1.ArgType.Number, + }, + { + name: "required", + description: "Whether selecting an option is required", + rest: false, + type: structures_1.ArgType.Boolean, + }, + ], + execute(ctx, [id, min, max, required]) { + const field = new discord_js_1.CheckboxGroupBuilder() + .setCustomId(id) + .setRequired(required || false); + if (min) + field.setMinValues(min); + if (max) + field.setMaxValues(max); + ctx.component.label?.setCheckboxGroupComponent(field); + return this.success(); + }, +}); +//# sourceMappingURL=addCheckboxGroup.js.map \ No newline at end of file diff --git a/dist/native/component/addCheckboxGroup.js.map b/dist/native/component/addCheckboxGroup.js.map new file mode 100644 index 0000000000..192edbf869 --- /dev/null +++ b/dist/native/component/addCheckboxGroup.js.map @@ -0,0 +1 @@ +{"version":3,"file":"addCheckboxGroup.js","sourceRoot":"","sources":["../../../src/native/component/addCheckboxGroup.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAiD;AACjD,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+DAA+D;IAC5E,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,CAAC;QACjC,MAAM,KAAK,GAAG,IAAI,iCAAoB,EAAE;aACnC,WAAW,CAAC,EAAE,CAAC;aACf,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;QAEnC,IAAI,GAAG;YAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAChC,IAAI,GAAG;YAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAEhC,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,yBAAyB,CAAC,KAAK,CAAC,CAAA;QAErD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addCheckboxOption.d.ts b/dist/native/component/addCheckboxOption.d.ts new file mode 100644 index 0000000000..b235252c1b --- /dev/null +++ b/dist/native/component/addCheckboxOption.d.ts @@ -0,0 +1,27 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + type: ArgType.String; + required: false; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Boolean; +}], true>; +export default _default; +//# sourceMappingURL=addCheckboxOption.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addCheckboxOption.d.ts.map b/dist/native/component/addCheckboxOption.d.ts.map new file mode 100644 index 0000000000..884828e94b --- /dev/null +++ b/dist/native/component/addCheckboxOption.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"addCheckboxOption.d.ts","sourceRoot":"","sources":["../../../src/native/component/addCheckboxOption.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBA+CE"} \ No newline at end of file diff --git a/dist/native/component/addCheckboxOption.js b/dist/native/component/addCheckboxOption.js new file mode 100644 index 0000000000..d44fdfb6cf --- /dev/null +++ b/dist/native/component/addCheckboxOption.js @@ -0,0 +1,58 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); +const structures_1 = require("../../structures"); +const components_1 = require("../../functions/components"); +exports.default = new structures_1.NativeFunction({ + name: "$addCheckboxOption", + version: "2.7.0", + description: "Adds a new option to the newest checkbox group component", + unwrap: true, + brackets: true, + args: [ + { + name: "name", + description: "The option name", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "value", + description: "The value to use for this option", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "description", + description: "The description for this option", + rest: false, + type: structures_1.ArgType.String, + required: false, + }, + { + name: "default", + description: "Whether to set this option as default", + rest: false, + type: structures_1.ArgType.Boolean, + }, + ], + execute(ctx, [name, value, desc, def]) { + const comp = (0, components_1.getLastComponent)(ctx); + const field = new discord_js_1.CheckboxGroupOptionBuilder() + .setLabel(name) + .setValue(value) + .setDefault(def || false); + if (desc) + field.setDescription(desc); + if (comp instanceof discord_js_1.CheckboxGroupBuilder) + comp.addOptions(field); + return this.success(); + }, +}); +//# sourceMappingURL=addCheckboxOption.js.map \ No newline at end of file diff --git a/dist/native/component/addCheckboxOption.js.map b/dist/native/component/addCheckboxOption.js.map new file mode 100644 index 0000000000..dd25b10aab --- /dev/null +++ b/dist/native/component/addCheckboxOption.js.map @@ -0,0 +1 @@ +{"version":3,"file":"addCheckboxOption.js","sourceRoot":"","sources":["../../../src/native/component/addCheckboxOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6E;AAC7E,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0DAA0D;IACvE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC;QACjC,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,MAAM,KAAK,GAAG,IAAI,uCAA0B,EAAE;aACzC,QAAQ,CAAC,IAAI,CAAC;aACd,QAAQ,CAAC,KAAK,CAAC;aACf,UAAU,CAAC,GAAG,IAAI,KAAK,CAAC,CAAA;QAE7B,IAAI,IAAI;YAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;QACpC,IAAI,IAAI,YAAY,iCAAoB;YAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QAEhE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addChoice.d.ts.map b/dist/native/component/addChoice.d.ts.map index 90b7c9be28..db85bfe160 100644 --- a/dist/native/component/addChoice.d.ts.map +++ b/dist/native/component/addChoice.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addChoice.d.ts","sourceRoot":"","sources":["../../../src/native/component/addChoice.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAElE,wBA8BE"} \ No newline at end of file +{"version":3,"file":"addChoice.d.ts","sourceRoot":"","sources":["../../../src/native/component/addChoice.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAE1D,wBA8BE"} \ No newline at end of file diff --git a/dist/native/component/addChoice.js b/dist/native/component/addChoice.js index 863b94faed..4d731a98ed 100644 --- a/dist/native/component/addChoice.js +++ b/dist/native/component/addChoice.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/component/addChoice.js.map b/dist/native/component/addChoice.js.map index 19e81c869e..012ca6b68e 100644 --- a/dist/native/component/addChoice.js.map +++ b/dist/native/component/addChoice.js.map @@ -1 +1 @@ -{"version":3,"file":"addChoice.js","sourceRoot":"","sources":["../../../src/native/component/addChoice.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;QACtB,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC;YACvB,IAAI;YACJ,KAAK;SACR,CAAC,CAAA;QAEF,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addChoice.js","sourceRoot":"","sources":["../../../src/native/component/addChoice.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC;QACtB,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC;YACvB,IAAI;YACJ,KAAK;SACR,CAAC,CAAA;QAEF,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addContainer.d.ts.map b/dist/native/component/addContainer.d.ts.map index 9ea110e3a2..1ea2ff8e28 100644 --- a/dist/native/component/addContainer.d.ts.map +++ b/dist/native/component/addContainer.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addContainer.d.ts","sourceRoot":"","sources":["../../../src/native/component/addContainer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAGlG,wBAgDE"} \ No newline at end of file +{"version":3,"file":"addContainer.d.ts","sourceRoot":"","sources":["../../../src/native/component/addContainer.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAG1F,wBAgDE"} \ No newline at end of file diff --git a/dist/native/component/addContainer.js b/dist/native/component/addContainer.js index a3c498c8d9..49c6f66b94 100644 --- a/dist/native/component/addContainer.js +++ b/dist/native/component/addContainer.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addContainer.js.map b/dist/native/component/addContainer.js.map index 65167743e5..d94d834761 100644 --- a/dist/native/component/addContainer.js.map +++ b/dist/native/component/addContainer.js.map @@ -1 +1 @@ -{"version":3,"file":"addContainer.js","sourceRoot":"","sources":["../../../src/native/component/addContainer.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAAkG;AAClG,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,6BAAgB,EAAE,CAAC,CAAA;QACrD,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,0BAAa,CAAC,SAAS,CAAC,CAAA;QAClD,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAqB,CAAA;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAA;QAEzD,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;QACzE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;YAAE,OAAO,EAAE,CAAA;QAC7C,MAAM,CAAE,KAAK,EAAE,OAAO,CAAE,GAAG,IAAI,CAAA;QAE/B,IAAI,CAAC,cAAc,CAAC,KAAK,IAAI,SAAS,CAAC,CAAA;QACvC,IAAI,CAAC,UAAU,CAAC,OAAO,IAAI,KAAK,CAAC,CAAA;QAEjC,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;QAC1B,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addContainer.js","sourceRoot":"","sources":["../../../src/native/component/addContainer.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAA0F;AAC1F,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,KAAK;YACX,I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AAG,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;QAC1B,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addDefaultChannelOption.js b/dist/native/component/addDefaultChannelOption.js index 2a889bd522..210a766869 100644 --- a/dist/native/component/addDefaultChannelOption.js +++ b/dist/native/component/addDefaultChannelOption.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addDefaultChannelOption.js.map b/dist/native/component/addDefaultChannelOption.js.map index efc8e10c80..00f4b3d28a 100644 --- a/dist/native/component/addDefaultChannelOption.js.map +++ b/dist/native/component/addDefaultChannelOption.js.map @@ -1 +1 @@ -{"version":3,"file":"addDefaultChannelOption.js","sourceRoot":"","sources":["../../../src/native/component/addDefaultChannelOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAqD;AACrD,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,qBAAqB;QACrB,2BAA2B;KAC9B;IACD,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,qCAAwB,EAAE;YAC1C,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAA;SAC/B;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addDefaultChannelOption.js","sourceRoot":"","sources":["../../../src/native/component/addDefaultChannelOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAqD;AACrD,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,qBAAqB;QACrB,2BAA2B;KAC9B;IACD,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,qCAAwB,EAAE,CAAC;YAC3C,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAA;QAChC,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addDefaultRoleOption.js b/dist/native/component/addDefaultRoleOption.js index 4cc841302b..b17d76783b 100644 --- a/dist/native/component/addDefaultRoleOption.js +++ b/dist/native/component/addDefaultRoleOption.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addDefaultRoleOption.js.map b/dist/native/component/addDefaultRoleOption.js.map index 88fdd37f91..b5e33b30f0 100644 --- a/dist/native/component/addDefaultRoleOption.js.map +++ b/dist/native/component/addDefaultRoleOption.js.map @@ -1 +1 @@ -{"version":3,"file":"addDefaultRoleOption.js","sourceRoot":"","sources":["../../../src/native/component/addDefaultRoleOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAgF;AAChF,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,kBAAkB;QAClB,wBAAwB;KAC3B;IACD,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,kCAAqB,IAAI,IAAI,YAAY,yCAA4B,EAAE;YACvF,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAA;SAC5B;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addDefaultRoleOption.js","sourceRoot":"","sources":["../../../src/native/component/addDefaultRoleOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAgF;AAChF,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,kBAAkB;QAClB,wBAAwB;KAC3B;IACD,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,kCAAqB,IAAI,IAAI,YAAY,yCAA4B,EAAE,CAAC;YACxF,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAA;QAC7B,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addDefaultUserOption.js b/dist/native/component/addDefaultUserOption.js index 8b2e47ed8d..25557b1c97 100644 --- a/dist/native/component/addDefaultUserOption.js +++ b/dist/native/component/addDefaultUserOption.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addDefaultUserOption.js.map b/dist/native/component/addDefaultUserOption.js.map index 0ceca5ae60..d6ee3f9cb2 100644 --- a/dist/native/component/addDefaultUserOption.js.map +++ b/dist/native/component/addDefaultUserOption.js.map @@ -1 +1 @@ -{"version":3,"file":"addDefaultUserOption.js","sourceRoot":"","sources":["../../../src/native/component/addDefaultUserOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAgF;AAChF,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,kBAAkB;QAClB,wBAAwB;KAC3B;IACD,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,kCAAqB,IAAI,IAAI,YAAY,yCAA4B,EAAE;YACvF,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAA;SAC5B;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addDefaultUserOption.js","sourceRoot":"","sources":["../../../src/native/component/addDefaultUserOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAgF;AAChF,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,kBAAkB;QAClB,wBAAwB;KAC3B;IACD,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,kCAAqB,IAAI,IAAI,YAAY,yCAA4B,EAAE,CAAC;YACxF,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,CAAA;QAC7B,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addFile.d.ts.map b/dist/native/component/addFile.d.ts.map index a4be1dbd60..39ff5dd70b 100644 --- a/dist/native/component/addFile.d.ts.map +++ b/dist/native/component/addFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addFile.d.ts","sourceRoot":"","sources":["../../../src/native/component/addFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAGlE,wBAgCE"} \ No newline at end of file +{"version":3,"file":"addFile.d.ts","sourceRoot":"","sources":["../../../src/native/component/addFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAG1D,wBAgCE"} \ No newline at end of file diff --git a/dist/native/component/addFile.js b/dist/native/component/addFile.js index 9dcf261335..6342715d42 100644 --- a/dist/native/component/addFile.js +++ b/dist/native/component/addFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addFile.js.map b/dist/native/component/addFile.js.map index 2298448dfd..0cff6e4330 100644 --- a/dist/native/component/addFile.js.map +++ b/dist/native/component/addFile.js.map @@ -1 +1 @@ -{"version":3,"file":"addFile.js","sourceRoot":"","sources":["../../../src/native/component/addFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyE;AACzE,iDAAkE;AAClE,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC;QACvB,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,MAAM,IAAI,GAAG,IAAI,wBAAW,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QAEhE,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACnF,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;;YAC3B,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAExC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addFile.js","sourceRoot":"","sources":["../../../src/native/component/addFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyE;AACzE,iDAA0D;AAC1D,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC;QACvB,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,MAAM,IAAI,GAAG,IAAI,wBAAW,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QAEhE,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACnF,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;;YAC3B,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAExC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addFileUpload.d.ts b/dist/native/component/addFileUpload.d.ts index 373b0e02e0..69dee260f7 100644 --- a/dist/native/component/addFileUpload.d.ts +++ b/dist/native/component/addFileUpload.d.ts @@ -15,6 +15,11 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.Number; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Boolean; }], true>; export default _default; //# sourceMappingURL=addFileUpload.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addFileUpload.d.ts.map b/dist/native/component/addFileUpload.d.ts.map index 20809507c6..5b0ba4a4ef 100644 --- a/dist/native/component/addFileUpload.d.ts.map +++ b/dist/native/component/addFileUpload.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addFileUpload.d.ts","sourceRoot":"","sources":["../../../src/native/component/addFileUpload.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElE,wBAuCE"} \ No newline at end of file +{"version":3,"file":"addFileUpload.d.ts","sourceRoot":"","sources":["../../../src/native/component/addFileUpload.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA6CE"} \ No newline at end of file diff --git a/dist/native/component/addFileUpload.js b/dist/native/component/addFileUpload.js index c9e3a2c480..0086af94a3 100644 --- a/dist/native/component/addFileUpload.js +++ b/dist/native/component/addFileUpload.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -9,7 +9,7 @@ const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$addFileUpload", version: "2.6.0", - description: "Adds a new file upload component to the modal label", + description: "Adds a new file upload component to the newest modal label", unwrap: true, brackets: true, args: [ @@ -32,11 +32,17 @@ exports.default = new structures_1.NativeFunction({ rest: false, type: structures_1.ArgType.Number, }, + { + name: "required", + description: "Whether this field is required", + rest: false, + type: structures_1.ArgType.Boolean, + }, ], - execute(ctx, [id, min, max]) { + execute(ctx, [id, min, max, required]) { const field = new discord_js_1.FileUploadBuilder() .setCustomId(id) - .setRequired(ctx.component.required); + .setRequired(required || false); if (min) field.setMinValues(min); if (max) diff --git a/dist/native/component/addFileUpload.js.map b/dist/native/component/addFileUpload.js.map index 4489f94794..d319f9d052 100644 --- a/dist/native/component/addFileUpload.js.map +++ b/dist/native/component/addFileUpload.js.map @@ -1 +1 @@ -{"version":3,"file":"addFileUpload.js","sourceRoot":"","sources":["../../../src/native/component/addFileUpload.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA8C;AAC9C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC;QACvB,MAAM,KAAK,GAAG,IAAI,8BAAiB,EAAE;aAChC,WAAW,CAAC,EAAE,CAAC;aACf,WAAW,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;QAExC,IAAI,GAAG;YAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAChC,IAAI,GAAG;YAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAEhC,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAA;QAElD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addFileUpload.js","sourceRoot":"","sources":["../../../src/native/component/addFileUpload.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA8C;AAC9C,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,CAAC;QACjC,MAAM,KAAK,GAAG,IAAI,8BAAiB,EAAE;aAChC,WAAW,CAAC,EAAE,CAAC;aACf,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;QAEnC,IAAI,GAAG;YAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAChC,IAAI,GAAG;YAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAEhC,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAA;QAElD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addLabel.d.ts b/dist/native/component/addLabel.d.ts index b246d1f35b..3dbe0b88da 100644 --- a/dist/native/component/addLabel.d.ts +++ b/dist/native/component/addLabel.d.ts @@ -9,18 +9,13 @@ declare const _default: NativeFunction<[{ name: string; description: string; rest: false; - required: true; type: ArgType.String; }, { name: string; description: string; rest: false; + required: true; type: ArgType.String; -}, { - name: string; - description: string; - rest: false; - type: ArgType.Boolean; }], false>; export default _default; //# sourceMappingURL=addLabel.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addLabel.d.ts.map b/dist/native/component/addLabel.d.ts.map index 61d73515a5..0415fee76d 100644 --- a/dist/native/component/addLabel.d.ts.map +++ b/dist/native/component/addLabel.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addLabel.d.ts","sourceRoot":"","sources":["../../../src/native/component/addLabel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;AAElG,wBA0DE"} \ No newline at end of file +{"version":3,"file":"addLabel.d.ts","sourceRoot":"","sources":["../../../src/native/component/addLabel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;AAE1F,wBAmDE"} \ No newline at end of file diff --git a/dist/native/component/addLabel.js b/dist/native/component/addLabel.js index 5dfae2c49e..4ce7c20cf3 100644 --- a/dist/native/component/addLabel.js +++ b/dist/native/component/addLabel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -20,13 +20,6 @@ exports.default = new structures_1.NativeFunction({ required: true, type: structures_1.ArgType.String, }, - { - name: "component", - description: "The component to attach to the label", - rest: false, - required: true, - type: structures_1.ArgType.String, - }, { name: "description", description: "The description for the label", @@ -34,26 +27,26 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.String, }, { - name: "required", - description: "Whether this field is required", + name: "component", + description: "The component to attach to the label", rest: false, - type: structures_1.ArgType.Boolean, + required: true, + type: structures_1.ArgType.String, }, ], async execute(ctx) { if (!ctx.interaction) return this.success(); ctx.container.inside.push(discord_js_1.ComponentType.Label); - const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 2, 3); + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 1); if (!this["isValidReturnType"](rt)) return rt; - const [name, desc, required] = args; + const [name, desc] = args; const label = new discord_js_1.LabelBuilder().setLabel(name); if (desc) label.setDescription(desc); ctx.component.label = label; - ctx.component.required = required || false; - const code = this.data.fields[1]; + const code = this.data.fields[2]; const resolved = await this["resolveCode"](ctx, code); if (!this["isValidReturnType"](resolved)) return resolved; diff --git a/dist/native/component/addLabel.js.map b/dist/native/component/addLabel.js.map index ae89247208..8e7a622115 100644 --- a/dist/native/component/addLabel.js.map +++ b/dist/native/component/addLabel.js.map @@ -1 +1 @@ -{"version":3,"file":"addLabel.js","sourceRoot":"","sources":["../../../src/native/component/addLabel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwD;AACxD,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yCAAyC;IACtD,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,CAAC,GAAG,CAAC,WAAW;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAC3C,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,0BAAa,CAAC,KAAK,CAAC,CAAA;QAE9C,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;QAC5E,IAAI,CAAC,IAAI,CAAC,mBAA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AI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAA;QAEzD,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,kBAAkB,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;QAE5D,GAAG,CAAC,SAAS,GAAG,EAAE,CAAA;QAClB,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;QAC1B,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addMediaGallery.d.ts.map b/dist/native/component/addMediaGallery.d.ts.map index 6b9bbf7996..9d6959df97 100644 --- a/dist/native/component/addMediaGallery.d.ts.map +++ b/dist/native/component/addMediaGallery.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addMediaGallery.d.ts","sourceRoot":"","sources":["../../../src/native/component/addMediaGallery.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAIlG,wBA+BE"} \ No newline at end of file +{"version":3,"file":"addMediaGallery.d.ts","sourceRoot":"","sources":["../../../src/native/component/addMediaGallery.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAI1F,wBA+BE"} \ No newline at end of file diff --git a/dist/native/component/addMediaGallery.js b/dist/native/component/addMediaGallery.js index a2192feca1..8d3776a74b 100644 --- a/dist/native/component/addMediaGallery.js +++ b/dist/native/component/addMediaGallery.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/component/addMediaGallery.js.map b/dist/native/component/addMediaGallery.js.map index ac97d36a9b..11be270c3f 100644 --- a/dist/native/component/addMediaGallery.js.map +++ b/dist/native/component/addMediaGallery.js.map @@ -1 +1 @@ -{"version":3,"file":"addMediaGallery.js","sourceRoot":"","sources":["../../../src/native/component/addMediaGallery.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAClG,2DAAyD;AACzD,2CAAiF;AAEjF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,gCAAmB,EAAE,CAAA;QAEjD,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAA;QAEzD,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACnF,IAAI,CAAC,yBAAyB,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;;YACpD,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QAEzD,OAAO,GAAG,CAAC,SAAS,CAAC,OAAO,CAAA;QAC5B,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addMediaGallery.js","sourceRoot":"","sources":["../../../src/native/component/addMediaGallery.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0F;AAC1F,2DAAyD;AACzD,2CAAiF;AAEjF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,gCAAmB,EAAE,CAAA;QAEjD,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAA;QAEzD,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACnF,IAAI,CAAC,yBAAyB,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;;YACpD,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QAEzD,OAAO,GAAG,CAAC,SAAS,CAAC,OAAO,CAAA;QAC5B,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addMediaItem.d.ts.map b/dist/native/component/addMediaItem.d.ts.map index 793936929c..fd3280c950 100644 --- a/dist/native/component/addMediaItem.d.ts.map +++ b/dist/native/component/addMediaItem.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addMediaItem.d.ts","sourceRoot":"","sources":["../../../src/native/component/addMediaItem.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElE,wBAmCE"} \ No newline at end of file +{"version":3,"file":"addMediaItem.d.ts","sourceRoot":"","sources":["../../../src/native/component/addMediaItem.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAE1D,wBAmCE"} \ No newline at end of file diff --git a/dist/native/component/addMediaItem.js b/dist/native/component/addMediaItem.js index 84a843aef2..5cd4bf05af 100644 --- a/dist/native/component/addMediaItem.js +++ b/dist/native/component/addMediaItem.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addMediaItem.js.map b/dist/native/component/addMediaItem.js.map index 2f73bbfb40..c33ccb8ef2 100644 --- a/dist/native/component/addMediaItem.js.map +++ b/dist/native/component/addMediaItem.js.map @@ -1 +1 @@ -{"version":3,"file":"addMediaItem.js","sourceRoot":"","sources":["../../../src/native/component/addMediaItem.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoD;AACpD,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+BAA+B;IAC5C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC;QAC7B,MAAM,IAAI,GAAG,IAAI,oCAAuB,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QAE5E,IAAI,IAAI;YAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;QACnC,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;QAErC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addMediaItem.js","sourceRoot":"","sources":["../../../src/native/component/addMediaItem.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoD;AACpD,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+BAA+B;IAC5C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC;QAC7B,MAAM,IAAI,GAAG,IAAI,oCAAuB,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QAE5E,IAAI,IAAI;YAAE,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;QACnC,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;QAErC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addMentionableSelectMenu.d.ts b/dist/native/component/addMentionableSelectMenu.d.ts index 48b837a131..213f3cae36 100644 --- a/dist/native/component/addMentionableSelectMenu.d.ts +++ b/dist/native/component/addMentionableSelectMenu.d.ts @@ -28,9 +28,9 @@ declare const _default: NativeFunction<[{ type: ArgType.Boolean; }, { name: string; - rest: true; - type: ArgType.RoleOrUser; description: string; + rest: false; + type: ArgType.Boolean; }], true>; export default _default; //# sourceMappingURL=addMentionableSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addMentionableSelectMenu.d.ts.map b/dist/native/component/addMentionableSelectMenu.d.ts.map index c590ec0224..93a9febd65 100644 --- a/dist/native/component/addMentionableSelectMenu.d.ts.map +++ b/dist/native/component/addMentionableSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addMentionableSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addMentionableSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBAmEE"} \ No newline at end of file +{"version":3,"file":"addMentionableSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addMentionableSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA6DE"} \ No newline at end of file diff --git a/dist/native/component/addMentionableSelectMenu.js b/dist/native/component/addMentionableSelectMenu.js index 75c950281c..1b65f980a0 100644 --- a/dist/native/component/addMentionableSelectMenu.js +++ b/dist/native/component/addMentionableSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -46,23 +46,17 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.Boolean }, { - name: "default roles/users", - rest: true, - type: structures_1.ArgType.RoleOrUser, - description: "The default selected roles or users to use", - } + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: structures_1.ArgType.Boolean, + }, ], - execute(ctx, [id, placeholder, min, max, disabled, defaults]) { + execute(ctx, [id, placeholder, min, max, disabled, required]) { const menu = new discord_js_1.MentionableSelectMenuBuilder() .setDisabled(disabled || false) - .setRequired(ctx.component.required) - .setCustomId(id) - .setDefaultValues(defaults.map(x => { - return { - id: x.id, - type: x instanceof discord_js_1.User ? discord_js_1.SelectMenuDefaultValueType.User : discord_js_1.SelectMenuDefaultValueType.Role - }; - })); + .setRequired(required || false) + .setCustomId(id); if (placeholder) menu.setPlaceholder(placeholder); if (min) diff --git a/dist/native/component/addMentionableSelectMenu.js.map b/dist/native/component/addMentionableSelectMenu.js.map index 33bd016f39..6e155fe7aa 100644 --- a/dist/native/component/addMentionableSelectMenu.js.map +++ b/dist/native/component/addMentionableSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"addMentionableSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addMentionableSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA0G;AAC1G,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAA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AAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAE/B,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,iCAAiC,CAAC,IAAI,CAAC,CAAA;;YACxG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addMentionableSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addMentionableSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwE;AACxE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAE;QAC1D,MAAM,IAAI,GAAG,IAAI,yCAA4B,EAAE;aAC1C,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC;aAC9B,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC;aAC9B,WAAW,CAAC,EAAE,CAAC,CAAA;QAEpB,IAAI,WAAW;YAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;QACjD,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAC/B,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAE/B,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,iCAAiC,CAAC,IAAI,CAAC,CAAA;;YACxG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addMentionableSelectMenuTo.js b/dist/native/component/addMentionableSelectMenuTo.js index 3a2cd974e2..6aa7ca29e0 100644 --- a/dist/native/component/addMentionableSelectMenuTo.js +++ b/dist/native/component/addMentionableSelectMenuTo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addOption.d.ts.map b/dist/native/component/addOption.d.ts.map index 69964e0b0b..b498707cb9 100644 --- a/dist/native/component/addOption.d.ts.map +++ b/dist/native/component/addOption.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addOption.d.ts","sourceRoot":"","sources":["../../../src/native/component/addOption.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBA8DE"} \ No newline at end of file +{"version":3,"file":"addOption.d.ts","sourceRoot":"","sources":["../../../src/native/component/addOption.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBA8DE"} \ No newline at end of file diff --git a/dist/native/component/addOption.js b/dist/native/component/addOption.js index e25486d5ff..d7378e832d 100644 --- a/dist/native/component/addOption.js +++ b/dist/native/component/addOption.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addOption.js.map b/dist/native/component/addOption.js.map index 5ef61ff5b8..db5ce8d863 100644 --- a/dist/native/component/addOption.js.map +++ b/dist/native/component/addOption.js.map @@ -1 +1 @@ -{"version":3,"file":"addOption.js","sourceRoot":"","sources":["../../../src/native/component/addOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmF;AACnF,iDAAkE;AAClE,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC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AAU,EAAC,KAAK,CAAkC,IAAI;wBACrD,IAAI,EAAE,KAAK;qBACd;oBACD,CAAC,CAAC,SAAS;aAClB,CAAA;YAED,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA;SACxB;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addOption.js","sourceRoot":"","sources":["../../../src/native/component/addOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmF;AACnF,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC;QACxC,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAElC,IAAI,IAAI,YAAY,kCAAqB,IAAI,YAAY,IAAI,IAAI,EAAE,CAAC;YAChE,MAAM,IAAI,GAAwB;gBAC9B,KAAK,EAAE,IAAI;gBACX,WAAW,EAAE,IAAI,IAAI,SAAS;gBAC9B,KAAK;gBACL,OAAO,EAAE,GAAG,IAAI,KAAK;gBACrB,KAAK,EAAE,KAAK;oBACR,CAAC,CAAE,IAAA,uBAAU,EAAC,KAAK,CAAkC,IAAI;wBACrD,IAAI,EAAE,KAAK;qBACd;oBACD,CAAC,CAAC,SAAS;aAClB,CAAA;YAED,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAA;QACzB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addRadioGroup.d.ts b/dist/native/component/addRadioGroup.d.ts new file mode 100644 index 0000000000..8e202cc78f --- /dev/null +++ b/dist/native/component/addRadioGroup.d.ts @@ -0,0 +1,15 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Boolean; +}], true>; +export default _default; +//# sourceMappingURL=addRadioGroup.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addRadioGroup.d.ts.map b/dist/native/component/addRadioGroup.d.ts.map new file mode 100644 index 0000000000..7a63d749d7 --- /dev/null +++ b/dist/native/component/addRadioGroup.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"addRadioGroup.d.ts","sourceRoot":"","sources":["../../../src/native/component/addRadioGroup.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAE1D,wBA8BE"} \ No newline at end of file diff --git a/dist/native/component/addRadioGroup.js b/dist/native/component/addRadioGroup.js new file mode 100644 index 0000000000..6b4d707c63 --- /dev/null +++ b/dist/native/component/addRadioGroup.js @@ -0,0 +1,38 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$addRadioGroup", + version: "2.7.0", + description: "Adds a new radio group component to the newest modal label", + unwrap: true, + brackets: true, + args: [ + { + name: "custom ID", + description: "The custom id for this field", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "required", + description: "Whether selecting an option is required", + rest: false, + type: structures_1.ArgType.Boolean, + }, + ], + execute(ctx, [id, required]) { + const field = new discord_js_1.RadioGroupBuilder() + .setCustomId(id) + .setRequired(required || false); + ctx.component.label?.setRadioGroupComponent(field); + return this.success(); + }, +}); +//# sourceMappingURL=addRadioGroup.js.map \ No newline at end of file diff --git a/dist/native/component/addRadioGroup.js.map b/dist/native/component/addRadioGroup.js.map new file mode 100644 index 0000000000..2ee5eed105 --- /dev/null +++ b/dist/native/component/addRadioGroup.js.map @@ -0,0 +1 @@ +{"version":3,"file":"addRadioGroup.js","sourceRoot":"","sources":["../../../src/native/component/addRadioGroup.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA8C;AAC9C,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,QAAQ,CAAC;QACvB,MAAM,KAAK,GAAG,IAAI,8BAAiB,EAAE;aAChC,WAAW,CAAC,EAAE,CAAC;aACf,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;QAEnC,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,sBAAsB,CAAC,KAAK,CAAC,CAAA;QAElD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addRadioOption.d.ts b/dist/native/component/addRadioOption.d.ts new file mode 100644 index 0000000000..368c9df026 --- /dev/null +++ b/dist/native/component/addRadioOption.d.ts @@ -0,0 +1,27 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + type: ArgType.String; + required: false; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Boolean; +}], true>; +export default _default; +//# sourceMappingURL=addRadioOption.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addRadioOption.d.ts.map b/dist/native/component/addRadioOption.d.ts.map new file mode 100644 index 0000000000..aaed0482c1 --- /dev/null +++ b/dist/native/component/addRadioOption.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"addRadioOption.d.ts","sourceRoot":"","sources":["../../../src/native/component/addRadioOption.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBA+CE"} \ No newline at end of file diff --git a/dist/native/component/addRadioOption.js b/dist/native/component/addRadioOption.js new file mode 100644 index 0000000000..4d382c3c94 --- /dev/null +++ b/dist/native/component/addRadioOption.js @@ -0,0 +1,58 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); +const structures_1 = require("../../structures"); +const components_1 = require("../../functions/components"); +exports.default = new structures_1.NativeFunction({ + name: "$addRadioOption", + version: "2.7.0", + description: "Adds a new option to the newest radio group component", + unwrap: true, + brackets: true, + args: [ + { + name: "name", + description: "The option name", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "value", + description: "The value to use for this option", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + { + name: "description", + description: "The description for this option", + rest: false, + type: structures_1.ArgType.String, + required: false, + }, + { + name: "default", + description: "Whether to set this option as default", + rest: false, + type: structures_1.ArgType.Boolean, + }, + ], + execute(ctx, [name, value, desc, def]) { + const comp = (0, components_1.getLastComponent)(ctx); + const field = new discord_js_1.RadioGroupOptionBuilder() + .setLabel(name) + .setValue(value) + .setDefault(def || false); + if (desc) + field.setDescription(desc); + if (comp instanceof discord_js_1.RadioGroupBuilder) + comp.addOptions(field); + return this.success(); + }, +}); +//# sourceMappingURL=addRadioOption.js.map \ No newline at end of file diff --git a/dist/native/component/addRadioOption.js.map b/dist/native/component/addRadioOption.js.map new file mode 100644 index 0000000000..2d21d9a32d --- /dev/null +++ b/dist/native/component/addRadioOption.js.map @@ -0,0 +1 @@ +{"version":3,"file":"addRadioOption.js","sourceRoot":"","sources":["../../../src/native/component/addRadioOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAuE;AACvE,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE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/native/component/addRoleSelectMenu.d.ts index 24261a2340..738b75a9fd 100644 --- a/dist/native/component/addRoleSelectMenu.d.ts +++ b/dist/native/component/addRoleSelectMenu.d.ts @@ -28,9 +28,9 @@ declare const _default: NativeFunction<[{ type: ArgType.Boolean; }, { name: string; - rest: true; - type: ArgType.String; description: string; + rest: false; + type: ArgType.Boolean; }], true>; export default _default; //# sourceMappingURL=addRoleSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addRoleSelectMenu.d.ts.map b/dist/native/component/addRoleSelectMenu.d.ts.map index 6e99a93d63..6f67379237 100644 --- a/dist/native/component/addRoleSelectMenu.d.ts.map +++ b/dist/native/component/addRoleSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addRoleSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addRoleSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA8DE"} \ No newline at end of file +{"version":3,"file":"addRoleSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addRoleSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA6DE"} \ No newline at end of file diff --git a/dist/native/component/addRoleSelectMenu.js b/dist/native/component/addRoleSelectMenu.js index adb0528fa0..2d25afedec 100644 --- a/dist/native/component/addRoleSelectMenu.js +++ b/dist/native/component/addRoleSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -46,17 +46,16 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.Boolean }, { - name: "default roles", - rest: true, - type: structures_1.ArgType.String, - description: "The default selected roles to use", - } + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: structures_1.ArgType.Boolean, + }, ], - execute(ctx, [id, placeholder, min, max, disabled, roles]) { + execute(ctx, [id, placeholder, min, max, disabled, required]) { const menu = new discord_js_1.RoleSelectMenuBuilder() - .setDefaultRoles(roles) .setDisabled(disabled || false) - .setRequired(ctx.component.required) + .setRequired(required || false) .setCustomId(id); if (placeholder) menu.setPlaceholder(placeholder); diff --git a/dist/native/component/addRoleSelectMenu.js.map b/dist/native/component/addRoleSelectMenu.js.map index f8dbdaae98..b4218d7203 100644 --- a/dist/native/component/addRoleSelectMenu.js.map +++ b/dist/native/component/addRoleSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"addRoleSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addRoleSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAiE;AACjE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,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Q,IAAI,KAAK,CAAC;aAC9B,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC;aAC9B,WAAW,CAAC,EAAE,CAAC,CAAA;QAEpB,IAAI,WAAW;YAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;QACjD,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAC/B,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAE/B,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,CAAA;;YACjG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addRoleSelectMenuTo.js b/dist/native/component/addRoleSelectMenuTo.js index 62549552c8..311bec866f 100644 --- a/dist/native/component/addRoleSelectMenuTo.js +++ b/dist/native/component/addRoleSelectMenuTo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addSection.d.ts.map b/dist/native/component/addSection.d.ts.map index c9ba9ffe76..55356c9773 100644 --- a/dist/native/component/addSection.d.ts.map +++ b/dist/native/component/addSection.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addSection.d.ts","sourceRoot":"","sources":["../../../src/native/component/addSection.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAIlG,wBAiCE"} \ No newline at end of file +{"version":3,"file":"addSection.d.ts","sourceRoot":"","sources":["../../../src/native/component/addSection.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAI1F,wBAiCE"} \ No newline at end of file diff --git a/dist/native/component/addSection.js b/dist/native/component/addSection.js index 6abbaab88e..5c1e6ae02c 100644 --- a/dist/native/component/addSection.js +++ b/dist/native/component/addSection.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/component/addSection.js.map b/dist/native/component/addSection.js.map index adb4d019b0..1783f8360f 100644 --- a/dist/native/component/addSection.js.map +++ b/dist/native/component/addSection.js.map @@ -1 +1 @@ -{"version":3,"file":"addSection.js","sourceRoot":"","sources":["../../../src/native/component/addSection.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAClG,2DAAyD;AACzD,2CAA4E;AAE5E,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,IAAI,2BAAc,EAAE,CAAA;QAC5C,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,0BAAa,CAAC,OAAO,CAAC,CAAA;QAEhD,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;YAAE,OAAO,QAAQ,CAAA;QAEzD,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACnF,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;;YAC/C,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QAEzD,OAAO,GAAG,CAAC,SAAS,CAAC,OAAO,CAAA;QAC5B,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;QAC1B,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addSection.js","sourceRoot":"","sources":["../../../src/native/component/addSection.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0F;AAC1F,2DAAyD;AACzD,2CAA4E;AAE5E,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,q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b555d45 100644 --- a/dist/native/component/addSeparator.d.ts.map +++ b/dist/native/component/addSeparator.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addSeparator.d.ts","sourceRoot":"","sources":["../../../src/native/component/addSeparator.ts"],"names":[],"mappings":"AAKA,OAAO,EAAqD,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACpG,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAGlE,wBAoCE"} \ No newline at end of file +{"version":3,"file":"addSeparator.d.ts","sourceRoot":"","sources":["../../../src/native/component/addSeparator.ts"],"names":[],"mappings":"AAKA,OAAO,EAAqD,oBAAoB,EAAE,MAAM,YAAY,CAAA;AACpG,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAG1D,wBAoCE"} \ No newline at end of file diff --git a/dist/native/component/addSeparator.js b/dist/native/component/addSeparator.js index fbf384eb45..b52ea76039 100644 --- a/dist/native/component/addSeparator.js +++ b/dist/native/component/addSeparator.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addSeparator.js.map b/dist/native/component/addSeparator.js.map index 29749b2d3c..2433bafbb5 100644 --- a/dist/native/component/addSeparator.js.map +++ b/dist/native/component/addSeparator.js.map @@ -1 +1 @@ -{"version":3,"file":"addSeparator.js","sourceRoot":"","sources":["../../../src/native/component/addSeparator.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoG;AACpG,iDAAkE;AAClE,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,iCAAoB;SAC7B;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;QAC3B,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,MAAM,GAAG,GAAG,IAAI,6BAAgB,EAAE,CAAA;QAElC,IAAI,OAAO;YAAE,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;QACpC,IAAI,OAAO,KAAK,KAAK;YAAE,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QAE5C,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACnF,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;;YAC/B,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAEvC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addSeparator.js","sourceRoot":"","sources":["../../../src/native/component/addSeparator.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoG;AACpG,iDAA0D;AAC1D,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,iCAAoB;SAC7B;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;QAC3B,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,MAAM,GAAG,GAAG,IAAI,6BAAgB,EAAE,CAAA;QAElC,IAAI,OAAO;YAAE,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;QACpC,IAAI,OAAO,KAAK,KAAK;YAAE,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QAE5C,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACnF,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;;YAC/B,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAEvC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addStringSelectMenu.d.ts b/dist/native/component/addStringSelectMenu.d.ts index 1c5259023f..8a962dda59 100644 --- a/dist/native/component/addStringSelectMenu.d.ts +++ b/dist/native/component/addStringSelectMenu.d.ts @@ -25,6 +25,11 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.Number; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Boolean; }], true>; export default _default; //# sourceMappingURL=addStringSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addStringSelectMenu.d.ts.map b/dist/native/component/addStringSelectMenu.d.ts.map index 2101b578a5..e6dce0541c 100644 --- a/dist/native/component/addStringSelectMenu.d.ts.map +++ b/dist/native/component/addStringSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addStringSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addStringSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAsDE"} \ No newline at end of file +{"version":3,"file":"addStringSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addStringSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA4DE"} \ No newline at end of file diff --git a/dist/native/component/addStringSelectMenu.js b/dist/native/component/addStringSelectMenu.js index ccf6a269f8..ebdf3bb363 100644 --- a/dist/native/component/addStringSelectMenu.js +++ b/dist/native/component/addStringSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -44,12 +44,18 @@ exports.default = new structures_1.NativeFunction({ rest: false, type: structures_1.ArgType.Number, }, + { + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: structures_1.ArgType.Boolean, + }, ], - execute(ctx, [id, placeholder, disabled, min, max]) { + execute(ctx, [id, placeholder, disabled, min, max, required]) { const menu = new discord_js_1.StringSelectMenuBuilder() .setCustomId(id) .setDisabled(disabled || false) - .setRequired(ctx.component.required); + .setRequired(required || false); if (placeholder) menu.setPlaceholder(placeholder); if (min) diff --git a/dist/native/component/addStringSelectMenu.js.map b/dist/native/component/addStringSelectMenu.js.map index f6aa7b9159..ba7a3eb66c 100644 --- a/dist/native/component/addStringSelectMenu.js.map +++ b/dist/native/component/addStringSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"addStringSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addStringSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmE;AACnE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC;QAC9C,MAAM,IAAI,GAAG,IAAI,oCAAuB,EAAE;aACrC,WAAW,CAAC,EAAE,CAAC;aACf,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC;aAC9B,WAAW,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;QAExC,IAAI,WAAW;YAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;QACjD,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAC/B,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAE/B,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAA;;YACnG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addStringSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addStringSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmE;AACnE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YAC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CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAA;;YACnG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addStringSelectMenuTo.d.ts.map b/dist/native/component/addStringSelectMenuTo.d.ts.map index 6505bd84af..fee00cb701 100644 --- a/dist/native/component/addStringSelectMenuTo.d.ts.map +++ b/dist/native/component/addStringSelectMenuTo.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addStringSelectMenuTo.d.ts","sourceRoot":"","sources":["../../../src/native/component/addStringSelectMenuTo.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAqEE"} \ No newline at end of file +{"version":3,"file":"addStringSelectMenuTo.d.ts","sourceRoot":"","sources":["../../../src/native/component/addStringSelectMenuTo.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBAqEE"} \ No newline at end of file diff --git a/dist/native/component/addStringSelectMenuTo.js b/dist/native/component/addStringSelectMenuTo.js index 48d9ff15c1..6925700063 100644 --- a/dist/native/component/addStringSelectMenuTo.js +++ b/dist/native/component/addStringSelectMenuTo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addStringSelectMenuTo.js.map b/dist/native/component/addStringSelectMenuTo.js.map index 0340394ea1..34f929c7b9 100644 --- a/dist/native/component/addStringSelectMenuTo.js.map +++ b/dist/native/component/addStringSelectMenuTo.js.map @@ -1 +1 @@ -{"version":3,"file":"addStringSelectMenuTo.js","sourceRoot":"","sources":["../../../src/native/component/addStringSelectMenuTo.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA8F;AAC9F,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YAC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,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC;QACzD,MAAM,IAAI,GAAG,IAAI,oCAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;QAEzF,IAAI,WAAW;YAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;QACjD,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAC/B,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAE/B,MAAM,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,mCAAsB,EAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAA;QAC5E,UAAU,CAAC,IAAI,CAAC,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;QAE3D,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACpF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addTextDisplay.d.ts.map b/dist/native/component/addTextDisplay.d.ts.map index 56309e15ad..13c582873e 100644 --- a/dist/native/component/addTextDisplay.d.ts.map +++ b/dist/native/component/addTextDisplay.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addTextDisplay.d.ts","sourceRoot":"","sources":["../../../src/native/component/addTextDisplay.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAGlE,wBA4BE"} \ No newline at end of file +{"version":3,"file":"addTextDisplay.d.ts","sourceRoot":"","sources":["../../../src/native/component/addTextDisplay.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAG1D,wBA4BE"} \ No newline at end of file diff --git a/dist/native/component/addTextDisplay.js b/dist/native/component/addTextDisplay.js index 1d6de13357..cb0ad968da 100644 --- a/dist/native/component/addTextDisplay.js +++ b/dist/native/component/addTextDisplay.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addTextDisplay.js.map b/dist/native/component/addTextDisplay.js.map index c5686b61f8..d88e281de8 100644 --- a/dist/native/component/addTextDisplay.js.map +++ b/dist/native/component/addTextDisplay.js.map @@ -1 +1 @@ -{"version":3,"file":"addTextDisplay.js","sourceRoot":"","sources":["../../../src/native/component/addTextDisplay.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAgF;AAChF,iDAAkE;AAClE,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC;QAClB,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,MAAM,IAAI,GAAG,IAAI,+BAAkB,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;QAEzD,IAAI,GAAG,CAAC,SAAS,CAAC,KAAK;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAA;aACtE,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,OAAO,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAA;aACxG,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACxF,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAA;;YAClC,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAExC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addTextDisplay.js","sourceRoot":"","sources":["../../../src/native/component/addTextDisplay.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAgF;AAChF,iDAA0D;AAC1D,2DAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC;QAClB,IAAA,yBAAY,EAAC,GAAG,CAAC,CAAA;QACjB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC5C,MAAM,IAAI,GAAG,IAAI,+BAAkB,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;QAEzD,IAAI,GAAG,CAAC,SAAS,CAAC,KAAK;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAA;aACtE,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,OAAO,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAA;aACxG,IAAI,IAAI,YAAY,6BAAgB,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,SAAS,CAAC;YACxF,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAA;;YAClC,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QAExC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addTextInput.d.ts.map b/dist/native/component/addTextInput.d.ts.map index 463acb7f49..bc81299c71 100644 --- a/dist/native/component/addTextInput.d.ts.map +++ b/dist/native/component/addTextInput.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addTextInput.d.ts","sourceRoot":"","sources":["../../../src/native/component/addTextInput.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiD,cAAc,EAAE,MAAM,YAAY,CAAA;AAC1F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBA2EE"} \ No newline at end of file +{"version":3,"file":"addTextInput.d.ts","sourceRoot":"","sources":["../../../src/native/component/addTextInput.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiD,cAAc,EAAE,MAAM,YAAY,CAAA;AAC1F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA2EE"} \ No newline at end of file diff --git a/dist/native/component/addTextInput.js b/dist/native/component/addTextInput.js index bed55e44b8..6a69ea589b 100644 --- a/dist/native/component/addTextInput.js +++ b/dist/native/component/addTextInput.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -69,7 +69,7 @@ exports.default = new structures_1.NativeFunction({ const field = new discord_js_1.TextInputBuilder() .setCustomId(id) .setStyle(type || discord_js_1.TextInputStyle.Paragraph) - .setRequired(ctx.component.required || required || false); + .setRequired(required || false); if (placeholder) field.setPlaceholder(placeholder); if (value) diff --git a/dist/native/component/addTextInput.js.map b/dist/native/component/addTextInput.js.map index 2b4ac83bc0..6cb9d70c21 100644 --- a/dist/native/component/addTextInput.js.map +++ b/dist/native/component/addTextInput.js.map @@ -1 +1 @@ -{"version":3,"file":"addTextInput.js","sourceRoot":"","sources":["../../../src/native/component/addTextInput.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA0F;AAC1F,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,IAAI;IACd,MA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AAS,CAAC;aAC1C,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;QAEnC,IAAI,WAAW;YAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;QAClD,IAAI,KAAK;YAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAChC,IAAI,GAAG;YAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAChC,IAAI,GAAG;YAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAEhC,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,qBAAqB,CAAC,KAAK,CAAC,CAAA;;YAC7F,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,kBAAkB,CAAC,IAAI,yBAAY,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAA;QAE5G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addThumbnail.d.ts.map b/dist/native/component/addThumbnail.d.ts.map index 8ef54a5286..287a82f138 100644 --- a/dist/native/component/addThumbnail.d.ts.map +++ b/dist/native/component/addThumbnail.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addThumbnail.d.ts","sourceRoot":"","sources":["../../../src/native/component/addThumbnail.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElE,wBAmCE"} \ No newline at end of file +{"version":3,"file":"addThumbnail.d.ts","sourceRoot":"","sources":["../../../src/native/component/addThumbnail.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAE1D,wBAmCE"} \ No newline at end of file diff --git a/dist/native/component/addThumbnail.js b/dist/native/component/addThumbnail.js index 2c92057f83..571224721b 100644 --- a/dist/native/component/addThumbnail.js +++ b/dist/native/component/addThumbnail.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/addThumbnail.js.map b/dist/native/component/addThumbnail.js.map index c20bc24c1a..be9c249739 100644 --- a/dist/native/component/addThumbnail.js.map +++ b/dist/native/component/addThumbnail.js.map @@ -1 +1 @@ -{"version":3,"file":"addThumbnail.js","sourceRoot":"","sources":["../../../src/native/component/addThumbnail.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC;QAC7B,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QAE1E,IAAI,IAAI;YAAE,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;QACxC,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAA;QAEvD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addThumbnail.js","sourceRoot":"","sources":["../../../src/native/component/addThumbnail.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC;QAC7B,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QAE1E,IAAI,IAAI;YAAE,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;QACxC,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAA;QAEvD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addUserSelectMenu.d.ts b/dist/native/component/addUserSelectMenu.d.ts index be67df83cc..ede5dbacc7 100644 --- a/dist/native/component/addUserSelectMenu.d.ts +++ b/dist/native/component/addUserSelectMenu.d.ts @@ -28,9 +28,9 @@ declare const _default: NativeFunction<[{ type: ArgType.Boolean; }, { name: string; - rest: true; - type: ArgType.String; description: string; + rest: false; + type: ArgType.Boolean; }], true>; export default _default; //# sourceMappingURL=addUserSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/component/addUserSelectMenu.d.ts.map b/dist/native/component/addUserSelectMenu.d.ts.map index bbf204b345..c43a54f5ba 100644 --- a/dist/native/component/addUserSelectMenu.d.ts.map +++ b/dist/native/component/addUserSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addUserSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addUserSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA8DE"} \ No newline at end of file +{"version":3,"file":"addUserSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/addUserSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA6DE"} \ No newline at end of file diff --git a/dist/native/component/addUserSelectMenu.js b/dist/native/component/addUserSelectMenu.js index 7a708c9e28..ec7c1abd82 100644 --- a/dist/native/component/addUserSelectMenu.js +++ b/dist/native/component/addUserSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -46,17 +46,16 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.Boolean }, { - name: "default users", - rest: true, - type: structures_1.ArgType.String, - description: "The default selected users to use", - } + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: structures_1.ArgType.Boolean, + }, ], - execute(ctx, [id, placeholder, min, max, disabled, users]) { + execute(ctx, [id, placeholder, min, max, disabled, required]) { const menu = new discord_js_1.UserSelectMenuBuilder() - .setDefaultUsers(users) .setDisabled(disabled || false) - .setRequired(ctx.component.required) + .setRequired(required || false) .setCustomId(id); if (placeholder) menu.setPlaceholder(placeholder); diff --git a/dist/native/component/addUserSelectMenu.js.map b/dist/native/component/addUserSelectMenu.js.map index 42fa72d267..f03d81d41e 100644 --- a/dist/native/component/addUserSelectMenu.js.map +++ b/dist/native/component/addUserSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"addUserSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addUserSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAiE;AACjE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,E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A0B,CAAC,IAAI,CAAC,CAAA;;YACjG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addUserSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/addUserSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAiE;AACjE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAE;QAC1D,MAAM,IAAI,GAAG,IAAI,kCAAqB,EAAE;aACnC,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC;aAC9B,WAAW,CAAC,QAAQ,IAAI,KAAK,CAAC;aAC9B,WAAW,CAAC,EAAE,CAAC,CAAA;QAEpB,IAAI,WAAW;YAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;QACjD,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAC/B,IAAI,GAAG;YAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;QAE/B,IAAI,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,0BAAa,CAAC,KAAK,CAAC;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,CAAA;;YACjG,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/addUserSelectMenuTo.js b/dist/native/component/addUserSelectMenuTo.js index d5aa839a73..2877b23e96 100644 --- a/dist/native/component/addUserSelectMenuTo.js +++ b/dist/native/component/addUserSelectMenuTo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/deleteActionRow.d.ts.map b/dist/native/component/deleteActionRow.d.ts.map index 930c9f23b5..a0cd8bc4cb 100644 --- a/dist/native/component/deleteActionRow.d.ts.map +++ b/dist/native/component/deleteActionRow.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deleteActionRow.d.ts","sourceRoot":"","sources":["../../../src/native/component/deleteActionRow.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"deleteActionRow.d.ts","sourceRoot":"","sources":["../../../src/native/component/deleteActionRow.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmBE"} \ No newline at end of file diff --git a/dist/native/component/deleteActionRow.js b/dist/native/component/deleteActionRow.js index 245c11d3e4..71d373419c 100644 --- a/dist/native/component/deleteActionRow.js +++ b/dist/native/component/deleteActionRow.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/component/deleteActionRow.js.map b/dist/native/component/deleteActionRow.js.map index ad1170fcff..26f77e4f78 100644 --- a/dist/native/component/deleteActionRow.js.map +++ b/dist/native/component/deleteActionRow.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteActionRow.js","sourceRoot":"","sources":["../../../src/native/component/deleteActionRow.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6DAA6D;IAC1E,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;QACzC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteActionRow.js","sourceRoot":"","sources":["../../../src/native/component/deleteActionRow.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6DAA6D;IAC1E,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;QACzC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/deleteActionRowFrom.d.ts.map b/dist/native/component/deleteActionRowFrom.d.ts.map index babcfa6209..96e6cb898f 100644 --- a/dist/native/component/deleteActionRowFrom.d.ts.map +++ b/dist/native/component/deleteActionRowFrom.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deleteActionRowFrom.d.ts","sourceRoot":"","sources":["../../../src/native/component/deleteActionRowFrom.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;AAElE,wBAsCE"} \ No newline at end of file +{"version":3,"file":"deleteActionRowFrom.d.ts","sourceRoot":"","sources":["../../../src/native/component/deleteActionRowFrom.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;AAE1D,wBAsCE"} \ No newline at end of file diff --git a/dist/native/component/deleteActionRowFrom.js b/dist/native/component/deleteActionRowFrom.js index 468d379bfa..abc090b945 100644 --- a/dist/native/component/deleteActionRowFrom.js +++ b/dist/native/component/deleteActionRowFrom.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/deleteActionRowFrom.js.map b/dist/native/component/deleteActionRowFrom.js.map index 2cdd645f8e..05e27513cc 100644 --- a/dist/native/component/deleteActionRowFrom.js.map +++ b/dist/native/component/deleteActionRowFrom.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteActionRowFrom.js","sourceRoot":"","sources":["../../../src/native/component/deleteActionRowFrom.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmD;AACnD,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6DAA6D;IAC1E,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC;QAC3B,MAAM,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,mCAAsB,EAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAA;QAC5E,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;QAC3B,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACpF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteActionRowFrom.js","sourceRoot":"","sources":["../../../src/native/component/deleteActionRowFrom.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmD;AACnD,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6DAA6D;IAC1E,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC;QAC3B,MAAM,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,mCAAsB,EAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAA;QAC5E,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;QAC3B,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACpF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/deleteComponent.d.ts.map b/dist/native/component/deleteComponent.d.ts.map index bdf27e3748..1738370190 100644 --- a/dist/native/component/deleteComponent.d.ts.map +++ b/dist/native/component/deleteComponent.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deleteComponent.d.ts","sourceRoot":"","sources":["../../../src/native/component/deleteComponent.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAqCE"} \ No newline at end of file +{"version":3,"file":"deleteComponent.d.ts","sourceRoot":"","sources":["../../../src/native/component/deleteComponent.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAqCE"} \ No newline at end of file diff --git a/dist/native/component/deleteComponent.js b/dist/native/component/deleteComponent.js index 3e77fe180f..91a972870d 100644 --- a/dist/native/component/deleteComponent.js +++ b/dist/native/component/deleteComponent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/deleteComponent.js.map b/dist/native/component/deleteComponent.js.map index 51c2906f96..d6b937b6f7 100644 --- a/dist/native/component/deleteComponent.js.map +++ b/dist/native/component/deleteComponent.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteComponent.js","sourceRoot":"","sources":["../../../src/native/component/deleteComponent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACv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I,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;gBACrC,MAAK;aACR;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteComponent.js","sourceRoot":"","sources":["../../../src/native/component/deleteComponent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACb,MAAM,GAAG,GAAG,GAAG,CAAC,SAAS,CAAC,SAAS,CAAA;QACnC,MAAM,CAAC,GAAG,GAAG,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,EAAE,CAAC,CAAA;QAC5F,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;YACV,IAAI,GAAG,EAAE,UAAU,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO,GAAG,CAAC,SAAS,CAAC,SAAS,CAAA;;gBAC3D,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,CAAE,EAAE,CAAC,CAAC,CAAA;QAC1D,CAAC;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAClE,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,CAAA;YACxC,IAAI,CAAC,CAAC,IAAI,YAAY,6BAAgB,CAAC;gBAAE,SAAQ;YAEjD,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,EAAE,CAAC,CAAA;YAChG,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;gBACf,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC;oBAAE,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;;oBAClE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;gBACrC,MAAK;YACT,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/deleteComponentFrom.d.ts.map b/dist/native/component/deleteComponentFrom.d.ts.map index 56ccaedf75..a2e34a228a 100644 --- a/dist/native/component/deleteComponentFrom.d.ts.map +++ b/dist/native/component/deleteComponentFrom.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deleteComponentFrom.d.ts","sourceRoot":"","sources":["../../../src/native/component/deleteComponentFrom.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;AAElE,wBAgDE"} \ No newline at end of file +{"version":3,"file":"deleteComponentFrom.d.ts","sourceRoot":"","sources":["../../../src/native/component/deleteComponentFrom.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;AAE1D,wBAgDE"} \ No newline at end of file diff --git a/dist/native/component/deleteComponentFrom.js b/dist/native/component/deleteComponentFrom.js index 928545fa9a..1b9f2021b4 100644 --- a/dist/native/component/deleteComponentFrom.js +++ b/dist/native/component/deleteComponentFrom.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/deleteComponentFrom.js.map b/dist/native/component/deleteComponentFrom.js.map index b784c9fbc8..d87c057acd 100644 --- a/dist/native/component/deleteComponentFrom.js.map +++ b/dist/native/component/deleteComponentFrom.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteComponentFrom.js","sourceRoot":"","sources":["../../../src/native/component/deleteComponentFrom.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAkG;AAClG,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iEAAiE;IAC9E,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,WAAW;YACjB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AC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,EAAE,CAAC,CAAA;YAChG,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;gBACf,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC;oBAAE,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;;oBACpD,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;gBACrC,MAAK;YACT,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAA+C,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACpG,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/disableButtons.d.ts.map b/dist/native/component/disableButtons.d.ts.map index cd3db9bdb3..22d2d0a1c1 100644 --- a/dist/native/component/disableButtons.d.ts.map +++ b/dist/native/component/disableButtons.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"disableButtons.d.ts","sourceRoot":"","sources":["../../../src/native/component/disableButtons.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmCE"} \ No newline at end of file +{"version":3,"file":"disableButtons.d.ts","sourceRoot":"","sources":["../../../src/native/component/disableButtons.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmCE"} \ No newline at end of file diff --git a/dist/native/component/disableButtons.js b/dist/native/component/disableButtons.js index 0832a41294..858e90fe8a 100644 --- a/dist/native/component/disableButtons.js +++ b/dist/native/component/disableButtons.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/disableButtons.js.map b/dist/native/component/disableButtons.js.map index 32b3cefe1c..0e9350824c 100644 --- a/dist/native/component/disableButtons.js.map +++ b/dist/native/component/disableButtons.js.map @@ -1 +1 @@ -{"version":3,"file":"disableButtons.js","sourceRoot":"","sources":["../../../src/native/component/disableButtons.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,OAAO,EAAE,CAAC,oBAAoB,CAAC;IAC/B,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAA;QACrC,MAAM,UAAU,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;QAEzE,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC9C,IAAI,CAAC,YAAY,0BAAa;gBAAE,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;QACvD,CAAC,CAAC,CAAA;QAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YACnD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;YACzB,IAAI,CAAC,CAAC,GAAG,YAAY,6BAAgB,CAAC;gBAAE,SAAQ;YAChD,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;gBAC1B,IAAI,CAAC,YAAY,0BAAa;oBAAE,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;YAChF,CAAC,CAAC,CAAA;SACL;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"disableButtons.js","sourceRoot":"","sources":["../../../src/native/component/disableButtons.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,OAAO,EAAE,CAAC,oBAAoB,CAAC;IAC/B,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAA;QACrC,MAAM,UAAU,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;QAEzE,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC9C,IAAI,CAAC,YAAY,0BAAa;gBAAE,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;QACvD,CAAC,CAAC,CAAA;QAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACpD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;YACzB,IAAI,CAAC,CAAC,GAAG,YAAY,6BAAgB,CAAC;gBAAE,SAAQ;YAChD,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;gBAC1B,IAAI,CAAC,YAAY,0BAAa;oBAAE,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;YAChF,CAAC,CAAC,CAAA;QACN,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/disableButtonsOf.d.ts.map b/dist/native/component/disableButtonsOf.d.ts.map index f4e9100473..7dfdedf5e0 100644 --- a/dist/native/component/disableButtonsOf.d.ts.map +++ b/dist/native/component/disableButtonsOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"disableButtonsOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/disableButtonsOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;AAElE,wBAkDE"} \ No newline at end of file +{"version":3,"file":"disableButtonsOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/disableButtonsOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;AAE1D,wBAkDE"} \ No newline at end of file diff --git a/dist/native/component/disableButtonsOf.js b/dist/native/component/disableButtonsOf.js index 8454a7812c..68479346a4 100644 --- a/dist/native/component/disableButtonsOf.js +++ b/dist/native/component/disableButtonsOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/disableButtonsOf.js.map b/dist/native/component/disableButtonsOf.js.map index 1f65f2fd86..2210ee1d46 100644 --- a/dist/native/component/disableButtonsOf.js.map +++ b/dist/native/component/disableButtonsOf.js.map @@ -1 +1 @@ -{"version":3,"file":"disableButtonsOf.js","sourceRoot":"","sources":["../../../src/native/component/disableButtonsOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAkG;AAClG,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,OAAO,EAAE,CAAC,sBAAsB,CAAC;IACjC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;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U,EAAE,UAA+C,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC5H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"disableButtonsOf.js","sourceRoot":"","sources":["../../../src/native/component/disableButtonsOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAkG;AAClG,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,OAAO,EAAE,CAAC,sBAAsB,CAAC;IACjC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC;QAC7B,MAAM,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,6BAAgB,CAAC,IAAI,CAAC,CAAyC,CAAC,CAAC,CAAA;QAE5G,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACpD,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,KAAK;gBAAE,SAAQ;YACnD,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YAExC,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;gBACrC,IAAI,IAAI,YAAY,0BAAa,EAAE,CAAC;oBAChC,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;gBACnD,CAAC;qBAAM,CAAC;oBACJ,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,CAAA;gBACjC,CAAC;YACL,CAAC,CAAC,CAAA;YACF,IAAI,CAAC,KAAK,KAAK;gBAAE,MAAK;QAC1B,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAA+C,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC5H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/disableComponents.d.ts b/dist/native/component/disableComponents.d.ts index 7d06a2700a..90b6e4e5f3 100644 --- a/dist/native/component/disableComponents.d.ts +++ b/dist/native/component/disableComponents.d.ts @@ -1,4 +1,4 @@ -import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +import { NativeFunction } from "../../structures"; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=disableComponents.d.ts.map \ No newline at end of file diff --git a/dist/native/component/disableComponents.d.ts.map b/dist/native/component/disableComponents.d.ts.map index 4b4c880bdf..30d29dc900 100644 --- a/dist/native/component/disableComponents.d.ts.map +++ b/dist/native/component/disableComponents.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"disableComponents.d.ts","sourceRoot":"","sources":["../../../src/native/component/disableComponents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;AAElE,wBAkBE"} \ No newline at end of file +{"version":3,"file":"disableComponents.d.ts","sourceRoot":"","sources":["../../../src/native/component/disableComponents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAkBE"} \ No newline at end of file diff --git a/dist/native/component/disableComponents.js b/dist/native/component/disableComponents.js index 6bd2b11a25..1d907c53e3 100644 --- a/dist/native/component/disableComponents.js +++ b/dist/native/component/disableComponents.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/disableComponents.js.map b/dist/native/component/disableComponents.js.map index 6cbf6959b2..ffe45508b5 100644 --- a/dist/native/component/disableComponents.js.map +++ b/dist/native/component/disableComponents.js.map @@ -1 +1 @@ -{"version":3,"file":"disableComponents.js","sourceRoot":"","sources":["../../../src/native/component/disableComponents.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,OAAO,EAAE,CAAC,uBAAuB,CAAC;IAClC,MAAM,EAAE,KAAK;IACb,OAAO,CAAC,GAAG;QACP,MAAM,UAAU,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAA;QAC3C,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;QAEvE,KAAK,IAAI,IAAI,IAAI,UAAU,EAAE;YACzB,IAAI,CAAC,CAAC,IAAI,YAAY,6BAAgB,CAAC;gBAAE,SAAQ;YACjD,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;SAChF;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"disableComponents.js","sourceRoot":"","sources":["../../../src/native/component/disableComponents.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAAiD;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,OAAO,EAAE,CAAC,uBAAuB,CAAC;IAClC,MAAM,EAAE,KAAK;IACb,OAAO,CAAC,GAAG;QACP,MAAM,UAAU,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAA;QAC3C,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;QAEvE,KAAK,IAAI,IAAI,IAAI,UAAU,EAAE,CAAC;YAC1B,IAAI,CAAC,CAAC,IAAI,YAAY,6BAAgB,CAAC;gBAAE,SAAQ;YACjD,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QACjF,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/disableComponentsOf.d.ts.map b/dist/native/component/disableComponentsOf.d.ts.map index 60421f285b..cdfaf103f3 100644 --- a/dist/native/component/disableComponentsOf.d.ts.map +++ b/dist/native/component/disableComponentsOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"disableComponentsOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/disableComponentsOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBAqCE"} \ No newline at end of file +{"version":3,"file":"disableComponentsOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/disableComponentsOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBAqCE"} \ No newline at end of file diff --git a/dist/native/component/disableComponentsOf.js b/dist/native/component/disableComponentsOf.js index c2c39a1e53..932c905fe0 100644 --- a/dist/native/component/disableComponentsOf.js +++ b/dist/native/component/disableComponentsOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/disableComponentsOf.js.map b/dist/native/component/disableComponentsOf.js.map index fc5054403e..ec18845b4d 100644 --- a/dist/native/component/disableComponentsOf.js.map +++ b/dist/native/component/disableComponentsOf.js.map @@ -1 +1 @@ -{"version":3,"file":"disableComponentsOf.js","sourceRoot":"","sources":["../../../src/native/component/disableComponentsOf.ts"],"names":[],"mapp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AG,CAAC,IAAI,CAAC,CAAC,CACzH,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"disableComponentsOf.js","sourceRoot":"","sources":["../../../src/native/component/disableComponentsOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAqH;AACrH,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,OAAO,EAAE,CAAC,yBAAyB,CAAC;IACpC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;QACtB,MAAM,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,6BAAgB,CAAC,IAAI,CAAmC,CAAyC,CAAC,CAAC,CAAA;QAE9I,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACrB,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QACpF,CAAC,CAAC,CAAA;QAEF,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAkE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACzH,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editButton.d.ts.map b/dist/native/component/editButton.d.ts.map index 437737193f..f98b962136 100644 --- a/dist/native/component/editButton.d.ts.map +++ b/dist/native/component/editButton.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editButton.d.ts","sourceRoot":"","sources":["../../../src/native/component/editButton.ts"],"names":[],"mappings":"AAKA,OAAO,EAAmC,WAAW,EAAoB,MAAM,YAAY,CAAA;AAC3F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBA2EE"} \ No newline at end of file +{"version":3,"file":"editButton.d.ts","sourceRoot":"","sources":["../../../src/native/component/editButton.ts"],"names":[],"mappings":"AAKA,OAAO,EAAmC,WAAW,EAAoB,MAAM,YAAY,CAAA;AAC3F,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBA2EE"} \ No newline at end of file diff --git a/dist/native/component/editButton.js b/dist/native/component/editButton.js index f243fb5022..7a423c67b7 100644 --- a/dist/native/component/editButton.js +++ b/dist/native/component/editButton.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editButton.js.map b/dist/native/component/editButton.js.map index ebc949a8b2..199d0a86f0 100644 --- a/dist/native/component/editButton.js.map +++ b/dist/native/component/editButton.js.map @@ -1 +1 @@ -{"version":3,"file":"editButton.js","sourceRoot":"","sources":["../../../src/native/component/editButton.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA2F;AAC3F,iDAAkE;AAClE,+CAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,wBAAW;YACjB,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,WAAW,EAAE,+BAA+B;SAC/C;QACD;YACI,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,WAAW,EAAE,+BAA+B;SAC/C;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,EAAE,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W,CAAC,QAAQ,CAAC,CAAA;QAE5D,IAAI,KAAK,KAAK,wBAAW,CAAC,IAAI;YAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;aACzC,IAAI,KAAK,KAAK,wBAAW,CAAC,OAAO;YAAE,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;;YACnD,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QAExB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editButton.js","sourceRoot":"","sources":["../../../src/native/component/editButton.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA2F;AAC3F,iDAA0D;AAC1D,+CAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,wBAAW;YACjB,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,O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KAAK,CAAC,CAAA;QAEzE,IAAI,KAAK;YAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,KAAK;YAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,KAAK;YAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,OAAO,QAAQ,KAAK,SAAS;YAAE,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;QAE5D,IAAI,KAAK,KAAK,wBAAW,CAAC,IAAI;YAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;aACzC,IAAI,KAAK,KAAK,wBAAW,CAAC,OAAO;YAAE,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;;YACnD,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QAExB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editButtonOf.d.ts.map b/dist/native/component/editButtonOf.d.ts.map index 03d54d70af..c296b58536 100644 --- a/dist/native/component/editButtonOf.d.ts.map +++ b/dist/native/component/editButtonOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editButtonOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editButtonOf.ts"],"names":[],"mappings":"AAKA,OAAO,EAA8C,WAAW,EAA6B,MAAM,YAAY,CAAA;AAC/G,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBA2FE"} \ No newline at end of file +{"version":3,"file":"editButtonOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editButtonOf.ts"],"names":[],"mappings":"AAKA,OAAO,EAA8C,WAAW,EAA6B,MAAM,YAAY,CAAA;AAC/G,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBA2FE"} \ No newline at end of file diff --git a/dist/native/component/editButtonOf.js b/dist/native/component/editButtonOf.js index 639749cf12..4d51be239b 100644 --- a/dist/native/component/editButtonOf.js +++ b/dist/native/component/editButtonOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editButtonOf.js.map b/dist/native/component/editButtonOf.js.map index c2e5b442c2..2951087caa 100644 --- a/dist/native/component/editButtonOf.js.map +++ b/dist/native/component/editButtonOf.js.map @@ -1 +1 @@ -{"version":3,"file":"editButtonOf.js","sourceRoot":"","sources":["../../../src/native/component/editButtonOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA+G;AAC/G,iDAAkE;AAClE,+CAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAA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,GAAG,CAAC,IAAI,CAAC,CAAC,CACpG,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editButtonOf.js","sourceRoot":"","sources":["../../../src/native/component/editButtonOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA+G;AAC/G,iDAA0D;AAC1D,+CAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,wBAAW;YACjB,IAAI,EAAE,oBAAO,CAAC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AAC,IAAA,yBAAkB,EAAC,wBAAW,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAEzE,IAAI,KAAK;YAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,KAAK;YAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,KAAK;YAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAC9B,IAAI,OAAO,QAAQ,KAAK,SAAS;YAAE,GAAG,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;QAE5D,IAAI,KAAK,KAAK,wBAAW,CAAC,IAAI;YAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;aACzC,IAAI,KAAK,KAAK,wBAAW,CAAC,OAAO;YAAE,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;;YACnD,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QAExB,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAA+C,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACpG,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editChannelSelectMenu.d.ts.map b/dist/native/component/editChannelSelectMenu.d.ts.map index 12aa8e66ef..22f1cd6d7b 100644 --- a/dist/native/component/editChannelSelectMenu.d.ts.map +++ b/dist/native/component/editChannelSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editChannelSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/editChannelSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAkFE"} \ No newline at end of file +{"version":3,"file":"editChannelSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/editChannelSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAkFE"} \ No newline at end of file diff --git a/dist/native/component/editChannelSelectMenu.js b/dist/native/component/editChannelSelectMenu.js index 1db2baf974..cb5e04b4b7 100644 --- a/dist/native/component/editChannelSelectMenu.js +++ b/dist/native/component/editChannelSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editChannelSelectMenu.js.map b/dist/native/component/editChannelSelectMenu.js.map index 510353157b..b13f149bf9 100644 --- a/dist/native/component/editChannelSelectMenu.js.map +++ b/dist/native/component/editChannelSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"editChannelSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editChannelSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyF;AACzF,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;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AAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;iBACxB;aACJ;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editChannelSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editChannelSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyF;AACzF,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,C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AAG,EAAE,CAAC;oBAC1E,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;oBAEpB,IAAI,WAAW;wBAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;oBACjD,IAAI,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,QAAQ,CAAC,MAAM;wBAAE,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAEtE,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;gBACzB,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editChannelSelectMenuOf.d.ts.map b/dist/native/component/editChannelSelectMenuOf.d.ts.map index 7a5f602c9b..3a0ef6b701 100644 --- a/dist/native/component/editChannelSelectMenuOf.d.ts.map +++ b/dist/native/component/editChannelSelectMenuOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editChannelSelectMenuOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editChannelSelectMenuOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAuGE"} \ No newline at end of file +{"version":3,"file":"editChannelSelectMenuOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editChannelSelectMenuOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAuGE"} \ No newline at end of file diff --git a/dist/native/component/editChannelSelectMenuOf.js b/dist/native/component/editChannelSelectMenuOf.js index cf616f410a..5c6432eebf 100644 --- a/dist/native/component/editChannelSelectMenuOf.js +++ b/dist/native/component/editChannelSelectMenuOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editChannelSelectMenuOf.js.map b/dist/native/component/editChannelSelectMenuOf.js.map index d2411a0551..24fb0edf61 100644 --- a/dist/native/component/editChannelSelectMenuOf.js.map +++ b/dist/native/component/editChannelSelectMenuOf.js.map @@ -1 +1 @@ -{"version":3,"file":"editChannelSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editChannelSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyF;AACzF,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,C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I,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,QAAQ,CAAC,MAAM;wBAAE,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAEtE,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;iBACd;aACJ;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editChannelSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editChannelSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyF;AACzF,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,W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,WAAW,CAAC,EAAE,CAAC,CAAA;oBAEpB,IAAI,WAAW;wBAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;oBACjD,IAAI,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,QAAQ,CAAC,MAAM;wBAAE,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAEtE,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;gBACf,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editMentionableSelectMenu.js b/dist/native/component/editMentionableSelectMenu.js index ce36a463e5..f9342208be 100644 --- a/dist/native/component/editMentionableSelectMenu.js +++ b/dist/native/component/editMentionableSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editMentionableSelectMenu.js.map b/dist/native/component/editMentionableSelectMenu.js.map index e5e1901d82..4b29d2d8b7 100644 --- a/dist/native/component/editMentionableSelectMenu.js.map +++ b/dist/native/component/editMentionableSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"editMentionableSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editMentionableSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA+H;AAC/H,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;Y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AG,CAAA;gBAEtE,IAAI,IAAI,YAAY,yCAA4B,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,KAAK,GAAG,EAAE;oBAC7E,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;oBAEpB,IAAI,WAAW;wBAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;oBACjD,IAAI,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,QAAQ,CAAC,MAAM,EAAE;wBACjB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;4BACnD,OAAO;gCACH,EAAE,EAAE,CAAC,CAAC,EAAE;gCACR,IAAI,EAAE,CAAC,YAAY,iBAAI,CAAC,CAAC,CAAC,uCAA0B,CAAC,IAAI,CAAC,CAAC,CAAC,uCAA0B,CAAC,IAAI;6BAC9F,CAAA;wBACL,CAAC,CAAC,CAAC,CAAA;qBACN;oBAED,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;iBACxB;aACJ;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editMentionableSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editMentionableSelectMenu.ts"],"names":[],"mappings":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AAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;wBAClB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;4BACnD,OAAO;gCACH,EAAE,EAAE,CAAC,CAAC,EAAE;gCACR,IAAI,EAAE,CAAC,YAAY,iBAAI,CAAC,CAAC,CAAC,uCAA0B,CAAC,IAAI,CAAC,CAAC,CAAC,uCAA0B,CAAC,IAAI;6BAC9F,CAAA;wBACL,CAAC,CAAC,CAAC,CAAA;oBACP,CAAC;oBAED,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;gBACzB,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editMentionableSelectMenuOf.js b/dist/native/component/editMentionableSelectMenuOf.js index cd89035c9b..8c717ccf55 100644 --- a/dist/native/component/editMentionableSelectMenuOf.js +++ b/dist/native/component/editMentionableSelectMenuOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editMentionableSelectMenuOf.js.map b/dist/native/component/editMentionableSelectMenuOf.js.map index 814dc33e56..b87067bbdc 100644 --- a/dist/native/component/editMentionableSelectMenuOf.js.map +++ b/dist/native/component/editMentionableSelectMenuOf.js.map @@ -1 +1 @@ -{"version":3,"file":"editMentionableSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editMentionableSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA+H;AAC/H,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,8BAA8B;IACpC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oCAAo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CAAC,CAAA;qBACN;oBAED,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;iBACd;aACJ;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editMentionableSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editMentionableSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA+H;AAC/H,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,8BAA8B;IACpC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,K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,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,QAAQ,CAAC,MAAM,EAAE,CAAC;wBAClB,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;4BACnD,OAAO;gCACH,EAAE,EAAE,CAAC,CAAC,EAAE;gCACR,IAAI,EAAE,CAAC,YAAY,iBAAI,CAAC,CAAC,CAAC,uCAA0B,CAAC,IAAI,CAAC,CAAC,CAAC,uCAA0B,CAAC,IAAI;6BAC9F,CAAA;wBACL,CAAC,CAAC,CAAC,CAAA;oBACP,CAAC;oBAED,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;gBACf,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editOption.d.ts.map b/dist/native/component/editOption.d.ts.map index 11fad1a697..2536197576 100644 --- a/dist/native/component/editOption.d.ts.map +++ b/dist/native/component/editOption.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editOption.d.ts","sourceRoot":"","sources":["../../../src/native/component/editOption.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAgFE"} \ No newline at end of file +{"version":3,"file":"editOption.d.ts","sourceRoot":"","sources":["../../../src/native/component/editOption.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAgFE"} \ No newline at end of file diff --git a/dist/native/component/editOption.js b/dist/native/component/editOption.js index 6ae1b3bd77..18a1aa6c85 100644 --- a/dist/native/component/editOption.js +++ b/dist/native/component/editOption.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editOption.js.map b/dist/native/component/editOption.js.map index c7c531bce6..83ab757fe9 100644 --- a/dist/native/component/editOption.js.map +++ b/dist/native/component/editOption.js.map @@ -1 +1 @@ -{"version":3,"file":"editOption.js","sourceRoot":"","sources":["../../../src/native/component/editOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoG;AACpG,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI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AC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editOption.js","sourceRoot":"","sources":["../../../src/native/component/editOption.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoG;AACpG,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAA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AAC,IAAI,CAAC,CAAA;wBACrB,IAAI,KAAK;4BAAE,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;wBACjC,IAAI,KAAK;4BAAE,MAAM,CAAC,QAAQ,CAAC,IAAA,uBAAU,EAAC,KAAK,CAAE,CAAC,CAAA;wBAC9C,IAAI,IAAI;4BAAE,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAA;wBACrC,IAAI,OAAO,GAAG,KAAK,SAAS;4BAAE,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;wBAEpD,IAAI,IAAI,YAAY,6BAAgB;4BAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;wBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;oBACzB,CAAC;gBACL,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editRoleSelectMenu.d.ts.map b/dist/native/component/editRoleSelectMenu.d.ts.map index 1674c7d45b..0f174dc881 100644 --- a/dist/native/component/editRoleSelectMenu.d.ts.map +++ b/dist/native/component/editRoleSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editRoleSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/editRoleSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAkFE"} \ No newline at end of file +{"version":3,"file":"editRoleSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/editRoleSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAkFE"} \ No newline at end of file diff --git a/dist/native/component/editRoleSelectMenu.js b/dist/native/component/editRoleSelectMenu.js index 1f11ca7f37..67ba700e55 100644 --- a/dist/native/component/editRoleSelectMenu.js +++ b/dist/native/component/editRoleSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editRoleSelectMenu.js.map b/dist/native/component/editRoleSelectMenu.js.map index a9a247dcb9..4e34a3be29 100644 --- a/dist/native/component/editRoleSelectMenu.js.map +++ b/dist/native/component/editRoleSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"editRoleSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editRoleSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsF;AACtF,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,K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QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,KAAK,CAAC,MAAM;wBAAE,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAE7D,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;gBACzB,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editRoleSelectMenuOf.d.ts.map b/dist/native/component/editRoleSelectMenuOf.d.ts.map index 1e4b05e812..dcf9f696d9 100644 --- a/dist/native/component/editRoleSelectMenuOf.d.ts.map +++ b/dist/native/component/editRoleSelectMenuOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editRoleSelectMenuOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editRoleSelectMenuOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAuGE"} \ No newline at end of file +{"version":3,"file":"editRoleSelectMenuOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editRoleSelectMenuOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAuGE"} \ No newline at end of file diff --git a/dist/native/component/editRoleSelectMenuOf.js b/dist/native/component/editRoleSelectMenuOf.js index f659297bd1..6418f78a10 100644 --- a/dist/native/component/editRoleSelectMenuOf.js +++ b/dist/native/component/editRoleSelectMenuOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editRoleSelectMenuOf.js.map b/dist/native/component/editRoleSelectMenuOf.js.map index c5ac749a8c..6d76dd9ffc 100644 --- a/dist/native/component/editRoleSelectMenuOf.js.map +++ b/dist/native/component/editRoleSelectMenuOf.js.map @@ -1 +1 @@ -{"version":3,"file":"editRoleSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editRoleSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsF;AACtF,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,e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IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,KAAK,CAAC,MAAM;wBAAE,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAE7D,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;iBACd;aACJ;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editRoleSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editRoleSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsF;AACtF,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd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QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,KAAK,CAAC,MAAM;wBAAE,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAE7D,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;gBACf,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editStringSelectMenu.d.ts.map b/dist/native/component/editStringSelectMenu.d.ts.map index 2f932e4942..e699fd883b 100644 --- a/dist/native/component/editStringSelectMenu.d.ts.map +++ b/dist/native/component/editStringSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editStringSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/editStringSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBA2EE"} \ No newline at end of file +{"version":3,"file":"editStringSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/editStringSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBA2EE"} \ No newline at end of file diff --git a/dist/native/component/editStringSelectMenu.js b/dist/native/component/editStringSelectMenu.js index 0c4cda7f81..c08950030a 100644 --- a/dist/native/component/editStringSelectMenu.js +++ b/dist/native/component/editStringSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editStringSelectMenu.js.map b/dist/native/component/editStringSelectMenu.js.map index c8e304e530..653164da67 100644 --- a/dist/native/component/editStringSelectMenu.js.map +++ b/dist/native/component/editStringSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"editStringSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editStringSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwF;AACxF,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,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AAG,EAAC,CAAC,EAAE,EAAE;gBAC5C,MAAM,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;gBACpB,MAAM,IAAI,GAAG,GAAG,YAAY,6BAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;gBAEtE,IAAI,IAAI,YAAY,oCAAuB,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,KAAK,GAAG,EAAE;oBACxE,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;oBAEpB,IAAI,WAAW;wBAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;oBACjD,IAAI,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBAEnD,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;iBACxB;aACJ;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editStringSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editStringSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwF;AACxF,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAA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AAI,CAAC,CAAC,CAAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;gBACzB,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editStringSelectMenuOf.d.ts.map b/dist/native/component/editStringSelectMenuOf.d.ts.map index ab806ba204..0894477029 100644 --- a/dist/native/component/editStringSelectMenuOf.d.ts.map +++ b/dist/native/component/editStringSelectMenuOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editStringSelectMenuOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editStringSelectMenuOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAgGE"} \ No newline at end of file +{"version":3,"file":"editStringSelectMenuOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editStringSelectMenuOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAgGE"} \ No newline at end of file diff --git a/dist/native/component/editStringSelectMenuOf.js b/dist/native/component/editStringSelectMenuOf.js index 95fe2b180f..7d4025fef6 100644 --- a/dist/native/component/editStringSelectMenuOf.js +++ b/dist/native/component/editStringSelectMenuOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editStringSelectMenuOf.js.map b/dist/native/component/editStringSelectMenuOf.js.map index 9cf9106eea..a8e153570e 100644 --- a/dist/native/component/editStringSelectMenuOf.js.map +++ b/dist/native/component/editStringSelectMenuOf.js.map @@ -1 +1 @@ -{"version":3,"file":"editStringSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editStringSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwF;AACxF,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yCAAyC;IACtD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,oBAAO,CAAC,OAAO;YAC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AAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;gBAEtE,IAAI,IAAI,YAAY,oCAAuB,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,KAAK,GAAG,EAAE,CAAC;oBACzE,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;oBAEpB,IAAI,WAAW;wBAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;oBACjD,IAAI,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBAEnD,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;gBACf,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editUserSelectMenu.d.ts.map b/dist/native/component/editUserSelectMenu.d.ts.map index 45ae7e033c..1ccabf492f 100644 --- a/dist/native/component/editUserSelectMenu.d.ts.map +++ b/dist/native/component/editUserSelectMenu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editUserSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/editUserSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAkFE"} \ No newline at end of file +{"version":3,"file":"editUserSelectMenu.d.ts","sourceRoot":"","sources":["../../../src/native/component/editUserSelectMenu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAkFE"} \ No newline at end of file diff --git a/dist/native/component/editUserSelectMenu.js b/dist/native/component/editUserSelectMenu.js index 24ee448bc1..57a812a242 100644 --- a/dist/native/component/editUserSelectMenu.js +++ b/dist/native/component/editUserSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editUserSelectMenu.js.map b/dist/native/component/editUserSelectMenu.js.map index 943e586894..7782ded819 100644 --- a/dist/native/component/editUserSelectMenu.js.map +++ b/dist/native/component/editUserSelectMenu.js.map @@ -1 +1 @@ -{"version":3,"file":"editUserSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editUserSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsF;AACtF,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACr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,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;iBACxB;aACJ;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editUserSelectMenu.js","sourceRoot":"","sources":["../../../src/native/component/editUserSelectMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsF;AACtF,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,o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C,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAA;gBAEtE,IAAI,IAAI,YAAY,kCAAqB,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,KAAK,GAAG,EAAE,CAAC;oBACvE,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;oBAEpB,IAAI,WAAW;wBAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;oBACjD,IAAI,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,KAAK,CAAC,MAAM;wBAAE,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAE7D,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;gBACzB,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/editUserSelectMenuOf.d.ts.map b/dist/native/component/editUserSelectMenuOf.d.ts.map index 9fffcf21fc..2587b1e1b4 100644 --- a/dist/native/component/editUserSelectMenuOf.d.ts.map +++ b/dist/native/component/editUserSelectMenuOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editUserSelectMenuOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editUserSelectMenuOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAuGE"} \ No newline at end of file +{"version":3,"file":"editUserSelectMenuOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/editUserSelectMenuOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAG1D,wBAuGE"} \ No newline at end of file diff --git a/dist/native/component/editUserSelectMenuOf.js b/dist/native/component/editUserSelectMenuOf.js index 4c45888987..8f392bbdaa 100644 --- a/dist/native/component/editUserSelectMenuOf.js +++ b/dist/native/component/editUserSelectMenuOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/editUserSelectMenuOf.js.map b/dist/native/component/editUserSelectMenuOf.js.map index 906f80bd81..2a2173eea4 100644 --- a/dist/native/component/editUserSelectMenuOf.js.map +++ b/dist/native/component/editUserSelectMenuOf.js.map @@ -1 +1 @@ -{"version":3,"file":"editUserSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editUserSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsF;AACtF,iDAAkE;AAClE,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;Y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,CAAC,CAAA;oBAEpB,IAAI,WAAW;wBAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;oBACjD,IAAI,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,KAAK,CAAC,MAAM;wBAAE,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAE7D,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;iBACd;aACJ;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editUserSelectMenuOf.js","sourceRoot":"","sources":["../../../src/native/component/editUserSelectMenuOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsF;AACtF,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qDAAqD;IAClE,MAAM,E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qB,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,KAAK,GAAG,EAAE,CAAC;oBACvE,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;oBAEpB,IAAI,WAAW;wBAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAA;oBACjD,IAAI,OAAO,QAAQ,KAAK,SAAS;wBAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAA;oBAC7D,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,OAAO,GAAG,KAAK,QAAQ;wBAAE,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;oBACnD,IAAI,KAAK,CAAC,MAAM;wBAAE,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAA;oBAE7D,IAAI,IAAI,YAAY,6BAAgB;wBAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,6BAAgB,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;oBAE7G,MAAM,KAAK,CAAA;gBACf,CAAC;YACL,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACtF,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/enableButtons.d.ts.map b/dist/native/component/enableButtons.d.ts.map index ce48e1339b..13e6bab312 100644 --- a/dist/native/component/enableButtons.d.ts.map +++ b/dist/native/component/enableButtons.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"enableButtons.d.ts","sourceRoot":"","sources":["../../../src/native/component/enableButtons.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmCE"} \ No newline at end of file +{"version":3,"file":"enableButtons.d.ts","sourceRoot":"","sources":["../../../src/native/component/enableButtons.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmCE"} \ No newline at end of file diff --git a/dist/native/component/enableButtons.js b/dist/native/component/enableButtons.js index 42c5bbd2fa..b10ed5ecf1 100644 --- a/dist/native/component/enableButtons.js +++ b/dist/native/component/enableButtons.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/enableButtons.js.map b/dist/native/component/enableButtons.js.map index 284c6efa83..3705f9da81 100644 --- a/dist/native/component/enableButtons.js.map +++ b/dist/native/component/enableButtons.js.map @@ -1 +1 @@ -{"version":3,"file":"enableButtons.js","sourceRoot":"","sources":["../../../src/native/component/enableButtons.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;IACzD,OAAO,EAAE,CAAC,mBAAmB,CAAC;IAC9B,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,MAAM,IAAI,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAA;QACrC,MAAM,UAAU,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;QAEzE,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAC9C,IAAI,CAAC,YAAY,0BAAa;gBAAE,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;QACxD,CAAC,CAAC,CAAA;QAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YACnD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;YACzB,IAAI,CAAC,CAAC,GAAG,YAAY,6BAAgB,CAAC;gBAAE,SAAQ;YAChD,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;gBAC1B,IAAI,CAAC,YAAY,0BAAa;oBAAE,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAA;YACjF,CAAC,CAAC,CAAA;SACL;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"enableButtons.js","sourceRoot":"","sources":["../../../src/native/component/enableButtons.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,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W,CAAC,KAAK,CAAC,CAAC,CAAA;YACjF,CAAC,CAAC,CAAA;QACN,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/enableButtonsOf.d.ts.map b/dist/native/component/enableButtonsOf.d.ts.map index d96345614b..c42f6f88ec 100644 --- a/dist/native/component/enableButtonsOf.d.ts.map +++ b/dist/native/component/enableButtonsOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"enableButtonsOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/enableButtonsOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;AAElE,wBAkDE"} \ No newline at end of file +{"version":3,"file":"enableButtonsOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/enableButtonsOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;AAE1D,wBAkDE"} \ No newline at end of file diff --git a/dist/native/component/enableButtonsOf.js b/dist/native/component/enableButtonsOf.js index ed01b3bcdf..b7c135de13 100644 --- a/dist/native/component/enableButtonsOf.js +++ b/dist/native/component/enableButtonsOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/enableButtonsOf.js.map b/dist/native/component/enableButtonsOf.js.map index 3fda408141..095aecbe65 100644 --- a/dist/native/component/enableButtonsOf.js.map +++ b/dist/native/component/enableButtonsOf.js.map @@ -1 +1 @@ -{"version":3,"file":"enableButtonsOf.js","sourceRoot":"","sources":["../../../src/native/component/enableButtonsOf.ts"],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UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;gBACrC,IAAI,IAAI,YAAY,0BAAa,EAAE;oBAC/B,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAA;iBACnD;qBAAM;oBACH,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,CAAA;iBAChC;YACL,CAAC,CAAC,CAAA;YACF,IAAI,CAAC,KAAK,KAAK;gBAAE,MAAK;SACzB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAA+C,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAC5H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"enableButtonsOf.js","sourceRoot":"","sources":["../../../src/native/component/enableButtonsOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAkG;AAClG,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,OAAO,EAAE,CAAC,qBAAqB,CAAC;IAChC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAA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component/enableComponents.d.ts b/dist/native/component/enableComponents.d.ts index e42988130f..f6cc4098b6 100644 --- a/dist/native/component/enableComponents.d.ts +++ b/dist/native/component/enableComponents.d.ts @@ -1,4 +1,4 @@ -import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +import { NativeFunction } from "../../structures"; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=enableComponents.d.ts.map \ No newline at end of file diff --git a/dist/native/component/enableComponents.d.ts.map b/dist/native/component/enableComponents.d.ts.map index 875b9dc8be..e4e8872c79 100644 --- a/dist/native/component/enableComponents.d.ts.map +++ b/dist/native/component/enableComponents.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"enableComponents.d.ts","sourceRoot":"","sources":["../../../src/native/component/enableComponents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;AAElE,wBAkBE"} \ No newline at end of file +{"version":3,"file":"enableComponents.d.ts","sourceRoot":"","sources":["../../../src/native/component/enableComponents.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAkBE"} \ No newline at end of file diff --git a/dist/native/component/enableComponents.js b/dist/native/component/enableComponents.js index f14fcf2943..4bd1349c52 100644 --- a/dist/native/component/enableComponents.js +++ b/dist/native/component/enableComponents.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/enableComponents.js.map b/dist/native/component/enableComponents.js.map index 1be153c41d..87db66b3b8 100644 --- a/dist/native/component/enableComponents.js.map +++ b/dist/native/component/enableComponents.js.map @@ -1 +1 @@ -{"version":3,"file":"enableComponents.js","sourceRoot":"","sources":["../../../src/native/component/enableComponents.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,OAAO,EAAE,CAAC,sBAAsB,CAAC;IACjC,MAAM,EAAE,KAAK;IACb,OAAO,CAAC,GAAG;QACP,MAAM,UAAU,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAA;QAC3C,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAA;QAExE,KAAK,IAAI,IAAI,IAAI,UAAU,EAAE;YACzB,IAAI,CAAC,CAAC,IAAI,YAAY,6BAAgB,CAAC;gBAAE,SAAQ;YACjD,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;SACjF;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"enableComponents.js","sourceRoot":"","sources":["../../../src/native/component/enableComponents.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6C;AAC7C,iDAAiD;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,OAAO,EAAE,CAAC,sBAAsB,CAAC;IACjC,MAAM,EAAE,KAAK;IACb,OAAO,CAAC,GAAG;QACP,MAAM,UAAU,GAAG,GAAG,CAAC,SAAS,CAAC,UAAU,CAAA;QAC3C,GAAG,CAAC,SAAS,CAAC,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAA;QAExE,KAAK,IAAI,IAAI,IAAI,UAAU,EAAE,CAAC;YAC1B,IAAI,CAAC,CAAC,IAAI,YAAY,6BAAgB,CAAC;gBAAE,SAAQ;YACjD,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,IAAI,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;QAClF,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/enableComponentsOf.d.ts.map b/dist/native/component/enableComponentsOf.d.ts.map index 60aeec9aee..632e2712f4 100644 --- a/dist/native/component/enableComponentsOf.d.ts.map +++ b/dist/native/component/enableComponentsOf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"enableComponentsOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/enableComponentsOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBAqCE"} \ No newline at end of file +{"version":3,"file":"enableComponentsOf.d.ts","sourceRoot":"","sources":["../../../src/native/component/enableComponentsOf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBAqCE"} \ No newline at end of file diff --git a/dist/native/component/enableComponentsOf.js b/dist/native/component/enableComponentsOf.js index 3f48480304..f244592d5f 100644 --- a/dist/native/component/enableComponentsOf.js +++ b/dist/native/component/enableComponentsOf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/enableComponentsOf.js.map b/dist/native/component/enableComponentsOf.js.map index 13d6c983cb..bd42b7c9f8 100644 --- a/dist/native/component/enableComponentsOf.js.map +++ b/dist/native/component/enableComponentsOf.js.map @@ -1 +1 @@ -{"version":3,"file":"enableComponentsOf.js","sourceRoot":"","sources":["../../../src/native/component/enableComponentsOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAqH;AACrH,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,OAAO,EAAE,CAAC,wBAAwB,CAAC;IACnC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;QACtB,MAAM,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,6BAAgB,CAAC,IAAI,CAAmC,CAAyC,CAAC,CAAC,CAAA;QAE9I,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACrB,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;QACrF,CAAC,CAAC,CAAA;QAEF,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAkE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACzH,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"enableComponentsOf.js","sourceRoot":"","sources":["../../../src/native/component/enableComponentsOf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAqH;AACrH,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,OAAO,EAAE,CAAC,wBAAwB,CAAC;IACnC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;QACtB,MAAM,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,6BAAgB,CAAC,IAAI,CAAmC,CAAyC,CAAC,CAAC,CAAA;QAE9I,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACrB,MAAM,SAAS,GAAG,IAAI,6BAAgB,EAAE,CAAA;YACxC,GAAG,EAAE,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;QACrF,CAAC,CAAC,CAAA;QAEF,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,UAAU,EAAE,UAAkE,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CACzH,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/component/setChannelType.js b/dist/native/component/setChannelType.js index 7f09861c66..273a093bff 100644 --- a/dist/native/component/setChannelType.js +++ b/dist/native/component/setChannelType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/component/setChannelType.js.map b/dist/native/component/setChannelType.js.map index 386731171e..920b71c509 100644 --- a/dist/native/component/setChannelType.js.map +++ b/dist/native/component/setChannelType.js.map @@ -1 +1 @@ -{"version":3,"file":"setChannelType.js","sourceRoot":"","sources":["../../../src/native/component/setChannelType.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAkE;AAClE,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,kBAAkB,CAAC;IAC7B,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,wBAAW;YACjB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,KAAK,CAAE;QAClB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,qCAAwB,EAAE;YAC1C,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;SAC9B;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"setChannelType.js","sourceRoot":"","sources":["../../../src/native/component/setChannelType.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAkE;AAClE,iDAA0D;AAC1D,2DAA6D;AAE7D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,kBAAkB,CAAC;IAC7B,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,wBAAW;YACjB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,KAAK,CAAE;QAClB,MAAM,IAAI,GAAG,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAA;QAClC,IAAI,IAAI,YAAY,qCAAwB,EAAE,CAAC;YAC3C,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;QAC/B,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/condition/and.js b/dist/native/condition/and.js index 1831459cad..6bd980d101 100644 --- a/dist/native/condition/and.js +++ b/dist/native/condition/and.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/condition/and.js.map b/dist/native/condition/and.js.map index c867efc604..72778bf462 100644 --- a/dist/native/condition/and.js.map +++ b/dist/native/condition/and.js.map @@ -1 +1 @@ -{"version":3,"file":"and.js","sourceRoot":"","sources":["../../../src/native/condition/and.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA2G;AAE3G,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+BAA+B;IAC5C,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,SAAS,EAAE,IAAI;YACf,WAAW,EAAE,gCAAgC;SAChD;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,IAAI,CAA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AC,IAAI,CAAC,MAAO,CAAC,CAAC,CAA4C,CAAA;YAC7E,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;YAC3D,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;gBAAE,OAAO,QAAQ,CAAA;iBACpD,IAAI,CAAC,QAAQ,CAAC,KAAK;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QACxD,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/condition/checkCondition.js b/dist/native/condition/checkCondition.js index 7e8ae03a71..3b93597a10 100644 --- a/dist/native/condition/checkCondition.js +++ b/dist/native/condition/checkCondition.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/condition/isBoolean.js b/dist/native/condition/isBoolean.js index 4c7facfd1a..645569ade7 100644 --- a/dist/native/condition/isBoolean.js +++ b/dist/native/condition/isBoolean.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/condition/isValidHex.d.ts.map b/dist/native/condition/isValidHex.d.ts.map index 98fb3d1a0a..1f949f7090 100644 --- a/dist/native/condition/isValidHex.d.ts.map +++ b/dist/native/condition/isValidHex.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isValidHex.d.ts","sourceRoot":"","sources":["../../../src/native/condition/isValidHex.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAE1D,eAAO,MAAM,cAAc,UAAoB,CAAA;AAC/C,eAAO,MAAM,cAAc,GAAa,CAAA;AACxC,eAAO,MAAM,mBAAmB,QAAO,CAAA;;;;;;;;AAEvC,wBAoBE"} \ No newline at end of file +{"version":3,"file":"isValidHex.d.ts","sourceRoot":"","sources":["../../../src/native/condition/isValidHex.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAE1D,eAAO,MAAM,cAAc,EAAG,QAAiB,CAAA;AAC/C,eAAO,MAAM,cAAc,EAAG,CAAU,CAAA;AACxC,eAAO,MAAM,mBAAmB,QAAO,CAAA;;;;;;;;AAEvC,wBAoBE"} \ No newline at end of file diff --git a/dist/native/condition/isValidHex.js b/dist/native/condition/isValidHex.js index fe6368787b..ad2cad7883 100644 --- a/dist/native/condition/isValidHex.js +++ b/dist/native/condition/isValidHex.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.HexHashtagStripping = exports.MinHexIntValue = exports.MaxHexIntValue = void 0; diff --git a/dist/native/condition/isValidLink.js b/dist/native/condition/isValidLink.js index a0f6ee1f08..2ac3055587 100644 --- a/dist/native/condition/isValidLink.js +++ b/dist/native/condition/isValidLink.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.LinkRegex = void 0; diff --git a/dist/native/condition/or.js b/dist/native/condition/or.js index 4829f2cc9d..1409a5b304 100644 --- a/dist/native/condition/or.js +++ b/dist/native/condition/or.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/condition/or.js.map b/dist/native/condition/or.js.map index 01611d3f06..1537d777b7 100644 --- a/dist/native/condition/or.js.map +++ b/dist/native/condition/or.js.map @@ -1 +1 @@ -{"version":3,"file":"or.js","sourceRoot":"","sources":["../../../src/native/condition/or.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA2G;AAE3G,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,SAAS,EAAE,IAAI;YACf,WAAW,EAAE,oCAAoC;SACpD;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC1D,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAA4C,CAAA;YAC7E,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;YAC3D,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;gBAAE,OAA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AAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/cooldown/channelCooldown.js b/dist/native/cooldown/channelCooldown.js index 8b74b98db3..fd3b9b2c7a 100644 --- a/dist/native/cooldown/channelCooldown.js +++ b/dist/native/cooldown/channelCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/channelCooldown.js.map b/dist/native/cooldown/channelCooldown.js.map index d8ef11031b..d812a4d246 100644 --- a/dist/native/cooldown/channelCooldown.js.map +++ b/dist/native/cooldown/channelCooldown.js.map @@ -1 +1 @@ -{"version":3,"file":"channelCooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/channelCooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,I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,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,KAAe,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"channelCooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/channelCooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,EAAE,AAAD,EAAG,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAExE,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC;YAAE,OAAO,GAAG,CAAA;QAE/C,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC;YAAE,OAAO,GAAG,CAAA;QAE/C,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,GAAI,CAAC,EAAE,EAAE,SAAS,EAAE,GAAG,CAAC,KAAe,CAAC,CAAA;QAEvF,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QAErD,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;YACjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YACpD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC;gBAAE,OAAO,OAAO,CAAA;YACvD,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC,KAAe,CAAA;YAC/C,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,IAAI,EAAE,CAAA;QACtB,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,KAAe,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/cooldown/cooldown.js b/dist/native/cooldown/cooldown.js index 8689e93ebb..6a296cc058 100644 --- a/dist/native/cooldown/cooldown.js +++ b/dist/native/cooldown/cooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/cooldown.js.map b/dist/native/cooldown/cooldown.js.map index e8687ff7d1..7e9bbb5478 100644 --- a/dist/native/cooldown/cooldown.js.map +++ b/dist/native/cooldown/cooldown.js.map @@ -1 +1 @@ -{"version":3,"file":"cooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/cooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE;QACN;;;CAGP;QACO;;;CAGP;KACI;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,EAAE,AAAD,EAAG,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAExE,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CA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C,CAAC,OAAO,CAAC;gBAAE,OAAO,OAAO,CAAA;YACvD,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC,KAAe,CAAA;YAC/C,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,IAAI,EAAE,CAAA;QACtB,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,KAAe,EAAE,GAAG,CAAC,KAAe,CAAC,CAAA;QAElE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/cooldown/deleteChannelCooldown.js b/dist/native/cooldown/deleteChannelCooldown.js index 6f71e9cece..8a0298a76e 100644 --- a/dist/native/cooldown/deleteChannelCooldown.js +++ b/dist/native/cooldown/deleteChannelCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/deleteCooldown.js b/dist/native/cooldown/deleteCooldown.js index 93b8f67390..3f7621be09 100644 --- a/dist/native/cooldown/deleteCooldown.js +++ b/dist/native/cooldown/deleteCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/deleteGuildCooldown.js b/dist/native/cooldown/deleteGuildCooldown.js index 45df8d7216..6040ccb2b3 100644 --- a/dist/native/cooldown/deleteGuildCooldown.js +++ b/dist/native/cooldown/deleteGuildCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/deleteMemberCooldown.js b/dist/native/cooldown/deleteMemberCooldown.js index 80321b925c..83190dd6f6 100644 --- a/dist/native/cooldown/deleteMemberCooldown.js +++ b/dist/native/cooldown/deleteMemberCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/deleteUserCooldown.js b/dist/native/cooldown/deleteUserCooldown.js index 2f15cb38b6..7691993877 100644 --- a/dist/native/cooldown/deleteUserCooldown.js +++ b/dist/native/cooldown/deleteUserCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/getChannelCooldownTime.js b/dist/native/cooldown/getChannelCooldownTime.js index b75434a654..baa9d4f719 100644 --- a/dist/native/cooldown/getChannelCooldownTime.js +++ b/dist/native/cooldown/getChannelCooldownTime.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/getCooldownTime.js b/dist/native/cooldown/getCooldownTime.js index 4f8b73b4a5..f279cddf13 100644 --- a/dist/native/cooldown/getCooldownTime.js +++ b/dist/native/cooldown/getCooldownTime.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/getGuildCooldownTime.js b/dist/native/cooldown/getGuildCooldownTime.js index 7b13181944..c1fb69fc60 100644 --- a/dist/native/cooldown/getGuildCooldownTime.js +++ b/dist/native/cooldown/getGuildCooldownTime.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/getMemberCooldownTime.js b/dist/native/cooldown/getMemberCooldownTime.js index 170e5d69aa..59ec05c575 100644 --- a/dist/native/cooldown/getMemberCooldownTime.js +++ b/dist/native/cooldown/getMemberCooldownTime.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/getUserCooldownTime.js b/dist/native/cooldown/getUserCooldownTime.js index 0d777dc5bf..9e34419ae3 100644 --- a/dist/native/cooldown/getUserCooldownTime.js +++ b/dist/native/cooldown/getUserCooldownTime.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/guildCooldown.js b/dist/native/cooldown/guildCooldown.js index ffc0e45ba2..623e1a9e20 100644 --- a/dist/native/cooldown/guildCooldown.js +++ b/dist/native/cooldown/guildCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/guildCooldown.js.map b/dist/native/cooldown/guildCooldown.js.map index af53f975a8..836045041c 100644 --- a/dist/native/cooldown/guildCooldown.js.map +++ b/dist/native/cooldown/guildCooldown.js.map @@ -1 +1 @@ -{"version":3,"file":"guildCooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/guildCooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,OAAO,EAAE;QACL,iBAAiB;KACpB;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,M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A;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildCooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/guildCooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,OAAO,EAAE;QACL,iBAAiB;KACpB;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,EAAE,AAAD,EAAG,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAExE,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC;YAAE,OAAO,GAAG,CAAA;QAE/C,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC;YAAE,OAAO,GAAG,CAAA;QAE/C,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,GAAI,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,CAAC,KAAe,CAAC,CAAA;QAErF,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QAErD,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;YACjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YACpD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC;gBAAE,OAAO,OAAO,CAAA;YACvD,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC,KAAe,CAAA;YAC/C,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,IAAI,EAAE,CAAA;QACtB,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,KAAe,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/cooldown/memberCooldown.js b/dist/native/cooldown/memberCooldown.js index 59b231f526..bca25be968 100644 --- a/dist/native/cooldown/memberCooldown.js +++ b/dist/native/cooldown/memberCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/memberCooldown.js.map b/dist/native/cooldown/memberCooldown.js.map index 4a0f7795a8..8623910c31 100644 --- a/dist/native/cooldown/memberCooldown.js.map +++ b/dist/native/cooldown/memberCooldown.js.map @@ -1 +1 @@ -{"version":3,"file":"memberCooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/memberCooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,EAAE,AAAD,EAAG,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAExE,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACr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AI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"memberCooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/memberCooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,EAAE,AAAD,EAAG,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAExE,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC;YAAE,O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AA"} \ No newline at end of file diff --git a/dist/native/cooldown/userCooldown.js b/dist/native/cooldown/userCooldown.js index da16408a75..ffe825ef0e 100644 --- a/dist/native/cooldown/userCooldown.js +++ b/dist/native/cooldown/userCooldown.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/cooldown/userCooldown.js.map b/dist/native/cooldown/userCooldown.js.map index 02bf5a1a38..2910c41f01 100644 --- a/dist/native/cooldown/userCooldown.js.map +++ b/dist/native/cooldown/userCooldown.js.map @@ -1 +1 @@ -{"version":3,"file":"userCooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/userCooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb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CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"userCooldown.js","sourceRoot":"","sources":["../../../src/native/cooldown/userCooldown.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8CAA8C;IAC3D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,EAAE,AAAD,EAAG,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAExE,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC;YAAE,OAAO,GAAG,CAAA;QAE/C,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;QACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC;YAAE,OAAO,GAAG,CAAA;QAE/C,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,GAAI,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,KAAe,CAAC,CAAA;QAEpF,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;QAErD,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;YACjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YACpD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,OAAO,CAAC;gBAAE,OAAO,OAAO,CAAA;YACvD,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC,KAAe,CAAA;YAC/C,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,IAAI,EAAE,CAAA;QACtB,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,KAAe,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/crypto/createQueryParams.js b/dist/native/crypto/createQueryParams.js index 09d666b254..418fd60406 100644 --- a/dist/native/crypto/createQueryParams.js +++ b/dist/native/crypto/createQueryParams.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/crypto/createQueryParams.js.map b/dist/native/crypto/createQueryParams.js.map index 72b4a8a7f6..fb2c5a07fe 100644 --- a/dist/native/crypto/createQueryParams.js.map +++ b/dist/native/crypto/createQueryParams.js.map @@ -1 +1 @@ -{"version":3,"file":"createQueryParams.js","sourceRoot":"","sources":["../../../src/native/crypto/createQueryParams.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAClE,uDAA4C;AAE5C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,wBAAwB;YAC9B,WAAW,EAAE,uDAAuD;YACpE,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;QACjB,MAAM,GAAG,GAA2B,EAAE,CAAA;QACtC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE;YAClD,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;SACjC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,4BAAS,EAAC,GAAG,CAAC,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"createQueryParams.js","sourceRoot":"","sources":["../../../src/native/crypto/createQueryParams.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAClE,uDAA4C;AAE5C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,wBAAwB;YAC9B,WAAW,EAAE,uDAAuD;YACpE,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;QACjB,MAAM,GAAG,GAA2B,EAAE,CAAA;QACtC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YACnD,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;QAClC,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,4BAAS,EAAC,GAAG,CAAC,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/crypto/decodeURI.js b/dist/native/crypto/decodeURI.js index 623750be67..c49491accb 100644 --- a/dist/native/crypto/decodeURI.js +++ b/dist/native/crypto/decodeURI.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/crypto/decodeURIComponent.js b/dist/native/crypto/decodeURIComponent.js index ec568a83f0..94da729053 100644 --- a/dist/native/crypto/decodeURIComponent.js +++ b/dist/native/crypto/decodeURIComponent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/crypto/decrypt.js b/dist/native/crypto/decrypt.js index 836479a594..0a4d823ba7 100644 --- a/dist/native/crypto/decrypt.js +++ b/dist/native/crypto/decrypt.js @@ -1,10 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.decrypt = void 0; +exports.decrypt = decrypt; const crypto_1 = require("crypto"); const structures_1 = require("../../structures"); const encrypt_1 = require("./encrypt"); @@ -19,7 +19,6 @@ function decrypt(text, key) { decrypted += decipher.final("utf-8"); return decrypted; } -exports.decrypt = decrypt; exports.default = new structures_1.NativeFunction({ name: "$decrypt", version: "1.5.0", diff --git a/dist/native/crypto/decrypt.js.map b/dist/native/crypto/decrypt.js.map index 88cdf53e82..28c6caa692 100644 --- a/dist/native/crypto/decrypt.js.map +++ b/dist/native/crypto/decrypt.js.map @@ -1 +1 @@ -{"version":3,"file":"decrypt.js","sourceRoot":"","sources":["../../../src/native/crypto/decrypt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,mCAAyC;AACzC,iDAA0D;AAC1D,uCAAqC;AAErC;;GAEG;AAEH,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,kCAAkC,EAAE,KAAK,CAAC,CAAA;AAEvE,SAAgB,OAAO,CAAC,IAAY,EAAE,GAAW;IAC7C,MAAM,gBAAgB,GAAG,IAAA,mBAAS,EAAC,GAAG,CAAC,CAAA;IACvC,MAAM,QAAQ,GAAG,IAAA,yBAAgB,EAAC,aAAa,EAAE,IAAI,UAAU,CAAC,gBAAgB,CAAC,EAAE,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC5G,IAAI,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA;IACrD,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;IACpC,OAAO,SAAS,CAAA;AACpB,CAAC;AAND,0BAMC;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,GAAG,CAAE;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"decrypt.js","sourceRoot":"","sources":["../../../src/native/crypto/decrypt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAYF,0BAMC;AAhBD,mCAAyC;AACzC,iDAA0D;AAC1D,uCAAqC;AAErC;;GAEG;AAEH,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,kCAAkC,EAAE,KAAK,CAAC,CAAA;AAEvE,SAAgB,OAAO,CAAC,IAAY,EAAE,GAAW;IAC7C,MAAM,gBAAgB,GAAG,IAAA,mBAAS,EAAC,GAAG,CAAC,CAAA;IACvC,MAAM,QAAQ,GAAG,IAAA,yBAAgB,EAAC,aAAa,EAAE,IAAI,UAAU,CAAC,gBAAgB,CAAC,EAAE,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAA;IAC5G,IAAI,SAAS,GAAG,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA;IACrD,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;IACpC,OAAO,SAAS,CAAA;AACpB,CAAC;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,GAAG,CAAE;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/crypto/deflate.js b/dist/native/crypto/deflate.js index 05f4defdca..e24eb10935 100644 --- a/dist/native/crypto/deflate.js +++ b/dist/native/crypto/deflate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const zlib_1 = require("zlib"); diff --git a/dist/native/crypto/encodeURI.js b/dist/native/crypto/encodeURI.js index 79a7d03705..f0c00c6510 100644 --- a/dist/native/crypto/encodeURI.js +++ b/dist/native/crypto/encodeURI.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/crypto/encodeURIComponent.js b/dist/native/crypto/encodeURIComponent.js index 19f857b96a..7681c365b9 100644 --- a/dist/native/crypto/encodeURIComponent.js +++ b/dist/native/crypto/encodeURIComponent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/crypto/encrypt.d.ts b/dist/native/crypto/encrypt.d.ts index 749b45b01c..afac4fdafd 100644 --- a/dist/native/crypto/encrypt.d.ts +++ b/dist/native/crypto/encrypt.d.ts @@ -1,6 +1,5 @@ -/// import { ArgType, NativeFunction } from "../../structures"; -export declare function deriveKey(key: string): Buffer; +export declare function deriveKey(key: string): NonSharedBuffer; export declare function encrypt(text: string, key: string): string; declare const _default: NativeFunction<[{ name: string; diff --git a/dist/native/crypto/encrypt.d.ts.map b/dist/native/crypto/encrypt.d.ts.map index 91a1df5e32..90fdf8119b 100644 --- a/dist/native/crypto/encrypt.d.ts.map +++ b/dist/native/crypto/encrypt.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"encrypt.d.ts","sourceRoot":"","sources":["../../../src/native/crypto/encrypt.ts"],"names":[],"mappings":";AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAQ1D,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,UAEpC;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAMzD;;;;;;;;;;;;;;AAED,wBA0BE"} \ No newline at end of file +{"version":3,"file":"encrypt.d.ts","sourceRoot":"","sources":["../../../src/native/crypto/encrypt.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAQ1D,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,mBAEpC;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAMzD;;;;;;;;;;;;;;AAED,wBA0BE"} \ No newline at end of file diff --git a/dist/native/crypto/encrypt.js b/dist/native/crypto/encrypt.js index 7e555db49d..86de231f11 100644 --- a/dist/native/crypto/encrypt.js +++ b/dist/native/crypto/encrypt.js @@ -1,10 +1,11 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.encrypt = exports.deriveKey = void 0; +exports.deriveKey = deriveKey; +exports.encrypt = encrypt; const crypto_1 = require("crypto"); const structures_1 = require("../../structures"); /** @@ -14,7 +15,6 @@ const FIXED_IV = Buffer.from("12345678901234567890123456789012", "hex"); function deriveKey(key) { return (0, crypto_1.scryptSync)(key, "salt", 32); } -exports.deriveKey = deriveKey; function encrypt(text, key) { const idkhowtocallthis = deriveKey(key); const cipher = (0, crypto_1.createCipheriv)("aes-256-cbc", new Uint8Array(idkhowtocallthis), new Uint8Array(FIXED_IV)); @@ -22,7 +22,6 @@ function encrypt(text, key) { encrypted += cipher.final("hex"); return encrypted; } -exports.encrypt = encrypt; exports.default = new structures_1.NativeFunction({ name: "$encrypt", version: "1.5.0", diff --git a/dist/native/crypto/encrypt.js.map b/dist/native/crypto/encrypt.js.map index cc0d72e7d2..a3951f2ae3 100644 --- a/dist/native/crypto/encrypt.js.map +++ b/dist/native/crypto/encrypt.js.map @@ -1 +1 @@ -{"version":3,"file":"encrypt.js","sourceRoot":"","sources":["../../../src/native/crypto/encrypt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,mCAAmD;AACnD,iDAA0D;AAE1D;;GAEG;AAEH,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,kCAAkC,EAAE,KAAK,CAAC,CAAA;AAEvE,SAAgB,SAAS,CAAC,GAAW;IACjC,OAAO,IAAA,mBAAU,EAAC,GAAG,EAAE,MAAM,EAAE,EAAE,CAAC,CAAA;AACtC,CAAC;AAFD,8BAEC;AAED,SAAgB,OAAO,CAAC,IAAY,EAAE,GAAW;IAC7C,MAAM,gBAAgB,GAAG,SAAS,CAAC,GAAG,CAAC,CAAA;IACvC,MAAM,MAAM,GAAG,IAAA,uBAAc,EAAC,aAAa,EAAE,IAAI,UAAU,CAAC,gBAAgB,CAAC,EAAE,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAA;IACxG,IAAI,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA;IACnD,SAAS,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IAChC,OAAO,SAAS,CAAA;AACpB,CAAC;AAND,0BAMC;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EA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B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,GAAG,CAAE;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/crypto/inflate.js b/dist/native/crypto/inflate.js index 5f26ced47c..ab8e5b2a1d 100644 --- a/dist/native/crypto/inflate.js +++ b/dist/native/crypto/inflate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const zlib_1 = require("zlib"); diff --git a/dist/native/crypto/md5.js b/dist/native/crypto/md5.js index 8841fa0f76..b83b6358c0 100644 --- a/dist/native/crypto/md5.js +++ b/dist/native/crypto/md5.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const crypto_1 = require("crypto"); diff --git a/dist/native/crypto/randomBytes.js b/dist/native/crypto/randomBytes.js index b7e94081b0..8a9f0b5369 100644 --- a/dist/native/crypto/randomBytes.js +++ b/dist/native/crypto/randomBytes.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const crypto_1 = require("crypto"); diff --git a/dist/native/crypto/sha256.js b/dist/native/crypto/sha256.js index 4e979493e7..e5d1a26dcf 100644 --- a/dist/native/crypto/sha256.js +++ b/dist/native/crypto/sha256.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const crypto_1 = require("crypto"); diff --git a/dist/native/crypto/sha512.js b/dist/native/crypto/sha512.js index f1c4b50c84..61c7f0a275 100644 --- a/dist/native/crypto/sha512.js +++ b/dist/native/crypto/sha512.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const crypto_1 = require("crypto"); diff --git a/dist/native/embed/addField.js b/dist/native/embed/addField.js index dd3c8f6b21..604fcfe342 100644 --- a/dist/native/embed/addField.js +++ b/dist/native/embed/addField.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/author.js b/dist/native/embed/author.js index 4c19638fb4..82f8bec03b 100644 --- a/dist/native/embed/author.js +++ b/dist/native/embed/author.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/color.js b/dist/native/embed/color.js index 910927d2fb..665305bda4 100644 --- a/dist/native/embed/color.js +++ b/dist/native/embed/color.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/embed/deleteField.js b/dist/native/embed/deleteField.js index eac65857a0..bb107ce893 100644 --- a/dist/native/embed/deleteField.js +++ b/dist/native/embed/deleteField.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/description.js b/dist/native/embed/description.js index 129d49a8c9..d1ca1a5476 100644 --- a/dist/native/embed/description.js +++ b/dist/native/embed/description.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/editField.js b/dist/native/embed/editField.js index 559ec0d2ec..8c83e4452b 100644 --- a/dist/native/embed/editField.js +++ b/dist/native/embed/editField.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/footer.js b/dist/native/embed/footer.js index 50e347ee8e..0f9aeb038d 100644 --- a/dist/native/embed/footer.js +++ b/dist/native/embed/footer.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/image.js b/dist/native/embed/image.js index cf2692fb18..7ec6a6b693 100644 --- a/dist/native/embed/image.js +++ b/dist/native/embed/image.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/thumbnail.js b/dist/native/embed/thumbnail.js index ed5af28ca9..a4ecdd4ec1 100644 --- a/dist/native/embed/thumbnail.js +++ b/dist/native/embed/thumbnail.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/timestamp.js b/dist/native/embed/timestamp.js index 428ca514e0..3f52c17ec6 100644 --- a/dist/native/embed/timestamp.js +++ b/dist/native/embed/timestamp.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/embed/timestamp.js.map b/dist/native/embed/timestamp.js.map index 4805f1edfe..c10b8032c3 100644 --- a/dist/native/embed/timestamp.js.map +++ b/dist/native/embed/timestamp.js.map @@ -1 +1 @@ -{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../../src/native/embed/timestamp.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC;QAC3B,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACjB,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAA;YACrC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;SACxB;QAED,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC,CAAA;QACrE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../../src/native/embed/timestamp.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC;QAC3B,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YAClB,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAA;YACrC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QACzB,CAAC;QAED,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC,CAAA;QACrE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/embed/title.js b/dist/native/embed/title.js index 42c7d6c2ca..10aab5aa7b 100644 --- a/dist/native/embed/title.js +++ b/dist/native/embed/title.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/addApplicationEmoji.js b/dist/native/emoji/addApplicationEmoji.js index cea82273d4..e71dc3b838 100644 --- a/dist/native/emoji/addApplicationEmoji.js +++ b/dist/native/emoji/addApplicationEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/addEmoji.js b/dist/native/emoji/addEmoji.js index 8856f039c9..e51ec95885 100644 --- a/dist/native/emoji/addEmoji.js +++ b/dist/native/emoji/addEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/deleteApplicationEmojis.js b/dist/native/emoji/deleteApplicationEmojis.js index a210596ed8..11d06f982d 100644 --- a/dist/native/emoji/deleteApplicationEmojis.js +++ b/dist/native/emoji/deleteApplicationEmojis.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/deleteApplicationEmojis.js.map b/dist/native/emoji/deleteApplicationEmojis.js.map index c50690b78f..ac29b2f421 100644 --- a/dist/native/emoji/deleteApplicationEmojis.js.map +++ b/dist/native/emoji/deleteApplicationEmojis.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteApplicationEmojis.js","sourceRoot":"","sources":["../../../src/native/emoji/deleteApplicationEmojis.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iEAAiE;IAC9E,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,gBAAgB;SACjC;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;QACvB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC/C,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACpD,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;SACvB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteApplicationEmojis.js","sourceRoot":"","sources":["../../../src/native/emoji/deleteApplicationEmojis.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iEAAiE;IAC9E,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,gBAAgB;SACjC;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;QACvB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAChD,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACpD,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/emoji/deleteEmojiMessageReactions.d.ts b/dist/native/emoji/deleteEmojiMessageReactions.d.ts index 101e057e54..6280cabb71 100644 --- a/dist/native/emoji/deleteEmojiMessageReactions.d.ts +++ b/dist/native/emoji/deleteEmojiMessageReactions.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: TextBasedChannel) => boolean; + check: (i: TextBasedChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialDMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/emoji/deleteEmojiMessageReactions.js b/dist/native/emoji/deleteEmojiMessageReactions.js index e4966f6d31..1ae255c736 100644 --- a/dist/native/emoji/deleteEmojiMessageReactions.js +++ b/dist/native/emoji/deleteEmojiMessageReactions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/deleteEmojiMessageReactions.js.map b/dist/native/emoji/deleteEmojiMessageReactions.js.map index 6ea41fd048..8dfcca1635 100644 --- a/dist/native/emoji/deleteEmojiMessageReactions.js.map +++ b/dist/native/emoji/deleteEmojiMessageReactions.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteEmojiMessageReactions.js","sourceRoot":"","sources":["../../../src/native/emoji/deleteEmojiMessageReactions.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,8BAA8B;IACpC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oGAAoG;IACjH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAmB,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAClD;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wCAAwC;YACrD,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,QAAQ;SACzB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,AAAD,EAAG,MAAM,CAAC;QAC3B,IAAI,KAAK,GAAG,CAAC,CAAA;QAEb,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;YACxB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACpD,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;SACvB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteEmojiMessageReactions.js","sourceRoot":"","sources":["../../../src/native/emoji/deleteEmojiMessageReactions.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,8BAA8B;IACpC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oGAAoG;IACjH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAmB,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAClD;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wCAAwC;YACrD,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,QAAQ;SACzB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,AAAD,EAAG,MAAM,CAAC;QAC3B,IAAI,KAAK,GAAG,CAAC,CAAA;QAEb,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YACzB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACpD,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/emoji/deleteEmojis.js b/dist/native/emoji/deleteEmojis.js index dfa7d2ca1d..c3da4ea11c 100644 --- a/dist/native/emoji/deleteEmojis.js +++ b/dist/native/emoji/deleteEmojis.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/deleteEmojis.js.map b/dist/native/emoji/deleteEmojis.js.map index 4e61ebc3a6..ea608ff849 100644 --- a/dist/native/emoji/deleteEmojis.js.map +++ b/dist/native/emoji/deleteEmojis.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteEmojis.js","sourceRoot":"","sources":["../../../src/native/emoji/deleteEmojis.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,wEAAwE;IACrF,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,UAAU;SAC3B;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACzB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC/C,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC9D,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;SACvB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteEmojis.js","sourceRoot":"","sources":["../../../src/native/emoji/deleteEmojis.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,wEAAwE;IACrF,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,UAAU;SAC3B;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACzB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAChD,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC9D,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/emoji/editApplicationEmoji.js b/dist/native/emoji/editApplicationEmoji.js index 926dbab445..8392f53fb1 100644 --- a/dist/native/emoji/editApplicationEmoji.js +++ b/dist/native/emoji/editApplicationEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/editEmoji.js b/dist/native/emoji/editEmoji.js index 1ad35af20c..69394360ea 100644 --- a/dist/native/emoji/editEmoji.js +++ b/dist/native/emoji/editEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emoji.js b/dist/native/emoji/emoji.js index cb84374449..fa0b301892 100644 --- a/dist/native/emoji/emoji.js +++ b/dist/native/emoji/emoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiAnimated.js b/dist/native/emoji/emojiAnimated.js index dd0cca39f0..34db9710b4 100644 --- a/dist/native/emoji/emojiAnimated.js +++ b/dist/native/emoji/emojiAnimated.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiAuthorID.js b/dist/native/emoji/emojiAuthorID.js index a3beb75343..3c8b2bdb8a 100644 --- a/dist/native/emoji/emojiAuthorID.js +++ b/dist/native/emoji/emojiAuthorID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiCount.js b/dist/native/emoji/emojiCount.js index dda28325ba..354a117002 100644 --- a/dist/native/emoji/emojiCount.js +++ b/dist/native/emoji/emojiCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.EmojiType = void 0; diff --git a/dist/native/emoji/emojiCreatedAt.js b/dist/native/emoji/emojiCreatedAt.js index ac3d7ed324..bb6ee3acdb 100644 --- a/dist/native/emoji/emojiCreatedAt.js +++ b/dist/native/emoji/emojiCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiExists.js b/dist/native/emoji/emojiExists.js index e8b4d32051..21d84b9a16 100644 --- a/dist/native/emoji/emojiExists.js +++ b/dist/native/emoji/emojiExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiGuildID.js b/dist/native/emoji/emojiGuildID.js index 35e2bfd543..8969c14178 100644 --- a/dist/native/emoji/emojiGuildID.js +++ b/dist/native/emoji/emojiGuildID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiID.js b/dist/native/emoji/emojiID.js index 98a7fc8fd5..7e191fd6df 100644 --- a/dist/native/emoji/emojiID.js +++ b/dist/native/emoji/emojiID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiID.js.map b/dist/native/emoji/emojiID.js.map index 34726a64f0..ae0b9b96f8 100644 --- a/dist/native/emoji/emojiID.js.map +++ b/dist/native/emoji/emojiID.js.map @@ -1 +1 @@ -{"version":3,"file":"emojiID.js","sourceRoot":"","sources":["../../../src/native/emoji/emojiID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sBAAsB;IACnC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,KAAK;IACrB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QACtB,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,EAAE,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,EAAE,EAAE,CAAC,CAAA;SAChK;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;IACtC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"emojiID.js","sourceRoot":"","sources":["../../../src/native/emoji/emojiID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sBAAsB;IACnC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,KAAK;IACrB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QACtB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,EAAE,EAAE,IAAI,CAAC,MAAM,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,EAAE,EAAE,CAAC,CAAA;QACjK,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;IACtC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/emoji/emojiIDs.js b/dist/native/emoji/emojiIDs.js index b8a763ac57..3a8874e8e1 100644 --- a/dist/native/emoji/emojiIDs.js +++ b/dist/native/emoji/emojiIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/emoji/emojiIdentifier.js b/dist/native/emoji/emojiIdentifier.js index 372fd2d7e1..03053684df 100644 --- a/dist/native/emoji/emojiIdentifier.js +++ b/dist/native/emoji/emojiIdentifier.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiName.js b/dist/native/emoji/emojiName.js index 146b63aaca..37bfd41923 100644 --- a/dist/native/emoji/emojiName.js +++ b/dist/native/emoji/emojiName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiNames.js b/dist/native/emoji/emojiNames.js index 19e94291d8..dbdeb3b506 100644 --- a/dist/native/emoji/emojiNames.js +++ b/dist/native/emoji/emojiNames.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/emoji/emojiRawData.js b/dist/native/emoji/emojiRawData.js index 8c8b4a83c6..b5fe1781e3 100644 --- a/dist/native/emoji/emojiRawData.js +++ b/dist/native/emoji/emojiRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiRequiresColons.js b/dist/native/emoji/emojiRequiresColons.js index adeae456aa..26fd313284 100644 --- a/dist/native/emoji/emojiRequiresColons.js +++ b/dist/native/emoji/emojiRequiresColons.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/emojiRoles.js b/dist/native/emoji/emojiRoles.js index c96ea14de3..fe177980b5 100644 --- a/dist/native/emoji/emojiRoles.js +++ b/dist/native/emoji/emojiRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/emoji/emojiURL.js b/dist/native/emoji/emojiURL.js index 0df7320a39..07a3e05dae 100644 --- a/dist/native/emoji/emojiURL.js +++ b/dist/native/emoji/emojiURL.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/fetchApplicationEmojis.d.ts b/dist/native/emoji/fetchApplicationEmojis.d.ts index 16f4f0b679..7549d0dbba 100644 --- a/dist/native/emoji/fetchApplicationEmojis.d.ts +++ b/dist/native/emoji/fetchApplicationEmojis.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=fetchApplicationEmojis.d.ts.map \ No newline at end of file diff --git a/dist/native/emoji/fetchApplicationEmojis.js b/dist/native/emoji/fetchApplicationEmojis.js index f9b40b026f..d1c2d126da 100644 --- a/dist/native/emoji/fetchApplicationEmojis.js +++ b/dist/native/emoji/fetchApplicationEmojis.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/getApplicationEmojis.js b/dist/native/emoji/getApplicationEmojis.js index 710c58b2e0..5b1cbf2354 100644 --- a/dist/native/emoji/getApplicationEmojis.js +++ b/dist/native/emoji/getApplicationEmojis.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/emoji/randomApplicationEmojiID.d.ts b/dist/native/emoji/randomApplicationEmojiID.d.ts index 2915afd162..7969a47dde 100644 --- a/dist/native/emoji/randomApplicationEmojiID.d.ts +++ b/dist/native/emoji/randomApplicationEmojiID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=randomApplicationEmojiID.d.ts.map \ No newline at end of file diff --git a/dist/native/emoji/randomApplicationEmojiID.js b/dist/native/emoji/randomApplicationEmojiID.js index 870f9fdbc8..aec4479fd7 100644 --- a/dist/native/emoji/randomApplicationEmojiID.js +++ b/dist/native/emoji/randomApplicationEmojiID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/randomEmojiID.d.ts b/dist/native/emoji/randomEmojiID.d.ts index 62cd07eb66..ca2c7c9f0b 100644 --- a/dist/native/emoji/randomEmojiID.d.ts +++ b/dist/native/emoji/randomEmojiID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=randomEmojiID.d.ts.map \ No newline at end of file diff --git a/dist/native/emoji/randomEmojiID.js b/dist/native/emoji/randomEmojiID.js index b6cab73ba2..600a631211 100644 --- a/dist/native/emoji/randomEmojiID.js +++ b/dist/native/emoji/randomEmojiID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/emoji/randomGuildEmojiID.js b/dist/native/emoji/randomGuildEmojiID.js index 388287197f..1d7bbc0ca2 100644 --- a/dist/native/emoji/randomGuildEmojiID.js +++ b/dist/native/emoji/randomGuildEmojiID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementConsume.js b/dist/native/entitlement/entitlementConsume.js index d30760f33b..5cdb7e1b76 100644 --- a/dist/native/entitlement/entitlementConsume.js +++ b/dist/native/entitlement/entitlementConsume.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementEndTimestamp.d.ts b/dist/native/entitlement/entitlementEndTimestamp.d.ts index aa720d8cb9..57eab2c637 100644 --- a/dist/native/entitlement/entitlementEndTimestamp.d.ts +++ b/dist/native/entitlement/entitlementEndTimestamp.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementEndTimestamp.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementEndTimestamp.js b/dist/native/entitlement/entitlementEndTimestamp.js index 30a6f5cf21..90a15573e7 100644 --- a/dist/native/entitlement/entitlementEndTimestamp.js +++ b/dist/native/entitlement/entitlementEndTimestamp.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementGuildID.d.ts b/dist/native/entitlement/entitlementGuildID.d.ts index e3e3ffbc33..07ac4db12c 100644 --- a/dist/native/entitlement/entitlementGuildID.d.ts +++ b/dist/native/entitlement/entitlementGuildID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementGuildID.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementGuildID.js b/dist/native/entitlement/entitlementGuildID.js index 0c3411e1e6..47d45a2961 100644 --- a/dist/native/entitlement/entitlementGuildID.js +++ b/dist/native/entitlement/entitlementGuildID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementID.d.ts b/dist/native/entitlement/entitlementID.d.ts index 051991cb69..9507f961dc 100644 --- a/dist/native/entitlement/entitlementID.d.ts +++ b/dist/native/entitlement/entitlementID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementID.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementID.js b/dist/native/entitlement/entitlementID.js index fb9905b7e8..d77855f32a 100644 --- a/dist/native/entitlement/entitlementID.js +++ b/dist/native/entitlement/entitlementID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementIsActive.d.ts b/dist/native/entitlement/entitlementIsActive.d.ts index 35827aa7c7..929b619db6 100644 --- a/dist/native/entitlement/entitlementIsActive.d.ts +++ b/dist/native/entitlement/entitlementIsActive.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementIsActive.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementIsActive.js b/dist/native/entitlement/entitlementIsActive.js index 4ce52b1de7..b881f2b2ff 100644 --- a/dist/native/entitlement/entitlementIsActive.js +++ b/dist/native/entitlement/entitlementIsActive.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementIsConsumed.d.ts b/dist/native/entitlement/entitlementIsConsumed.d.ts index f0d0a0e285..4563bbeffb 100644 --- a/dist/native/entitlement/entitlementIsConsumed.d.ts +++ b/dist/native/entitlement/entitlementIsConsumed.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementIsConsumed.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementIsConsumed.js b/dist/native/entitlement/entitlementIsConsumed.js index 6ac866c305..a4cddba06d 100644 --- a/dist/native/entitlement/entitlementIsConsumed.js +++ b/dist/native/entitlement/entitlementIsConsumed.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementIsDeleted.d.ts b/dist/native/entitlement/entitlementIsDeleted.d.ts index 26ae8580b4..6c907abd81 100644 --- a/dist/native/entitlement/entitlementIsDeleted.d.ts +++ b/dist/native/entitlement/entitlementIsDeleted.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementIsDeleted.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementIsDeleted.js b/dist/native/entitlement/entitlementIsDeleted.js index e3c447f02e..41fca2e995 100644 --- a/dist/native/entitlement/entitlementIsDeleted.js +++ b/dist/native/entitlement/entitlementIsDeleted.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementIsGuildSubscription.d.ts b/dist/native/entitlement/entitlementIsGuildSubscription.d.ts index a0a2c9f62a..34e4ea544f 100644 --- a/dist/native/entitlement/entitlementIsGuildSubscription.d.ts +++ b/dist/native/entitlement/entitlementIsGuildSubscription.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementIsGuildSubscription.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementIsGuildSubscription.js b/dist/native/entitlement/entitlementIsGuildSubscription.js index 35a81cbac0..fcfb61c29b 100644 --- a/dist/native/entitlement/entitlementIsGuildSubscription.js +++ b/dist/native/entitlement/entitlementIsGuildSubscription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementIsUserSubscription.d.ts b/dist/native/entitlement/entitlementIsUserSubscription.d.ts index b3d6231faf..0bf71016ec 100644 --- a/dist/native/entitlement/entitlementIsUserSubscription.d.ts +++ b/dist/native/entitlement/entitlementIsUserSubscription.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementIsUserSubscription.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementIsUserSubscription.js b/dist/native/entitlement/entitlementIsUserSubscription.js index a6ede9dbc1..8f1a999da7 100644 --- a/dist/native/entitlement/entitlementIsUserSubscription.js +++ b/dist/native/entitlement/entitlementIsUserSubscription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementSkuID.d.ts b/dist/native/entitlement/entitlementSkuID.d.ts index 9729453590..a88e6a6512 100644 --- a/dist/native/entitlement/entitlementSkuID.d.ts +++ b/dist/native/entitlement/entitlementSkuID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementSkuID.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementSkuID.js b/dist/native/entitlement/entitlementSkuID.js index 92bbef715b..0667970322 100644 --- a/dist/native/entitlement/entitlementSkuID.js +++ b/dist/native/entitlement/entitlementSkuID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementStartTimestamp.d.ts b/dist/native/entitlement/entitlementStartTimestamp.d.ts index 8ffaea00b8..9e02a02014 100644 --- a/dist/native/entitlement/entitlementStartTimestamp.d.ts +++ b/dist/native/entitlement/entitlementStartTimestamp.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementStartTimestamp.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementStartTimestamp.js b/dist/native/entitlement/entitlementStartTimestamp.js index 1bb6869287..e604c230b4 100644 --- a/dist/native/entitlement/entitlementStartTimestamp.js +++ b/dist/native/entitlement/entitlementStartTimestamp.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/entitlementType.d.ts b/dist/native/entitlement/entitlementType.d.ts index bd64714b2c..225ba4dc77 100644 --- a/dist/native/entitlement/entitlementType.d.ts +++ b/dist/native/entitlement/entitlementType.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementType.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementType.js b/dist/native/entitlement/entitlementType.js index 35c2355e3f..7bc8fa1e52 100644 --- a/dist/native/entitlement/entitlementType.js +++ b/dist/native/entitlement/entitlementType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/entitlement/entitlementUserID.d.ts b/dist/native/entitlement/entitlementUserID.d.ts index 2104f6b954..69c5e66af4 100644 --- a/dist/native/entitlement/entitlementUserID.d.ts +++ b/dist/native/entitlement/entitlementUserID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=entitlementUserID.d.ts.map \ No newline at end of file diff --git a/dist/native/entitlement/entitlementUserID.js b/dist/native/entitlement/entitlementUserID.js index 717c33e7de..eee05e2bbc 100644 --- a/dist/native/entitlement/entitlementUserID.js +++ b/dist/native/entitlement/entitlementUserID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/hasAllEntitlements.js b/dist/native/entitlement/hasAllEntitlements.js index 356512eb16..16ded2ecf7 100644 --- a/dist/native/entitlement/hasAllEntitlements.js +++ b/dist/native/entitlement/hasAllEntitlements.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/hasAnyEntitlement.js b/dist/native/entitlement/hasAnyEntitlement.js index 55876b17c3..7d514e6d7e 100644 --- a/dist/native/entitlement/hasAnyEntitlement.js +++ b/dist/native/entitlement/hasAnyEntitlement.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/entitlement/hasEntitlement.js b/dist/native/entitlement/hasEntitlement.js index ec461deec9..2b7f710833 100644 --- a/dist/native/entitlement/hasEntitlement.js +++ b/dist/native/entitlement/hasEntitlement.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/event/createScheduledEvent.js b/dist/native/event/createScheduledEvent.js index 0167045203..3048a1e597 100644 --- a/dist/native/event/createScheduledEvent.js +++ b/dist/native/event/createScheduledEvent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/event/deleteScheduledEvent.js b/dist/native/event/deleteScheduledEvent.js index 744ca66ec4..78537a999f 100644 --- a/dist/native/event/deleteScheduledEvent.js +++ b/dist/native/event/deleteScheduledEvent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/event/deleteScheduledEvent.js.map b/dist/native/event/deleteScheduledEvent.js.map index 372f5edbba..6e75d877d5 100644 --- a/dist/native/event/deleteScheduledEvent.js.map +++ b/dist/native/event/deleteScheduledEvent.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteScheduledEvent.js","sourceRoot":"","sources":["../../../src/native/event/deleteScheduledEvent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,cAAc;YAC5B,OAAO,EAAE,CAAC;SACb;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,CAAC;QACxB,IAAI;YACA,MAAM,KAAK,CAAC,MAAM,EAAE,CAAA;SACvB;QAAC,OAAO,KAAK,EAAE;YACZ,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YACf,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;SAC7B;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteScheduledEvent.js","sourceRoot":"","sources":["../../../src/native/event/deleteScheduledEvent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,cAAc;YAC5B,OAAO,EAAE,CAAC;SACb;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,CAAC;QACxB,IAAI,CAAC;YACD,MAAM,KAAK,CAAC,MAAM,EAAE,CAAA;QACxB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YACf,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/event/editScheduledEvent.js b/dist/native/event/editScheduledEvent.js index 18a24701f5..2468ca0fab 100644 --- a/dist/native/event/editScheduledEvent.js +++ b/dist/native/event/editScheduledEvent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/event/getScheduledEvent.js b/dist/native/event/getScheduledEvent.js index e44a71f41c..a8a5b7482a 100644 --- a/dist/native/event/getScheduledEvent.js +++ b/dist/native/event/getScheduledEvent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/event/setScheduledEventChannel.d.ts b/dist/native/event/setScheduledEventChannel.d.ts index f7b4af7189..feb5cc51b9 100644 --- a/dist/native/event/setScheduledEventChannel.d.ts +++ b/dist/native/event/setScheduledEventChannel.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, VoiceBasedChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is VoiceBasedChannel; }], true>; export default _default; //# sourceMappingURL=setScheduledEventChannel.d.ts.map \ No newline at end of file diff --git a/dist/native/event/setScheduledEventChannel.d.ts.map b/dist/native/event/setScheduledEventChannel.d.ts.map index 255bf1c483..f1a2d42176 100644 --- a/dist/native/event/setScheduledEventChannel.d.ts.map +++ b/dist/native/event/setScheduledEventChannel.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"setScheduledEventChannel.d.ts","sourceRoot":"","sources":["../../../src/native/event/setScheduledEventChannel.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAqB,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAe3C,WAAW;;AAblC,wBAoBE"} \ No newline at end of file +{"version":3,"file":"setScheduledEventChannel.d.ts","sourceRoot":"","sources":["../../../src/native/event/setScheduledEventChannel.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAe3C,WAAW;;AAblC,wBAoBE"} \ No newline at end of file diff --git a/dist/native/event/setScheduledEventChannel.js b/dist/native/event/setScheduledEventChannel.js index e4e86dcdd3..994be1cd34 100644 --- a/dist/native/event/setScheduledEventChannel.js +++ b/dist/native/event/setScheduledEventChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/event/setScheduledEventLocation.js b/dist/native/event/setScheduledEventLocation.js index 063f6b62b8..32f5b73185 100644 --- a/dist/native/event/setScheduledEventLocation.js +++ b/dist/native/event/setScheduledEventLocation.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/file/appendFile.d.ts.map b/dist/native/file/appendFile.d.ts.map index f8251f5f46..2b0a311cbd 100644 --- a/dist/native/file/appendFile.d.ts.map +++ b/dist/native/file/appendFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"appendFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/appendFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;AAElE,wBAkCE"} \ No newline at end of file +{"version":3,"file":"appendFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/appendFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;AAE1D,wBAgCE"} \ No newline at end of file diff --git a/dist/native/file/appendFile.js b/dist/native/file/appendFile.js index c7a776bc38..b7fd44586e 100644 --- a/dist/native/file/appendFile.js +++ b/dist/native/file/appendFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); @@ -35,7 +35,6 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [path, data, encoding]) { - // eslint-disable-next-line no-undef (0, fs_1.appendFileSync)(path, data, { encoding: encoding || "utf-8" }); return this.success(); }, diff --git a/dist/native/file/appendFile.js.map b/dist/native/file/appendFile.js.map index 449e12bea3..015992d252 100644 --- a/dist/native/file/appendFile.js.map +++ b/dist/native/file/appendFile.js.map @@ -1 +1 @@ -{"version":3,"file":"appendFile.js","sourceRoot":"","sources":["../../../src/native/file/appendFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAmC;AACnC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC;QAC/B,oCAAoC;QACpC,IAAA,mBAAc,EAAC,IAAI,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAG,QAA2B,IAAI,OAAO,EAAE,CAAC,CAAA;QAEjF,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"appendFile.js","sourceRoot":"","sources":["../../../src/native/file/appendFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAmC;AACnC,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC;QAC/B,IAAA,mBAAc,EAAC,IAAI,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAG,QAA2B,IAAI,OAAO,EAAE,CAAC,CAAA;QACjF,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/copyFile.js b/dist/native/file/copyFile.js index befb960704..5e69d80594 100644 --- a/dist/native/file/copyFile.js +++ b/dist/native/file/copyFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/deleteFile.d.ts.map b/dist/native/file/deleteFile.d.ts.map index 8ab68397fb..b2499115aa 100644 --- a/dist/native/file/deleteFile.d.ts.map +++ b/dist/native/file/deleteFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deleteFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/deleteFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAqBE"} \ No newline at end of file +{"version":3,"file":"deleteFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/deleteFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmBE"} \ No newline at end of file diff --git a/dist/native/file/deleteFile.js b/dist/native/file/deleteFile.js index 5b9a27a102..bddb32a702 100644 --- a/dist/native/file/deleteFile.js +++ b/dist/native/file/deleteFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); @@ -22,7 +22,6 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [path]) { - // eslint-disable-next-line no-undef (0, fs_1.rmSync)(path, { recursive: true }); return this.success(); }, diff --git a/dist/native/file/deleteFile.js.map b/dist/native/file/deleteFile.js.map index 4b651f34db..1399586c5b 100644 --- a/dist/native/file/deleteFile.js.map +++ b/dist/native/file/deleteFile.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteFile.js","sourceRoot":"","sources":["../../../src/native/file/deleteFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA2B;AAC3B,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gBAAgB;IAC7B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,oCAAoC;QACpC,IAAA,WAAM,EAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;QAEjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteFile.js","sourceRoot":"","sources":["../../../src/native/file/deleteFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA2B;AAC3B,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gBAAgB;IAC7B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,IAAA,WAAM,EAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;QACjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/fileAccessedAt.js b/dist/native/file/fileAccessedAt.js index 15d28d2d31..e8b1b095b7 100644 --- a/dist/native/file/fileAccessedAt.js +++ b/dist/native/file/fileAccessedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/fileBlockCount.js b/dist/native/file/fileBlockCount.js index 9cd5364df7..2fadabf475 100644 --- a/dist/native/file/fileBlockCount.js +++ b/dist/native/file/fileBlockCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/fileBlockSize.js b/dist/native/file/fileBlockSize.js index 22c449e10f..312e8735a7 100644 --- a/dist/native/file/fileBlockSize.js +++ b/dist/native/file/fileBlockSize.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/fileChangedAt.js b/dist/native/file/fileChangedAt.js index fbdb221054..1ce8217628 100644 --- a/dist/native/file/fileChangedAt.js +++ b/dist/native/file/fileChangedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/fileCreatedAt.js b/dist/native/file/fileCreatedAt.js index 2cc320fa95..7f020eb0e6 100644 --- a/dist/native/file/fileCreatedAt.js +++ b/dist/native/file/fileCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/fileExists.js b/dist/native/file/fileExists.js index fb815d043d..82a87777e7 100644 --- a/dist/native/file/fileExists.js +++ b/dist/native/file/fileExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/fileModifiedAt.js b/dist/native/file/fileModifiedAt.js index 545bf2118d..507251cf8c 100644 --- a/dist/native/file/fileModifiedAt.js +++ b/dist/native/file/fileModifiedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/fileSize.js b/dist/native/file/fileSize.js index 5c7d65f13f..67ea186128 100644 --- a/dist/native/file/fileSize.js +++ b/dist/native/file/fileSize.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/isDirectory.d.ts.map b/dist/native/file/isDirectory.d.ts.map index 625f9ec19f..328ffde40b 100644 --- a/dist/native/file/isDirectory.d.ts.map +++ b/dist/native/file/isDirectory.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isDirectory.d.ts","sourceRoot":"","sources":["../../../src/native/file/isDirectory.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"isDirectory.d.ts","sourceRoot":"","sources":["../../../src/native/file/isDirectory.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAuBE"} \ No newline at end of file diff --git a/dist/native/file/isDirectory.js b/dist/native/file/isDirectory.js index 35a340bb09..0babe8db3a 100644 --- a/dist/native/file/isDirectory.js +++ b/dist/native/file/isDirectory.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); @@ -23,7 +23,12 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [path]) { - return this.success((0, fs_1.statSync)(path).isDirectory()); + try { + return this.success((0, fs_1.statSync)(path).isDirectory()); + } + catch { + return this.success(false); + } }, }); //# sourceMappingURL=isDirectory.js.map \ No newline at end of file diff --git a/dist/native/file/isDirectory.js.map b/dist/native/file/isDirectory.js.map index 650c5791ba..cacf7ecf7f 100644 --- a/dist/native/file/isDirectory.js.map +++ b/dist/native/file/isDirectory.js.map @@ -1 +1 @@ -{"version":3,"file":"isDirectory.js","sourceRoot":"","sources":["../../../src/native/file/isDirectory.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA6B;AAC7B,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,aAAQ,EAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,CAAA;IACrD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isDirectory.js","sourceRoot":"","sources":["../../../src/native/file/isDirectory.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA6B;AAC7B,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,IAAI,CAAC;YACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,aAAQ,EAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,CAAA;QACrD,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/isFile.d.ts.map b/dist/native/file/isFile.d.ts.map index 95db4c134b..8e07536082 100644 --- a/dist/native/file/isFile.d.ts.map +++ b/dist/native/file/isFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/isFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"isFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/isFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAuBE"} \ No newline at end of file diff --git a/dist/native/file/isFile.js b/dist/native/file/isFile.js index 112bda0a76..8a09bee906 100644 --- a/dist/native/file/isFile.js +++ b/dist/native/file/isFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); @@ -23,7 +23,12 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [path]) { - return this.success((0, fs_1.statSync)(path).isFile()); + try { + return this.success((0, fs_1.statSync)(path).isFile()); + } + catch { + return this.success(false); + } }, }); //# sourceMappingURL=isFile.js.map \ No newline at end of file diff --git a/dist/native/file/isFile.js.map b/dist/native/file/isFile.js.map index 7d01050eba..19b051c4ab 100644 --- a/dist/native/file/isFile.js.map +++ b/dist/native/file/isFile.js.map @@ -1 +1 @@ -{"version":3,"file":"isFile.js","sourceRoot":"","sources":["../../../src/native/file/isFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA6B;AAC7B,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,aAAQ,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,CAAA;IAChD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isFile.js","sourceRoot":"","sources":["../../../src/native/file/isFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA6B;AAC7B,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,IAAI,CAAC;YACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,aAAQ,EAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,CAAA;QAChD,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/isSymbolicLink.d.ts.map b/dist/native/file/isSymbolicLink.d.ts.map index d59f213f83..17ec7652e7 100644 --- a/dist/native/file/isSymbolicLink.d.ts.map +++ b/dist/native/file/isSymbolicLink.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isSymbolicLink.d.ts","sourceRoot":"","sources":["../../../src/native/file/isSymbolicLink.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"isSymbolicLink.d.ts","sourceRoot":"","sources":["../../../src/native/file/isSymbolicLink.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAuBE"} \ No newline at end of file diff --git a/dist/native/file/isSymbolicLink.js b/dist/native/file/isSymbolicLink.js index 32af797b70..95fae0f62c 100644 --- a/dist/native/file/isSymbolicLink.js +++ b/dist/native/file/isSymbolicLink.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); @@ -23,7 +23,12 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [path]) { - return this.success((0, fs_1.statSync)(path).isSymbolicLink()); + try { + return this.success((0, fs_1.statSync)(path).isSymbolicLink()); + } + catch { + return this.success(false); + } }, }); //# sourceMappingURL=isSymbolicLink.js.map \ No newline at end of file diff --git a/dist/native/file/isSymbolicLink.js.map b/dist/native/file/isSymbolicLink.js.map index c9870d2443..11ab628c52 100644 --- a/dist/native/file/isSymbolicLink.js.map +++ b/dist/native/file/isSymbolicLink.js.map @@ -1 +1 @@ -{"version":3,"file":"isSymbolicLink.js","sourceRoot":"","sources":["../../../src/native/file/isSymbolicLink.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA6B;AAC7B,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,aAAQ,EAAC,IAAI,CAAC,CAAC,cAAc,EAAE,CAAC,CAAA;IACxD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isSymbolicLink.js","sourceRoot":"","sources":["../../../src/native/file/isSymbolicLink.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA6B;AAC7B,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,IAAI,CAAC;YACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,aAAQ,EAAC,IAAI,CAAC,CAAC,cAAc,EAAE,CAAC,CAAA;QACxD,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/mkdir.js b/dist/native/file/mkdir.js index 1ee32aea29..1a0b597c37 100644 --- a/dist/native/file/mkdir.js +++ b/dist/native/file/mkdir.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/mktdir.js b/dist/native/file/mktdir.js index ded164f63c..86b574b803 100644 --- a/dist/native/file/mktdir.js +++ b/dist/native/file/mktdir.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/moveFile.js b/dist/native/file/moveFile.js index dc972f2723..8275c014d7 100644 --- a/dist/native/file/moveFile.js +++ b/dist/native/file/moveFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/pathExtensionName.d.ts b/dist/native/file/pathExtensionName.d.ts new file mode 100644 index 0000000000..d185601238 --- /dev/null +++ b/dist/native/file/pathExtensionName.d.ts @@ -0,0 +1,10 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.String; +}], true>; +export default _default; +//# sourceMappingURL=pathExtensionName.d.ts.map \ No newline at end of file diff --git a/dist/native/file/pathExtensionName.d.ts.map b/dist/native/file/pathExtensionName.d.ts.map new file mode 100644 index 0000000000..83e7b25e6e --- /dev/null +++ b/dist/native/file/pathExtensionName.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"pathExtensionName.d.ts","sourceRoot":"","sources":["../../../src/native/file/pathExtensionName.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAoBE"} \ No newline at end of file diff --git a/dist/native/file/pathExtensionName.js b/dist/native/file/pathExtensionName.js new file mode 100644 index 0000000000..c2e1e15402 --- /dev/null +++ b/dist/native/file/pathExtensionName.js @@ -0,0 +1,30 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const path_1 = require("path"); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$pathExtensionName", + version: "2.7.0", + description: "Returns the extension name of a path", + aliases: ["$pathExtName"], + unwrap: true, + brackets: true, + args: [ + { + name: "path", + description: "The path to get extension name from", + rest: false, + required: true, + type: structures_1.ArgType.String, + }, + ], + output: structures_1.ArgType.String, + execute(ctx, [p]) { + return this.success((0, path_1.extname)(p)); + }, +}); +//# sourceMappingURL=pathExtensionName.js.map \ No newline at end of file diff --git a/dist/native/file/pathExtensionName.js.map b/dist/native/file/pathExtensionName.js.map new file mode 100644 index 0000000000..f23eab1a87 --- /dev/null +++ b/dist/native/file/pathExtensionName.js.map @@ -0,0 +1 @@ +{"version":3,"file":"pathExtensionName.js","sourceRoot":"","sources":["../../../src/native/file/pathExtensionName.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,+BAA8B;AAC9B,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,OAAO,EAAE,CAAC,cAAc,CAAC;IACzB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACZ,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,cAAO,EAAC,CAAC,CAAC,CAAC,CAAA;IACnC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/pathJoin.d.ts.map b/dist/native/file/pathJoin.d.ts.map index 36ecf0b8f5..573418f82c 100644 --- a/dist/native/file/pathJoin.d.ts.map +++ b/dist/native/file/pathJoin.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"pathJoin.d.ts","sourceRoot":"","sources":["../../../src/native/file/pathJoin.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"pathJoin.d.ts","sourceRoot":"","sources":["../../../src/native/file/pathJoin.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmBE"} \ No newline at end of file diff --git a/dist/native/file/pathJoin.js b/dist/native/file/pathJoin.js index 5cf50e038a..023bfc917a 100644 --- a/dist/native/file/pathJoin.js +++ b/dist/native/file/pathJoin.js @@ -1,13 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); -const path_1 = __importDefault(require("path")); +const path_1 = require("path"); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$pathJoin", @@ -26,7 +23,7 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [paths]) { - return this.success(path_1.default.join(...paths)); + return this.success((0, path_1.join)(...paths)); }, }); //# sourceMappingURL=pathJoin.js.map \ No newline at end of file diff --git a/dist/native/file/pathJoin.js.map b/dist/native/file/pathJoin.js.map index 0d266389a8..eaed8c4116 100644 --- a/dist/native/file/pathJoin.js.map +++ b/dist/native/file/pathJoin.js.map @@ -1 +1 @@ -{"version":3,"file":"pathJoin.js","sourceRoot":"","sources":["../../../src/native/file/pathJoin.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,gDAAuB;AACvB,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sBAAsB;IACnC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,cAAI,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAA;IAC5C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"pathJoin.js","sourceRoot":"","sources":["../../../src/native/file/pathJoin.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,+BAA2B;AAC3B,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sBAAsB;IACnC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,WAAI,EAAC,GAAG,KAAK,CAAC,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/pathResolve.d.ts.map b/dist/native/file/pathResolve.d.ts.map index 83b014f416..5e33eed397 100644 --- a/dist/native/file/pathResolve.d.ts.map +++ b/dist/native/file/pathResolve.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"pathResolve.d.ts","sourceRoot":"","sources":["../../../src/native/file/pathResolve.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"pathResolve.d.ts","sourceRoot":"","sources":["../../../src/native/file/pathResolve.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmBE"} \ No newline at end of file diff --git a/dist/native/file/pathResolve.js b/dist/native/file/pathResolve.js index dcb017e594..c78ed462ce 100644 --- a/dist/native/file/pathResolve.js +++ b/dist/native/file/pathResolve.js @@ -1,13 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); -const path_1 = __importDefault(require("path")); +const path_1 = require("path"); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$pathResolve", @@ -26,7 +23,7 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [paths]) { - return this.success(path_1.default.resolve(...paths)); + return this.success((0, path_1.resolve)(...paths)); }, }); //# sourceMappingURL=pathResolve.js.map \ No newline at end of file diff --git a/dist/native/file/pathResolve.js.map b/dist/native/file/pathResolve.js.map index 06fc2e2ca0..4094dcba22 100644 --- a/dist/native/file/pathResolve.js.map +++ b/dist/native/file/pathResolve.js.map @@ -1 +1 @@ -{"version":3,"file":"pathResolve.js","sourceRoot":"","sources":["../../../src/native/file/pathResolve.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,gDAAuB;AACvB,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,cAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAA;IAC/C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"pathResolve.js","sourceRoot":"","sources":["../../../src/native/file/pathResolve.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,+BAA8B;AAC9B,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,cAAO,EAAC,GAAG,KAAK,CAAC,CAAC,CAAA;IAC1C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/readDir.js b/dist/native/file/readDir.js index 1a24768942..12e430e3d9 100644 --- a/dist/native/file/readDir.js +++ b/dist/native/file/readDir.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/file/readFile.d.ts.map b/dist/native/file/readFile.d.ts.map index 77ff0b7308..b5b681bf2a 100644 --- a/dist/native/file/readFile.d.ts.map +++ b/dist/native/file/readFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"readFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/readFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAElE,wBA4BE"} \ No newline at end of file +{"version":3,"file":"readFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/readFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAE1D,wBA0BE"} \ No newline at end of file diff --git a/dist/native/file/readFile.js b/dist/native/file/readFile.js index 45b4415404..97d4568e78 100644 --- a/dist/native/file/readFile.js +++ b/dist/native/file/readFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); @@ -29,7 +29,6 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [path, encoding]) { - // eslint-disable-next-line no-undef const txt = (0, fs_1.readFileSync)(path, { encoding: encoding || "utf-8" }); return this.success(txt); }, diff --git a/dist/native/file/readFile.js.map b/dist/native/file/readFile.js.map index 188879ba26..3e41a0c293 100644 --- a/dist/native/file/readFile.js.map +++ b/dist/native/file/readFile.js.map @@ -1 +1 @@ -{"version":3,"file":"readFile.js","sourceRoot":"","sources":["../../../src/native/file/readFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAiC;AACjC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC;QACzB,oCAAoC;QACpC,MAAM,GAAG,GAAG,IAAA,iBAAY,EAAC,IAAI,EAAE,EAAE,QAAQ,EAAG,QAA2B,IAAI,OAAO,EAAE,CAAC,CAAA;QAErF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;IAC5B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"readFile.js","sourceRoot":"","sources":["../../../src/native/file/readFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAiC;AACjC,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC;QACzB,MAAM,GAAG,GAAG,IAAA,iBAAY,EAAC,IAAI,EAAE,EAAE,QAAQ,EAAG,QAA2B,IAAI,OAAO,EAAE,CAAC,CAAA;QACrF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;IAC5B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/renameFile.js b/dist/native/file/renameFile.js index e4e2f8092c..28374f4f65 100644 --- a/dist/native/file/renameFile.js +++ b/dist/native/file/renameFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/symlink.js b/dist/native/file/symlink.js index 614c8d2665..ac2916f111 100644 --- a/dist/native/file/symlink.js +++ b/dist/native/file/symlink.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); diff --git a/dist/native/file/truncateFile.d.ts.map b/dist/native/file/truncateFile.d.ts.map index 2162e55833..3c5f0452bd 100644 --- a/dist/native/file/truncateFile.d.ts.map +++ b/dist/native/file/truncateFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"truncateFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/truncateFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAElE,wBA4BE"} \ No newline at end of file +{"version":3,"file":"truncateFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/truncateFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAE1D,wBA0BE"} \ No newline at end of file diff --git a/dist/native/file/truncateFile.js b/dist/native/file/truncateFile.js index 4593de8372..248588f8c4 100644 --- a/dist/native/file/truncateFile.js +++ b/dist/native/file/truncateFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); @@ -29,7 +29,6 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [path, data]) { - // eslint-disable-next-line no-undef (0, fs_1.truncateSync)(path, data); return this.success(); }, diff --git a/dist/native/file/truncateFile.js.map b/dist/native/file/truncateFile.js.map index 2f0d6b1f4f..79a722663d 100644 --- a/dist/native/file/truncateFile.js.map +++ b/dist/native/file/truncateFile.js.map @@ -1 +1 @@ -{"version":3,"file":"truncateFile.js","sourceRoot":"","sources":["../../../src/native/file/truncateFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAiC;AACjC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,oCAAoC;QACpC,IAAA,iBAAY,EAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QAExB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"truncateFile.js","sourceRoot":"","sources":["../../../src/native/file/truncateFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAiC;AACjC,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,IAAA,iBAAY,EAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QACxB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/file/writeFile.d.ts.map b/dist/native/file/writeFile.d.ts.map index 6084dd4e28..7e25816a6b 100644 --- a/dist/native/file/writeFile.d.ts.map +++ b/dist/native/file/writeFile.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"writeFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/writeFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;AAElE,wBAkCE"} \ No newline at end of file +{"version":3,"file":"writeFile.d.ts","sourceRoot":"","sources":["../../../src/native/file/writeFile.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;AAE1D,wBAgCE"} \ No newline at end of file diff --git a/dist/native/file/writeFile.js b/dist/native/file/writeFile.js index bfa468e07b..f5d609ebb1 100644 --- a/dist/native/file/writeFile.js +++ b/dist/native/file/writeFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const fs_1 = require("fs"); @@ -35,7 +35,6 @@ exports.default = new structures_1.NativeFunction({ }, ], execute(ctx, [path, data, encoding]) { - // eslint-disable-next-line no-undef (0, fs_1.writeFileSync)(path, data, { encoding: encoding || "utf-8" }); return this.success(); }, diff --git a/dist/native/file/writeFile.js.map b/dist/native/file/writeFile.js.map index 8297a33dd9..54f446741d 100644 --- a/dist/native/file/writeFile.js.map +++ b/dist/native/file/writeFile.js.map @@ -1 +1 @@ -{"version":3,"file":"writeFile.js","sourceRoot":"","sources":["../../../src/native/file/writeFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAkC;AAClC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uBAAuB;IACpC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC;QAC/B,oCAAoC;QACpC,IAAA,kBAAa,EAAC,IAAI,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAG,QAA2B,IAAI,OAAO,EAAE,CAAC,CAAA;QAEhF,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"writeFile.js","sourceRoot":"","sources":["../../../src/native/file/writeFile.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAAkC;AAClC,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uBAAuB;IACpC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC;QAC/B,IAAA,kBAAa,EAAC,IAAI,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAG,QAA2B,IAAI,OAAO,EAAE,CAAC,CAAA;QAChF,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/formatting/bold.js b/dist/native/formatting/bold.js index 2e743300dc..b54d778bdd 100644 --- a/dist/native/formatting/bold.js +++ b/dist/native/formatting/bold.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.BoldEscapeRegex = void 0; diff --git a/dist/native/formatting/codeBlock.js b/dist/native/formatting/codeBlock.js index 046f3dd7de..e8dc4f64c6 100644 --- a/dist/native/formatting/codeBlock.js +++ b/dist/native/formatting/codeBlock.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/formatting/hyperlink.js b/dist/native/formatting/hyperlink.js index b1d33754a7..692f15d7e5 100644 --- a/dist/native/formatting/hyperlink.js +++ b/dist/native/formatting/hyperlink.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.BoldEscapeRegex = void 0; diff --git a/dist/native/formatting/inlineCode.js b/dist/native/formatting/inlineCode.js index 907419544f..08fc16dcb7 100644 --- a/dist/native/formatting/inlineCode.js +++ b/dist/native/formatting/inlineCode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.MarkdownEscapeRegex = void 0; diff --git a/dist/native/formatting/italic.js b/dist/native/formatting/italic.js index 155ea8e037..142ae4e5f6 100644 --- a/dist/native/formatting/italic.js +++ b/dist/native/formatting/italic.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ItalicEscapeRegex = void 0; diff --git a/dist/native/formatting/spoiler.js b/dist/native/formatting/spoiler.js index d7985b94ab..595eb5b8b0 100644 --- a/dist/native/formatting/spoiler.js +++ b/dist/native/formatting/spoiler.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SpoilerEscapeRegex = void 0; diff --git a/dist/native/formatting/strikethrough.js b/dist/native/formatting/strikethrough.js index d3051aed88..4aad2a1f07 100644 --- a/dist/native/formatting/strikethrough.js +++ b/dist/native/formatting/strikethrough.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.StrikeThroughEscapeRegex = void 0; diff --git a/dist/native/formatting/subtext.js b/dist/native/formatting/subtext.js index f65e8f2c4d..e90914b1f7 100644 --- a/dist/native/formatting/subtext.js +++ b/dist/native/formatting/subtext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/formatting/underline.js b/dist/native/formatting/underline.js index 426fdb2b5a..d126de2417 100644 --- a/dist/native/formatting/underline.js +++ b/dist/native/formatting/underline.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.UnderlineEscapeRegex = void 0; diff --git a/dist/native/guild/createGuild.js b/dist/native/guild/createGuild.js index d55877cc2a..7cf0c1ac0f 100644 --- a/dist/native/guild/createGuild.js +++ b/dist/native/guild/createGuild.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/createGuildTemplate.js b/dist/native/guild/createGuildTemplate.js index efe769df19..8a6de4fa51 100644 --- a/dist/native/guild/createGuildTemplate.js +++ b/dist/native/guild/createGuildTemplate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/deleteGuild.js b/dist/native/guild/deleteGuild.js index 7bf8b11968..03132640ed 100644 --- a/dist/native/guild/deleteGuild.js +++ b/dist/native/guild/deleteGuild.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/deleteGuildApplicationCommands.d.ts b/dist/native/guild/deleteGuildApplicationCommands.d.ts index 3067602b34..9261739fb9 100644 --- a/dist/native/guild/deleteGuildApplicationCommands.d.ts +++ b/dist/native/guild/deleteGuildApplicationCommands.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction<[import("../../structures").IArg], true>; +declare const _default: NativeFunction<[import("../..").IArg], true>; export default _default; //# sourceMappingURL=deleteGuildApplicationCommands.d.ts.map \ No newline at end of file diff --git a/dist/native/guild/deleteGuildApplicationCommands.js b/dist/native/guild/deleteGuildApplicationCommands.js index 478c6a6363..5e0b3874a4 100644 --- a/dist/native/guild/deleteGuildApplicationCommands.js +++ b/dist/native/guild/deleteGuildApplicationCommands.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/deleteGuildTemplate.js b/dist/native/guild/deleteGuildTemplate.js index d6fd51776f..3887e5ca7c 100644 --- a/dist/native/guild/deleteGuildTemplate.js +++ b/dist/native/guild/deleteGuildTemplate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/editGuildTemplate.js b/dist/native/guild/editGuildTemplate.js index 365dc467e0..571e38f823 100644 --- a/dist/native/guild/editGuildTemplate.js +++ b/dist/native/guild/editGuildTemplate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/getGuildInvite.js b/dist/native/guild/getGuildInvite.js index 40c189fa53..f1523f807f 100644 --- a/dist/native/guild/getGuildInvite.js +++ b/dist/native/guild/getGuildInvite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/getGuildPreview.js b/dist/native/guild/getGuildPreview.js index 7f2f8ae0dc..e4358c18e4 100644 --- a/dist/native/guild/getGuildPreview.js +++ b/dist/native/guild/getGuildPreview.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const guild_1 = require("../../properties/guild"); diff --git a/dist/native/guild/getGuildTemplate.js b/dist/native/guild/getGuildTemplate.js index b78ab69ce1..d25647ce36 100644 --- a/dist/native/guild/getGuildTemplate.js +++ b/dist/native/guild/getGuildTemplate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.TemplateProperty = void 0; diff --git a/dist/native/guild/guildAfkChannelID.js b/dist/native/guild/guildAfkChannelID.js index e325c28114..1bba7b4c4c 100644 --- a/dist/native/guild/guildAfkChannelID.js +++ b/dist/native/guild/guildAfkChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildAfkTimeout.js b/dist/native/guild/guildAfkTimeout.js index 6e1caf7c29..308f36a318 100644 --- a/dist/native/guild/guildAfkTimeout.js +++ b/dist/native/guild/guildAfkTimeout.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildApproximateMemberCount.js b/dist/native/guild/guildApproximateMemberCount.js index 17da483692..d97cc08a55 100644 --- a/dist/native/guild/guildApproximateMemberCount.js +++ b/dist/native/guild/guildApproximateMemberCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildApproximatePresenceCount.js b/dist/native/guild/guildApproximatePresenceCount.js index 8677aa6344..b928054c50 100644 --- a/dist/native/guild/guildApproximatePresenceCount.js +++ b/dist/native/guild/guildApproximatePresenceCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildAutomodRules.js b/dist/native/guild/guildAutomodRules.js index 307e10e10d..b35f631931 100644 --- a/dist/native/guild/guildAutomodRules.js +++ b/dist/native/guild/guildAutomodRules.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildAutomodRules.js.map b/dist/native/guild/guildAutomodRules.js.map index 2e9fcd2118..9b3178ac4b 100644 --- a/dist/native/guild/guildAutomodRules.js.map +++ b/dist/native/guild/guildAutomodRules.js.map @@ -1 +1 @@ -{"version":3,"file":"guildAutomodRules.js","sourceRoot":"","sources":["../../../src/native/guild/guildAutomodRules.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAAkE;AAClE,8DAAyF;AACzF,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,OAAO,EAAE,CAAC,kBAAkB,CAAC;IAC7B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,iCAAmB;SAC5B;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE;QACJ,oBAAO,CAAC,IAAI;QACZ,IAAA,eAAK,GAAmB;KAC3B;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAE,KAAK,EAAE,IAAI,EAAE,GAAG,CAAE;QACnC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,EAAE,mBAAmB,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAEtF,IAAI,KAAK,IAAI,IAAI,EAAE;YACf,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,mCAAqB,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAA;YACtE,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;SACzH;QAED,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IAClC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildAutomodRules.js","sourceRoot":"","sources":["../../../src/native/guild/guildAutomodRules.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAAkE;AAClE,8DAAyF;AACzF,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,OAAO,EAAE,CAAC,kBAAkB,CAAC;IAC7B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,iCAAmB;SAC5B;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE;QACJ,oBAAO,CAAC,IAAI;QACZ,IAAA,eAAK,GAAmB;KAC3B;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAE,KAAK,EAAE,IAAI,EAAE,GAAG,CAAE;QACnC,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,EAAE,mBAAmB,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAEtF,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAChB,MAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,mCAAqB,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAA;YACtE,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;QAC1H,CAAC;QAED,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IAClC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/guild/guildAvailable.js b/dist/native/guild/guildAvailable.js index f2cc6a4c8b..90ed6ba00c 100644 --- a/dist/native/guild/guildAvailable.js +++ b/dist/native/guild/guildAvailable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildBanReason.js b/dist/native/guild/guildBanReason.js index 4a86345e7e..c1e6fde581 100644 --- a/dist/native/guild/guildBanReason.js +++ b/dist/native/guild/guildBanReason.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildBannedMembers.js b/dist/native/guild/guildBannedMembers.js index df037fe15b..665aa60d07 100644 --- a/dist/native/guild/guildBannedMembers.js +++ b/dist/native/guild/guildBannedMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildBanner.js b/dist/native/guild/guildBanner.js index a5d223e18c..156e30ce72 100644 --- a/dist/native/guild/guildBanner.js +++ b/dist/native/guild/guildBanner.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildBoostCount.js b/dist/native/guild/guildBoostCount.js index ee1a15728a..c0e0aba492 100644 --- a/dist/native/guild/guildBoostCount.js +++ b/dist/native/guild/guildBoostCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildBoostLevel.js b/dist/native/guild/guildBoostLevel.js index 6b3968fb71..866638cb07 100644 --- a/dist/native/guild/guildBoostLevel.js +++ b/dist/native/guild/guildBoostLevel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildBoostProgressBarEnabled.js b/dist/native/guild/guildBoostProgressBarEnabled.js index cdb26537cc..9d327e3835 100644 --- a/dist/native/guild/guildBoostProgressBarEnabled.js +++ b/dist/native/guild/guildBoostProgressBarEnabled.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildBoostRoleID.js b/dist/native/guild/guildBoostRoleID.js index 0e11e1572e..a5898a27c3 100644 --- a/dist/native/guild/guildBoostRoleID.js +++ b/dist/native/guild/guildBoostRoleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildBoosterIDs.js b/dist/native/guild/guildBoosterIDs.js index 950fb22e2e..b4b72682d2 100644 --- a/dist/native/guild/guildBoosterIDs.js +++ b/dist/native/guild/guildBoosterIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildBotCount.js b/dist/native/guild/guildBotCount.js index c93ffd03df..ffcca775fb 100644 --- a/dist/native/guild/guildBotCount.js +++ b/dist/native/guild/guildBotCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildChannelCount.js b/dist/native/guild/guildChannelCount.js index c8b9a68e11..18cacc01d3 100644 --- a/dist/native/guild/guildChannelCount.js +++ b/dist/native/guild/guildChannelCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildChannelExists.js b/dist/native/guild/guildChannelExists.js index 7a8dbbbf8a..a67ced85e1 100644 --- a/dist/native/guild/guildChannelExists.js +++ b/dist/native/guild/guildChannelExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildChannelIDs.js b/dist/native/guild/guildChannelIDs.js index 5df3f9d32e..2dc29bd5e7 100644 --- a/dist/native/guild/guildChannelIDs.js +++ b/dist/native/guild/guildChannelIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildCount.d.ts b/dist/native/guild/guildCount.d.ts index e9c14ce05e..a659377c70 100644 --- a/dist/native/guild/guildCount.d.ts +++ b/dist/native/guild/guildCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=guildCount.d.ts.map \ No newline at end of file diff --git a/dist/native/guild/guildCount.js b/dist/native/guild/guildCount.js index a84212a220..25393bebf3 100644 --- a/dist/native/guild/guildCount.js +++ b/dist/native/guild/guildCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildCreatedAt.js b/dist/native/guild/guildCreatedAt.js index cce378b907..0b9caa7944 100644 --- a/dist/native/guild/guildCreatedAt.js +++ b/dist/native/guild/guildCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildDefaultMessageNotifications.js b/dist/native/guild/guildDefaultMessageNotifications.js index 683aac3950..8abbf46c7f 100644 --- a/dist/native/guild/guildDefaultMessageNotifications.js +++ b/dist/native/guild/guildDefaultMessageNotifications.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildDescription.js b/dist/native/guild/guildDescription.js index adc80554e7..7e14e11b51 100644 --- a/dist/native/guild/guildDescription.js +++ b/dist/native/guild/guildDescription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildDiscoverySplash.js b/dist/native/guild/guildDiscoverySplash.js index 7b75d38d87..14dbda1e4a 100644 --- a/dist/native/guild/guildDiscoverySplash.js +++ b/dist/native/guild/guildDiscoverySplash.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildDmSpamDetectedAt.js b/dist/native/guild/guildDmSpamDetectedAt.js index dc22038177..96a931b2fb 100644 --- a/dist/native/guild/guildDmSpamDetectedAt.js +++ b/dist/native/guild/guildDmSpamDetectedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildDmsDisabledUntil.js b/dist/native/guild/guildDmsDisabledUntil.js index 9490dac1a3..672350529c 100644 --- a/dist/native/guild/guildDmsDisabledUntil.js +++ b/dist/native/guild/guildDmsDisabledUntil.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildEmojiCount.js b/dist/native/guild/guildEmojiCount.js index 780fdebc8b..28fa5cb5ab 100644 --- a/dist/native/guild/guildEmojiCount.js +++ b/dist/native/guild/guildEmojiCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildEmojiExists.js b/dist/native/guild/guildEmojiExists.js index 2f53a5c084..4ac4d9c24d 100644 --- a/dist/native/guild/guildEmojiExists.js +++ b/dist/native/guild/guildEmojiExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildEmojiIDs.js b/dist/native/guild/guildEmojiIDs.js index 0ffe71197b..504a46164d 100644 --- a/dist/native/guild/guildEmojiIDs.js +++ b/dist/native/guild/guildEmojiIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildEmojiLimit.js b/dist/native/guild/guildEmojiLimit.js index 1d9115abb3..2877953a77 100644 --- a/dist/native/guild/guildEmojiLimit.js +++ b/dist/native/guild/guildEmojiLimit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildEmojis.js b/dist/native/guild/guildEmojis.js index 368653e293..4bec51ddea 100644 --- a/dist/native/guild/guildEmojis.js +++ b/dist/native/guild/guildEmojis.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildExists.js b/dist/native/guild/guildExists.js index 4bd46a7593..31fe2c3031 100644 --- a/dist/native/guild/guildExists.js +++ b/dist/native/guild/guildExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildExplicitContentFilter.js b/dist/native/guild/guildExplicitContentFilter.js index 490a18c8cc..bc6192a9ea 100644 --- a/dist/native/guild/guildExplicitContentFilter.js +++ b/dist/native/guild/guildExplicitContentFilter.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildFeatures.js b/dist/native/guild/guildFeatures.js index 279e18dc65..a2777a297b 100644 --- a/dist/native/guild/guildFeatures.js +++ b/dist/native/guild/guildFeatures.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildHasAnyFeatures.js b/dist/native/guild/guildHasAnyFeatures.js index 7cc1b3544c..fa7e8249c7 100644 --- a/dist/native/guild/guildHasAnyFeatures.js +++ b/dist/native/guild/guildHasAnyFeatures.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildHasFeatures.js b/dist/native/guild/guildHasFeatures.js index 80f1c24e3a..053ebabb4a 100644 --- a/dist/native/guild/guildHasFeatures.js +++ b/dist/native/guild/guildHasFeatures.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildHasTemplate.js b/dist/native/guild/guildHasTemplate.js index 58f32cfe40..82372ca6c0 100644 --- a/dist/native/guild/guildHasTemplate.js +++ b/dist/native/guild/guildHasTemplate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildHighestRoleID.js b/dist/native/guild/guildHighestRoleID.js index 0280166650..2126ab925b 100644 --- a/dist/native/guild/guildHighestRoleID.js +++ b/dist/native/guild/guildHighestRoleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildID.js b/dist/native/guild/guildID.js index 25f7f04dbe..ad83978880 100644 --- a/dist/native/guild/guildID.js +++ b/dist/native/guild/guildID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildIDs.js b/dist/native/guild/guildIDs.js index 759c30b8f3..be2347a58a 100644 --- a/dist/native/guild/guildIDs.js +++ b/dist/native/guild/guildIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildIcon.js b/dist/native/guild/guildIcon.js index 5c9a85646a..75c710a204 100644 --- a/dist/native/guild/guildIcon.js +++ b/dist/native/guild/guildIcon.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildInviteExists.js b/dist/native/guild/guildInviteExists.js index 23afbbe5f2..13fed3c355 100644 --- a/dist/native/guild/guildInviteExists.js +++ b/dist/native/guild/guildInviteExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildInvites.js b/dist/native/guild/guildInvites.js index 44584a54ee..f514cb1723 100644 --- a/dist/native/guild/guildInvites.js +++ b/dist/native/guild/guildInvites.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildInvitesDisabledUntil.js b/dist/native/guild/guildInvitesDisabledUntil.js index 7facceb47a..a5c85cd113 100644 --- a/dist/native/guild/guildInvitesDisabledUntil.js +++ b/dist/native/guild/guildInvitesDisabledUntil.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildLarge.js b/dist/native/guild/guildLarge.js index 5da6953776..e93e90a010 100644 --- a/dist/native/guild/guildLarge.js +++ b/dist/native/guild/guildLarge.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildLeave.js b/dist/native/guild/guildLeave.js index 92d4e23ef3..c249a33aa1 100644 --- a/dist/native/guild/guildLeave.js +++ b/dist/native/guild/guildLeave.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildLowestRoleID.js b/dist/native/guild/guildLowestRoleID.js index 6f7dc81422..75d93a0e34 100644 --- a/dist/native/guild/guildLowestRoleID.js +++ b/dist/native/guild/guildLowestRoleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildMFALevel.js b/dist/native/guild/guildMFALevel.js index 4b65768ba7..eddcc31a06 100644 --- a/dist/native/guild/guildMFALevel.js +++ b/dist/native/guild/guildMFALevel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildMaxStageVideoChannelUsers.js b/dist/native/guild/guildMaxStageVideoChannelUsers.js index 92c915fec1..7afa4db548 100644 --- a/dist/native/guild/guildMaxStageVideoChannelUsers.js +++ b/dist/native/guild/guildMaxStageVideoChannelUsers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildMaxVideoChannelUsers.js b/dist/native/guild/guildMaxVideoChannelUsers.js index 6c12743544..c36533a071 100644 --- a/dist/native/guild/guildMaxVideoChannelUsers.js +++ b/dist/native/guild/guildMaxVideoChannelUsers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildMaximumBitrate.js b/dist/native/guild/guildMaximumBitrate.js index 2af4c8b8ba..3acf361a9e 100644 --- a/dist/native/guild/guildMaximumBitrate.js +++ b/dist/native/guild/guildMaximumBitrate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildMaximumMembers.js b/dist/native/guild/guildMaximumMembers.js index 2a7cc9464f..d6d8f7c8e2 100644 --- a/dist/native/guild/guildMaximumMembers.js +++ b/dist/native/guild/guildMaximumMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildMaximumPresences.js b/dist/native/guild/guildMaximumPresences.js index 2ef535377f..1d33ed987a 100644 --- a/dist/native/guild/guildMaximumPresences.js +++ b/dist/native/guild/guildMaximumPresences.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildMaximumStageBitrate.d.ts b/dist/native/guild/guildMaximumStageBitrate.d.ts new file mode 100644 index 0000000000..9394555420 --- /dev/null +++ b/dist/native/guild/guildMaximumStageBitrate.d.ts @@ -0,0 +1,10 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.Guild; +}], true>; +export default _default; +//# sourceMappingURL=guildMaximumStageBitrate.d.ts.map \ No newline at end of file diff --git a/dist/native/guild/guildMaximumStageBitrate.d.ts.map b/dist/native/guild/guildMaximumStageBitrate.d.ts.map new file mode 100644 index 0000000000..455b9c7900 --- /dev/null +++ b/dist/native/guild/guildMaximumStageBitrate.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"guildMaximumStageBitrate.d.ts","sourceRoot":"","sources":["../../../src/native/guild/guildMaximumStageBitrate.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAsBE"} \ No newline at end of file diff --git a/dist/native/guild/guildMaximumStageBitrate.js b/dist/native/guild/guildMaximumStageBitrate.js new file mode 100644 index 0000000000..512d74c3e7 --- /dev/null +++ b/dist/native/guild/guildMaximumStageBitrate.js @@ -0,0 +1,31 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$guildMaximumStageBitrate", + version: "2.7.0", + description: "Returns the maximum bitrate for stage channels of this guild", + aliases: [ + "$serverMaximumStageBitrate" + ], + unwrap: true, + brackets: false, + args: [ + { + name: "guild ID", + description: "The guild to retrieve the data", + rest: false, + required: true, + type: structures_1.ArgType.Guild, + }, + ], + output: structures_1.ArgType.Number, + execute(ctx, [guild]) { + return this.success((guild ?? ctx.guild)?.maximumStageBitrate); + }, +}); +//# sourceMappingURL=guildMaximumStageBitrate.js.map \ No newline at end of file diff --git a/dist/native/guild/guildMaximumStageBitrate.js.map b/dist/native/guild/guildMaximumStageBitrate.js.map new file mode 100644 index 0000000000..1c7e66d81b --- /dev/null +++ b/dist/native/guild/guildMaximumStageBitrate.js.map @@ -0,0 +1 @@ +{"version":3,"file":"guildMaximumStageBitrate.js","sourceRoot":"","sources":["../../../src/native/guild/guildMaximumStageBitrate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,2BAA2B;IACjC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8DAA8D;IAC3E,OAAO,EAAE;QACL,4BAA4B;KAC/B;IACD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,EAAE,mBAAmB,CAAC,CAAA;IAClE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/guild/guildMemberCount.js b/dist/native/guild/guildMemberCount.js index 0e05db3b33..c1e807e15a 100644 --- a/dist/native/guild/guildMemberCount.js +++ b/dist/native/guild/guildMemberCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.PresenceStatus = void 0; diff --git a/dist/native/guild/guildMemberCount.js.map b/dist/native/guild/guildMemberCount.js.map index 0ab240d26e..d61ac61eb1 100644 --- a/dist/native/guild/guildMemberCount.js.map +++ b/dist/native/guild/guildMemberCount.js.map @@ -1 +1 @@ -{"version":3,"file":"guildMemberCount.js","sourceRoot":"","sources":["../../../src/native/guild/guildMemberCount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AAC,QAAQ,KAAK,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,KAAK,SAAS,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;YACtI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;SACX;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAA;IACjH,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildMemberCount.js","sourceRoot":"","sources":["../../../src/native/guild/guildMemberCount.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,iDAAkE;AAElE,IAAY,cAKX;AALD,WAAY,cAAc;IACtB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;IACb,6BAAW,CAAA;IACX,qCAAmB,CAAA;AACvB,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,oBAAoB;QACpB,qBAAqB;KACxB;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,cAAc;SACvB;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC;QAChC,KAAK,KAAK,GAAG,CAAC,KAAM,CAAA;QACpB,IAAI,KAAK,IAAI,CAAA;QAEb,IAAI,QAAQ,EAAE,CAAC;YACX,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;gBACrD,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAA;gBACtC,OAAO,CAAC,QAAQ,KAAK,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,KAAK,SAAS,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,KAAK,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;YACtI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;QACZ,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAA;IACjH,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/guild/guildMemberIDs.js b/dist/native/guild/guildMemberIDs.js index 04841ce9cb..a2326a52d3 100644 --- a/dist/native/guild/guildMemberIDs.js +++ b/dist/native/guild/guildMemberIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildNSFWLevel.js b/dist/native/guild/guildNSFWLevel.js index c174dfd684..bc935b48bd 100644 --- a/dist/native/guild/guildNSFWLevel.js +++ b/dist/native/guild/guildNSFWLevel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildName.js b/dist/native/guild/guildName.js index 9946050d3b..40610456b0 100644 --- a/dist/native/guild/guildName.js +++ b/dist/native/guild/guildName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildNameAcronym.js b/dist/native/guild/guildNameAcronym.js index d6da9a2cc8..709e3448dc 100644 --- a/dist/native/guild/guildNameAcronym.js +++ b/dist/native/guild/guildNameAcronym.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildNames.js b/dist/native/guild/guildNames.js index 249adc0986..6b359d34fd 100644 --- a/dist/native/guild/guildNames.js +++ b/dist/native/guild/guildNames.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildOwnerID.js b/dist/native/guild/guildOwnerID.js index 9bdaa08c22..1d30ec9815 100644 --- a/dist/native/guild/guildOwnerID.js +++ b/dist/native/guild/guildOwnerID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildPartnered.js b/dist/native/guild/guildPartnered.js index 99133e8de8..ee27f5a42c 100644 --- a/dist/native/guild/guildPartnered.js +++ b/dist/native/guild/guildPartnered.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildPreferredLocale.js b/dist/native/guild/guildPreferredLocale.js index c573c6ac7b..0662dc0dc7 100644 --- a/dist/native/guild/guildPreferredLocale.js +++ b/dist/native/guild/guildPreferredLocale.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildPublicUpdatesChannelID.js b/dist/native/guild/guildPublicUpdatesChannelID.js index b15c64742b..28f8d6cf88 100644 --- a/dist/native/guild/guildPublicUpdatesChannelID.js +++ b/dist/native/guild/guildPublicUpdatesChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildRaidDetectedAt.js b/dist/native/guild/guildRaidDetectedAt.js index fda62d1328..a28c60acb7 100644 --- a/dist/native/guild/guildRaidDetectedAt.js +++ b/dist/native/guild/guildRaidDetectedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildRawData.js b/dist/native/guild/guildRawData.js index a52ea423e4..ac94d72274 100644 --- a/dist/native/guild/guildRawData.js +++ b/dist/native/guild/guildRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildRoleCount.js b/dist/native/guild/guildRoleCount.js index c4517a8a02..04e22f8a89 100644 --- a/dist/native/guild/guildRoleCount.js +++ b/dist/native/guild/guildRoleCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildRoleIDs.js b/dist/native/guild/guildRoleIDs.js index b677f89d68..a7183892f9 100644 --- a/dist/native/guild/guildRoleIDs.js +++ b/dist/native/guild/guildRoleIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildRulesChannelID.js b/dist/native/guild/guildRulesChannelID.js index c93d12766a..62b0a37cae 100644 --- a/dist/native/guild/guildRulesChannelID.js +++ b/dist/native/guild/guildRulesChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildSafetyAlertsChannelID.js b/dist/native/guild/guildSafetyAlertsChannelID.js index 4bdf011c6f..80c8ab14f3 100644 --- a/dist/native/guild/guildSafetyAlertsChannelID.js +++ b/dist/native/guild/guildSafetyAlertsChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildScheduledEvents.js b/dist/native/guild/guildScheduledEvents.js index 66c0e8063b..8878179639 100644 --- a/dist/native/guild/guildScheduledEvents.js +++ b/dist/native/guild/guildScheduledEvents.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildShardID.js b/dist/native/guild/guildShardID.js index b60fed19c2..758de69f87 100644 --- a/dist/native/guild/guildShardID.js +++ b/dist/native/guild/guildShardID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildSoundboardLimit.js b/dist/native/guild/guildSoundboardLimit.js index 93cebe3a69..ca17325ed9 100644 --- a/dist/native/guild/guildSoundboardLimit.js +++ b/dist/native/guild/guildSoundboardLimit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildSoundboardSounds.js b/dist/native/guild/guildSoundboardSounds.js index 62d3d5cbba..1682201b2d 100644 --- a/dist/native/guild/guildSoundboardSounds.js +++ b/dist/native/guild/guildSoundboardSounds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildSplashURL.js b/dist/native/guild/guildSplashURL.js index f71fc55daa..420b9039eb 100644 --- a/dist/native/guild/guildSplashURL.js +++ b/dist/native/guild/guildSplashURL.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildStageInstances.js b/dist/native/guild/guildStageInstances.js index 74739e8518..14c0b1953a 100644 --- a/dist/native/guild/guildStageInstances.js +++ b/dist/native/guild/guildStageInstances.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildStickerExists.js b/dist/native/guild/guildStickerExists.js index 1494245d27..fd0453f4b0 100644 --- a/dist/native/guild/guildStickerExists.js +++ b/dist/native/guild/guildStickerExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildStickerIDs.js b/dist/native/guild/guildStickerIDs.js index f4e3c82362..388dc5bf30 100644 --- a/dist/native/guild/guildStickerIDs.js +++ b/dist/native/guild/guildStickerIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildStickerLimit.js b/dist/native/guild/guildStickerLimit.js index e8b6056916..26bbf41e19 100644 --- a/dist/native/guild/guildStickerLimit.js +++ b/dist/native/guild/guildStickerLimit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildSystemChannelFlags.d.ts b/dist/native/guild/guildSystemChannelFlags.d.ts new file mode 100644 index 0000000000..1307085128 --- /dev/null +++ b/dist/native/guild/guildSystemChannelFlags.d.ts @@ -0,0 +1,15 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + type: ArgType.Guild; + required: true; + rest: false; +}, { + name: string; + description: string; + type: ArgType.String; + rest: false; +}], true>; +export default _default; +//# sourceMappingURL=guildSystemChannelFlags.d.ts.map \ No newline at end of file diff --git a/dist/native/guild/guildSystemChannelFlags.d.ts.map b/dist/native/guild/guildSystemChannelFlags.d.ts.map new file mode 100644 index 0000000000..5d5acc6c28 --- /dev/null +++ b/dist/native/guild/guildSystemChannelFlags.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"guildSystemChannelFlags.d.ts","sourceRoot":"","sources":["../../../src/native/guild/guildSystemChannelFlags.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAG1D,wBA4BE"} \ No newline at end of file diff --git a/dist/native/guild/guildSystemChannelFlags.js b/dist/native/guild/guildSystemChannelFlags.js new file mode 100644 index 0000000000..4f434a4596 --- /dev/null +++ b/dist/native/guild/guildSystemChannelFlags.js @@ -0,0 +1,42 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); +const structures_1 = require("../../structures"); +const array_1 = __importDefault(require("../../functions/array")); +exports.default = new structures_1.NativeFunction({ + name: "$guildSystemChannelFlags", + version: "2.7.0", + description: "Returns the system channel flags of a guild", + aliases: [ + "$serverSystemChannelFlags" + ], + unwrap: true, + brackets: false, + args: [ + { + name: "guild ID", + description: "The guild to retrieve the data", + type: structures_1.ArgType.Guild, + required: true, + rest: false, + }, + { + name: "separator", + description: "The separator to use for every flag", + type: structures_1.ArgType.String, + rest: false, + }, + ], + output: (0, array_1.default)(discord_js_1.GuildSystemChannelFlags), + execute(ctx, [guild, sep]) { + return this.success((guild ?? ctx.guild)?.systemChannelFlags.toArray().join(sep ?? ", ")); + }, +}); +//# sourceMappingURL=guildSystemChannelFlags.js.map \ No newline at end of file diff --git a/dist/native/guild/guildSystemChannelFlags.js.map b/dist/native/guild/guildSystemChannelFlags.js.map new file mode 100644 index 0000000000..466f463ed3 --- /dev/null +++ b/dist/native/guild/guildSystemChannelFlags.js.map @@ -0,0 +1 @@ +{"version":3,"file":"guildSystemChannelFlags.js","sourceRoot":"","sources":["../../../src/native/guild/guildSystemChannelFlags.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,2CAAoD;AACpD,iDAA0D;AAC1D,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,OAAO,EAAE;QACL,2BAA2B;KAC9B;IACD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE,IAAA,eAAK,EAAC,oCAAuB,CAAC;IACtC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;QACrB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAC7F,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/guild/guildSystemChannelID.d.ts.map b/dist/native/guild/guildSystemChannelID.d.ts.map index 9791e40fc3..fa7f0fa308 100644 --- a/dist/native/guild/guildSystemChannelID.d.ts.map +++ b/dist/native/guild/guildSystemChannelID.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"guildSystemChannelID.d.ts","sourceRoot":"","sources":["../../../src/native/guild/guildSystemChannelID.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAsBE"} \ No newline at end of file +{"version":3,"file":"guildSystemChannelID.d.ts","sourceRoot":"","sources":["../../../src/native/guild/guildSystemChannelID.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAsBE"} \ No newline at end of file diff --git a/dist/native/guild/guildSystemChannelID.js b/dist/native/guild/guildSystemChannelID.js index 62087a6a7b..ffc805abaf 100644 --- a/dist/native/guild/guildSystemChannelID.js +++ b/dist/native/guild/guildSystemChannelID.js @@ -1,19 +1,19 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$guildSystemChannelID", version: "1.0.0", - description: "Returns the server's system channel ID", - brackets: false, + description: "Returns the system channel ID of a guild", aliases: [ "$serverSystemChannelID" ], - output: structures_1.ArgType.Channel, + brackets: false, + unwrap: true, args: [ { name: "guild ID", @@ -23,7 +23,7 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.Guild, }, ], - unwrap: true, + output: structures_1.ArgType.Channel, execute(ctx, [guild]) { return this.success((guild ?? ctx.guild)?.systemChannelId); }, diff --git a/dist/native/guild/guildSystemChannelID.js.map b/dist/native/guild/guildSystemChannelID.js.map index aa371a8ada..23e76673c5 100644 --- a/dist/native/guild/guildSystemChannelID.js.map +++ b/dist/native/guild/guildSystemChannelID.js.map @@ -1 +1 @@ -{"version":3,"file":"guildSystemChannelID.js","sourceRoot":"","sources":["../../../src/native/guild/guildSystemChannelID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,wBAAwB;KAC3B;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,EAAE,eAAe,CAAC,CAAA;IAC9D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"guildSystemChannelID.js","sourceRoot":"","sources":["../../../src/native/guild/guildSystemChannelID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,OAAO,EAAE;QACL,wBAAwB;KAC3B;IACD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,EAAE,eAAe,CAAC,CAAA;IAC9D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/guild/guildTemplateCode.js b/dist/native/guild/guildTemplateCode.js index ea2ef8cfcb..cba18bd654 100644 --- a/dist/native/guild/guildTemplateCode.js +++ b/dist/native/guild/guildTemplateCode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildTimedOutMembers.js b/dist/native/guild/guildTimedOutMembers.js index 01ab92b1d7..c3fefad1dc 100644 --- a/dist/native/guild/guildTimedOutMembers.js +++ b/dist/native/guild/guildTimedOutMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildVanityCode.js b/dist/native/guild/guildVanityCode.js index 0fd8301b06..bd46d4b973 100644 --- a/dist/native/guild/guildVanityCode.js +++ b/dist/native/guild/guildVanityCode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildVanityUses.js b/dist/native/guild/guildVanityUses.js index 6eec62b447..f09a36972a 100644 --- a/dist/native/guild/guildVanityUses.js +++ b/dist/native/guild/guildVanityUses.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildVerificationLevel.js b/dist/native/guild/guildVerificationLevel.js index fc0df704fa..2eead0293f 100644 --- a/dist/native/guild/guildVerificationLevel.js +++ b/dist/native/guild/guildVerificationLevel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/guildVerified.js b/dist/native/guild/guildVerified.js index 28f84bcc09..d97f1ff2ff 100644 --- a/dist/native/guild/guildVerified.js +++ b/dist/native/guild/guildVerified.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildWebhooks.js b/dist/native/guild/guildWebhooks.js index 1777b78fa1..25c83c144b 100644 --- a/dist/native/guild/guildWebhooks.js +++ b/dist/native/guild/guildWebhooks.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/guild/guildWidgetChannelEnabled.js b/dist/native/guild/guildWidgetChannelEnabled.js index a74b5a3b41..baf0cee819 100644 --- a/dist/native/guild/guildWidgetChannelEnabled.js +++ b/dist/native/guild/guildWidgetChannelEnabled.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/guildWidgetChannelID.js b/dist/native/guild/guildWidgetChannelID.js index 4ed38b7249..df5af234a5 100644 --- a/dist/native/guild/guildWidgetChannelID.js +++ b/dist/native/guild/guildWidgetChannelID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/randomGuildID.d.ts b/dist/native/guild/randomGuildID.d.ts index 11289c7f7a..a536eb616e 100644 --- a/dist/native/guild/randomGuildID.d.ts +++ b/dist/native/guild/randomGuildID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=randomGuildID.d.ts.map \ No newline at end of file diff --git a/dist/native/guild/randomGuildID.js b/dist/native/guild/randomGuildID.js index 7196019876..8e4ca801ed 100644 --- a/dist/native/guild/randomGuildID.js +++ b/dist/native/guild/randomGuildID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/registerGuildApplicationCommands.d.ts b/dist/native/guild/registerGuildApplicationCommands.d.ts index 61328a7eda..def6d47e9f 100644 --- a/dist/native/guild/registerGuildApplicationCommands.d.ts +++ b/dist/native/guild/registerGuildApplicationCommands.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction<[import("../../structures").IArg], true>; +declare const _default: NativeFunction<[import("../..").IArg], true>; export default _default; //# sourceMappingURL=registerGuildApplicationCommands.d.ts.map \ No newline at end of file diff --git a/dist/native/guild/registerGuildApplicationCommands.js b/dist/native/guild/registerGuildApplicationCommands.js index 59f5ed6782..2cf2f093ae 100644 --- a/dist/native/guild/registerGuildApplicationCommands.js +++ b/dist/native/guild/registerGuildApplicationCommands.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildAFKChannel.js b/dist/native/guild/setGuildAFKChannel.js index 3584867546..36299b4420 100644 --- a/dist/native/guild/setGuildAFKChannel.js +++ b/dist/native/guild/setGuildAFKChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildAFKTimeout.js b/dist/native/guild/setGuildAFKTimeout.js index 91baba368b..326bfcb2e7 100644 --- a/dist/native/guild/setGuildAFKTimeout.js +++ b/dist/native/guild/setGuildAFKTimeout.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildBanner.js b/dist/native/guild/setGuildBanner.js index f4ef67572c..6d2ee0b040 100644 --- a/dist/native/guild/setGuildBanner.js +++ b/dist/native/guild/setGuildBanner.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildBoostProgressBar.js b/dist/native/guild/setGuildBoostProgressBar.js index df3cb9e9e2..0e4c1c5e9a 100644 --- a/dist/native/guild/setGuildBoostProgressBar.js +++ b/dist/native/guild/setGuildBoostProgressBar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildDefaultMessageNotifications.js b/dist/native/guild/setGuildDefaultMessageNotifications.js index fc3c125ce0..166641aaf0 100644 --- a/dist/native/guild/setGuildDefaultMessageNotifications.js +++ b/dist/native/guild/setGuildDefaultMessageNotifications.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildDiscoverySplash.js b/dist/native/guild/setGuildDiscoverySplash.js index 9258af7977..bae8b0e5b3 100644 --- a/dist/native/guild/setGuildDiscoverySplash.js +++ b/dist/native/guild/setGuildDiscoverySplash.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildDmsDisabled.js b/dist/native/guild/setGuildDmsDisabled.js index 1932bad3e0..15e024a61b 100644 --- a/dist/native/guild/setGuildDmsDisabled.js +++ b/dist/native/guild/setGuildDmsDisabled.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildExplicitContentFilter.js b/dist/native/guild/setGuildExplicitContentFilter.js index 6f48164c07..8904c5dbd9 100644 --- a/dist/native/guild/setGuildExplicitContentFilter.js +++ b/dist/native/guild/setGuildExplicitContentFilter.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildIcon.js b/dist/native/guild/setGuildIcon.js index 748000cbdd..57c2f7a2b0 100644 --- a/dist/native/guild/setGuildIcon.js +++ b/dist/native/guild/setGuildIcon.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildInvitesDisabled.js b/dist/native/guild/setGuildInvitesDisabled.js index 65f66598c2..43aa6d4973 100644 --- a/dist/native/guild/setGuildInvitesDisabled.js +++ b/dist/native/guild/setGuildInvitesDisabled.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildMFALevel.js b/dist/native/guild/setGuildMFALevel.js index a30e7e3993..1b2a2e9fbf 100644 --- a/dist/native/guild/setGuildMFALevel.js +++ b/dist/native/guild/setGuildMFALevel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildName.js b/dist/native/guild/setGuildName.js index 8dad810bde..ae58c25665 100644 --- a/dist/native/guild/setGuildName.js +++ b/dist/native/guild/setGuildName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildOwner.js b/dist/native/guild/setGuildOwner.js index 51e5e08d39..bdb31862ed 100644 --- a/dist/native/guild/setGuildOwner.js +++ b/dist/native/guild/setGuildOwner.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildPausedInvites.js b/dist/native/guild/setGuildPausedInvites.js index 8a09856166..72d298d391 100644 --- a/dist/native/guild/setGuildPausedInvites.js +++ b/dist/native/guild/setGuildPausedInvites.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildPreferredLocale.js b/dist/native/guild/setGuildPreferredLocale.js index e9f3ba4b45..fdacd37d5a 100644 --- a/dist/native/guild/setGuildPreferredLocale.js +++ b/dist/native/guild/setGuildPreferredLocale.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildPublicUpdatesChannel.js b/dist/native/guild/setGuildPublicUpdatesChannel.js index c579d1da5d..d710733e3b 100644 --- a/dist/native/guild/setGuildPublicUpdatesChannel.js +++ b/dist/native/guild/setGuildPublicUpdatesChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildRulesChannel.js b/dist/native/guild/setGuildRulesChannel.js index e478eb8c38..1ec3632d3b 100644 --- a/dist/native/guild/setGuildRulesChannel.js +++ b/dist/native/guild/setGuildRulesChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildSafetyAlertsChannel.js b/dist/native/guild/setGuildSafetyAlertsChannel.js index 7dbb5a88b3..5fcf95acd7 100644 --- a/dist/native/guild/setGuildSafetyAlertsChannel.js +++ b/dist/native/guild/setGuildSafetyAlertsChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildSplash.js b/dist/native/guild/setGuildSplash.js index f09afd3de7..c7bcf327c3 100644 --- a/dist/native/guild/setGuildSplash.js +++ b/dist/native/guild/setGuildSplash.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/guild/setGuildSystemChannel.js b/dist/native/guild/setGuildSystemChannel.js index 6575fecc3e..b0f7e998cb 100644 --- a/dist/native/guild/setGuildSystemChannel.js +++ b/dist/native/guild/setGuildSystemChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildVerificationLevel.js b/dist/native/guild/setGuildVerificationLevel.js index cfff87cd39..4eadfe0fc6 100644 --- a/dist/native/guild/setGuildVerificationLevel.js +++ b/dist/native/guild/setGuildVerificationLevel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/setGuildWidgetSettings.js b/dist/native/guild/setGuildWidgetSettings.js index 010d39146a..9140ac92bd 100644 --- a/dist/native/guild/setGuildWidgetSettings.js +++ b/dist/native/guild/setGuildWidgetSettings.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/guild/syncGuildTemplate.js b/dist/native/guild/syncGuildTemplate.js index f80fac50ff..8c693bfc71 100644 --- a/dist/native/guild/syncGuildTemplate.js +++ b/dist/native/guild/syncGuildTemplate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/http/httpAddForm.d.ts b/dist/native/http/httpAddForm.d.ts index c6d83dc38f..6b05772bc4 100644 --- a/dist/native/http/httpAddForm.d.ts +++ b/dist/native/http/httpAddForm.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=httpAddForm.d.ts.map \ No newline at end of file diff --git a/dist/native/http/httpAddForm.js b/dist/native/http/httpAddForm.js index b22ab1b87f..ac97f08989 100644 --- a/dist/native/http/httpAddForm.js +++ b/dist/native/http/httpAddForm.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const undici_1 = require("undici"); diff --git a/dist/native/http/httpAddHeader.js b/dist/native/http/httpAddHeader.js index a247135c77..46f8fdf74b 100644 --- a/dist/native/http/httpAddHeader.js +++ b/dist/native/http/httpAddHeader.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/http/httpAppendFile.js b/dist/native/http/httpAppendFile.js index 4761eaa81d..f5d29ced9e 100644 --- a/dist/native/http/httpAppendFile.js +++ b/dist/native/http/httpAppendFile.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/http/httpAppendValue.js b/dist/native/http/httpAppendValue.js index 305486b639..b2f442b169 100644 --- a/dist/native/http/httpAppendValue.js +++ b/dist/native/http/httpAppendValue.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/http/httpGetHeader.js b/dist/native/http/httpGetHeader.js index 970e6ff493..898f1681c0 100644 --- a/dist/native/http/httpGetHeader.js +++ b/dist/native/http/httpGetHeader.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/http/httpPing.d.ts b/dist/native/http/httpPing.d.ts index 2f7bac5627..1efa2f0c0a 100644 --- a/dist/native/http/httpPing.d.ts +++ b/dist/native/http/httpPing.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=httpPing.d.ts.map \ No newline at end of file diff --git a/dist/native/http/httpPing.js b/dist/native/http/httpPing.js index ac93b6d135..e90bf366a0 100644 --- a/dist/native/http/httpPing.js +++ b/dist/native/http/httpPing.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/http/httpRemoveHeader.js b/dist/native/http/httpRemoveHeader.js index 9d8ea01ab6..40f16b496d 100644 --- a/dist/native/http/httpRemoveHeader.js +++ b/dist/native/http/httpRemoveHeader.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/http/httpRequest.js b/dist/native/http/httpRequest.js index d556c89a61..346d806f28 100644 --- a/dist/native/http/httpRequest.js +++ b/dist/native/http/httpRequest.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/http/httpRequest.js.map b/dist/native/http/httpRequest.js.map index 6be29bcaed..538cbe53a7 100644 --- a/dist/native/http/httpRequest.js.map +++ b/dist/native/http/httpRequest.js.map @@ -1 +1 @@ -{"version":3,"file":"httpRequest.js","sourceRoot":"","sources":["../../../src/native/http/httpRequest.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AACnF,mCAA8B;AAC9B,iDAAkD;AAElD,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,wBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,wBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC;QAClC,IAAI,KAAK,QAAQ,CAAA;QAEjB,IAAI,GAAG,CAAC,IAAI,CAAC,QAAQ;YAAE,OAAO,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAA;QAE/C,IAAI,EAAE,GAAG,WAAW,CAAC,GAAG,EAAE,C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C,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;aACpG;iBAAM;gBACH,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;aAChD;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IACnC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"httpRequest.js","sourceRoot":"","sources":["../../../src/native/http/httpRequest.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AACnF,mCAA8B;AAC9B,iDAAkD;AAElD,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,wBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,wBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC;QAClC,IAAI,KAAK,QAAQ,CAAA;QAEjB,IAAI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AC;iBAAM,IAAI,WAAW,EAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;gBACxC,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAA;YACrG,CAAC;iBAAM,CAAC;gBACJ,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;YACjD,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IACnC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/http/httpResult.js b/dist/native/http/httpResult.js index 33c412b5e3..f77724f8c1 100644 --- a/dist/native/http/httpResult.js +++ b/dist/native/http/httpResult.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/http/httpSetBody.js b/dist/native/http/httpSetBody.js index d5a0a78fae..c1eea6b1fe 100644 --- a/dist/native/http/httpSetBody.js +++ b/dist/native/http/httpSetBody.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/http/httpSetContentType.js b/dist/native/http/httpSetContentType.js index 2074078d29..99f3d5ebcd 100644 --- a/dist/native/http/httpSetContentType.js +++ b/dist/native/http/httpSetContentType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/applicationCommandDescription.js b/dist/native/interaction/applicationCommandDescription.js index 8ed815f72e..8bfdd0d528 100644 --- a/dist/native/interaction/applicationCommandDescription.js +++ b/dist/native/interaction/applicationCommandDescription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/applicationCommandDescription.js.map b/dist/native/interaction/applicationCommandDescription.js.map index 318f1d85d4..f19a5166df 100644 --- a/dist/native/interaction/applicationCommandDescription.js.map +++ b/dist/native/interaction/applicationCommandDescription.js.map @@ -1 +1 @@ -{"version":3,"file":"applicationCommandDescription.js","sourceRoot":"","sources":["../../../src/native/interaction/applicationCommandDescription.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gCAAgC;IACtC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACnB,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;SACjE;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,SAAS,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC3H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"applicationCommandDescription.js","sourceRoot":"","sources":["../../../src/native/interaction/applicationCommandDescription.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gCAAgC;IACtC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACnB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;QAClE,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,SAAS,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC3H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/applicationCommandDisplay.js b/dist/native/interaction/applicationCommandDisplay.js index 9efffa4002..6a4e765b1f 100644 --- a/dist/native/interaction/applicationCommandDisplay.js +++ b/dist/native/interaction/applicationCommandDisplay.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/applicationCommandID.js b/dist/native/interaction/applicationCommandID.js index 64003bd3d1..05d6d35311 100644 --- a/dist/native/interaction/applicationCommandID.js +++ b/dist/native/interaction/applicationCommandID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/applicationCommandID.js.map b/dist/native/interaction/applicationCommandID.js.map index c9cdf8dc9e..708ea44a14 100644 --- a/dist/native/interaction/applicationCommandID.js.map +++ b/dist/native/interaction/applicationCommandID.js.map @@ -1 +1 @@ -{"version":3,"file":"applicationCommandID.js","sourceRoot":"","sources":["../../../src/native/interaction/applicationCommandID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACrB,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,EAAE,CAAC,CAAA;SAClE;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,SAAS,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAChH,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"applicationCommandID.js","sourceRoot":"","sources":["../../../src/native/interaction/applicationCommandID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACrB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,EAAE,CAAC,CAAA;QACnE,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,SAAS,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAChH,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/applicationCommandName.js b/dist/native/interaction/applicationCommandName.js index 2358d93402..1f12684b59 100644 --- a/dist/native/interaction/applicationCommandName.js +++ b/dist/native/interaction/applicationCommandName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/applicationCommandName.js.map b/dist/native/interaction/applicationCommandName.js.map index 415f429937..6b03bb6621 100644 --- a/dist/native/interaction/applicationCommandName.js.map +++ b/dist/native/interaction/applicationCommandName.js.map @@ -1 +1 @@ -{"version":3,"file":"applicationCommandName.js","sourceRoot":"","sources":["../../../src/native/interaction/applicationCommandName.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACnB,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;SAC1D;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,SAAS,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAClH,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"applicationCommandName.js","sourceRoot":"","sources":["../../../src/native/interaction/applicationCommandName.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACnB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;QAC3D,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,SAAS,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAClH,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/applicationCommandOptions.js b/dist/native/interaction/applicationCommandOptions.js index fb13bc3ad7..cd1541297b 100644 --- a/dist/native/interaction/applicationCommandOptions.js +++ b/dist/native/interaction/applicationCommandOptions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/applicationCommandOptions.js.map b/dist/native/interaction/applicationCommandOptions.js.map index 447ed4cc02..82d142b96a 100644 --- a/dist/native/interaction/applicationCommandOptions.js.map +++ b/dist/native/interaction/applicationCommandOptions.js.map @@ -1 +1 @@ -{"version":3,"file":"applicationCommandOptions.js","sourceRoot":"","sources":["../../../src/native/interaction/applicationCommandOptions.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACnB,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC/E,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;SACjE;QAED,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,IAAI,SAAS,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC3H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"applicationCommandOptions.js","sourceRoot":"","sources":["../../../src/native/interaction/applicationCommandOptions.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,4BAA4B;IAClC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC;QACnB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC/E,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;QAClE,CAAC;QAED,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,IAAI,SAAS,IAAI,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC3H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/applicationSubCommandGroupName.d.ts b/dist/native/interaction/applicationSubCommandGroupName.d.ts index 071a734ce3..35ee285fc8 100644 --- a/dist/native/interaction/applicationSubCommandGroupName.d.ts +++ b/dist/native/interaction/applicationSubCommandGroupName.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=applicationSubCommandGroupName.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/applicationSubCommandGroupName.js b/dist/native/interaction/applicationSubCommandGroupName.js index 297f29720c..07eb0f91ef 100644 --- a/dist/native/interaction/applicationSubCommandGroupName.js +++ b/dist/native/interaction/applicationSubCommandGroupName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/applicationSubCommandName.d.ts b/dist/native/interaction/applicationSubCommandName.d.ts index 87d373f6f5..69db4f77d8 100644 --- a/dist/native/interaction/applicationSubCommandName.d.ts +++ b/dist/native/interaction/applicationSubCommandName.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=applicationSubCommandName.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/applicationSubCommandName.js b/dist/native/interaction/applicationSubCommandName.js index 6a75408435..11d6125382 100644 --- a/dist/native/interaction/applicationSubCommandName.js +++ b/dist/native/interaction/applicationSubCommandName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/authorizingIntegrationOwners.js b/dist/native/interaction/authorizingIntegrationOwners.js index fc6b723f81..f839e66eec 100644 --- a/dist/native/interaction/authorizingIntegrationOwners.js +++ b/dist/native/interaction/authorizingIntegrationOwners.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.AuthorizingIntegrationOwnersType = void 0; diff --git a/dist/native/interaction/autocomplete.d.ts b/dist/native/interaction/autocomplete.d.ts index eff6b0d490..46f82ae25f 100644 --- a/dist/native/interaction/autocomplete.d.ts +++ b/dist/native/interaction/autocomplete.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=autocomplete.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/autocomplete.js b/dist/native/interaction/autocomplete.js index 91df988c53..575ce6e183 100644 --- a/dist/native/interaction/autocomplete.js +++ b/dist/native/interaction/autocomplete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/context.d.ts b/dist/native/interaction/context.d.ts index 63313de3bd..121c4972f5 100644 --- a/dist/native/interaction/context.d.ts +++ b/dist/native/interaction/context.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=context.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/context.js b/dist/native/interaction/context.js index 4b4a2ebb5a..5af25f84a4 100644 --- a/dist/native/interaction/context.js +++ b/dist/native/interaction/context.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/interaction/customID.d.ts b/dist/native/interaction/customID.d.ts index 9441ba5b71..0a90348fd9 100644 --- a/dist/native/interaction/customID.d.ts +++ b/dist/native/interaction/customID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=customID.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/customID.js b/dist/native/interaction/customID.js index 1b971d2776..66beb4d81f 100644 --- a/dist/native/interaction/customID.js +++ b/dist/native/interaction/customID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/interaction/defer.d.ts b/dist/native/interaction/defer.d.ts index 95c3a1da2f..8d92801d06 100644 --- a/dist/native/interaction/defer.d.ts +++ b/dist/native/interaction/defer.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=defer.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/defer.js b/dist/native/interaction/defer.js index 627b89d123..4d0304ca35 100644 --- a/dist/native/interaction/defer.js +++ b/dist/native/interaction/defer.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/interaction/defer.js.map b/dist/native/interaction/defer.js.map index b3555607f5..a98125b64c 100644 --- a/dist/native/interaction/defer.js.map +++ b/dist/native/interaction/defer.js.map @@ -1 +1 @@ -{"version":3,"file":"defer.js","sourceRoot":"","sources":["../../../src/native/interaction/defer.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyC;AACzC,iDAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,GAAG,CAAC,WAAW,IAAI,GAAG,CAAC,WAAW,CAAC,WAAW,EAAE,EAAE;YAClD,MAAM,GAAG,CAAC,WAAW,CAAC,UAAU,CAAC;gBAC7B,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,yBAAY,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;aACtE,CAAC,CAAA;SACL;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"defer.js","sourceRoot":"","sources":["../../../src/native/interaction/defer.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyC;AACzC,iDAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,GAAG,CAAC,WAAW,IAAI,GAAG,CAAC,WAAW,CAAC,WAAW,EAAE,EAAE,CAAC;YACnD,MAAM,GAAG,CAAC,WAAW,CAAC,UAAU,CAAC;gBAC7B,KAAK,EAAE,GAAG,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,yBAAY,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;aACtE,CAAC,CAAA;QACN,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/deferUpdate.d.ts b/dist/native/interaction/deferUpdate.d.ts index f5b336722d..b3bd62574d 100644 --- a/dist/native/interaction/deferUpdate.d.ts +++ b/dist/native/interaction/deferUpdate.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=deferUpdate.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/deferUpdate.js b/dist/native/interaction/deferUpdate.js index 059058b95a..865d66583c 100644 --- a/dist/native/interaction/deferUpdate.js +++ b/dist/native/interaction/deferUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/deferUpdate.js.map b/dist/native/interaction/deferUpdate.js.map index ea5eeb6207..e752d071d3 100644 --- a/dist/native/interaction/deferUpdate.js.map +++ b/dist/native/interaction/deferUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"deferUpdate.js","sourceRoot":"","sources":["../../../src/native/interaction/deferUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,GAAG,CAAC,WAAW,IAAI,aAAa,IAAI,GAAG,CAAC,WAAW,EAAE;YACrD,MAAM,GAAG,CAAC,WAAW,CAAC,WAAW,EAAE,CAAA;SACtC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deferUpdate.js","sourceRoot":"","sources":["../../../src/native/interaction/deferUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,GAAG,CAAC,WAAW,IAAI,aAAa,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC;YACtD,MAAM,GAAG,CAAC,WAAW,CAAC,WAAW,EAAE,CAAA;QACvC,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/ephemeral.d.ts b/dist/native/interaction/ephemeral.d.ts index fcef539c85..ea941285f1 100644 --- a/dist/native/interaction/ephemeral.d.ts +++ b/dist/native/interaction/ephemeral.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=ephemeral.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/ephemeral.js b/dist/native/interaction/ephemeral.js index 3fd48e4f6a..84ec3dadb3 100644 --- a/dist/native/interaction/ephemeral.js +++ b/dist/native/interaction/ephemeral.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/focusedOptionName.d.ts b/dist/native/interaction/focusedOptionName.d.ts index 3494ae8563..b6ea3d5666 100644 --- a/dist/native/interaction/focusedOptionName.d.ts +++ b/dist/native/interaction/focusedOptionName.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=focusedOptionName.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/focusedOptionName.js b/dist/native/interaction/focusedOptionName.js index a0c5252d0c..7a8df03610 100644 --- a/dist/native/interaction/focusedOptionName.js +++ b/dist/native/interaction/focusedOptionName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/focusedOptionValue.d.ts b/dist/native/interaction/focusedOptionValue.d.ts index 41dd53e126..33935140f7 100644 --- a/dist/native/interaction/focusedOptionValue.d.ts +++ b/dist/native/interaction/focusedOptionValue.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=focusedOptionValue.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/focusedOptionValue.js b/dist/native/interaction/focusedOptionValue.js index b24a0aea01..40f3d465f3 100644 --- a/dist/native/interaction/focusedOptionValue.js +++ b/dist/native/interaction/focusedOptionValue.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/input.d.ts.map b/dist/native/interaction/input.d.ts.map index 7817bb8921..d2b1a8713d 100644 --- a/dist/native/interaction/input.d.ts.map +++ b/dist/native/interaction/input.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/native/interaction/input.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAElE,wBAkCE"} \ No newline at end of file +{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/native/interaction/input.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAE1D,wBAkCE"} \ No newline at end of file diff --git a/dist/native/interaction/input.js b/dist/native/interaction/input.js index bb1587dd1f..fdb4d6c5a0 100644 --- a/dist/native/interaction/input.js +++ b/dist/native/interaction/input.js @@ -1,9 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$input", @@ -33,7 +34,7 @@ exports.default = new structures_1.NativeFunction({ const field = ctx.interaction.fields.getField(id); return this.success("value" in field ? field.value - : "attachments" in field + : ("attachments" in field && field.type === discord_js_1.ComponentType.FileUpload) ? field.attachments.map((x) => x.url).join(sep ?? ", ") : field.values.join(sep ?? ", ")); }, diff --git a/dist/native/interaction/input.js.map b/dist/native/interaction/input.js.map index 84c703cfe6..14539fe290 100644 --- a/dist/native/interaction/input.js.map +++ b/dist/native/interaction/input.js.map @@ -1 +1 @@ -{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/native/interaction/input.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,GAAG,CAAC;QAClB,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,aAAa,EAAE;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAC5D,MAAM,KAAK,GAAG,GAAG,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;QAEjD,OAAO,IAAI,CAAC,OAAO,CACf,OAAO,IAAI,KAAK;YACZ,CAAC,CAAC,KAAK,CAAC,KAAK;YACb,CAAC,CAAC,aAAa,IAAI,KAAK;gBACpB,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC;gBACvD,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAC3C,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/native/interaction/input.ts"],"names":[],"mappings":";AAAA;;;EAG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line at end of file diff --git a/dist/native/interaction/interactionDelete.d.ts b/dist/native/interaction/interactionDelete.d.ts index 55170b7ab0..ed73cb786b 100644 --- a/dist/native/interaction/interactionDelete.d.ts +++ b/dist/native/interaction/interactionDelete.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=interactionDelete.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/interactionDelete.js b/dist/native/interaction/interactionDelete.js index 25bdd760b0..db66a40c0f 100644 --- a/dist/native/interaction/interactionDelete.js +++ b/dist/native/interaction/interactionDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/interactionFollowUp.js b/dist/native/interaction/interactionFollowUp.js index 1d856d1937..654035abf1 100644 --- a/dist/native/interaction/interactionFollowUp.js +++ b/dist/native/interaction/interactionFollowUp.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/interactionFollowUp.js.map b/dist/native/interaction/interactionFollowUp.js.map index aca99105de..97117ba7cd 100644 --- a/dist/native/interaction/interactionFollowUp.js.map +++ b/dist/native/interaction/interactionFollowUp.js.map @@ -1 +1 @@ -{"version":3,"file":"interactionFollowUp.js","sourceRoot":"","sources":["../../../src/native/interaction/interactionFollowUp.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iCAAiC;IAC9C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,6DAA6D;YAC1E,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,QAAQ,EAAE,KAAK;SAClB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC;QACzC,GAAG,CAAC,SAAS,CAAC,YAAY,GAAG,eAAe,IAAI,KAAK,CAAA;QACrD,GAAG,CAAC,SAAS,CAAC,QAAQ,GAAG,IAAI,CAAA;QAC7B,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,IAAI,SAAS,CAAA;QAE5C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACjB,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;SACxB;QAED,MAAM,KAAK,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAgB,GAAG,CAAC,GAAG,CAAC,CAAA;QAE9D,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAChE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"interactionFollowUp.js","sourceRoot":"","sources":["../../../src/native/interaction/interactionFollowUp.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AA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/native/interaction/interactionRawData.d.ts b/dist/native/interaction/interactionRawData.d.ts index 83c8ff088b..6c1743c2b9 100644 --- a/dist/native/interaction/interactionRawData.d.ts +++ b/dist/native/interaction/interactionRawData.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=interactionRawData.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/interactionRawData.js b/dist/native/interaction/interactionRawData.js index 898680726e..567c1c8cd7 100644 --- a/dist/native/interaction/interactionRawData.js +++ b/dist/native/interaction/interactionRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/interactionReply.js b/dist/native/interaction/interactionReply.js index 6c6fb7da80..559690a89d 100644 --- a/dist/native/interaction/interactionReply.js +++ b/dist/native/interaction/interactionReply.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/interactionReply.js.map b/dist/native/interaction/interactionReply.js.map index 00b11439c3..9d7b0b62a2 100644 --- a/dist/native/interaction/interactionReply.js.map +++ b/dist/native/interaction/interactionReply.js.map @@ -1 +1 @@ -{"version":3,"file":"interactionReply.js","sourceRoot":"","sources":["../../../src/native/interaction/interactionReply.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,QAAQ,EAAE,KAAK;SAClB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC;QACzC,GAAG,CAAC,SAAS,CAAC,YAAY,GAAG,eAAe,IAAI,KAAK,CAAA;QACrD,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,IAAI,SAAS,CAAA;QAE5C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACjB,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;SACxB;QAED,MAAM,KAAK,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAgB,GAAG,CAAC,GAAG,CAAC,CAAA;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAChE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"interactionReply.js","sourceRoot":"","sources":["../../../src/native/interaction/interactionReply.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,QAAQ,EAAE,KAAK;SAClB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC;QACzC,GAAG,CAAC,SAAS,CAAC,YAAY,GAAG,eAAe,IAAI,KAAK,CAAA;QACrD,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,IAAI,SAAS,CAAA;QAE5C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YAClB,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QACzB,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAgB,GAAG,CAAC,GAAG,CAAC,CAAA;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAChE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/interactionRequirePremium.d.ts b/dist/native/interaction/interactionRequirePremium.d.ts index 980458ea91..28733e70d7 100644 --- a/dist/native/interaction/interactionRequirePremium.d.ts +++ b/dist/native/interaction/interactionRequirePremium.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=interactionRequirePremium.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/interactionRequirePremium.js b/dist/native/interaction/interactionRequirePremium.js index 13c2891d61..15d05ccc3a 100644 --- a/dist/native/interaction/interactionRequirePremium.js +++ b/dist/native/interaction/interactionRequirePremium.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/interactionUpdate.js b/dist/native/interaction/interactionUpdate.js index b85a1ab434..b3720d69eb 100644 --- a/dist/native/interaction/interactionUpdate.js +++ b/dist/native/interaction/interactionUpdate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/interactionUpdate.js.map b/dist/native/interaction/interactionUpdate.js.map index c7e268306e..cdbe7a805a 100644 --- a/dist/native/interaction/interactionUpdate.js.map +++ b/dist/native/interaction/interactionUpdate.js.map @@ -1 +1 @@ -{"version":3,"file":"interactionUpdate.js","sourceRoot":"","sources":["../../../src/native/interaction/interactionUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC;QACxB,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,IAAI,SAAS,CAAA;QAC5C,GAAG,CAAC,SAAS,CAAC,MAAM,GAAG,IAAI,CAAA;QAE3B,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACjB,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;SACxB;QAED,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAgB,GAAG,CAAC,GAAG,CAAC,CAAA;QAEhD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"interactionUpdate.js","sourceRoot":"","sources":["../../../src/native/interaction/interactionUpdate.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC;QACxB,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,IAAI,SAAS,CAAA;QAC5C,GAAG,CAAC,SAAS,CAAC,MAAM,GAAG,IAAI,CAAA;QAE3B,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YAClB,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;YACjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QACzB,CAAC;QAED,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAgB,GAAG,CAAC,GAAG,CAAC,CAAA;QAEhD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/isActivityCommand.d.ts b/dist/native/interaction/isActivityCommand.d.ts index 75bc6f306f..d548c30d94 100644 --- a/dist/native/interaction/isActivityCommand.d.ts +++ b/dist/native/interaction/isActivityCommand.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isActivityCommand.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isActivityCommand.js b/dist/native/interaction/isActivityCommand.js index 58d02aa451..de27767b1a 100644 --- a/dist/native/interaction/isActivityCommand.js +++ b/dist/native/interaction/isActivityCommand.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isAnySelectMenu.d.ts b/dist/native/interaction/isAnySelectMenu.d.ts index 485a933fae..b13fb0001b 100644 --- a/dist/native/interaction/isAnySelectMenu.d.ts +++ b/dist/native/interaction/isAnySelectMenu.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isAnySelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isAnySelectMenu.js b/dist/native/interaction/isAnySelectMenu.js index ed80178a9c..566bfecec8 100644 --- a/dist/native/interaction/isAnySelectMenu.js +++ b/dist/native/interaction/isAnySelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isAutocomplete.d.ts b/dist/native/interaction/isAutocomplete.d.ts index 34c3e01820..a5c1fe14c0 100644 --- a/dist/native/interaction/isAutocomplete.d.ts +++ b/dist/native/interaction/isAutocomplete.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isAutocomplete.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isAutocomplete.js b/dist/native/interaction/isAutocomplete.js index 19d409f518..a95c3a13a2 100644 --- a/dist/native/interaction/isAutocomplete.js +++ b/dist/native/interaction/isAutocomplete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isButton.d.ts b/dist/native/interaction/isButton.d.ts index 5988861e0e..3146f1e1bb 100644 --- a/dist/native/interaction/isButton.d.ts +++ b/dist/native/interaction/isButton.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isButton.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isButton.js b/dist/native/interaction/isButton.js index ddd59e7a3a..1606aa27fa 100644 --- a/dist/native/interaction/isButton.js +++ b/dist/native/interaction/isButton.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isChannelSelectMenu.d.ts b/dist/native/interaction/isChannelSelectMenu.d.ts index 0bc09593e6..22078bbee4 100644 --- a/dist/native/interaction/isChannelSelectMenu.d.ts +++ b/dist/native/interaction/isChannelSelectMenu.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isChannelSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isChannelSelectMenu.js b/dist/native/interaction/isChannelSelectMenu.js index acb9d270aa..5d11b6b623 100644 --- a/dist/native/interaction/isChannelSelectMenu.js +++ b/dist/native/interaction/isChannelSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isCommand.d.ts b/dist/native/interaction/isCommand.d.ts index 18ebb5141c..77537b0da0 100644 --- a/dist/native/interaction/isCommand.d.ts +++ b/dist/native/interaction/isCommand.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isCommand.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isCommand.js b/dist/native/interaction/isCommand.js index ddf2f2ef48..bda416e063 100644 --- a/dist/native/interaction/isCommand.js +++ b/dist/native/interaction/isCommand.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isContextMenu.d.ts b/dist/native/interaction/isContextMenu.d.ts index 414a3c87f5..a902b19e36 100644 --- a/dist/native/interaction/isContextMenu.d.ts +++ b/dist/native/interaction/isContextMenu.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isContextMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isContextMenu.js b/dist/native/interaction/isContextMenu.js index f5f181a810..0ccf88013f 100644 --- a/dist/native/interaction/isContextMenu.js +++ b/dist/native/interaction/isContextMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isMentionableSelectMenu.d.ts b/dist/native/interaction/isMentionableSelectMenu.d.ts index 5fc4e28735..96e56f98fb 100644 --- a/dist/native/interaction/isMentionableSelectMenu.d.ts +++ b/dist/native/interaction/isMentionableSelectMenu.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isMentionableSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isMentionableSelectMenu.js b/dist/native/interaction/isMentionableSelectMenu.js index 8b77cb92a2..a166f9987b 100644 --- a/dist/native/interaction/isMentionableSelectMenu.js +++ b/dist/native/interaction/isMentionableSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isMessageComponent.d.ts b/dist/native/interaction/isMessageComponent.d.ts new file mode 100644 index 0000000000..f736fb5882 --- /dev/null +++ b/dist/native/interaction/isMessageComponent.d.ts @@ -0,0 +1,4 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction>[], false>; +export default _default; +//# sourceMappingURL=isMessageComponent.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isMessageComponent.d.ts.map b/dist/native/interaction/isMessageComponent.d.ts.map new file mode 100644 index 0000000000..9c790b9843 --- /dev/null +++ b/dist/native/interaction/isMessageComponent.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"isMessageComponent.d.ts","sourceRoot":"","sources":["../../../src/native/interaction/isMessageComponent.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAE1D,wBASE"} \ No newline at end of file diff --git a/dist/native/interaction/isMessageComponent.js b/dist/native/interaction/isMessageComponent.js new file mode 100644 index 0000000000..2bf5d2e561 --- /dev/null +++ b/dist/native/interaction/isMessageComponent.js @@ -0,0 +1,18 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$isMessageComponent", + version: "2.7.0", + description: "Returns whether the interaction is a message component", + unwrap: false, + output: structures_1.ArgType.Boolean, + execute(ctx) { + return this.success(Boolean(ctx.interaction?.isMessageComponent())); + }, +}); +//# sourceMappingURL=isMessageComponent.js.map \ No newline at end of file diff --git a/dist/native/interaction/isMessageComponent.js.map b/dist/native/interaction/isMessageComponent.js.map new file mode 100644 index 0000000000..a27f3858ab --- /dev/null +++ b/dist/native/interaction/isMessageComponent.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isMessageComponent.js","sourceRoot":"","sources":["../../../src/native/interaction/isMessageComponent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAA;IACvE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/isMessageContextMenu.d.ts b/dist/native/interaction/isMessageContextMenu.d.ts new file mode 100644 index 0000000000..069f09428a --- /dev/null +++ b/dist/native/interaction/isMessageContextMenu.d.ts @@ -0,0 +1,4 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction>[], false>; +export default _default; +//# sourceMappingURL=isMessageContextMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isMessageContextMenu.d.ts.map b/dist/native/interaction/isMessageContextMenu.d.ts.map new file mode 100644 index 0000000000..7cd6209929 --- /dev/null +++ b/dist/native/interaction/isMessageContextMenu.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"isMessageContextMenu.d.ts","sourceRoot":"","sources":["../../../src/native/interaction/isMessageContextMenu.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAE1D,wBASE"} \ No newline at end of file diff --git a/dist/native/interaction/isMessageContextMenu.js b/dist/native/interaction/isMessageContextMenu.js new file mode 100644 index 0000000000..69968f4be4 --- /dev/null +++ b/dist/native/interaction/isMessageContextMenu.js @@ -0,0 +1,18 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$isMessageContextMenu", + version: "2.7.0", + description: "Returns whether the interaction is a message context menu", + unwrap: false, + output: structures_1.ArgType.Boolean, + execute(ctx) { + return this.success(Boolean(ctx.interaction?.isMessageContextMenuCommand())); + }, +}); +//# sourceMappingURL=isMessageContextMenu.js.map \ No newline at end of file diff --git a/dist/native/interaction/isMessageContextMenu.js.map b/dist/native/interaction/isMessageContextMenu.js.map new file mode 100644 index 0000000000..410a4d2ab4 --- /dev/null +++ b/dist/native/interaction/isMessageContextMenu.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isMessageContextMenu.js","sourceRoot":"","sources":["../../../src/native/interaction/isMessageContextMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2DAA2D;IACxE,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,2BAA2B,EAAE,CAAC,CAAC,CAAA;IAChF,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/isModal.d.ts b/dist/native/interaction/isModal.d.ts index 97f0b381fb..e69bfa438f 100644 --- a/dist/native/interaction/isModal.d.ts +++ b/dist/native/interaction/isModal.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isModal.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isModal.js b/dist/native/interaction/isModal.js index b345a3e90d..346499eaa7 100644 --- a/dist/native/interaction/isModal.js +++ b/dist/native/interaction/isModal.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isRepliable.d.ts b/dist/native/interaction/isRepliable.d.ts index 4a5fb66f86..69ae79c411 100644 --- a/dist/native/interaction/isRepliable.d.ts +++ b/dist/native/interaction/isRepliable.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isRepliable.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isRepliable.js b/dist/native/interaction/isRepliable.js index 3e2bc34b75..7db390dcc4 100644 --- a/dist/native/interaction/isRepliable.js +++ b/dist/native/interaction/isRepliable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isRoleSelectMenu.d.ts b/dist/native/interaction/isRoleSelectMenu.d.ts index f9586756bd..5236a0aedc 100644 --- a/dist/native/interaction/isRoleSelectMenu.d.ts +++ b/dist/native/interaction/isRoleSelectMenu.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isRoleSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isRoleSelectMenu.js b/dist/native/interaction/isRoleSelectMenu.js index fd2d906290..0021cbbd7c 100644 --- a/dist/native/interaction/isRoleSelectMenu.js +++ b/dist/native/interaction/isRoleSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isSlashCommand.d.ts b/dist/native/interaction/isSlashCommand.d.ts index 1ea67172ea..00d1df391b 100644 --- a/dist/native/interaction/isSlashCommand.d.ts +++ b/dist/native/interaction/isSlashCommand.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isSlashCommand.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isSlashCommand.js b/dist/native/interaction/isSlashCommand.js index 7e040dae8b..9629478318 100644 --- a/dist/native/interaction/isSlashCommand.js +++ b/dist/native/interaction/isSlashCommand.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isStringSelectMenu.d.ts b/dist/native/interaction/isStringSelectMenu.d.ts index e07359cf86..80714fb51a 100644 --- a/dist/native/interaction/isStringSelectMenu.d.ts +++ b/dist/native/interaction/isStringSelectMenu.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isStringSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isStringSelectMenu.js b/dist/native/interaction/isStringSelectMenu.js index 571fb67715..d4b0f4a342 100644 --- a/dist/native/interaction/isStringSelectMenu.js +++ b/dist/native/interaction/isStringSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/isUserContextMenu.d.ts b/dist/native/interaction/isUserContextMenu.d.ts new file mode 100644 index 0000000000..be84d6d51d --- /dev/null +++ b/dist/native/interaction/isUserContextMenu.d.ts @@ -0,0 +1,4 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction>[], false>; +export default _default; +//# sourceMappingURL=isUserContextMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isUserContextMenu.d.ts.map b/dist/native/interaction/isUserContextMenu.d.ts.map new file mode 100644 index 0000000000..a3c52a108c --- /dev/null +++ b/dist/native/interaction/isUserContextMenu.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"isUserContextMenu.d.ts","sourceRoot":"","sources":["../../../src/native/interaction/isUserContextMenu.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAE1D,wBASE"} \ No newline at end of file diff --git a/dist/native/interaction/isUserContextMenu.js b/dist/native/interaction/isUserContextMenu.js new file mode 100644 index 0000000000..8c048cb0ed --- /dev/null +++ b/dist/native/interaction/isUserContextMenu.js @@ -0,0 +1,18 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$isUserContextMenu", + version: "2.7.0", + description: "Returns whether the interaction is a user context menu", + unwrap: false, + output: structures_1.ArgType.Boolean, + execute(ctx) { + return this.success(Boolean(ctx.interaction?.isUserContextMenuCommand())); + }, +}); +//# sourceMappingURL=isUserContextMenu.js.map \ No newline at end of file diff --git a/dist/native/interaction/isUserContextMenu.js.map b/dist/native/interaction/isUserContextMenu.js.map new file mode 100644 index 0000000000..40213720d8 --- /dev/null +++ b/dist/native/interaction/isUserContextMenu.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isUserContextMenu.js","sourceRoot":"","sources":["../../../src/native/interaction/isUserContextMenu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wDAAwD;IACrE,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,wBAAwB,EAAE,CAAC,CAAC,CAAA;IAC7E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/isUserSelectMenu.d.ts b/dist/native/interaction/isUserSelectMenu.d.ts index 10b7d59efa..3912f2ace4 100644 --- a/dist/native/interaction/isUserSelectMenu.d.ts +++ b/dist/native/interaction/isUserSelectMenu.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=isUserSelectMenu.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/isUserSelectMenu.js b/dist/native/interaction/isUserSelectMenu.js index be4e8d1816..54a6987877 100644 --- a/dist/native/interaction/isUserSelectMenu.js +++ b/dist/native/interaction/isUserSelectMenu.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/launchActivity.d.ts b/dist/native/interaction/launchActivity.d.ts index 000c69ba52..a1159d87a2 100644 --- a/dist/native/interaction/launchActivity.d.ts +++ b/dist/native/interaction/launchActivity.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=launchActivity.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/launchActivity.js b/dist/native/interaction/launchActivity.js index 286ddf715d..5682b73f88 100644 --- a/dist/native/interaction/launchActivity.js +++ b/dist/native/interaction/launchActivity.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/launchActivity.js.map b/dist/native/interaction/launchActivity.js.map index e1c637788f..97ffd2f475 100644 --- a/dist/native/interaction/launchActivity.js.map +++ b/dist/native/interaction/launchActivity.js.map @@ -1 +1 @@ -{"version":3,"file":"launchActivity.js","sourceRoot":"","sources":["../../../src/native/interaction/launchActivity.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,GAAG,CAAC,WAAW,IAAI,gBAAgB,IAAI,GAAG,CAAC,WAAW,EAAE;YACxD,MAAM,GAAG,CAAC,WAAW,CAAC,cAAc,EAAE,CAAA;SACzC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"launchActivity.js","sourceRoot":"","sources":["../../../src/native/interaction/launchActivity.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAyD;AAEzD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,GAAG,CAAC,WAAW,IAAI,gBAAgB,IAAI,GAAG,CAAC,WAAW,EAAE,CAAC;YACzD,MAAM,GAAG,CAAC,WAAW,CAAC,cAAc,EAAE,CAAA;QAC1C,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/locale.d.ts b/dist/native/interaction/locale.d.ts index 7af209fee0..94d4623bf5 100644 --- a/dist/native/interaction/locale.d.ts +++ b/dist/native/interaction/locale.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures/@internal/NativeFunction"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=locale.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/locale.js b/dist/native/interaction/locale.js index c31106391d..82838eb90c 100644 --- a/dist/native/interaction/locale.js +++ b/dist/native/interaction/locale.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/interaction/modal.d.ts.map b/dist/native/interaction/modal.d.ts.map index c0d6954129..894091e83e 100644 --- a/dist/native/interaction/modal.d.ts.map +++ b/dist/native/interaction/modal.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/native/interaction/modal.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAElE,wBA2BE"} \ No newline at end of file +{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../src/native/interaction/modal.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAE1D,wBA2BE"} \ No newline at end of file diff --git a/dist/native/interaction/modal.js b/dist/native/interaction/modal.js index 5a9609f0c4..bee1128079 100644 --- a/dist/native/interaction/modal.js +++ b/dist/native/interaction/modal.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/interaction/modal.js.map b/dist/native/interaction/modal.js.map index 1a2a96db6b..5a61ab2f58 100644 --- a/dist/native/interaction/modal.js.map +++ b/dist/native/interaction/modal.js.map @@ -1 +1 @@ -{"version":3,"file":"modal.js","sourceRoot":"","sources":["../../../src/native/interaction/modal.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyC;AACzC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iBAAiB;IAC9B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC;QACpB,IAAI,GAAG,CAAC,WAAW;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,GAAG,IAAI,yBAAY,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAE7F,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"modal.js","sourceRoot":"","sources":["../../../src/native/interaction/modal.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAyC;AACzC,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iBAAiB;IAC9B,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC;QACpB,IAAI,GAAG,CAAC,WAAW;YAAE,GAAG,CAAC,SAAS,CAAC,KAAK,GAAG,IAAI,yBAAY,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAE7F,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/option.js b/dist/native/interaction/option.js index 2b294f56a4..deac2f46a8 100644 --- a/dist/native/interaction/option.js +++ b/dist/native/interaction/option.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/selectMenuValues.js b/dist/native/interaction/selectMenuValues.js index 659c2c6ed5..9b8be15a25 100644 --- a/dist/native/interaction/selectMenuValues.js +++ b/dist/native/interaction/selectMenuValues.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/interaction/showModal.d.ts b/dist/native/interaction/showModal.d.ts index e47ee3f350..13fd9eead4 100644 --- a/dist/native/interaction/showModal.d.ts +++ b/dist/native/interaction/showModal.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=showModal.d.ts.map \ No newline at end of file diff --git a/dist/native/interaction/showModal.js b/dist/native/interaction/showModal.js index 19c74ee9b2..3de997c153 100644 --- a/dist/native/interaction/showModal.js +++ b/dist/native/interaction/showModal.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/showModal.js.map b/dist/native/interaction/showModal.js.map index 0d93af83f8..dd750f6612 100644 --- a/dist/native/interaction/showModal.js.map +++ b/dist/native/interaction/showModal.js.map @@ -1 +1 @@ -{"version":3,"file":"showModal.js","sourceRoot":"","sources":["../../../src/native/interaction/showModal.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAiD;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,GAAG,CAAC,WAAW,IAAI,WAAW,IAAI,GAAG,CAAC,WAAW,IAAI,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE;YAC1E,MAAM,GAAG,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACpE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,CAAA;SACxB;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"showModal.js","sourceRoot":"","sources":["../../../src/native/interaction/showModal.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAiD;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,KAAK;IACb,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,IAAI,GAAG,CAAC,WAAW,IAAI,WAAW,IAAI,GAAG,CAAC,WAAW,IAAI,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;YAC3E,MAAM,GAAG,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACpE,GAAG,CAAC,SAAS,CAAC,KAAK,EAAE,CAAA;QACzB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/interaction/targetMember.js b/dist/native/interaction/targetMember.js index 744421fc02..1a761623e8 100644 --- a/dist/native/interaction/targetMember.js +++ b/dist/native/interaction/targetMember.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/targetMessage.js b/dist/native/interaction/targetMessage.js index 67ea1ad5a8..c6469516e1 100644 --- a/dist/native/interaction/targetMessage.js +++ b/dist/native/interaction/targetMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/interaction/targetMessageEmbeds.js b/dist/native/interaction/targetMessageEmbeds.js index 067491360e..c1c994229e 100644 --- a/dist/native/interaction/targetMessageEmbeds.js +++ b/dist/native/interaction/targetMessageEmbeds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/invite/deleteInvite.js b/dist/native/invite/deleteInvite.js index 5927a0981a..942d574802 100644 --- a/dist/native/invite/deleteInvite.js +++ b/dist/native/invite/deleteInvite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/invite/getInvite.js b/dist/native/invite/getInvite.js index 51d70a06a8..2bd0d365d5 100644 --- a/dist/native/invite/getInvite.js +++ b/dist/native/invite/getInvite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/invite/inviteExists.js b/dist/native/invite/inviteExists.js index 007fb7e9d6..39f604d9e1 100644 --- a/dist/native/invite/inviteExists.js +++ b/dist/native/invite/inviteExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/invite/inviterCode.js b/dist/native/invite/inviterCode.js index b25300d7f0..ef8765f897 100644 --- a/dist/native/invite/inviterCode.js +++ b/dist/native/invite/inviterCode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/invite/inviterID.js b/dist/native/invite/inviterID.js index ffb0656776..c725e9a9a4 100644 --- a/dist/native/invite/inviterID.js +++ b/dist/native/invite/inviterID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/json/isJSON.js b/dist/native/json/isJSON.js index b317d69aec..dfd9b2a4ee 100644 --- a/dist/native/json/isJSON.js +++ b/dist/native/json/isJSON.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/json/isJSON.js.map b/dist/native/json/isJSON.js.map index f4c1a26b9c..945ba21748 100644 --- a/dist/native/json/isJSON.js.map +++ b/dist/native/json/isJSON.js.map @@ -1 +1 @@ -{"version":3,"file":"isJSON.js","sourceRoot":"","sources":["../../../src/native/json/isJSON.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,cAAc;KACjB;IACD,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,CAAE;QACjB,IAAI;YACA,KAAK,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;YACrB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;SAC5B;QAAC,OAAO,KAAK,EAAE;YACZ,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;SAC7B;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isJSON.js","sourceRoot":"","sources":["../../../src/native/json/isJSON.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,cAAc;KACjB;IACD,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,CAAE;QACjB,IAAI,CAAC;YACD,KAAK,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;YACrB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;QAC7B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC9B,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/json/jsonAssign.js b/dist/native/json/jsonAssign.js index 96df0a3d56..bb2e14ba6e 100644 --- a/dist/native/json/jsonAssign.js +++ b/dist/native/json/jsonAssign.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/json/jsonDelete.js b/dist/native/json/jsonDelete.js index 1411c67ed6..fd7d938087 100644 --- a/dist/native/json/jsonDelete.js +++ b/dist/native/json/jsonDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/json/jsonEntries.d.ts.map b/dist/native/json/jsonEntries.d.ts.map index 86d39e25a9..7b3b67ce59 100644 --- a/dist/native/json/jsonEntries.d.ts.map +++ b/dist/native/json/jsonEntries.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"jsonEntries.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonEntries.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAqBE"} \ No newline at end of file +{"version":3,"file":"jsonEntries.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonEntries.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAqBE"} \ No newline at end of file diff --git a/dist/native/json/jsonEntries.js b/dist/native/json/jsonEntries.js index dbad0920dd..d06ab5259b 100644 --- a/dist/native/json/jsonEntries.js +++ b/dist/native/json/jsonEntries.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/json/jsonEntries.js.map b/dist/native/json/jsonEntries.js.map index 43d36dc8d4..cb9fd27352 100644 --- a/dist/native/json/jsonEntries.js.map +++ b/dist/native/json/jsonEntries.js.map @@ -1 +1 @@ -{"version":3,"file":"jsonEntries.js","sourceRoot":"","sources":["../../../src/native/json/jsonEntries.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,MAAM,IAAI,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACxC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;IACjD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"jsonEntries.js","sourceRoot":"","sources":["../../../src/native/json/jsonEntries.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,MAAM,IAAI,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACxC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;IACjD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/json/jsonFromEntries.d.ts b/dist/native/json/jsonFromEntries.d.ts new file mode 100644 index 0000000000..0ccffc4238 --- /dev/null +++ b/dist/native/json/jsonFromEntries.d.ts @@ -0,0 +1,10 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + type: ArgType.String; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=jsonFromEntries.d.ts.map \ No newline at end of file diff --git a/dist/native/json/jsonFromEntries.d.ts.map b/dist/native/json/jsonFromEntries.d.ts.map new file mode 100644 index 0000000000..7ff6a8b297 --- /dev/null +++ b/dist/native/json/jsonFromEntries.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"jsonFromEntries.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonFromEntries.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBA2BE"} \ No newline at end of file diff --git a/dist/native/json/jsonFromEntries.js b/dist/native/json/jsonFromEntries.js new file mode 100644 index 0000000000..fcf204f03d --- /dev/null +++ b/dist/native/json/jsonFromEntries.js @@ -0,0 +1,37 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$jsonFromEntries", + version: "2.7.0", + description: "Converts an array of entries into an object", + aliases: ["$fromEntries"], + unwrap: true, + brackets: true, + args: [ + { + name: "variable", + description: "The variable to get entries from", + rest: false, + type: structures_1.ArgType.String, + required: true, + } + ], + output: structures_1.ArgType.Json, + execute(ctx, [name]) { + const arr = ctx.getEnvironmentKey(name); + if (!Array.isArray(arr)) + return this.success(); + try { + return this.successJSON(Object.fromEntries(arr)); + } + catch { + return this.success(); + } + }, +}); +//# sourceMappingURL=jsonFromEntries.js.map \ No newline at end of file diff --git a/dist/native/json/jsonFromEntries.js.map b/dist/native/json/jsonFromEntries.js.map new file mode 100644 index 0000000000..b0af1c8460 --- /dev/null +++ b/dist/native/json/jsonFromEntries.js.map @@ -0,0 +1 @@ +{"version":3,"file":"jsonFromEntries.js","sourceRoot":"","sources":["../../../src/native/json/jsonFromEntries.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,OAAO,EAAE,CAAC,cAAc,CAAC;IACzB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,MAAM,GAAG,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACvC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAE9C,IAAI,CAAC;YACD,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAA;QACpD,CAAC;QAAC,MAAM,CAAC;YACL,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QACzB,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/json/jsonHas.js b/dist/native/json/jsonHas.js index 105cbae85c..ad96292802 100644 --- a/dist/native/json/jsonHas.js +++ b/dist/native/json/jsonHas.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/json/jsonKeys.d.ts.map b/dist/native/json/jsonKeys.d.ts.map index f0cb92bd66..5d03a2109a 100644 --- a/dist/native/json/jsonKeys.d.ts.map +++ b/dist/native/json/jsonKeys.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"jsonKeys.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonKeys.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAqBE"} \ No newline at end of file +{"version":3,"file":"jsonKeys.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonKeys.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAqBE"} \ No newline at end of file diff --git a/dist/native/json/jsonKeys.js b/dist/native/json/jsonKeys.js index 2ad98505cf..ae54313180 100644 --- a/dist/native/json/jsonKeys.js +++ b/dist/native/json/jsonKeys.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/json/jsonKeys.js.map b/dist/native/json/jsonKeys.js.map index 0ff208531e..15917b3a33 100644 --- a/dist/native/json/jsonKeys.js.map +++ b/dist/native/json/jsonKeys.js.map @@ -1 +1 @@ -{"version":3,"file":"jsonKeys.js","sourceRoot":"","sources":["../../../src/native/json/jsonKeys.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,MAAM,IAAI,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACxC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAC9C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"jsonKeys.js","sourceRoot":"","sources":["../../../src/native/json/jsonKeys.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,MAAM,IAAI,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACxC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;IAC9C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/json/jsonLoad.d.ts.map b/dist/native/json/jsonLoad.d.ts.map index fc3c2254c7..09f579a7c6 100644 --- a/dist/native/json/jsonLoad.d.ts.map +++ b/dist/native/json/jsonLoad.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"jsonLoad.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonLoad.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAElE,wBA0BE"} \ No newline at end of file +{"version":3,"file":"jsonLoad.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonLoad.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAE1D,wBA0BE"} \ No newline at end of file diff --git a/dist/native/json/jsonLoad.js b/dist/native/json/jsonLoad.js index ad6ba637fd..9e8daae633 100644 --- a/dist/native/json/jsonLoad.js +++ b/dist/native/json/jsonLoad.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/json/jsonLoad.js.map b/dist/native/json/jsonLoad.js.map index 7777f98796..3f6e183a10 100644 --- a/dist/native/json/jsonLoad.js.map +++ b/dist/native/json/jsonLoad.js.map @@ -1 +1 @@ -{"version":3,"file":"jsonLoad.js","sourceRoot":"","sources":["../../../src/native/json/jsonLoad.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QACjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"jsonLoad.js","sourceRoot":"","sources":["../../../src/native/json/jsonLoad.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,GAAG,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QACjC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/json/jsonSet.d.ts.map b/dist/native/json/jsonSet.d.ts.map index aa9c82b954..9003eaea97 100644 --- a/dist/native/json/jsonSet.d.ts.map +++ b/dist/native/json/jsonSet.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"jsonSet.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonSet.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"jsonSet.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonSet.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmBE"} \ No newline at end of file diff --git a/dist/native/json/jsonSet.js b/dist/native/json/jsonSet.js index c7b9a45708..b4e203792a 100644 --- a/dist/native/json/jsonSet.js +++ b/dist/native/json/jsonSet.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/json/jsonSet.js.map b/dist/native/json/jsonSet.js.map index 345f7ba93c..56944c0bf8 100644 --- a/dist/native/json/jsonSet.js.map +++ b/dist/native/json/jsonSet.js.map @@ -1 +1 @@ -{"version":3,"file":"jsonSet.js","sourceRoot":"","sources":["../../../src/native/json/jsonSet.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,0EAAiD;AACjD,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,wDAAwD;YACrE,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,CAAE;QACjB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC9G,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"jsonSet.js","sourceRoot":"","sources":["../../../src/native/json/jsonSet.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,0EAAiD;AACjD,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,wDAAwD;YACrE,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,CAAE;QACjB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC9G,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/json/jsonStringify.js b/dist/native/json/jsonStringify.js index e90cd20199..6711a82640 100644 --- a/dist/native/json/jsonStringify.js +++ b/dist/native/json/jsonStringify.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/json/jsonValues.d.ts.map b/dist/native/json/jsonValues.d.ts.map index e9509f99d9..61cb26b70b 100644 --- a/dist/native/json/jsonValues.d.ts.map +++ b/dist/native/json/jsonValues.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"jsonValues.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonValues.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAElE,wBA8BE"} \ No newline at end of file +{"version":3,"file":"jsonValues.d.ts","sourceRoot":"","sources":["../../../src/native/json/jsonValues.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAE1D,wBA8BE"} \ No newline at end of file diff --git a/dist/native/json/jsonValues.js b/dist/native/json/jsonValues.js index 9255e6f59e..13eee9e60c 100644 --- a/dist/native/json/jsonValues.js +++ b/dist/native/json/jsonValues.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -38,7 +38,7 @@ exports.default = new structures_1.NativeFunction({ const json = ctx.getEnvironmentKey(name); if (!json) return this.success(); - return this.successJSON(Object.values(json).join(sep ?? ", ")); + return this.successJSON(Object.values(json).map((v) => (typeof v === "string" ? v : JSON.stringify(v))).join(sep ?? ", ")); }, }); //# sourceMappingURL=jsonValues.js.map \ No newline at end of file diff --git a/dist/native/json/jsonValues.js.map b/dist/native/json/jsonValues.js.map index e6e10ca715..d34d4e690c 100644 --- a/dist/native/json/jsonValues.js.map +++ b/dist/native/json/jsonValues.js.map @@ -1 +1 @@ -{"version":3,"file":"jsonValues.js","sourceRoot":"","sources":["../../../src/native/json/jsonValues.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,kEAAyC;AACzC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE;QACJ,oBAAO,CAAC,IAAI;QACZ,IAAA,eAAK,GAAmB;KAC3B;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;QACpB,MAAM,IAAI,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACxC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAClE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"jsonValues.js","sourceRoot":"","sources":["../../../src/native/json/jsonValues.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,kEAAyC;AACzC,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE;QACJ,oBAAO,CAAC,IAAI;QACZ,IAAA,eAAK,GAAmB;KAC3B;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;QACpB,MAAM,IAAI,GAAG,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;QACxC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAC9H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/limiter/onlyForCategories.js b/dist/native/limiter/onlyForCategories.js index 0b6b1d9d75..cfe50f025e 100644 --- a/dist/native/limiter/onlyForCategories.js +++ b/dist/native/limiter/onlyForCategories.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/limiter/onlyForCategories.js.map b/dist/native/limiter/onlyForCategories.js.map index aa20d1c7de..27058bda2e 100644 --- a/dist/native/limiter/onlyForCategories.js.map +++ b/dist/native/limiter/onlyForCategories.js.map @@ -1 +1 @@ -{"version":3,"file":"onlyForCategories.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForCategories.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsE;AACtE,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,I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CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"onlyForCategories.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForCategories.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsE;AACtE,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4DAA4D;IACzE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,oDAAoD;YACjE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,wBAAW,CAAC,aAAa;SAClE;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,IAAI,EAAE,GAAG,KAAK,CAAA;QAEd,IAAI,GAAG,CAAC,KAAK,EAAE,CAAC;YACZ,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;YAC7C,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAA0B,IAAI,IAAI,CAAC,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAA;QAC/F,CAAC;QAED,IAAI,CAAC,EAAE;YACH,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/limiter/onlyForChannels.js b/dist/native/limiter/onlyForChannels.js index 9d1d8cd638..99024939b1 100644 --- a/dist/native/limiter/onlyForChannels.js +++ b/dist/native/limiter/onlyForChannels.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/limiter/onlyForChannels.js.map b/dist/native/limiter/onlyForChannels.js.map index f2696da247..76fc78991d 100644 --- a/dist/native/limiter/onlyForChannels.js.map +++ b/dist/native/limiter/onlyForChannels.js.map @@ -1 +1 @@ -{"version":3,"file":"onlyForChannels.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForChannels.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2DAA2D;IACxE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,IAAI,EAAE,GAAG,KAAK,CAAA;QAEd,IAAI,GAAG,CAAC,KAAK,EAAE;YACX,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;YAC7C,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,OAAQ,CAAC,EAAE,CAAC,IAAI,KAAK,CAAA;SAC5D;QAED,IAAI,CAAC,EAAE;YACH,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"onlyForChannels.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForChannels.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2DAA2D;IACxE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,IAAI,EAAE,GAAG,KAAK,CAAA;QAEd,IAAI,GAAG,CAAC,KAAK,EAAE,CAAC;YACZ,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;YAC7C,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,OAAQ,CAAC,EAAE,CAAC,IAAI,KAAK,CAAA;QAC7D,CAAC;QAED,IAAI,CAAC,EAAE;YACH,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/limiter/onlyForGuilds.js b/dist/native/limiter/onlyForGuilds.js index a6c6b6a5cb..512b3204f0 100644 --- a/dist/native/limiter/onlyForGuilds.js +++ b/dist/native/limiter/onlyForGuilds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/limiter/onlyForGuilds.js.map b/dist/native/limiter/onlyForGuilds.js.map index 6b7d086fce..2ee9a906f7 100644 --- a/dist/native/limiter/onlyForGuilds.js.map +++ b/dist/native/limiter/onlyForGuilds.js.map @@ -1 +1 @@ -{"version":3,"file":"onlyForGuilds.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForGuilds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,IAAI,EAAE,GAAG,KAAK,CAAA;QAEd,IAAI,GAAG,CAAC,KAAK,EAAE;YACX,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;YAC7C,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,KAAM,CAAC,EAAE,CAAC,IAAI,KAAK,CAAA;SAC1D;QAED,IAAI,CAAC,EAAE;YACH,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"onlyForGuilds.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForGuilds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iDAAiD;IAC9D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iDAAiD;YAC9D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,IAAI,EAAE,GAAG,KAAK,CAAA;QAEd,IAAI,GAAG,CAAC,KAAK,EAAE,CAAC;YACZ,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;YAC7C,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,KAAM,CAAC,EAAE,CAAC,IAAI,KAAK,CAAA;QAC3D,CAAC;QAED,IAAI,CAAC,EAAE;YACH,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/limiter/onlyForRoles.js b/dist/native/limiter/onlyForRoles.js index 63d64e61d1..9fbbceb75f 100644 --- a/dist/native/limiter/onlyForRoles.js +++ b/dist/native/limiter/onlyForRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/limiter/onlyForRoles.js.map b/dist/native/limiter/onlyForRoles.js.map index 13365f8a2e..6a96abc128 100644 --- a/dist/native/limiter/onlyForRoles.js.map +++ b/dist/native/limiter/onlyForRoles.js.map @@ -1 +1 @@ -{"version":3,"file":"onlyForRoles.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForRoles.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;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,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/limiter/onlyForUsers.js b/dist/native/limiter/onlyForUsers.js index fef6db3471..5454a94b57 100644 --- a/dist/native/limiter/onlyForUsers.js +++ b/dist/native/limiter/onlyForUsers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/limiter/onlyForUsers.js.map b/dist/native/limiter/onlyForUsers.js.map index 558890c30f..a78fdd408f 100644 --- a/dist/native/limiter/onlyForUsers.js.map +++ b/dist/native/limiter/onlyForUsers.js.map @@ -1 +1 @@ -{"version":3,"file":"onlyForUsers.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForUsers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,gDAAgD;YAC7D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,IAAI,EAAE,GAAG,KAAK,CAAA;QAEd,IAAI,GAAG,CAAC,IAAI,EAAE;YACV,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;YAC7C,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,IAAK,CAAC,EAAE,CAAC,IAAI,KAAK,CAAA;SACzD;QAED,IAAI,CAAC,EAAE;YACH,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"onlyForUsers.js","sourceRoot":"","sources":["../../../src/native/limiter/onlyForUsers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,gDAAgD;YAC7D,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,IAAI,EAAE,GAAG,KAAK,CAAA;QAEd,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;YACX,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;YACtE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAAE,OAAO,EAAE,CAAA;YAC7C,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,IAAK,CAAC,EAAE,CAAC,IAAI,KAAK,CAAA;QAC1D,CAAC;QAED,IAAI,CAAC,EAAE;YACH,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;QAElC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/limiter/onlyIf.js b/dist/native/limiter/onlyIf.js index c022bd911e..b60264e686 100644 --- a/dist/native/limiter/onlyIf.js +++ b/dist/native/limiter/onlyIf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/limiter/onlyIf.js.map b/dist/native/limiter/onlyIf.js.map index b8e30099ef..f9a75f04e2 100644 --- a/dist/native/limiter/onlyIf.js.map +++ b/dist/native/limiter/onlyIf.js.map @@ -1 +1 @@ -{"version":3,"file":"onlyIf.js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GAAG,EAAE,IAAI,CAAC,CAAA;YACrD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC;gBAAE,OAAO,QAAQ,CAAA;YACzD,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,QAAQ,CAAC,KAAe,CAAA;YAChD,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;QACrC,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,EAAE,CAAA;IACtB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/limiter/stop.d.ts b/dist/native/limiter/stop.d.ts index 38d6f857ac..0f06709755 100644 --- a/dist/native/limiter/stop.d.ts +++ b/dist/native/limiter/stop.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=stop.d.ts.map \ No newline at end of file diff --git a/dist/native/limiter/stop.js b/dist/native/limiter/stop.js index 6c469e406f..1d9ab7b368 100644 --- a/dist/native/limiter/stop.js +++ b/dist/native/limiter/stop.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/logging/chalkLog.js b/dist/native/logging/chalkLog.js index 0ab90d9c96..127ec9582d 100644 --- a/dist/native/logging/chalkLog.js +++ b/dist/native/logging/chalkLog.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/logging/chalkLog.js.map b/dist/native/logging/chalkLog.js.map index 6cb3f2709a..0e2cae968d 100644 --- a/dist/native/logging/chalkLog.js.map +++ b/dist/native/logging/chalkLog.js.map @@ -1 +1 @@ -{"version":3,"file":"chalkLog.js","sourceRoot":"","sources":["../../../src/native/logging/chalkLog.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAA0D;AAC1D,kDAAyB;AAEzB,SAAS,WAAW,CAAC,IAAY,EAAE,MAAgB;IAC/C,IAAI,MAAM,GAAG,eAAK,CAAA;IAClB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;QACxB,MAAM,EAAE,GAAI,MAAc,CAAC,KAAK,CAAC,CAAA;QACjC,IAAI,OAAO,EAAE,KAAK,UAAU;YAAE,SAAQ;QACtC,MAAM,GAAG,EAAE,CAAA;KACd;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,CAAA;AACvB,CAAC;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,IAAI;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;QACvB,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAA;QACtC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"chalkLog.js","sourceRoot":"","sources":["../../../src/native/logging/chalkLog.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAA0D;AAC1D,kDAAyB;AAEzB,SAAS,WAAW,CAAC,IAAY,EAAE,MAAgB;IAC/C,IAAI,MAAM,GAAG,eAAK,CAAA;IAClB,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QACzB,MAAM,EAAE,GAAI,MAAc,CAAC,KAAK,CAAC,CAAA;QACjC,IAAI,OAAO,EAAE,KAAK,UAAU;YAAE,SAAQ;QACtC,MAAM,GAAG,EAAE,CAAA;IACf,CAAC;IACD,OAAO,MAAM,CAAC,IAAI,CAAC,CAAA;AACvB,CAAC;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,IAAI;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC;QACvB,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAA;QACtC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/logging/log.js b/dist/native/logging/log.js index 79b7670b10..2ea225833f 100644 --- a/dist/native/logging/log.js +++ b/dist/native/logging/log.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/logging/logger.js b/dist/native/logging/logger.js index 2f6d0c49d0..f11ae32d8c 100644 --- a/dist/native/logging/logger.js +++ b/dist/native/logging/logger.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/lookup/findApplicationEmoji.js b/dist/native/lookup/findApplicationEmoji.js index c4f5068068..dcf25ac8ca 100644 --- a/dist/native/lookup/findApplicationEmoji.js +++ b/dist/native/lookup/findApplicationEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/lookup/findApplicationEmoji.js.map b/dist/native/lookup/findApplicationEmoji.js.map index c0d862720e..e2d9ccae26 100644 --- a/dist/native/lookup/findApplicationEmoji.js.map +++ b/dist/native/lookup/findApplicationEmoji.js.map @@ -1 +1 @@ -{"version":3,"file":"findApplicationEmoji.js","sourceRoot":"","sources":["../../../src/native/lookup/findApplicationEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,gBAAgB;IAChC,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAClB,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAA;QAErD,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YAClC,MAAM,CAAC,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;YACxB,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;SACnC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IAC/H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"findApplicationEmoji.js","sourceRoot":"","sources":["../../../src/native/lookup/findApplicationEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,gBAAgB;IAChC,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAClB,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAA;QAErD,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;YACnC,MAAM,CAAC,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;YACxB,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;QACpC,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IAC/H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findChannel.js b/dist/native/lookup/findChannel.js index e1d89835f2..ca8d5cc39a 100644 --- a/dist/native/lookup/findChannel.js +++ b/dist/native/lookup/findChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/lookup/findChannel.js.map b/dist/native/lookup/findChannel.js.map index 30dd14a801..9a35226a50 100644 --- a/dist/native/lookup/findChannel.js.map +++ b/dist/native/lookup/findChannel.js.map @@ -1 +1 @@ -{"version":3,"file":"findChannel.js","sourceRoot":"","sources":["../../../src/native/lookup/findChannel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AACpF,yDAA4D;AAE5D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iBAAiB;IAC9B,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;QAChB,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,0CAAuB,EAAE,EAAE,CAAC,CAAA;QAEjD,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACnC,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;YAC5C,IAAI,EAAE;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;SACrC;QAED,MAAM,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,IAAI,SAAS,CAAC,CAAC,CAAC,SAAS,CAAA;QAE1D,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAA;QAEnB,OAAO,IAAI,CAAC,OAAO,CACf,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAC1B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,IAAI,CAAC,IAAK,CAAC,CAAC,IAAe,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAChF,EAAE,EAAE,IAAI,IAAI,CAChB,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"findChannel.js","sourceRoot":"","sources":["../../../src/native/lookup/findChannel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AACpF,yDAA4D;AAE5D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iBAAiB;IAC9B,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;QAChB,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,0CAAuB,EAAE,EAAE,CAAC,CAAA;QAEjD,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;YACpC,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;YAC5C,IAAI,EAAE;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;QACtC,CAAC;QAED,MAAM,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,IAAI,SAAS,CAAC,CAAC,CAAC,SAAS,CAAA;QAE1D,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAA;QAEnB,OAAO,IAAI,CAAC,OAAO,CACf,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAC1B,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,IAAI,CAAC,IAAK,CAAC,CAAC,IAAe,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAChF,EAAE,EAAE,IAAI,IAAI,CAChB,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findChannels.js b/dist/native/lookup/findChannels.js index 7655e19845..d678815bd9 100644 --- a/dist/native/lookup/findChannels.js +++ b/dist/native/lookup/findChannels.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/lookup/findChannels.js.map b/dist/native/lookup/findChannels.js.map index a452e5971e..5a46044845 100644 --- a/dist/native/lookup/findChannels.js.map +++ b/dist/native/lookup/findChannels.js.map @@ -1 +1 @@ -{"version":3,"file":"findChannels.js","sourceRoot":"","sources":["../../../src/native/lookup/findChannels.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,iDAAkE;AAClE,kEAAyC;AACzC,sDAA6E;AAC7E,yDAA4D;AAE5D,IAAY,gBAIX;AA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/findEmoji.js index d7d4cde4f8..a45c7245c9 100644 --- a/dist/native/lookup/findEmoji.js +++ b/dist/native/lookup/findEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/lookup/findEmoji.js.map b/dist/native/lookup/findEmoji.js.map index dc3d967467..9784003465 100644 --- a/dist/native/lookup/findEmoji.js.map +++ b/dist/native/lookup/findEmoji.js.map @@ -1 +1 @@ -{"version":3,"file":"findEmoji.js","sourceRoot":"","sources":["../../../src/native/lookup/findEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAuC;AACvC,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gBAAgB;IAC7B,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,KAAK;IACrB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAClB,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAA;QACrD,MAAM,MAAM,GAAG,IAAA,uBAAU,EAAC,CAAC,CAAC,CAAA;QAE5B,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YAClC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG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AE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAClB,MAAM,MAAM,GAAG,MAAM,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAA;QACrD,MAAM,MAAM,GAAG,IAAA,uBAAU,EAAC,CAAC,CAAC,CAAA;QAE5B,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;YACnC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;YAC1D,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;QACpC,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,EAAE,IAAI,CAAC,WAAW,EAAE,CAAA;QAEvC,OAAO,IAAI,CAAC,OAAO,CACf,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE,IAAI,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE,CAC7M,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findGuild.js b/dist/native/lookup/findGuild.js index d869ebcda5..32149ad798 100644 --- a/dist/native/lookup/findGuild.js +++ b/dist/native/lookup/findGuild.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/lookup/findGuild.js.map b/dist/native/lookup/findGuild.js.map index b6c7f41752..ca060dc860 100644 --- a/dist/native/lookup/findGuild.js.map +++ b/dist/native/lookup/findGuild.js.map @@ -1 +1 @@ -{"version":3,"file":"findGuild.js","sourceRoot":"","sources":["../../../src/native/lookup/findGuild.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,KAAK;IACrB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;QAChB,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YAClC,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YAC5C,IAAI,KAAK;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;SAC3C;QAED,OAAO,IAAI,CAAC,OAAO,CACf,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAC1G,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"findGuild.js","sourceRoot":"","sources":["../../../src/native/lookup/findGuild.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,KAAK;IACrB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;QAChB,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;YACnC,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YAC5C,IAAI,KAAK;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;QAC5C,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAC1G,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findGuildChannel.js b/dist/native/lookup/findGuildChannel.js index 8dbf0a2c49..940eb101f1 100644 --- a/dist/native/lookup/findGuildChannel.js +++ b/dist/native/lookup/findGuildChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ChannelMentionCharRegex = void 0; diff --git a/dist/native/lookup/findGuildChannel.js.map b/dist/native/lookup/findGuildChannel.js.map index eaa287a723..894d988571 100644 --- a/dist/native/lookup/findGuildChannel.js.map +++ b/dist/native/lookup/findGuildChannel.js.map @@ -1 +1 @@ -{"version":3,"file":"findGuildChannel.js","sourceRoot":"","sources":["../../../src/native/lookup/findGuildChannel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,iDAAoF;AAEvE,QAAA,uBAAuB,GAAG,QAAQ,CAAA;AAE/C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAA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CAAA"} \ No newline at end of file +{"version":3,"file":"findGuildChannel.js","sourceRoot":"","sources":["../../../src/native/lookup/findGuildChannel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,iDAAoF;AAEvE,QAAA,uBAAuB,GAAG,QAAQ,CAAA;AAE/C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;QACvB,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,+BAAuB,EAAE,EAAE,CAAC,CAAA;QAEjD,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;YACpC,MAAM,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;YACvC,IAAI,EAAE;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;QACtC,CAAC;QAED,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAA;QACnB,OAAO,IAAI,CAAC,OAAO,CACf,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE;YAC3E,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CACzC,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findGuildEmoji.js b/dist/native/lookup/findGuildEmoji.js index 9214b4c430..9a3a963278 100644 --- a/dist/native/lookup/findGuildEmoji.js +++ b/dist/native/lookup/findGuildEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/lookup/findGuildEmoji.js.map b/dist/native/lookup/findGuildEmoji.js.map index e8c0cf2564..348a819177 100644 --- a/dist/native/lookup/findGuildEmoji.js.map +++ b/dist/native/lookup/findGuildEmoji.js.map @@ -1 +1 @@ -{"version":3,"file":"findGuildEmoji.js","sourceRoot":"","sources":["../../../src/native/lookup/findGuildEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,UAAU;IAC1B,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QACnB,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YAClC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YACnC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;SACnC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE,CACpH,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"findGuildEmoji.js","sourceRoot":"","sources":["../../../src/native/lookup/findGuildEmoji.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,UAAU;IAC1B,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QACnB,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;YACnC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;YACnC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;QACpC,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CACf,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE,CACpH,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findMember.js b/dist/native/lookup/findMember.js index bf9f0deaf0..78bb470eea 100644 --- a/dist/native/lookup/findMember.js +++ b/dist/native/lookup/findMember.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/lookup/findMember.js.map b/dist/native/lookup/findMember.js.map index 734dbd37c8..993539f4c1 100644 --- a/dist/native/lookup/findMember.js.map +++ b/dist/native/lookup/findMember.js.map @@ -1 +1 @@ -{"version":3,"file":"findMember.js","sourceRoot":"","sources":["../../../src/native/lookup/findMember.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7B,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAA;QAE5C,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACnC,MAAM,CAAC,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACvD,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;SACnC;QAED,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAA;QAEnB,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,OAAO;aAC5B,MAAM,CAAC;YACJ,KAAK,EAAE,CAAC;SACX,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAEpB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC9F,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"findMember.js","sourceRoot":"","sources":["../../../src/native/lookup/findMember.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7B,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAA;QAE5C,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACvD,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;QACpC,CAAC;QAED,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAA;QAEnB,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,OAAO;aAC5B,MAAM,CAAC;YACJ,KAAK,EAAE,CAAC;SACX,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAEpB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC9F,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findMembers.d.ts b/dist/native/lookup/findMembers.d.ts index 62999ba9d6..5dd3d025fa 100644 --- a/dist/native/lookup/findMembers.d.ts +++ b/dist/native/lookup/findMembers.d.ts @@ -1,5 +1,5 @@ import { MemberProperty } from "../../properties/member"; import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction<[import("../../structures").IArg, import("../../structures").IArg, import("../../structures").IArg, import("../../structures").IArg, import("../../structures").IArg], true>; +declare const _default: NativeFunction<[import("../..").IArg, import("../..").IArg, import("../..").IArg, import("../..").IArg, import("../..").IArg], true>; export default _default; //# sourceMappingURL=findMembers.d.ts.map \ No newline at end of file diff --git a/dist/native/lookup/findMembers.js b/dist/native/lookup/findMembers.js index 182e0e6815..a05c6060ab 100644 --- a/dist/native/lookup/findMembers.js +++ b/dist/native/lookup/findMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/lookup/findRole.js b/dist/native/lookup/findRole.js index 0accde93f9..616ced4c15 100644 --- a/dist/native/lookup/findRole.js +++ b/dist/native/lookup/findRole.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.RoleMentionCharRegex = void 0; diff --git a/dist/native/lookup/findRole.js.map b/dist/native/lookup/findRole.js.map index 1145028bb4..30d8fdfe5c 100644 --- a/dist/native/lookup/findRole.js.map +++ b/dist/native/lookup/findRole.js.map @@ -1 +1 @@ -{"version":3,"file":"findRole.js","sourceRoot":"","sources":["../../../src/native/lookup/findRole.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,iDAAoF;AAEvE,QAAA,oBAAoB,GAAG,SAAS,CAAA;AAE7C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;QACnB,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,4BAAoB,EAAE,EAAE,CAAC,CAAA;QAE9C,IAAI,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACnC,MAAM,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;YACnC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAA;SACnC;QAED,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAA;QAEnB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IACrG,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"findRole.js","sourceRoot":"","sources":["../../../src/native/lookup/findRole.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,iDAAoF;AAEvE,QAAA,oBAA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AC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findRoles.js b/dist/native/lookup/findRoles.js index d2b4161ffe..9dc1a60212 100644 --- a/dist/native/lookup/findRoles.js +++ b/dist/native/lookup/findRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/lookup/findRoles.js.map b/dist/native/lookup/findRoles.js.map index c7c61d1381..f69f63f348 100644 --- a/dist/native/lookup/findRoles.js.map +++ b/dist/native/lookup/findRoles.js.map @@ -1 +1 @@ -{"version":3,"file":"findRoles.js","sourceRoot":"","sources":["../../../src/native/lookup/findRoles.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAAkE;AAClE,kEAAyC;AACzC,gDAAoE;AACpE,yCAAiD;AACjD,iDAAiD;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAA,eAAK,GAAmB;IAChC,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACv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IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAA;aACpE;QACL,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;QAE3B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,qBAAc,CAAC,IAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IACvF,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"findRoles.js","sourceRoot":"","sources":["../../../src/native/lookup/findRoles.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAAkE;AAClE,kEAAyC;AACzC,gDAAoE;AACpE,yCAAiD;AACjD,iDAAiD;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAA,eAAK,GAAmB;IAChC,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,K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ACrE,CAAC;QACL,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;QAE3B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,qBAAc,CAAC,IAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IACvF,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/lookup/findUser.js b/dist/native/lookup/findUser.js index a195c82aa1..28d82298c0 100644 --- a/dist/native/lookup/findUser.js +++ b/dist/native/lookup/findUser.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.UserMentionCharRegex = void 0; diff --git a/dist/native/lookup/findUser.js.map b/dist/native/lookup/findUser.js.map index 62a6998258..6d48817b18 100644 --- a/dist/native/lookup/findUser.js.map +++ b/dist/native/lookup/findUser.js.map @@ -1 +1 @@ -{"version":3,"file":"findUser.js","sourceRoot":"","sources":["../../../src/native/lookup/findUser.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAGF,iDAAoF;AAEvE,QAAA,oBAAoB,GAAG,QAAQ,CAAA;AAE5C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,cAAc;IAC3B,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;Q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CAAC,CAAC,CAAC,SAAS,CAAC,CACtC,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/math/abs.js b/dist/native/math/abs.js index 6a0849647f..25a7db2a74 100644 --- a/dist/native/math/abs.js +++ b/dist/native/math/abs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/base.js b/dist/native/math/base.js index ace6ada3b4..d3d0abc4eb 100644 --- a/dist/native/math/base.js +++ b/dist/native/math/base.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/bigintDivide.js b/dist/native/math/bigintDivide.js index 080795670b..0b02d1bb82 100644 --- a/dist/native/math/bigintDivide.js +++ b/dist/native/math/bigintDivide.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/bigintMulti.js b/dist/native/math/bigintMulti.js index 2eb5d3ab0a..f19ba7792a 100644 --- a/dist/native/math/bigintMulti.js +++ b/dist/native/math/bigintMulti.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/bigintSub.js b/dist/native/math/bigintSub.js index 53fe509093..de9f16ac20 100644 --- a/dist/native/math/bigintSub.js +++ b/dist/native/math/bigintSub.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/bigintSum.js b/dist/native/math/bigintSum.js index 0445896fb8..7a2edf3ca9 100644 --- a/dist/native/math/bigintSum.js +++ b/dist/native/math/bigintSum.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/ceil.js b/dist/native/math/ceil.js index cc393ab4fc..41f4ddafd2 100644 --- a/dist/native/math/ceil.js +++ b/dist/native/math/ceil.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/divide.js b/dist/native/math/divide.js index 6e959e00d8..1c27cbb2ee 100644 --- a/dist/native/math/divide.js +++ b/dist/native/math/divide.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/floor.js b/dist/native/math/floor.js index 329578e225..ce9cc15e65 100644 --- a/dist/native/math/floor.js +++ b/dist/native/math/floor.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/logn.js b/dist/native/math/logn.js index 7a1488a410..150a8415c6 100644 --- a/dist/native/math/logn.js +++ b/dist/native/math/logn.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/math.js b/dist/native/math/math.js index 0dc6c5e501..232d9a2d7b 100644 --- a/dist/native/math/math.js +++ b/dist/native/math/math.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/math.js.map b/dist/native/math/math.js.map index b46a9b2727..9b62993399 100644 --- a/dist/native/math/math.js.map +++ b/dist/native/math/math.js.map @@ -1 +1 @@ -{"version":3,"file":"math.js","sourceRoot":"","sources":["../../../src/native/math/math.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,MAAM,SAAS,GAAG,yBAAyB,CAAA;AAE3C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+DAA+D;IAC5E,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,IAAI;YACA,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;YAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;SAClC;QAAC,OAAO,KAAU,EAAE;YACjB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;SACxB;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"math.js","sourceRoot":"","sources":["../../../src/native/math/math.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,MAAM,SAAS,GAAG,yBAAyB,CAAA;AAE3C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+DAA+D;IAC5E,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,IAAI,CAAC;YACD,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;YAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;QACnC,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YAClB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QACzB,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/math/max.js b/dist/native/math/max.js index 15460dd67a..0255168679 100644 --- a/dist/native/math/max.js +++ b/dist/native/math/max.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/min.js b/dist/native/math/min.js index 2dd262585e..c321a3d83f 100644 --- a/dist/native/math/min.js +++ b/dist/native/math/min.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/modulo.js b/dist/native/math/modulo.js index 6bbc445b6c..b755961077 100644 --- a/dist/native/math/modulo.js +++ b/dist/native/math/modulo.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/multi.js b/dist/native/math/multi.js index f7e1ee8416..36f0274754 100644 --- a/dist/native/math/multi.js +++ b/dist/native/math/multi.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/pi.d.ts b/dist/native/math/pi.d.ts index fb6b1bc839..4e35010b34 100644 --- a/dist/native/math/pi.d.ts +++ b/dist/native/math/pi.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=pi.d.ts.map \ No newline at end of file diff --git a/dist/native/math/pi.js b/dist/native/math/pi.js index 1c8763991c..4aa95f11c6 100644 --- a/dist/native/math/pi.js +++ b/dist/native/math/pi.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/pow.js b/dist/native/math/pow.js index 7ec78a95e4..9d2a551a7b 100644 --- a/dist/native/math/pow.js +++ b/dist/native/math/pow.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/round.js b/dist/native/math/round.js index 5a09716700..a6ba3f5f49 100644 --- a/dist/native/math/round.js +++ b/dist/native/math/round.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/sign.js b/dist/native/math/sign.js index c158422e37..7b6aaeeca8 100644 --- a/dist/native/math/sign.js +++ b/dist/native/math/sign.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/sqrt.js b/dist/native/math/sqrt.js index f07d0e4c43..b71d1448f0 100644 --- a/dist/native/math/sqrt.js +++ b/dist/native/math/sqrt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/sub.js b/dist/native/math/sub.js index 7d3dc17331..38f66a55e9 100644 --- a/dist/native/math/sub.js +++ b/dist/native/math/sub.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/sum.js b/dist/native/math/sum.js index 50f6f05ad1..b99b12dbdd 100644 --- a/dist/native/math/sum.js +++ b/dist/native/math/sum.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/math/trunc.js b/dist/native/math/trunc.js index 2170db239b..5074133522 100644 --- a/dist/native/math/trunc.js +++ b/dist/native/math/trunc.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/ban.js b/dist/native/member/ban.js index 1129e25f34..76d33e5359 100644 --- a/dist/native/member/ban.js +++ b/dist/native/member/ban.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/fetchMembers.js b/dist/native/member/fetchMembers.js index a9db532b28..feacc97d69 100644 --- a/dist/native/member/fetchMembers.js +++ b/dist/native/member/fetchMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/hasAnyPerms.d.ts b/dist/native/member/hasAnyPerms.d.ts index f17f4ce810..bf90c8cc27 100644 --- a/dist/native/member/hasAnyPerms.d.ts +++ b/dist/native/member/hasAnyPerms.d.ts @@ -66,6 +66,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/member/hasAnyPerms.d.ts.map b/dist/native/member/hasAnyPerms.d.ts.map index 6ebfdbc914..43430e49ce 100644 --- a/dist/native/member/hasAnyPerms.d.ts.map +++ b/dist/native/member/hasAnyPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"hasAnyPerms.d.ts","sourceRoot":"","sources":["../../../src/native/member/hasAnyPerms.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAoCE"} \ No newline at end of file +{"version":3,"file":"hasAnyPerms.d.ts","sourceRoot":"","sources":["../../../src/native/member/hasAnyPerms.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAoCE"} \ No newline at end of file diff --git a/dist/native/member/hasAnyPerms.js b/dist/native/member/hasAnyPerms.js index 23a1a4c557..666ddf9fc0 100644 --- a/dist/native/member/hasAnyPerms.js +++ b/dist/native/member/hasAnyPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/hasAnyRole.js b/dist/native/member/hasAnyRole.js index 14561a3aa9..b3c0780bcc 100644 --- a/dist/native/member/hasAnyRole.js +++ b/dist/native/member/hasAnyRole.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/hasPerms.d.ts b/dist/native/member/hasPerms.d.ts index 6247496a35..b81fdecbb0 100644 --- a/dist/native/member/hasPerms.d.ts +++ b/dist/native/member/hasPerms.d.ts @@ -66,6 +66,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/member/hasPerms.d.ts.map b/dist/native/member/hasPerms.d.ts.map index a61fee1410..739f044198 100644 --- a/dist/native/member/hasPerms.d.ts.map +++ b/dist/native/member/hasPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"hasPerms.d.ts","sourceRoot":"","sources":["../../../src/native/member/hasPerms.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAsCE"} \ No newline at end of file +{"version":3,"file":"hasPerms.d.ts","sourceRoot":"","sources":["../../../src/native/member/hasPerms.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAsCE"} \ No newline at end of file diff --git a/dist/native/member/hasPerms.js b/dist/native/member/hasPerms.js index 130a511d17..58d96c898c 100644 --- a/dist/native/member/hasPerms.js +++ b/dist/native/member/hasPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/hasRoles.js b/dist/native/member/hasRoles.js index f839d0e0cc..b340fc08b9 100644 --- a/dist/native/member/hasRoles.js +++ b/dist/native/member/hasRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/isBannable.d.ts b/dist/native/member/isBannable.d.ts new file mode 100644 index 0000000000..fc563469e9 --- /dev/null +++ b/dist/native/member/isBannable.d.ts @@ -0,0 +1,17 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + type: ArgType.Guild; + required: true; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Member; + pointer: number; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=isBannable.d.ts.map \ No newline at end of file diff --git a/dist/native/member/isBannable.d.ts.map b/dist/native/member/isBannable.d.ts.map new file mode 100644 index 0000000000..8bf1b916fd --- /dev/null +++ b/dist/native/member/isBannable.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"isBannable.d.ts","sourceRoot":"","sources":["../../../src/native/member/isBannable.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA6BE"} \ No newline at end of file diff --git a/dist/native/member/isBannable.js b/dist/native/member/isBannable.js new file mode 100644 index 0000000000..96e0f0a334 --- /dev/null +++ b/dist/native/member/isBannable.js @@ -0,0 +1,38 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$isBannable", + version: "2.7.0", + aliases: ["$memberIsBannable"], + description: "Returns whether a member is bannable", + brackets: false, + unwrap: true, + args: [ + { + name: "guild ID", + description: "The guild to pull the member from", + rest: false, + type: structures_1.ArgType.Guild, + required: true, + }, + { + name: "user ID", + description: "The member to check for", + rest: false, + type: structures_1.ArgType.Member, + pointer: 0, + required: true, + }, + ], + output: structures_1.ArgType.Boolean, + execute(ctx, [, member]) { + member ??= ctx.member; + return this.success(member?.bannable ?? false); + }, +}); +//# sourceMappingURL=isBannable.js.map \ No newline at end of file diff --git a/dist/native/member/isBannable.js.map b/dist/native/member/isBannable.js.map new file mode 100644 index 0000000000..ecf1ff0e0b --- /dev/null +++ b/dist/native/member/isBannable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isBannable.js","sourceRoot":"","sources":["../../../src/native/member/isBannable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,mBAAmB,CAAC;IAC9B,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,IAAI,KAAK,CAAC,CAAA;IAClD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isBanned.d.ts.map b/dist/native/member/isBanned.d.ts.map index efaca76dca..cc209eafe4 100644 --- a/dist/native/member/isBanned.d.ts.map +++ b/dist/native/member/isBanned.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isBanned.d.ts","sourceRoot":"","sources":["../../../src/native/member/isBanned.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAElE,wBA8BE"} \ No newline at end of file +{"version":3,"file":"isBanned.d.ts","sourceRoot":"","sources":["../../../src/native/member/isBanned.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAE1D,wBA8BE"} \ No newline at end of file diff --git a/dist/native/member/isBanned.js b/dist/native/member/isBanned.js index 38ff094244..84b8e61abf 100644 --- a/dist/native/member/isBanned.js +++ b/dist/native/member/isBanned.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -25,7 +25,7 @@ exports.default = new structures_1.NativeFunction({ }, { name: "user ID", - description: "The user to check ban", + description: "The user to check ban status for", rest: false, type: structures_1.ArgType.User, required: true, diff --git a/dist/native/member/isBanned.js.map b/dist/native/member/isBanned.js.map index 67bd300567..9986a5ff12 100644 --- a/dist/native/member/isBanned.js.map +++ b/dist/native/member/isBanned.js.map @@ -1 +1 @@ -{"version":3,"file":"isBanned.js","sourceRoot":"","sources":["../../../src/native/member/isBanned.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,iBAAiB;KACpB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,WAAW,EAAE,qCAAqC;IAClD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QAC5B,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAA;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAA;IACnC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isBanned.js","sourceRoot":"","sources":["../../../src/native/member/isBanned.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,iBAAiB;KACpB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,WAAW,EAAE,qCAAqC;IAClD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QAC5B,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAA;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAA;IACnC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isBoosting.js b/dist/native/member/isBoosting.js index cd502fbb9d..3f16bc51e5 100644 --- a/dist/native/member/isBoosting.js +++ b/dist/native/member/isBoosting.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/isDeaf.d.ts.map b/dist/native/member/isDeaf.d.ts.map index e40db6e749..e0bf9e31e1 100644 --- a/dist/native/member/isDeaf.d.ts.map +++ b/dist/native/member/isDeaf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isDeaf.d.ts","sourceRoot":"","sources":["../../../src/native/member/isDeaf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBA+BE"} \ No newline at end of file +{"version":3,"file":"isDeaf.d.ts","sourceRoot":"","sources":["../../../src/native/member/isDeaf.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/member/isDeaf.js b/dist/native/member/isDeaf.js index 010e3b2600..4f3f0fa0d0 100644 --- a/dist/native/member/isDeaf.js +++ b/dist/native/member/isDeaf.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -9,7 +9,7 @@ const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isDeaf", version: "1.0.0", - description: "Whether a member is deafened", + description: "Returns whether a member is deafened", brackets: false, unwrap: true, aliases: [ diff --git a/dist/native/member/isDeaf.js.map b/dist/native/member/isDeaf.js.map index f231adb930..17f4a80f1c 100644 --- a/dist/native/member/isDeaf.js.map +++ b/dist/native/member/isDeaf.js.map @@ -1 +1 @@ -{"version":3,"file":"isDeaf.js","sourceRoot":"","sources":["../../../src/native/member/isDeaf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmE;AACnE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,eAAe;KAClB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,YAAY,wBAAW,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAE,GAAG,CAAC,WAAW,EAAE,MAAoC,EAAE,IAAI,CAAC,IAAI,KAAK,CAAC,CAAA;IACrJ,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isDeaf.js","sourceRoot":"","sources":["../../../src/native/member/isDeaf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmE;AACnE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,eAAe;KAClB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,YAAY,wBAAW,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAE,GAAG,CAAC,WAAW,EAAE,MAAoC,EAAE,IAAI,CAAC,IAAI,KAAK,CAAC,CAAA;IACrJ,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isGuildDeaf.d.ts.map b/dist/native/member/isGuildDeaf.d.ts.map index 3e3389999d..592076a8b5 100644 --- a/dist/native/member/isGuildDeaf.d.ts.map +++ b/dist/native/member/isGuildDeaf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isGuildDeaf.d.ts","sourceRoot":"","sources":["../../../src/native/member/isGuildDeaf.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBA+BE"} \ No newline at end of file +{"version":3,"file":"isGuildDeaf.d.ts","sourceRoot":"","sources":["../../../src/native/member/isGuildDeaf.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/member/isGuildDeaf.js b/dist/native/member/isGuildDeaf.js index 3f4871364c..8ea1e3f283 100644 --- a/dist/native/member/isGuildDeaf.js +++ b/dist/native/member/isGuildDeaf.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isGuildDeaf", version: "1.0.0", - description: "Whether a member is server deafened", + description: "Returns whether a member is server deafened", brackets: false, aliases: [ "$memberIsGuildDeaf" diff --git a/dist/native/member/isGuildDeaf.js.map b/dist/native/member/isGuildDeaf.js.map index a7c1d67ec5..3b22645883 100644 --- a/dist/native/member/isGuildDeaf.js.map +++ b/dist/native/member/isGuildDeaf.js.map @@ -1 +1 @@ -{"version":3,"file":"isGuildDeaf.js","sourceRoot":"","sources":["../../../src/native/member/isGuildDeaf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,oBAAoB;KACvB;IACD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,CAAA;IAC1D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isGuildDeaf.js","sourceRoot":"","sources":["../../../src/native/member/isGuildDeaf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,oBAAoB;KACvB;IACD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,CAAA;IAC1D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isGuildMuted.d.ts.map b/dist/native/member/isGuildMuted.d.ts.map index 1256f974ef..b6b1677bfa 100644 --- a/dist/native/member/isGuildMuted.d.ts.map +++ b/dist/native/member/isGuildMuted.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isGuildMuted.d.ts","sourceRoot":"","sources":["../../../src/native/member/isGuildMuted.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBA+BE"} \ No newline at end of file +{"version":3,"file":"isGuildMuted.d.ts","sourceRoot":"","sources":["../../../src/native/member/isGuildMuted.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/member/isGuildMuted.js b/dist/native/member/isGuildMuted.js index b6eba1c99d..203ec741d8 100644 --- a/dist/native/member/isGuildMuted.js +++ b/dist/native/member/isGuildMuted.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isGuildMuted", version: "1.0.0", - description: "Whether a member is server muted", + description: "Returns whether a member is server muted", brackets: false, aliases: [ "$memberIsGuildMuted" diff --git a/dist/native/member/isGuildMuted.js.map b/dist/native/member/isGuildMuted.js.map index 3bc9ee8bcf..39df9fa60c 100644 --- a/dist/native/member/isGuildMuted.js.map +++ b/dist/native/member/isGuildMuted.js.map @@ -1 +1 @@ -{"version":3,"file":"isGuildMuted.js","sourceRoot":"","sources":["../../../src/native/member/isGuildMuted.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,qBAAqB;KACxB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,CAAA;IAC1D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isGuildMuted.js","sourceRoot":"","sources":["../../../src/native/member/isGuildMuted.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,qBAAqB;KACxB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,UAAU,IAAI,KAAK,CAAC,CAAA;IAC1D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isKickable.d.ts b/dist/native/member/isKickable.d.ts new file mode 100644 index 0000000000..a2057cfe36 --- /dev/null +++ b/dist/native/member/isKickable.d.ts @@ -0,0 +1,17 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + type: ArgType.Guild; + required: true; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Member; + pointer: number; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=isKickable.d.ts.map \ No newline at end of file diff --git a/dist/native/member/isKickable.d.ts.map b/dist/native/member/isKickable.d.ts.map new file mode 100644 index 0000000000..605fb24d4a --- /dev/null +++ b/dist/native/member/isKickable.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"isKickable.d.ts","sourceRoot":"","sources":["../../../src/native/member/isKickable.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA6BE"} \ No newline at end of file diff --git a/dist/native/member/isKickable.js b/dist/native/member/isKickable.js new file mode 100644 index 0000000000..47625876a2 --- /dev/null +++ b/dist/native/member/isKickable.js @@ -0,0 +1,38 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$isKickable", + version: "2.7.0", + aliases: ["$memberIsKickable"], + description: "Returns whether a member is kickable", + brackets: false, + unwrap: true, + args: [ + { + name: "guild ID", + description: "The guild to pull the member from", + rest: false, + type: structures_1.ArgType.Guild, + required: true, + }, + { + name: "user ID", + description: "The member to check for", + rest: false, + type: structures_1.ArgType.Member, + pointer: 0, + required: true, + }, + ], + output: structures_1.ArgType.Boolean, + execute(ctx, [, member]) { + member ??= ctx.member; + return this.success(member?.kickable ?? false); + }, +}); +//# sourceMappingURL=isKickable.js.map \ No newline at end of file diff --git a/dist/native/member/isKickable.js.map b/dist/native/member/isKickable.js.map new file mode 100644 index 0000000000..d028a68bab --- /dev/null +++ b/dist/native/member/isKickable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isKickable.js","sourceRoot":"","sources":["../../../src/native/member/isKickable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,mBAAmB,CAAC;IAC9B,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,IAAI,KAAK,CAAC,CAAA;IAClD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isManageable.d.ts b/dist/native/member/isManageable.d.ts new file mode 100644 index 0000000000..9a83c61336 --- /dev/null +++ b/dist/native/member/isManageable.d.ts @@ -0,0 +1,17 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + type: ArgType.Guild; + required: true; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Member; + pointer: number; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=isManageable.d.ts.map \ No newline at end of file diff --git a/dist/native/member/isManageable.d.ts.map b/dist/native/member/isManageable.d.ts.map new file mode 100644 index 0000000000..e6b5ec490e --- /dev/null +++ b/dist/native/member/isManageable.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"isManageable.d.ts","sourceRoot":"","sources":["../../../src/native/member/isManageable.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA6BE"} \ No newline at end of file diff --git a/dist/native/member/isManageable.js b/dist/native/member/isManageable.js new file mode 100644 index 0000000000..96bb687a4c --- /dev/null +++ b/dist/native/member/isManageable.js @@ -0,0 +1,38 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$isManageable", + version: "2.7.0", + aliases: ["$memberIsManageable"], + description: "Returns whether a member is manageable", + brackets: false, + unwrap: true, + args: [ + { + name: "guild ID", + description: "The guild to pull the member from", + rest: false, + type: structures_1.ArgType.Guild, + required: true, + }, + { + name: "user ID", + description: "The member to check for", + rest: false, + type: structures_1.ArgType.Member, + pointer: 0, + required: true, + }, + ], + output: structures_1.ArgType.Boolean, + execute(ctx, [, member]) { + member ??= ctx.member; + return this.success(member?.manageable ?? false); + }, +}); +//# sourceMappingURL=isManageable.js.map \ No newline at end of file diff --git a/dist/native/member/isManageable.js.map b/dist/native/member/isManageable.js.map new file mode 100644 index 0000000000..965362da00 --- /dev/null +++ b/dist/native/member/isManageable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isManageable.js","sourceRoot":"","sources":["../../../src/native/member/isManageable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,qBAAqB,CAAC;IAChC,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,IAAI,KAAK,CAAC,CAAA;IACpD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isModeratable.d.ts b/dist/native/member/isModeratable.d.ts new file mode 100644 index 0000000000..a824b98360 --- /dev/null +++ b/dist/native/member/isModeratable.d.ts @@ -0,0 +1,17 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + type: ArgType.Guild; + required: true; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Member; + pointer: number; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=isModeratable.d.ts.map \ No newline at end of file diff --git a/dist/native/member/isModeratable.d.ts.map b/dist/native/member/isModeratable.d.ts.map new file mode 100644 index 0000000000..9ded14797a --- /dev/null +++ b/dist/native/member/isModeratable.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"isModeratable.d.ts","sourceRoot":"","sources":["../../../src/native/member/isModeratable.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA6BE"} \ No newline at end of file diff --git a/dist/native/member/isModeratable.js b/dist/native/member/isModeratable.js new file mode 100644 index 0000000000..b7ed5703af --- /dev/null +++ b/dist/native/member/isModeratable.js @@ -0,0 +1,38 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$isModeratable", + version: "2.7.0", + aliases: ["$memberIsModeratable"], + description: "Returns whether a member is moderatable", + brackets: false, + unwrap: true, + args: [ + { + name: "guild ID", + description: "The guild to pull the member from", + rest: false, + type: structures_1.ArgType.Guild, + required: true, + }, + { + name: "user ID", + description: "The member to check for", + rest: false, + type: structures_1.ArgType.Member, + pointer: 0, + required: true, + }, + ], + output: structures_1.ArgType.Boolean, + execute(ctx, [, member]) { + member ??= ctx.member; + return this.success(member?.moderatable ?? false); + }, +}); +//# sourceMappingURL=isModeratable.js.map \ No newline at end of file diff --git a/dist/native/member/isModeratable.js.map b/dist/native/member/isModeratable.js.map new file mode 100644 index 0000000000..ac81045ba6 --- /dev/null +++ b/dist/native/member/isModeratable.js.map @@ -0,0 +1 @@ +{"version":3,"file":"isModeratable.js","sourceRoot":"","sources":["../../../src/native/member/isModeratable.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,sBAAsB,CAAC;IACjC,WAAW,EAAE,yCAAyC;IACtD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,WAAW,IAAI,KAAK,CAAC,CAAA;IACrD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isMuted.d.ts.map b/dist/native/member/isMuted.d.ts.map index cb3c12ae65..934d869cd4 100644 --- a/dist/native/member/isMuted.d.ts.map +++ b/dist/native/member/isMuted.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isMuted.d.ts","sourceRoot":"","sources":["../../../src/native/member/isMuted.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBA+BE"} \ No newline at end of file +{"version":3,"file":"isMuted.d.ts","sourceRoot":"","sources":["../../../src/native/member/isMuted.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/member/isMuted.js b/dist/native/member/isMuted.js index b516d80b1a..f6de4fa672 100644 --- a/dist/native/member/isMuted.js +++ b/dist/native/member/isMuted.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -9,7 +9,7 @@ const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isMuted", version: "1.0.0", - description: "Whether a member is muted", + description: "Returns whether a member is muted", brackets: false, unwrap: true, aliases: [ diff --git a/dist/native/member/isMuted.js.map b/dist/native/member/isMuted.js.map index 28cdc2da99..4bfe3a1150 100644 --- a/dist/native/member/isMuted.js.map +++ b/dist/native/member/isMuted.js.map @@ -1 +1 @@ -{"version":3,"file":"isMuted.js","sourceRoot":"","sources":["../../../src/native/member/isMuted.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmE;AACnE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,gBAAgB;KACnB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,YAAY,wBAAW,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAE,GAAG,CAAC,WAAW,EAAE,MAAoC,EAAE,IAAI,CAAC,IAAI,KAAK,CAAC,CAAA;IACrJ,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isMuted.js","sourceRoot":"","sources":["../../../src/native/member/isMuted.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmE;AACnE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,gBAAgB;KACnB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,YAAY,wBAAW,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAE,GAAG,CAAC,WAAW,EAAE,MAAoC,EAAE,IAAI,CAAC,IAAI,KAAK,CAAC,CAAA;IACrJ,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isSelfDeaf.d.ts.map b/dist/native/member/isSelfDeaf.d.ts.map index ed5e9ec062..2b770b5abd 100644 --- a/dist/native/member/isSelfDeaf.d.ts.map +++ b/dist/native/member/isSelfDeaf.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isSelfDeaf.d.ts","sourceRoot":"","sources":["../../../src/native/member/isSelfDeaf.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBA+BE"} \ No newline at end of file +{"version":3,"file":"isSelfDeaf.d.ts","sourceRoot":"","sources":["../../../src/native/member/isSelfDeaf.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/member/isSelfDeaf.js b/dist/native/member/isSelfDeaf.js index 8e2c8669b7..a9021a6b78 100644 --- a/dist/native/member/isSelfDeaf.js +++ b/dist/native/member/isSelfDeaf.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isSelfDeaf", version: "1.0.0", - description: "Whether a member is self deafened", + description: "Returns whether a member is self deafened", brackets: false, unwrap: true, aliases: [ diff --git a/dist/native/member/isSelfDeaf.js.map b/dist/native/member/isSelfDeaf.js.map index 11d77226ba..d7601fc9de 100644 --- a/dist/native/member/isSelfDeaf.js.map +++ b/dist/native/member/isSelfDeaf.js.map @@ -1 +1 @@ -{"version":3,"file":"isSelfDeaf.js","sourceRoot":"","sources":["../../../src/native/member/isSelfDeaf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,mBAAmB;KACtB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;IACxD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isSelfDeaf.js","sourceRoot":"","sources":["../../../src/native/member/isSelfDeaf.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,mBAAmB;KACtB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;IACxD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isSelfMuted.d.ts.map b/dist/native/member/isSelfMuted.d.ts.map index a291b66ee8..639fbf88e9 100644 --- a/dist/native/member/isSelfMuted.d.ts.map +++ b/dist/native/member/isSelfMuted.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isSelfMuted.d.ts","sourceRoot":"","sources":["../../../src/native/member/isSelfMuted.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBA+BE"} \ No newline at end of file +{"version":3,"file":"isSelfMuted.d.ts","sourceRoot":"","sources":["../../../src/native/member/isSelfMuted.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/member/isSelfMuted.js b/dist/native/member/isSelfMuted.js index c22255be92..7c45d8e83a 100644 --- a/dist/native/member/isSelfMuted.js +++ b/dist/native/member/isSelfMuted.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isSelfMuted", version: "1.0.0", - description: "Whether a member is self muted", + description: "Returns whether a member is self muted", brackets: false, unwrap: true, aliases: [ diff --git a/dist/native/member/isSelfMuted.js.map b/dist/native/member/isSelfMuted.js.map index 27a8ab63fd..2384c8d9f7 100644 --- a/dist/native/member/isSelfMuted.js.map +++ b/dist/native/member/isSelfMuted.js.map @@ -1 +1 @@ -{"version":3,"file":"isSelfMuted.js","sourceRoot":"","sources":["../../../src/native/member/isSelfMuted.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,oBAAoB;KACvB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;IACxD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isSelfMuted.js","sourceRoot":"","sources":["../../../src/native/member/isSelfMuted.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,oBAAoB;KACvB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,KAAK,GAAG,CAAC,MAAO,CAAA;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,CAAA;IACxD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isTimedOut.d.ts.map b/dist/native/member/isTimedOut.d.ts.map index 2314a531cf..fad93706d4 100644 --- a/dist/native/member/isTimedOut.d.ts.map +++ b/dist/native/member/isTimedOut.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isTimedOut.d.ts","sourceRoot":"","sources":["../../../src/native/member/isTimedOut.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBAmCE"} \ No newline at end of file +{"version":3,"file":"isTimedOut.d.ts","sourceRoot":"","sources":["../../../src/native/member/isTimedOut.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBAmCE"} \ No newline at end of file diff --git a/dist/native/member/isTimedOut.js b/dist/native/member/isTimedOut.js index 31c3111ff7..4282de0e32 100644 --- a/dist/native/member/isTimedOut.js +++ b/dist/native/member/isTimedOut.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -9,7 +9,7 @@ const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isTimedOut", version: "1.0.0", - description: "Whether an member is timed out", + description: "Returns whether a member is timed out", unwrap: true, brackets: false, aliases: [ diff --git a/dist/native/member/isTimedOut.js.map b/dist/native/member/isTimedOut.js.map index 5709cd43d2..5d78942881 100644 --- a/dist/native/member/isTimedOut.js.map +++ b/dist/native/member/isTimedOut.js.map @@ -1 +1 @@ -{"version":3,"file":"isTimedOut.js","sourceRoot":"","sources":["../../../src/native/member/isTimedOut.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmE;AACnE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,mBAAmB;KACtB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CACf,MAAM,YAAY,wBAAW;YACzB,CAAC,CAAC,MAAM,EAAE,uBAAuB,EAAE,IAAI,KAAK;YAC5C,CAAC,CAAC,CAAC,CAAE,GAAG,CAAC,WAAW,EAAE,MAAoC,EAAE,4BAA4B,CAC/F,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isTimedOut.js","sourceRoot":"","sources":["../../../src/native/member/isTimedOut.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmE;AACnE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,mBAAmB;KACtB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CACf,MAAM,YAAY,wBAAW;YACzB,CAAC,CAAC,MAAM,EAAE,uBAAuB,EAAE,IAAI,KAAK;YAC5C,CAAC,CAAC,CAAC,CAAE,GAAG,CAAC,WAAW,EAAE,MAAoC,EAAE,4BAA4B,CAC/F,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/isVerified.d.ts.map b/dist/native/member/isVerified.d.ts.map index b9bd37454a..b1d895cab8 100644 --- a/dist/native/member/isVerified.d.ts.map +++ b/dist/native/member/isVerified.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isVerified.d.ts","sourceRoot":"","sources":["../../../src/native/member/isVerified.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAElE,wBA+BE"} \ No newline at end of file +{"version":3,"file":"isVerified.d.ts","sourceRoot":"","sources":["../../../src/native/member/isVerified.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;AAE1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/member/isVerified.js b/dist/native/member/isVerified.js index 24cb610574..586fb95664 100644 --- a/dist/native/member/isVerified.js +++ b/dist/native/member/isVerified.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -11,7 +11,7 @@ exports.default = new structures_1.NativeFunction({ aliases: [ "$memberIsVerified" ], - description: "Whether a member is verified", + description: "Returns whether a member is verified", brackets: false, unwrap: true, output: structures_1.ArgType.Boolean, @@ -25,7 +25,7 @@ exports.default = new structures_1.NativeFunction({ }, { name: "user ID", - description: "The member to get its voice state", + description: "The member to get its verified status", rest: false, type: structures_1.ArgType.Member, pointer: 0, diff --git a/dist/native/member/isVerified.js.map b/dist/native/member/isVerified.js.map index d01b4130da..a8f42bbf5e 100644 --- a/dist/native/member/isVerified.js.map +++ b/dist/native/member/isVerified.js.map @@ -1 +1 @@ -{"version":3,"file":"isVerified.js","sourceRoot":"","sources":["../../../src/native/member/isVerified.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,mBAAmB;KACtB;IACD,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IAClD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isVerified.js","sourceRoot":"","sources":["../../../src/native/member/isVerified.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,mBAAmB;KACtB;IACD,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IAClD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/kickMember.d.ts b/dist/native/member/kick.d.ts similarity index 92% rename from dist/native/member/kickMember.d.ts rename to dist/native/member/kick.d.ts index e98761c4bc..4f038e9aaf 100644 --- a/dist/native/member/kickMember.d.ts +++ b/dist/native/member/kick.d.ts @@ -19,4 +19,4 @@ declare const _default: NativeFunction<[{ type: ArgType.String; }], true>; export default _default; -//# sourceMappingURL=kickMember.d.ts.map \ No newline at end of file +//# sourceMappingURL=kick.d.ts.map \ No newline at end of file diff --git a/dist/native/member/kick.d.ts.map b/dist/native/member/kick.d.ts.map new file mode 100644 index 0000000000..527aa18a4d --- /dev/null +++ b/dist/native/member/kick.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"kick.d.ts","sourceRoot":"","sources":["../../../src/native/member/kick.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;AAE1D,wBAsCE"} \ No newline at end of file diff --git a/dist/native/member/kickMember.js b/dist/native/member/kick.js similarity index 89% rename from dist/native/member/kickMember.js rename to dist/native/member/kick.js index e9cf0ada86..e8c0193947 100644 --- a/dist/native/member/kickMember.js +++ b/dist/native/member/kick.js @@ -1,17 +1,18 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ - name: "$kickMember", + name: "$kick", version: "1.0.0", description: "Kicks a member from the guild, returns true or false depending on whether the action was successfully performed", unwrap: true, brackets: true, aliases: [ + "$kickMember", "$memberKick" ], output: structures_1.ArgType.Boolean, @@ -42,4 +43,4 @@ exports.default = new structures_1.NativeFunction({ return this.success((await member.kick(reason || ctx.reason).catch(() => false)) !== false); }, }); -//# sourceMappingURL=kickMember.js.map \ No newline at end of file +//# sourceMappingURL=kick.js.map \ No newline at end of file diff --git a/dist/native/member/kick.js.map b/dist/native/member/kick.js.map new file mode 100644 index 0000000000..810b44bb91 --- /dev/null +++ b/dist/native/member/kick.js.map @@ -0,0 +1 @@ +{"version":3,"file":"kick.js","sourceRoot":"","sources":["../../../src/native/member/kick.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EACP,iHAAiH;IACrH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE;QACL,aAAa;QACb,aAAa;KAChB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,KAAK,CAAC,CAAA;IAC/F,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/kickMember.d.ts.map b/dist/native/member/kickMember.d.ts.map deleted file mode 100644 index df0aa85668..0000000000 --- a/dist/native/member/kickMember.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"kickMember.d.ts","sourceRoot":"","sources":["../../../src/native/member/kickMember.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;AAElE,wBAqCE"} \ No newline at end of file diff --git a/dist/native/member/kickMember.js.map b/dist/native/member/kickMember.js.map deleted file mode 100644 index a766a8df94..0000000000 --- a/dist/native/member/kickMember.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"kickMember.js","sourceRoot":"","sources":["../../../src/native/member/kickMember.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EACP,iHAAiH;IACrH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE;QACL,aAAa;KAChB;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,KAAK,CAAC,CAAA;IAC/F,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/memberActivity.js b/dist/native/member/memberActivity.js index 5e00ef9bc7..4ee37e7641 100644 --- a/dist/native/member/memberActivity.js +++ b/dist/native/member/memberActivity.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/member/memberAddRoles.js b/dist/native/member/memberAddRoles.js index 7d14b20705..245ee416a2 100644 --- a/dist/native/member/memberAddRoles.js +++ b/dist/native/member/memberAddRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberAvatar.js b/dist/native/member/memberAvatar.js index a74aa1260b..934cf1cd96 100644 --- a/dist/native/member/memberAvatar.js +++ b/dist/native/member/memberAvatar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/memberAvatar.js.map b/dist/native/member/memberAvatar.js.map index 4a85715cbb..5da50f0889 100644 --- a/dist/native/member/memberAvatar.js.map +++ b/dist/native/member/memberAvatar.js.map @@ -1 +1 @@ -{"version":3,"file":"memberAvatar.js","sourceRoot":"","sources":["../../../src/native/member/memberAvatar.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwE;AACxE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IA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,CAAA;SACN;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM;YAClC,CAAC,CAAC,IAAI,gBAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE;gBACnD,SAAS,EAAG,GAAsB,IAAI,SAAS;gBAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;aACpC,CAAC;YACF,CAAC,CAAC,CAAC,MAAM,YAAY,wBAAW,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,CAC1E,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"memberAvatar.js","sourceRoot":"","sources":["../../../src/native/member/memberAvatar.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwE;AACxE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC;QACjC,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAE5D,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,gBAAG,EAAE,CAAC,iBAAiB,CAAC,KAAK,EAAE,EAAE,IAAI,GAAG,CAAC,KAAK,EAAE,EAAE,IAAI,GAAG,CAAC,WAAW,EAAE,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE;gBACnI,SAAS,EAAG,GAAsB,IAAI,SAAS;gBAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;aACpC,CAAC,CAAC,CAAA;QACP,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM;YAClC,CAAC,CAAC,IAAI,gBAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE;gBACnD,SAAS,EAAG,GAAsB,IAAI,SAAS;gBAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;aACpC,CAAC;YACF,CAAC,CAAC,CAAC,MAAM,YAAY,wBAAW,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,CAC1E,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/memberAvatarDecoration.js b/dist/native/member/memberAvatarDecoration.js index 4dd5ca40de..18af968f11 100644 --- a/dist/native/member/memberAvatarDecoration.js +++ b/dist/native/member/memberAvatarDecoration.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/memberAvatarDecoration.js.map b/dist/native/member/memberAvatarDecoration.js.map index e1a197d269..6c528639a8 100644 --- a/dist/native/member/memberAvatarDecoration.js.map +++ b/dist/native/member/memberAvatarDecoration.js.map @@ -1 +1 @@ -{"version":3,"file":"memberAvatarDecoration.js","sourceRoot":"","sources":["../../../src/native/member/memberAvatarDecoration.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwE;AACxE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,IAAI,KAAK,CAAA;QAET,IAAI,MAAM,YAAY,wBAAW,EAAE;YAC/B,KAAK,GAAG,MAAM,CAAC,oBAAoB,IAAI,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAA;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,MAAmC,CAAA;YAChD,KAAK,GAAG,IAAI,CAAC,sBAAsB,IAAI,IAAI,CAAC,IAAI,EAAE,sBAAsB,CAAA;SAC3E;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,gBAAG,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAC/E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"memberAvatarDecoration.js","sourceRoot":"","sources":["../../../src/native/member/memberAvatarDecoration.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwE;AACxE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC;QACjB,MAAM,MAAM,GAAG,IAAI,IAAI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,WAAW,EAAE,MAAM,CAAA;QAC5D,IAAI,KAAK,CAAA;QAET,IAAI,MAAM,YAAY,wBAAW,EAAE,CAAC;YAChC,KAAK,GAAG,MAAM,CAAC,oBAAoB,IAAI,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAA;QAC5E,CAAC;aAAM,CAAC;YACJ,MAAM,IAAI,GAAG,MAAmC,CAAA;YAChD,KAAK,GAAG,IAAI,CAAC,sBAAsB,IAAI,IAAI,CAAC,IAAI,EAAE,sBAAsB,CAAA;QAC5E,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,gBAAG,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAC/E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/memberBanner.js b/dist/native/member/memberBanner.js index 7c1cf36c18..79206f0d7d 100644 --- a/dist/native/member/memberBanner.js +++ b/dist/native/member/memberBanner.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/memberBanner.js.map b/dist/native/member/memberBanner.js.map index 6782d6d455..0ac3e208c5 100644 --- a/dist/native/member/memberBanner.js.map +++ b/dist/native/member/memberBanner.js.map @@ -1 +1 @@ -{"version":3,"file":"memberBanner.js","sourceRoot":"","sources":["../../../src/native/member/memberBanner.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwE;AACxE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,Q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I,CAAC,EAAE,EAAE,MAAM,CAAC,MAAM,EAAE;gBACnI,SAAS,EAAG,GAAsB,IAAI,SAAS;gBAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;aACpC,CAAC,CAAC,CAAA;SACN;QAED,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAA;QAC1F,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM;YACtB,CAAC,CAAC,IAAI,gBAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE;gBACvC,SAAS,EAAG,GAAsB,IAAI,SAAS;gBAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;aACpC,CAAC;YACF,CAAC,CAAC,IAAI,CACT,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"memberBanner.js","sourceRoot":"","sources":["../../../src/native/member/memberBanner.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAwE;AACxE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,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O,IAAI,CAAC,OAAO,CAAC,MAAM;YACtB,CAAC,CAAC,IAAI,gBAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE;gBACvC,SAAS,EAAG,GAAsB,IAAI,SAAS;gBAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;aACpC,CAAC;YACF,CAAC,CAAC,IAAI,CACT,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/memberBoostingSince.js b/dist/native/member/memberBoostingSince.js index f408fa6bf0..fcb67989d5 100644 --- a/dist/native/member/memberBoostingSince.js +++ b/dist/native/member/memberBoostingSince.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/memberBotRoleID.js b/dist/native/member/memberBotRoleID.js index 2e0ffcc721..47be10ccb0 100644 --- a/dist/native/member/memberBotRoleID.js +++ b/dist/native/member/memberBotRoleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberCustomStatus.js b/dist/native/member/memberCustomStatus.js index 3837292e74..bf0806b39e 100644 --- a/dist/native/member/memberCustomStatus.js +++ b/dist/native/member/memberCustomStatus.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomStatusType = void 0; diff --git a/dist/native/member/memberDisplayColor.js b/dist/native/member/memberDisplayColor.js index 2fb5526438..fa206c9df0 100644 --- a/dist/native/member/memberDisplayColor.js +++ b/dist/native/member/memberDisplayColor.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberDisplayName.js b/dist/native/member/memberDisplayName.js index 841f7b6c01..a669e06c3c 100644 --- a/dist/native/member/memberDisplayName.js +++ b/dist/native/member/memberDisplayName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberExists.d.ts.map b/dist/native/member/memberExists.d.ts.map index 8d59498619..7764e3cb9b 100644 --- a/dist/native/member/memberExists.d.ts.map +++ b/dist/native/member/memberExists.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"memberExists.d.ts","sourceRoot":"","sources":["../../../src/native/member/memberExists.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAoB,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAEpF,wBA0BE"} \ No newline at end of file +{"version":3,"file":"memberExists.d.ts","sourceRoot":"","sources":["../../../src/native/member/memberExists.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAoB,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAE5E,wBA0BE"} \ No newline at end of file diff --git a/dist/native/member/memberExists.js b/dist/native/member/memberExists.js index f42cf0f621..b8f528028b 100644 --- a/dist/native/member/memberExists.js +++ b/dist/native/member/memberExists.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$memberExists", version: "1.0.0", - description: "Returns whether an member id exists", + description: "Returns whether a member id exists on a guild", unwrap: true, brackets: true, output: structures_1.ArgType.Boolean, diff --git a/dist/native/member/memberExists.js.map b/dist/native/member/memberExists.js.map index e532818307..8e99aa8d4c 100644 --- a/dist/native/member/memberExists.js.map +++ b/dist/native/member/memberExists.js.map @@ -1 +1 @@ -{"version":3,"file":"memberExists.js","sourceRoot":"","sources":["../../../src/native/member/memberExists.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAoF;AAEpF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,KAAK,CAAC,CAAA;IAC1H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"memberExists.js","sourceRoot":"","sources":["../../../src/native/member/memberExists.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA4E;AAE5E,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+CAA+C;IAC5D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,6BAAgB,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,KAAK,CAAC,CAAA;IAC1H,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/member/memberFlags.js b/dist/native/member/memberFlags.js index cb3b9f64a3..7867ed27e6 100644 --- a/dist/native/member/memberFlags.js +++ b/dist/native/member/memberFlags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/member/memberHighestRoleID.js b/dist/native/member/memberHighestRoleID.js index a95b7aa13c..c6c326cc78 100644 --- a/dist/native/member/memberHighestRoleID.js +++ b/dist/native/member/memberHighestRoleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberJoinPosition.js b/dist/native/member/memberJoinPosition.js index ede354618c..ff1320a699 100644 --- a/dist/native/member/memberJoinPosition.js +++ b/dist/native/member/memberJoinPosition.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberJoinedAt.js b/dist/native/member/memberJoinedAt.js index 7ea146924a..b5dd337c5e 100644 --- a/dist/native/member/memberJoinedAt.js +++ b/dist/native/member/memberJoinedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/memberLowestRoleID.js b/dist/native/member/memberLowestRoleID.js index 83fbf337d3..1123d83b50 100644 --- a/dist/native/member/memberLowestRoleID.js +++ b/dist/native/member/memberLowestRoleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberPerms.js b/dist/native/member/memberPerms.js index 16d94b0f7e..5fc40a3954 100644 --- a/dist/native/member/memberPerms.js +++ b/dist/native/member/memberPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/member/memberRawData.js b/dist/native/member/memberRawData.js index 756505b2b1..f4fe108e04 100644 --- a/dist/native/member/memberRawData.js +++ b/dist/native/member/memberRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberRemoveRoles.js b/dist/native/member/memberRemoveRoles.js index e26cdc860e..eea735cacc 100644 --- a/dist/native/member/memberRemoveRoles.js +++ b/dist/native/member/memberRemoveRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberRoles.js b/dist/native/member/memberRoles.js index 7ae3928479..67b4f6bbaa 100644 --- a/dist/native/member/memberRoles.js +++ b/dist/native/member/memberRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/member/memberSetNickname.js b/dist/native/member/memberSetNickname.js index 9779d5b01e..a11f3cd2a5 100644 --- a/dist/native/member/memberSetNickname.js +++ b/dist/native/member/memberSetNickname.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberSetRoles.js b/dist/native/member/memberSetRoles.js index 13618243b1..37ee9416f0 100644 --- a/dist/native/member/memberSetRoles.js +++ b/dist/native/member/memberSetRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/memberTimeoutDuration.js b/dist/native/member/memberTimeoutDuration.js index 6af04f022c..eb79dff1f0 100644 --- a/dist/native/member/memberTimeoutDuration.js +++ b/dist/native/member/memberTimeoutDuration.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/nickname.js b/dist/native/member/nickname.js index 4a95fe70c9..8af69dab19 100644 --- a/dist/native/member/nickname.js +++ b/dist/native/member/nickname.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/member/platform.js b/dist/native/member/platform.js index 9fedae3c69..45f9353e42 100644 --- a/dist/native/member/platform.js +++ b/dist/native/member/platform.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/member/pruneMembers.js b/dist/native/member/pruneMembers.js index 006e66e181..3b652697fd 100644 --- a/dist/native/member/pruneMembers.js +++ b/dist/native/member/pruneMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/randomMemberID.js b/dist/native/member/randomMemberID.js index 73139fef67..1a129ad8fb 100644 --- a/dist/native/member/randomMemberID.js +++ b/dist/native/member/randomMemberID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/status.js b/dist/native/member/status.js index 41ef8ecdd6..2f0bdf3d9d 100644 --- a/dist/native/member/status.js +++ b/dist/native/member/status.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/timeout.js b/dist/native/member/timeout.js index df7ce67fae..74fa6227c7 100644 --- a/dist/native/member/timeout.js +++ b/dist/native/member/timeout.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/unban.js b/dist/native/member/unban.js index d4692fb183..5dde3c7b69 100644 --- a/dist/native/member/unban.js +++ b/dist/native/member/unban.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/voiceID.js b/dist/native/member/voiceID.js index 67019c63d0..c74bea7071 100644 --- a/dist/native/member/voiceID.js +++ b/dist/native/member/voiceID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/voiceKick.js b/dist/native/member/voiceKick.js index e86eaa38f8..4039ed9455 100644 --- a/dist/native/member/voiceKick.js +++ b/dist/native/member/voiceKick.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/member/voiceMove.d.ts b/dist/native/member/voiceMove.d.ts index 7fd4ed087f..e0084a4b72 100644 --- a/dist/native/member/voiceMove.d.ts +++ b/dist/native/member/voiceMove.d.ts @@ -19,7 +19,7 @@ declare const _default: NativeFunction<[{ rest: false; required: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").VoiceBasedChannel; }, { name: string; description: string; diff --git a/dist/native/member/voiceMove.js b/dist/native/member/voiceMove.js index 261d0d7dd1..a02f6e13bc 100644 --- a/dist/native/member/voiceMove.js +++ b/dist/native/member/voiceMove.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/disableAllMentions.d.ts b/dist/native/mention/disableAllMentions.d.ts index 4e10fda22d..c198bc9276 100644 --- a/dist/native/mention/disableAllMentions.d.ts +++ b/dist/native/mention/disableAllMentions.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=disableAllMentions.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/disableAllMentions.js b/dist/native/mention/disableAllMentions.js index ea06f6b163..0e9e81b23d 100644 --- a/dist/native/mention/disableAllMentions.js +++ b/dist/native/mention/disableAllMentions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/disableEveryoneMention.d.ts b/dist/native/mention/disableEveryoneMention.d.ts index ba2518ff16..82380488be 100644 --- a/dist/native/mention/disableEveryoneMention.d.ts +++ b/dist/native/mention/disableEveryoneMention.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=disableEveryoneMention.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/disableEveryoneMention.js b/dist/native/mention/disableEveryoneMention.js index 10d7b9d498..a1b249f927 100644 --- a/dist/native/mention/disableEveryoneMention.js +++ b/dist/native/mention/disableEveryoneMention.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/disableRoleMentions.d.ts b/dist/native/mention/disableRoleMentions.d.ts index c3447687f1..35cd74d140 100644 --- a/dist/native/mention/disableRoleMentions.d.ts +++ b/dist/native/mention/disableRoleMentions.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=disableRoleMentions.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/disableRoleMentions.js b/dist/native/mention/disableRoleMentions.js index 74294661b7..04c52ba70c 100644 --- a/dist/native/mention/disableRoleMentions.js +++ b/dist/native/mention/disableRoleMentions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/disableUserMentions.d.ts b/dist/native/mention/disableUserMentions.d.ts index 004e28d39e..f2e3b73124 100644 --- a/dist/native/mention/disableUserMentions.d.ts +++ b/dist/native/mention/disableUserMentions.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=disableUserMentions.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/disableUserMentions.js b/dist/native/mention/disableUserMentions.js index be560b7201..9d8b1e1e59 100644 --- a/dist/native/mention/disableUserMentions.js +++ b/dist/native/mention/disableUserMentions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/enableAllMentions.d.ts b/dist/native/mention/enableAllMentions.d.ts index 738258c9b6..491a6dee05 100644 --- a/dist/native/mention/enableAllMentions.d.ts +++ b/dist/native/mention/enableAllMentions.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=enableAllMentions.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/enableAllMentions.js b/dist/native/mention/enableAllMentions.js index b1f8a4aa15..6ea5855312 100644 --- a/dist/native/mention/enableAllMentions.js +++ b/dist/native/mention/enableAllMentions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/enableRoleMentions.js b/dist/native/mention/enableRoleMentions.js index 1b49d4acae..ad5a7cf37d 100644 --- a/dist/native/mention/enableRoleMentions.js +++ b/dist/native/mention/enableRoleMentions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/enableUserMentions.js b/dist/native/mention/enableUserMentions.js index f41063a9d7..e534f07777 100644 --- a/dist/native/mention/enableUserMentions.js +++ b/dist/native/mention/enableUserMentions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/isChannelMentioned.d.ts b/dist/native/mention/isChannelMentioned.d.ts index 492b5aeb32..f9974b93ff 100644 --- a/dist/native/mention/isChannelMentioned.d.ts +++ b/dist/native/mention/isChannelMentioned.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; rest: false; description: string; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; required: true; type: ArgType.Channel; }, { diff --git a/dist/native/mention/isChannelMentioned.js b/dist/native/mention/isChannelMentioned.js index 7272eeecd9..0a7404c744 100644 --- a/dist/native/mention/isChannelMentioned.js +++ b/dist/native/mention/isChannelMentioned.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/isRoleMentioned.d.ts b/dist/native/mention/isRoleMentioned.d.ts index a653ab27d9..d7c627186d 100644 --- a/dist/native/mention/isRoleMentioned.d.ts +++ b/dist/native/mention/isRoleMentioned.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; rest: false; description: string; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; required: true; type: ArgType.Channel; }, { diff --git a/dist/native/mention/isRoleMentioned.js b/dist/native/mention/isRoleMentioned.js index 124543b2bd..8a8dbc1f54 100644 --- a/dist/native/mention/isRoleMentioned.js +++ b/dist/native/mention/isRoleMentioned.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/isUserMentioned.d.ts b/dist/native/mention/isUserMentioned.d.ts index d633c06fec..9c491f77af 100644 --- a/dist/native/mention/isUserMentioned.d.ts +++ b/dist/native/mention/isUserMentioned.d.ts @@ -4,7 +4,7 @@ declare const _default: NativeFunction<[{ name: string; rest: false; description: string; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; required: true; type: ArgType.Channel; }, { diff --git a/dist/native/mention/isUserMentioned.js b/dist/native/mention/isUserMentioned.js index 20b896eb4d..a8084f97ff 100644 --- a/dist/native/mention/isUserMentioned.js +++ b/dist/native/mention/isUserMentioned.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/mentioned.js b/dist/native/mention/mentioned.js index 4c307220df..1d73d49ca7 100644 --- a/dist/native/mention/mentioned.js +++ b/dist/native/mention/mentioned.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/mention/mentionedChannelCount.d.ts b/dist/native/mention/mentionedChannelCount.d.ts index efba1a5314..2afe078de0 100644 --- a/dist/native/mention/mentionedChannelCount.d.ts +++ b/dist/native/mention/mentionedChannelCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=mentionedChannelCount.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/mentionedChannelCount.js b/dist/native/mention/mentionedChannelCount.js index 7aa4e1f726..3025e5c4c0 100644 --- a/dist/native/mention/mentionedChannelCount.js +++ b/dist/native/mention/mentionedChannelCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/mentionedChannels.js b/dist/native/mention/mentionedChannels.js index 98f5e77cf7..ec6ec6534d 100644 --- a/dist/native/mention/mentionedChannels.js +++ b/dist/native/mention/mentionedChannels.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/mention/mentionedRoleCount.d.ts b/dist/native/mention/mentionedRoleCount.d.ts index 18e06e6362..8325711d04 100644 --- a/dist/native/mention/mentionedRoleCount.d.ts +++ b/dist/native/mention/mentionedRoleCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=mentionedRoleCount.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/mentionedRoleCount.js b/dist/native/mention/mentionedRoleCount.js index 2504505de9..0558d37399 100644 --- a/dist/native/mention/mentionedRoleCount.js +++ b/dist/native/mention/mentionedRoleCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/mentionedRoles.js b/dist/native/mention/mentionedRoles.js index a4369fe535..87328a2352 100644 --- a/dist/native/mention/mentionedRoles.js +++ b/dist/native/mention/mentionedRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/mention/mentionedUserCount.d.ts b/dist/native/mention/mentionedUserCount.d.ts index d9fb9b8500..e36373c51c 100644 --- a/dist/native/mention/mentionedUserCount.d.ts +++ b/dist/native/mention/mentionedUserCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=mentionedUserCount.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/mentionedUserCount.js b/dist/native/mention/mentionedUserCount.js index 82cdc5e79a..f1c68902d5 100644 --- a/dist/native/mention/mentionedUserCount.js +++ b/dist/native/mention/mentionedUserCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/mention/nomention.d.ts b/dist/native/mention/nomention.d.ts index dc3e69d2df..169bb6d099 100644 --- a/dist/native/mention/nomention.d.ts +++ b/dist/native/mention/nomention.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=nomention.d.ts.map \ No newline at end of file diff --git a/dist/native/mention/nomention.js b/dist/native/mention/nomention.js index ed903e7e9f..4db67163ba 100644 --- a/dist/native/mention/nomention.js +++ b/dist/native/mention/nomention.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/addMessageReactions.d.ts b/dist/native/message/addMessageReactions.d.ts index 0571a54a61..e852f5bc6a 100644 --- a/dist/native/message/addMessageReactions.d.ts +++ b/dist/native/message/addMessageReactions.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: TextBasedChannel) => boolean; + check: (i: TextBasedChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialDMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/addMessageReactions.js b/dist/native/message/addMessageReactions.js index 57a0a1f2d8..82ae890b0f 100644 --- a/dist/native/message/addMessageReactions.js +++ b/dist/native/message/addMessageReactions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/addMessageReactions.js.map b/dist/native/message/addMessageReactions.js.map index afe5bd4482..6fb1a0aa6a 100644 --- a/dist/native/message/addMessageReactions.js.map +++ b/dist/native/message/addMessageReactions.js.map @@ -1 +1 @@ -{"version":3,"file":"addMessageReactions.js","sourceRoot":"","sources":["../../../src/native/message/addMessageReactions.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAGlE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4EAA4E;IACzF,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAmB,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAClD;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC;QAClC,IAAI,KAAK,GAAG,CAAC,CAAA;QAEb,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE;YACxB,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC1D,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;SACvB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addMessageReactions.js","sourceRoot":"","sources":["../../../src/native/message/addMessageReactions.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAGlE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,sBAAsB;IAC5B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4EAA4E;IACzF,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAmB,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAClD;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC;QAClC,IAAI,KAAK,GAAG,CAAC,CAAA;QAEb,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YACzB,MAAM,OAAO,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC1D,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/attachment.d.ts b/dist/native/message/attachment.d.ts index e472497a86..e6e25d24ca 100644 --- a/dist/native/message/attachment.d.ts +++ b/dist/native/message/attachment.d.ts @@ -26,6 +26,11 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.String; +}, { + name: string; + description: string; + rest: false; + type: ArgType.String; }], true>; export default _default; //# sourceMappingURL=attachment.d.ts.map \ No newline at end of file diff --git a/dist/native/message/attachment.d.ts.map b/dist/native/message/attachment.d.ts.map index 3155183366..01d52354ec 100644 --- a/dist/native/message/attachment.d.ts.map +++ b/dist/native/message/attachment.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../src/native/message/attachment.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAoDE"} \ No newline at end of file +{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../src/native/message/attachment.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBAyDE"} \ No newline at end of file diff --git a/dist/native/message/attachment.js b/dist/native/message/attachment.js index a699b6b681..ac03a0323b 100644 --- a/dist/native/message/attachment.js +++ b/dist/native/message/attachment.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -9,12 +9,10 @@ const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$attachment", version: "1.0.0", - brackets: true, description: "Adds an attachment to the response", + aliases: ["$addAttachment"], unwrap: true, - aliases: [ - "$addAttachment" - ], + brackets: true, args: [ { name: "path", @@ -47,11 +45,18 @@ exports.default = new structures_1.NativeFunction({ description: "The description for this attachment", rest: false, type: structures_1.ArgType.String + }, + { + name: "title", + description: "The title for this attachment", + rest: false, + type: structures_1.ArgType.String } ], - execute(ctx, [url, name, asText, enc, desc]) { + execute(ctx, [url, name, asText, enc, desc, title]) { const attachment = new discord_js_1.AttachmentBuilder(asText ? Buffer.from(url, enc ?? "utf-8") : url, { name, + title: title || undefined, description: desc || undefined }); ctx.container.files.push(attachment); diff --git a/dist/native/message/attachment.js.map b/dist/native/message/attachment.js.map index 8648e33852..da7682a844 100644 --- a/dist/native/message/attachment.js.map +++ b/dist/native/message/attachment.js.map @@ -1 +1 @@ -{"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../../src/native/message/attachment.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA8C;AAC9C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE;QACL,gBAAgB;KACnB;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC;QACvC,MAAM,UAAU,GAAG,IAAI,8BAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,GAAqB,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE;YACxG,IAAI;YACJ,WAAW,EAAE,IAAI,IAAI,SAAS;SACjC,CAAC,CAAA;QAEF,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACpC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../../src/native/message/attachment.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CA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B,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,EAAE;YACxG,IAAI;YACJ,KAAK,EAAE,KAAK,IAAI,SAAS;YACzB,WAAW,EAAE,IAAI,IAAI,SAAS;SACjC,CAAC,CAAA;QAEF,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACpC,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/deleteAllMessageReactions.d.ts b/dist/native/message/deleteAllMessageReactions.d.ts index 152a618ea7..4e46fc7124 100644 --- a/dist/native/message/deleteAllMessageReactions.d.ts +++ b/dist/native/message/deleteAllMessageReactions.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: TextBasedChannel) => boolean; + check: (i: TextBasedChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialDMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/deleteAllMessageReactions.js b/dist/native/message/deleteAllMessageReactions.js index f942eb96dc..0f55c98a0d 100644 --- a/dist/native/message/deleteAllMessageReactions.js +++ b/dist/native/message/deleteAllMessageReactions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/deleteIn.js b/dist/native/message/deleteIn.js index 91af2399a1..f3296acedc 100644 --- a/dist/native/message/deleteIn.js +++ b/dist/native/message/deleteIn.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/deleteMessage.d.ts b/dist/native/message/deleteMessage.d.ts index c7f6bc8cec..b1950bb337 100644 --- a/dist/native/message/deleteMessage.d.ts +++ b/dist/native/message/deleteMessage.d.ts @@ -1,11 +1,11 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, TextChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; description: string; rest: false; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; type: ArgType.Channel; }, { name: string; diff --git a/dist/native/message/deleteMessage.d.ts.map b/dist/native/message/deleteMessage.d.ts.map index a2c1694936..b887375c21 100644 --- a/dist/native/message/deleteMessage.d.ts.map +++ b/dist/native/message/deleteMessage.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"deleteMessage.d.ts","sourceRoot":"","sources":["../../../src/native/message/deleteMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAe,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAmB3C,WAAW;;;;;;;;;;AAhBlC,wBAgDE"} \ No newline at end of file +{"version":3,"file":"deleteMessage.d.ts","sourceRoot":"","sources":["../../../src/native/message/deleteMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;eAmB3C,WAAW;;;;;;;;;;AAhBlC,wBAgDE"} \ No newline at end of file diff --git a/dist/native/message/deleteMessage.js b/dist/native/message/deleteMessage.js index cb90691aeb..2e32212408 100644 --- a/dist/native/message/deleteMessage.js +++ b/dist/native/message/deleteMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/deleteMessage.js.map b/dist/native/message/deleteMessage.js.map index 4f7132c099..670efe89a0 100644 --- a/dist/native/message/deleteMessage.js.map +++ b/dist/native/message/deleteMessage.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteMessage.js","sourceRoot":"","sources":["../../../src/native/message/deleteMessage.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAGlE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,EAAE;QACL,iBAAiB;KACpB;IACD,WAAW,EAAE,+DAA+D;IAC5E,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;YAC1C,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;QAClC,MAAM,EAAE,GAAI,OAAuB,CAAA;QACnC,IAAI,CAAC,QAAQ,CAAC,MAAM;YAAE,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;QAE5C,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;YACvB,IAAI;gBACA,MAAM,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;gBACrC,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;aACzB;YAAC,OAAO,KAAK,EAAE;gBACZ,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;gBACf,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;aACzB;SACJ;QAED,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE;aAChB,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC;aAC1B,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;aACnB,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAA;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;IAC5B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteMessage.js","sourceRoot":"","sources":["../../../src/native/message/deleteMessage.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAGlE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,EAAE;QACL,iBAAiB;KACpB;IACD,WAAW,EAAE,+DAA+D;IAC5E,IAAI,EAAE;QACF;YACI,IAAI,EAAE,Y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A;IAC5B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/deleteUserMessageReaction.d.ts b/dist/native/message/deleteUserMessageReaction.d.ts index cd9564e423..71424ee9a5 100644 --- a/dist/native/message/deleteUserMessageReaction.d.ts +++ b/dist/native/message/deleteUserMessageReaction.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: TextBasedChannel) => boolean; + check: (i: TextBasedChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialDMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/deleteUserMessageReaction.js b/dist/native/message/deleteUserMessageReaction.js index 1725884e0c..fc0773105d 100644 --- a/dist/native/message/deleteUserMessageReaction.js +++ b/dist/native/message/deleteUserMessageReaction.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/editMessage.d.ts b/dist/native/message/editMessage.d.ts index 00a8d1eefa..625ef288ed 100644 --- a/dist/native/message/editMessage.d.ts +++ b/dist/native/message/editMessage.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; type: ArgType.Channel; rest: false; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/editMessage.js b/dist/native/message/editMessage.js index 45f851443f..69c18594ee 100644 --- a/dist/native/message/editMessage.js +++ b/dist/native/message/editMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/fetchComponents.js b/dist/native/message/fetchComponents.js index 4886a3d1d1..85ed30dfd3 100644 --- a/dist/native/message/fetchComponents.js +++ b/dist/native/message/fetchComponents.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/fetchEmbeds.js b/dist/native/message/fetchEmbeds.js index 2213ef975d..e4b03bc06a 100644 --- a/dist/native/message/fetchEmbeds.js +++ b/dist/native/message/fetchEmbeds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/message/fetchEmbeds.js.map b/dist/native/message/fetchEmbeds.js.map index 99ee9e2ed4..7c3a91cc31 100644 --- a/dist/native/message/fetchEmbeds.js.map +++ b/dist/native/message/fetchEmbeds.js.map @@ -1 +1 @@ -{"version":3,"file":"fetchEmbeds.js","sourceRoot":"","sources":["../../../src/native/message/fetchEmbeds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsD;AACtD,iDAA0D;AAG1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,aAAa;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C,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QACnE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"fetchEmbeds.js","sourceRoot":"","sources":["../../../src/native/message/fetchEmbeds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAsD;AACtD,iDAA0D;AAG1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,aAAa;QACb,aAAa;QACb,cAAc;KACjB;IACD,WAAW,EAAE,oEAAoE;IACjF,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,AAAD,EAAG,GAAG,EAAE,KAAK,CAAE;QACzB,GAAG,KAAK,GAAG,CAAC,OAAQ,CAAA;QACpB,MAAM,MAAM,GAAG,GAAG,EAAE,MAAM,CAAA;QAE1B,IAAI,MAAM,KAAK,SAAS;YACpB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QAEzB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC5B,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;YAC3B,IAAI,CAAC,KAAK;gBACN,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;YACzB,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,yBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAA;YACnD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;QACzB,CAAC;QAED,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QACnE,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/fetchMessage.js b/dist/native/message/fetchMessage.js index 9f0106825f..99cda99399 100644 --- a/dist/native/message/fetchMessage.js +++ b/dist/native/message/fetchMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/fetchResponse.js b/dist/native/message/fetchResponse.js index 53219f029d..352205c9b9 100644 --- a/dist/native/message/fetchResponse.js +++ b/dist/native/message/fetchResponse.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -12,7 +12,7 @@ exports.default = new structures_1.NativeFunction({ version: "1.4.0", brackets: false, unwrap: true, - description: "Fetches all data from the message and loads it to response, this includes: embeds, components, attachments, stickers", + description: "Fetches all data from the message and loads it to the next response, this includes: embeds, components, attachments, stickers", args: [ { name: "channel ID", diff --git a/dist/native/message/fetchResponse.js.map b/dist/native/message/fetchResponse.js.map index 1e64434382..0bad7c002a 100644 --- a/dist/native/message/fetchResponse.js.map +++ b/dist/native/message/fetchResponse.js.map @@ -1 +1 @@ -{"version":3,"file":"fetchResponse.js","sourceRoot":"","sources":["../../../src/native/message/fetchResponse.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,sHAAsH;IACnI,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAE;QACjB,GAAG,KAAK,GAAG,CAAC,OAAQ,CAAA;QACpB,IAAI,GAAG,EAAE;YACL,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YACvE,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,2BAAc,EAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;YACjF,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,8BAAiB,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;YACrG,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;SAC9D;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"fetchResponse.js","sourceRoot":"","sources":["../../../src/native/message/fetchResponse.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,+HAA+H;IAC5I,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAE;QACjB,GAAG,KAAK,GAAG,CAAC,OAAQ,CAAA;QACpB,IAAI,GAAG,EAAE,CAAC;YACN,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YACvE,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,2BAAc,EAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;YACjF,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,8BAAiB,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;YACrG,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QAC/D,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/fetchSnapshot.d.ts b/dist/native/message/fetchSnapshot.d.ts new file mode 100644 index 0000000000..dadc62c3ab --- /dev/null +++ b/dist/native/message/fetchSnapshot.d.ts @@ -0,0 +1,22 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.TextChannel; +}, { + name: string; + description: string; + rest: false; + required: true; + pointer: number; + type: ArgType.Message; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Number; +}], true>; +export default _default; +//# sourceMappingURL=fetchSnapshot.d.ts.map \ No newline at end of file diff --git a/dist/native/message/fetchSnapshot.d.ts.map b/dist/native/message/fetchSnapshot.d.ts.map new file mode 100644 index 0000000000..c13c403629 --- /dev/null +++ b/dist/native/message/fetchSnapshot.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"fetchSnapshot.d.ts","sourceRoot":"","sources":["../../../src/native/message/fetchSnapshot.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;AAG1D,wBAwCE"} \ No newline at end of file diff --git a/dist/native/message/fetchSnapshot.js b/dist/native/message/fetchSnapshot.js new file mode 100644 index 0000000000..9a5d6c9264 --- /dev/null +++ b/dist/native/message/fetchSnapshot.js @@ -0,0 +1,51 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const discord_js_1 = require("discord.js"); +const structures_1 = require("../../structures"); +const components_1 = require("../../functions/components"); +exports.default = new structures_1.NativeFunction({ + name: "$fetchSnapshot", + version: "2.7.0", + brackets: false, + unwrap: true, + description: "Fetches all data from a message snapshot and loads it to the next response", + args: [ + { + name: "channel ID", + description: "The channel to pull message from", + rest: false, + required: true, + type: structures_1.ArgType.TextChannel, + }, + { + name: "message ID", + description: "The message to fetch its data", + rest: false, + required: true, + pointer: 0, + type: structures_1.ArgType.Message, + }, + { + name: "index", + description: "The index of the snapshot to fetch, defaults to 0", + rest: false, + type: structures_1.ArgType.Number, + }, + ], + execute(ctx, [, message, index]) { + const snapshot = (message ?? ctx.message)?.messageSnapshots.at(index || 0); + if (snapshot) { + ctx.container.content = snapshot.content; + ctx.container.embeds.push(...snapshot.embeds.map(x => discord_js_1.EmbedBuilder.from(x))); + ctx.container.components.push(...snapshot.components.map(x => (0, components_1.buildComponent)(x, ctx))); + ctx.container.files.push(...snapshot.attachments.map(x => new discord_js_1.AttachmentBuilder(x.url, { name: x.name }))); + ctx.container.stickers.push(...snapshot.stickers.map(x => x.id)); + } + return this.success(); + }, +}); +//# sourceMappingURL=fetchSnapshot.js.map \ No newline at end of file diff --git a/dist/native/message/fetchSnapshot.js.map b/dist/native/message/fetchSnapshot.js.map new file mode 100644 index 0000000000..017053ed56 --- /dev/null +++ b/dist/native/message/fetchSnapshot.js.map @@ -0,0 +1 @@ +{"version":3,"file":"fetchSnapshot.js","sourceRoot":"","sources":["../../../src/native/message/fetchSnapshot.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4D;AAC5D,iDAA0D;AAC1D,2DAA2D;AAE3D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,4EAA4E;IACzF,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,mDAAmD;YAChE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC;QAC3B,MAAM,QAAQ,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,CAAC,CAAA;QAC1E,IAAI,QAAQ,EAAE,CAAC;YACX,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAA;YACxC,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YAC5E,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,2BAAc,EAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;YACtF,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,8BAAiB,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;YAC1G,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;QACpE,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/forwardMessage.d.ts b/dist/native/message/forwardMessage.d.ts index 33b928bafa..971a700823 100644 --- a/dist/native/message/forwardMessage.d.ts +++ b/dist/native/message/forwardMessage.d.ts @@ -18,7 +18,7 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }], true>; export default _default; //# sourceMappingURL=forwardMessage.d.ts.map \ No newline at end of file diff --git a/dist/native/message/forwardMessage.js b/dist/native/message/forwardMessage.js index 1f0a23767b..04c927a898 100644 --- a/dist/native/message/forwardMessage.js +++ b/dist/native/message/forwardMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/message/getComponents.d.ts b/dist/native/message/getComponents.d.ts index 48b182bf6a..feeaaac3a8 100644 --- a/dist/native/message/getComponents.d.ts +++ b/dist/native/message/getComponents.d.ts @@ -7,7 +7,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/getComponents.js b/dist/native/message/getComponents.js index bbe99379f9..b12de2515b 100644 --- a/dist/native/message/getComponents.js +++ b/dist/native/message/getComponents.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/getComponents.js.map b/dist/native/message/getComponents.js.map index 5147a8fb46..a80e8fbd5f 100644 --- a/dist/native/message/getComponents.js.map +++ b/dist/native/message/getComponents.js.map @@ -1 +1 @@ -{"version":3,"file":"getComponents.js","sourceRoot":"","sources":["../../../src/native/message/getComponents.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAClE,0DAAmF;AACnF,2CAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kFAAkF;IAC/F,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,CAAC,eAAe,CAAC;IAC1B,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,6BAAiB;YACvB,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,WAAW;YACjB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/D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"getComponents.js","sourceRoot":"","sources":["../../../src/native/message/getComponents.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAClE,0DAAmF;AACnF,2CAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kFAAkF;IAC/F,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE,CAAC,eAAe,CAAC;IAC1B,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,6BAAiB;YACvB,QAAQ,EAAE,KAAK;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C,OAAO,CAAC,+BAAmB,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAA;IAC/D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/getEmbeds.d.ts b/dist/native/message/getEmbeds.d.ts index 064bfc7274..da63c69496 100644 --- a/dist/native/message/getEmbeds.d.ts +++ b/dist/native/message/getEmbeds.d.ts @@ -7,7 +7,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/getEmbeds.d.ts.map b/dist/native/message/getEmbeds.d.ts.map index eea202c8c3..cd76977dde 100644 --- a/dist/native/message/getEmbeds.d.ts.map +++ b/dist/native/message/getEmbeds.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getEmbeds.d.ts","sourceRoot":"","sources":["../../../src/native/message/getEmbeds.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAuB,MAAM,YAAY,CAAA;AAC7D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAmB,aAAa,EAAE,MAAM,wBAAwB,CAAA;;;;;;;eAmBhD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;AAjBlC,wBA6DE"} \ No newline at end of file +{"version":3,"file":"getEmbeds.d.ts","sourceRoot":"","sources":["../../../src/native/message/getEmbeds.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAuB,MAAM,YAAY,CAAA;AAC7D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAmB,aAAa,EAAE,MAAM,wBAAwB,CAAA;;;;;;;eAkBhD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhBlC,wBA2DE"} \ No newline at end of file diff --git a/dist/native/message/getEmbeds.js b/dist/native/message/getEmbeds.js index d9bab6a68e..31f179c842 100644 --- a/dist/native/message/getEmbeds.js +++ b/dist/native/message/getEmbeds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -12,7 +12,6 @@ exports.default = new structures_1.NativeFunction({ version: "1.0.3", description: "Retrieves data of an embed, not providing any property returns embed json", unwrap: true, - output: structures_1.ArgType.Unknown, brackets: false, aliases: [ "$getEmbed" @@ -51,19 +50,19 @@ exports.default = new structures_1.NativeFunction({ }, { name: "field index", - description: "Index of field to get", + description: "The index of field to get", rest: false, type: structures_1.ArgType.Number }, ], + output: structures_1.ArgType.Unknown, execute(ctx, [, m, index, prop, fieldIndex]) { if (typeof index !== "number") { return this.successJSON((m ?? ctx.message)?.embeds.map(x => x.data)); } const embed = m.embeds[index]; - if (prop === null) { + if (!prop) return this.successJSON(embed); - } return this.success(embed_1.EmbedProperties[prop](embed ? discord_js_1.EmbedBuilder.from(embed) : undefined, undefined, fieldIndex)); }, }); diff --git a/dist/native/message/getEmbeds.js.map b/dist/native/message/getEmbeds.js.map index eaf8424b30..6ccc1c5eee 100644 --- a/dist/native/message/getEmbeds.js.map +++ b/dist/native/message/getEmbeds.js.map @@ -1 +1 @@ -{"version":3,"file":"getEmbeds.js","sourceRoot":"","sources":["../../../src/native/message/getEmbeds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6D;AAC7D,iDAAkE;AAClE,kDAAuE;AAEvE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OA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AAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;SACvE;QAED,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAsB,CAAA;QAClD,IAAI,IAAI,KAAK,IAAI,EAAE;YACf,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;SACjC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,uBAAe,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,yBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,CAAA;IACnH,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"getEmbeds.js","sourceRoot":"","sources":["../../../src/native/message/getEmbeds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA6D;AAC7D,iDAA0D;AAC1D,kDAAuE;AAEvE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2EAA2E;IACxF,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,OAAO,EAAE;QACL,WAAW;KACd;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,qBAAa;YACnB,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,CAAC;QACvC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC5B,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;QACxE,CAAC;QAED,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAsB,CAAA;QAClD,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;QAEzC,OAAO,IAAI,CAAC,OAAO,CAAC,uBAAe,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,yBAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC,CAAA;IACnH,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/getMessage.d.ts b/dist/native/message/getMessage.d.ts index cf258d70a2..e97498e25b 100644 --- a/dist/native/message/getMessage.d.ts +++ b/dist/native/message/getMessage.d.ts @@ -7,7 +7,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; @@ -21,7 +21,6 @@ declare const _default: NativeFunction<[{ rest: false; type: ArgType.Enum; enum: typeof MessageProperty; - required: true; }, { name: string; description: string; diff --git a/dist/native/message/getMessage.d.ts.map b/dist/native/message/getMessage.d.ts.map index e636fdfe57..e85d6117c0 100644 --- a/dist/native/message/getMessage.d.ts.map +++ b/dist/native/message/getMessage.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getMessage.d.ts","sourceRoot":"","sources":["../../../src/native/message/getMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAqB,eAAe,EAAE,MAAM,0BAA0B,CAAA;;;;;;;eAgBtD,WAAW;;;;;;;;;;;;;;;;;;;;;AAdlC,wBA0CE"} \ No newline at end of file +{"version":3,"file":"getMessage.d.ts","sourceRoot":"","sources":["../../../src/native/message/getMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAqB,eAAe,EAAE,MAAM,0BAA0B,CAAA;;;;;;;eAetD,WAAW;;;;;;;;;;;;;;;;;;;;AAblC,wBA0CE"} \ No newline at end of file diff --git a/dist/native/message/getMessage.js b/dist/native/message/getMessage.js index 2f29aec7cc..82737438c5 100644 --- a/dist/native/message/getMessage.js +++ b/dist/native/message/getMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -9,9 +9,8 @@ const message_1 = require("../../properties/message"); exports.default = new structures_1.NativeFunction({ name: "$getMessage", version: "1.0.3", - description: "Retrieves data of a message", + description: "Retrieves data of a message, not providing any property returns message json", unwrap: true, - output: structures_1.ArgType.Unknown, brackets: true, args: [ { @@ -36,16 +35,18 @@ exports.default = new structures_1.NativeFunction({ rest: false, type: structures_1.ArgType.Enum, enum: message_1.MessageProperty, - required: true, }, { name: "separator", - description: "Separator to use in case of array", + description: "The separator to use in case of array", rest: false, type: structures_1.ArgType.String, }, ], + output: structures_1.ArgType.Unknown, execute(ctx, [, m, prop, sep]) { + if (!prop) + return this.successJSON(m); return this.success(message_1.MessageProperties[prop](m, sep || ", ")); }, }); diff --git a/dist/native/message/getMessage.js.map b/dist/native/message/getMessage.js.map index 54b7f02592..467c46208c 100644 --- a/dist/native/message/getMessage.js.map +++ b/dist/native/message/getMessage.js.map @@ -1 +1 @@ -{"version":3,"file":"getMessage.js","sourceRoot":"","sources":["../../../src/native/message/getMessage.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAClE,sDAA6E;AAE7E,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,yBAAe;YACrB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC;QACzB,OAAO,IAAI,CAAC,OAAO,CAAC,2BAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAChE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"getMessage.js","sourceRoot":"","sources":["../../../src/native/message/getMessage.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAC1D,sDAA6E;AAE7E,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8EAA8E;IAC3F,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,yBAAe;SACxB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC;QACzB,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAA;QACrC,OAAO,IAAI,CAAC,OAAO,CAAC,2BAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAChE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/getMessageClientTheme.d.ts b/dist/native/message/getMessageClientTheme.d.ts new file mode 100644 index 0000000000..be21c93436 --- /dev/null +++ b/dist/native/message/getMessageClientTheme.d.ts @@ -0,0 +1,32 @@ +import { BaseChannel } from "discord.js"; +import { ArgType, NativeFunction } from "../../structures"; +import { ClientThemeProperty } from "../../properties/clientTheme"; +declare const _default: NativeFunction<[{ + name: string; + rest: false; + required: true; + description: string; + type: ArgType.Channel; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Message; + pointer: number; + required: true; +}, { + name: string; + description: string; + rest: false; + required: true; + type: ArgType.Enum; + enum: typeof ClientThemeProperty; +}, { + name: string; + description: string; + rest: false; + type: ArgType.String; +}], true>; +export default _default; +//# sourceMappingURL=getMessageClientTheme.d.ts.map \ No newline at end of file diff --git a/dist/native/message/getMessageClientTheme.d.ts.map b/dist/native/message/getMessageClientTheme.d.ts.map new file mode 100644 index 0000000000..4aff214f0f --- /dev/null +++ b/dist/native/message/getMessageClientTheme.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"getMessageClientTheme.d.ts","sourceRoot":"","sources":["../../../src/native/message/getMessageClientTheme.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAyB,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;;;;;;;eAelE,WAAW;;;;;;;;;;;;;;;;;;;;;AAblC,wBA2CE"} \ No newline at end of file diff --git a/dist/native/message/getMessageClientTheme.js b/dist/native/message/getMessageClientTheme.js new file mode 100644 index 0000000000..b531ec7044 --- /dev/null +++ b/dist/native/message/getMessageClientTheme.js @@ -0,0 +1,53 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +const clientTheme_1 = require("../../properties/clientTheme"); +exports.default = new structures_1.NativeFunction({ + name: "$getMessageClientTheme", + version: "2.7.0", + description: "Retrieves the shared client theme sent with a message", + unwrap: true, + brackets: true, + args: [ + { + name: "channel ID", + rest: false, + required: true, + description: "The channel to get the message from", + type: structures_1.ArgType.Channel, + check: (i) => i.isTextBased(), + }, + { + name: "message ID", + description: "The message to get its client theme", + rest: false, + type: structures_1.ArgType.Message, + pointer: 0, + required: true, + }, + { + name: "property", + description: "The property to pull", + rest: false, + required: true, + type: structures_1.ArgType.Enum, + enum: clientTheme_1.ClientThemeProperty, + }, + { + name: "separator", + description: "The separator to use in case of array", + rest: false, + type: structures_1.ArgType.String, + }, + ], + output: structures_1.ArgType.Unknown, + execute(ctx, [, message, prop, sep]) { + const theme = (message ?? ctx.message)?.sharedClientTheme; + return this.success(clientTheme_1.ClientThemeProperties[prop](theme, sep)); + }, +}); +//# sourceMappingURL=getMessageClientTheme.js.map \ No newline at end of file diff --git a/dist/native/message/getMessageClientTheme.js.map b/dist/native/message/getMessageClientTheme.js.map new file mode 100644 index 0000000000..cb974f09cf --- /dev/null +++ b/dist/native/message/getMessageClientTheme.js.map @@ -0,0 +1 @@ +{"version":3,"file":"getMessageClientTheme.js","sourceRoot":"","sources":["../../../src/native/message/getMessageClientTheme.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAC1D,8DAAyF;AAEzF,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uDAAuD;IACpE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,iCAAmB;SAC5B;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,CAAC;QAC/B,MAAM,KAAK,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAA;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,mCAAqB,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAA;IAChE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/getMessageReactionCount.d.ts b/dist/native/message/getMessageReactionCount.d.ts index 5774c4e2ca..1b840b7096 100644 --- a/dist/native/message/getMessageReactionCount.d.ts +++ b/dist/native/message/getMessageReactionCount.d.ts @@ -10,7 +10,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: TextBasedChannel) => boolean; + check: (i: TextBasedChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialDMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/getMessageReactionCount.js b/dist/native/message/getMessageReactionCount.js index b6452896cb..813830580b 100644 --- a/dist/native/message/getMessageReactionCount.js +++ b/dist/native/message/getMessageReactionCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ReactionType = void 0; diff --git a/dist/native/message/getMessageReactionUsers.d.ts b/dist/native/message/getMessageReactionUsers.d.ts index 8a476fec86..e9dd681f7b 100644 --- a/dist/native/message/getMessageReactionUsers.d.ts +++ b/dist/native/message/getMessageReactionUsers.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: TextBasedChannel) => boolean; + check: (i: TextBasedChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialDMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/getMessageReactionUsers.js b/dist/native/message/getMessageReactionUsers.js index 83c9ec0592..90f21b8e8b 100644 --- a/dist/native/message/getMessageReactionUsers.js +++ b/dist/native/message/getMessageReactionUsers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/message/getMessageReactionUsers.js.map b/dist/native/message/getMessageReactionUsers.js.map index 06b037aaf5..26f582f379 100644 --- a/dist/native/message/getMessageReactionUsers.js.map +++ b/dist/native/message/getMessageReactionUsers.js.map @@ -1 +1 @@ -{"version":3,"file":"getMessageReactionUsers.js","sourceRoot":"","sources":["../../../src/native/message/getMessageReactionUsers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,kEAAyC;AAEzC,kBAAe,IAA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AAK,EAAE,GAAG;oBACV,KAAK,EAAE,OAAO;iBACjB,CAAC,CAAA;gBAEF,IAAI,CAAC,IAAI,CAAC,IAAI;oBAAE,MAAK;gBACrB,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,CAAA;gBACzB,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;aACvC;SACJ;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAChD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"getMessageReactionUsers.js","sourceRoot":"","sources":["../../../src/native/message/getMessageReactionUsers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yDAAyD;IACtE,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAA,eAAK,GAAgB;IAC7B,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAmB,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAClD;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,QAAQ;SACzB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,AAAD,EAAG,QAAQ,EAAE,GAAG,CAAC;QAClC,MAAM,KAAK,GAAG,IAAI,KAAK,EAAU,CAAA;QAEjC,IAAI,OAAO,GAAuB,SAAS,CAAA;QAE3C,IAAI,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,KAAK,EAAE,CAAC;YAC9C,SAAS,CAAC;gBACN,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC;oBACpC,KAAK,EAAE,GAAG;oBACV,KAAK,EAAE,OAAO;iBACjB,CAAC,CAAA;gBAEF,IAAI,CAAC,IAAI,CAAC,IAAI;oBAAE,MAAK;gBACrB,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,EAAE,EAAE,CAAA;gBACzB,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;YACxC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAChD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/getMessageReactions.js b/dist/native/message/getMessageReactions.js index 90b4611bfa..7df5fd36c5 100644 --- a/dist/native/message/getMessageReactions.js +++ b/dist/native/message/getMessageReactions.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/message/getPoll.d.ts b/dist/native/message/getPoll.d.ts index 26320f7b95..1e90bacaba 100644 --- a/dist/native/message/getPoll.d.ts +++ b/dist/native/message/getPoll.d.ts @@ -7,7 +7,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/getPoll.js b/dist/native/message/getPoll.js index c3126f3432..2f8d96fdc7 100644 --- a/dist/native/message/getPoll.js +++ b/dist/native/message/getPoll.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/getSnapshots.d.ts b/dist/native/message/getSnapshots.d.ts index 46ec82bae9..23ff3b0cf8 100644 --- a/dist/native/message/getSnapshots.d.ts +++ b/dist/native/message/getSnapshots.d.ts @@ -7,7 +7,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/getSnapshots.d.ts.map b/dist/native/message/getSnapshots.d.ts.map index 6e88d9f1a5..6f98537bb2 100644 --- a/dist/native/message/getSnapshots.d.ts.map +++ b/dist/native/message/getSnapshots.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"getSnapshots.d.ts","sourceRoot":"","sources":["../../../src/native/message/getSnapshots.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAqB,eAAe,EAAE,MAAM,0BAA0B,CAAA;;;;;;;eAiBtD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;AAdlC,wBAuDE"} \ No newline at end of file +{"version":3,"file":"getSnapshots.d.ts","sourceRoot":"","sources":["../../../src/native/message/getSnapshots.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAqB,eAAe,EAAE,MAAM,0BAA0B,CAAA;;;;;;;eAiBtD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;AAdlC,wBAuDE"} \ No newline at end of file diff --git a/dist/native/message/getSnapshots.js b/dist/native/message/getSnapshots.js index be11ac3df6..cb9aed82b1 100644 --- a/dist/native/message/getSnapshots.js +++ b/dist/native/message/getSnapshots.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -62,7 +62,7 @@ exports.default = new structures_1.NativeFunction({ const snapshots = (m ?? ctx.message)?.messageSnapshots.toJSON(); if (typeof index !== "number") return this.successJSON(snapshots); - if (prop === null) + if (!prop) return this.successJSON(snapshots[index]); return this.success(message_1.MessageProperties[prop](snapshots[index], sep ?? ", ")); }, diff --git a/dist/native/message/getSnapshots.js.map b/dist/native/message/getSnapshots.js.map index f427fec2f0..d60bbd5fc9 100644 --- a/dist/native/message/getSnapshots.js.map +++ b/dist/native/message/getSnapshots.js.map @@ -1 +1 @@ -{"version":3,"file":"getSnapshots.js","sourceRoot":"","sources":["../../../src/native/message/getSnapshots.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAAkE;AAClE,sDAA6E;AAC7E,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;IACzD,OAAO,EAAE,CAAC,cAAc,CAAC;IACzB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,yBAAe;SACxB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE;QACJ,oBAAO,CAAC,IAAI;QACZ,IAAA,eAAK,GAAmB;KAC3B;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC;QAChC,MAAM,SAAS,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAC,MAAM,EAAE,CAAA;QAE/D,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAA;QACjE,IAAI,IAAI,KAAK,IAAI;YAAE,OAAO,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAA;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,2BAAiB,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAC/E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"getSnapshots.js","sourceRoot":"","sources":["../../../src/native/message/getSnapshots.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAA0D;AAC1D,sDAA6E;AAC7E,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;IACzD,OAAO,EAAE,CAAC,cAAc,CAAC;IACzB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAA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,CAAA;IAC/E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/hasComponents.d.ts b/dist/native/message/hasComponents.d.ts index 0cfa308a08..2745f1ed16 100644 --- a/dist/native/message/hasComponents.d.ts +++ b/dist/native/message/hasComponents.d.ts @@ -6,14 +6,14 @@ declare const _default: NativeFunction<[{ type: ArgType.Channel; rest: false; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"messages", unknown>; }, { name: string; - pointer: number; + description: string; rest: false; required: true; type: ArgType.Message; - description: string; + pointer: number; }], true>; export default _default; //# sourceMappingURL=hasComponents.d.ts.map \ No newline at end of file diff --git a/dist/native/message/hasComponents.d.ts.map b/dist/native/message/hasComponents.d.ts.map index e0444a5edb..9252cefffb 100644 --- a/dist/native/message/hasComponents.d.ts.map +++ b/dist/native/message/hasComponents.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"hasComponents.d.ts","sourceRoot":"","sources":["../../../src/native/message/hasComponents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAe3C,WAAW;;;;;;;;;AAblC,wBA4BE"} \ No newline at end of file +{"version":3,"file":"hasComponents.d.ts","sourceRoot":"","sources":["../../../src/native/message/hasComponents.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,WAAW;;;;;;;;;AAblC,wBA4BE"} \ No newline at end of file diff --git a/dist/native/message/hasComponents.js b/dist/native/message/hasComponents.js index d262fee063..3858e65200 100644 --- a/dist/native/message/hasComponents.js +++ b/dist/native/message/hasComponents.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -22,11 +22,11 @@ exports.default = new structures_1.NativeFunction({ }, { name: "message ID", - pointer: 0, + description: "The message to check for components", rest: false, required: true, type: structures_1.ArgType.Message, - description: "The message to check for components" + pointer: 0, } ], output: structures_1.ArgType.Boolean, diff --git a/dist/native/message/hasComponents.js.map b/dist/native/message/hasComponents.js.map index 297e054569..22754f3f81 100644 --- a/dist/native/message/hasComponents.js.map +++ b/dist/native/message/hasComponents.js.map @@ -1 +1 @@ -{"version":3,"file":"hasComponents.js","sourceRoot":"","sources":["../../../src/native/message/hasComponents.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,WAAW,EAAE,qCAAqC;SACrD;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAClE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"hasComponents.js","sourceRoot":"","sources":["../../../src/native/message/hasComponents.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6CAA6C;IAC1D,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAClE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/hasEmbeds.d.ts b/dist/native/message/hasEmbeds.d.ts index 60508c157d..262e8479c0 100644 --- a/dist/native/message/hasEmbeds.d.ts +++ b/dist/native/message/hasEmbeds.d.ts @@ -6,14 +6,14 @@ declare const _default: NativeFunction<[{ type: ArgType.Channel; rest: false; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"messages", unknown>; }, { name: string; - pointer: number; + description: string; rest: false; required: true; type: ArgType.Message; - description: string; + pointer: number; }], true>; export default _default; //# sourceMappingURL=hasEmbeds.d.ts.map \ No newline at end of file diff --git a/dist/native/message/hasEmbeds.d.ts.map b/dist/native/message/hasEmbeds.d.ts.map index e7ec92ce0b..61caf40fe7 100644 --- a/dist/native/message/hasEmbeds.d.ts.map +++ b/dist/native/message/hasEmbeds.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"hasEmbeds.d.ts","sourceRoot":"","sources":["../../../src/native/message/hasEmbeds.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;AAdlC,wBA8BE"} \ No newline at end of file +{"version":3,"file":"hasEmbeds.d.ts","sourceRoot":"","sources":["../../../src/native/message/hasEmbeds.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAgBnC,WAAW;;;;;;;;;AAdlC,wBA4BE"} \ No newline at end of file diff --git a/dist/native/message/hasEmbeds.js b/dist/native/message/hasEmbeds.js index f66cdd3a82..ddecc3afa4 100644 --- a/dist/native/message/hasEmbeds.js +++ b/dist/native/message/hasEmbeds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -23,11 +23,11 @@ exports.default = new structures_1.NativeFunction({ }, { name: "message ID", - pointer: 0, + description: "The message to check for embeds", rest: false, required: true, type: structures_1.ArgType.Message, - description: "The message to check for embeds" + pointer: 0, } ], execute(ctx, [, msg]) { diff --git a/dist/native/message/hasEmbeds.js.map b/dist/native/message/hasEmbeds.js.map index 62fd4e2108..5df86f3eb7 100644 --- a/dist/native/message/hasEmbeds.js.map +++ b/dist/native/message/hasEmbeds.js.map @@ -1 +1 @@ -{"version":3,"file":"hasEmbeds.js","sourceRoot":"","sources":["../../../src/native/message/hasEmbeds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,WAAW,EAAE,yCAAyC;IACtD,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,WAAW,EAAE,iCAAiC;SACjD;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,CACxC,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"hasEmbeds.js","sourceRoot":"","sources":["../../../src/native/message/hasEmbeds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,WAAW,EAAE,yCAAyC;IACtD,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAA;IAC9D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/hasSnapshots.d.ts b/dist/native/message/hasSnapshots.d.ts new file mode 100644 index 0000000000..fb69e0e5c9 --- /dev/null +++ b/dist/native/message/hasSnapshots.d.ts @@ -0,0 +1,19 @@ +import { BaseChannel } from "discord.js"; +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + type: ArgType.Channel; + rest: false; + required: true; + check: (i: BaseChannel) => i is BaseChannel & Record<"messages", unknown>; +}, { + name: string; + description: string; + rest: false; + required: true; + type: ArgType.Message; + pointer: number; +}], true>; +export default _default; +//# sourceMappingURL=hasSnapshots.d.ts.map \ No newline at end of file diff --git a/dist/native/message/hasSnapshots.d.ts.map b/dist/native/message/hasSnapshots.d.ts.map new file mode 100644 index 0000000000..e234862fa1 --- /dev/null +++ b/dist/native/message/hasSnapshots.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"hasSnapshots.d.ts","sourceRoot":"","sources":["../../../src/native/message/hasSnapshots.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,WAAW;;;;;;;;;AAblC,wBA4BE"} \ No newline at end of file diff --git a/dist/native/message/hasSnapshots.js b/dist/native/message/hasSnapshots.js new file mode 100644 index 0000000000..32ec6e5918 --- /dev/null +++ b/dist/native/message/hasSnapshots.js @@ -0,0 +1,37 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$hasSnapshots", + version: "2.7.0", + description: "Checks whether given message has snapshots", + brackets: false, + unwrap: true, + args: [ + { + name: "channel ID", + description: "The channel to get message from", + type: structures_1.ArgType.Channel, + rest: false, + required: true, + check: (i) => "messages" in i + }, + { + name: "message ID", + description: "The message to check for snapshots", + rest: false, + required: true, + type: structures_1.ArgType.Message, + pointer: 0, + } + ], + output: structures_1.ArgType.Boolean, + execute(ctx, [, msg]) { + return this.success(!!(msg ?? ctx.message)?.messageSnapshots.size); + }, +}); +//# sourceMappingURL=hasSnapshots.js.map \ No newline at end of file diff --git a/dist/native/message/hasSnapshots.js.map b/dist/native/message/hasSnapshots.js.map new file mode 100644 index 0000000000..8378997d4b --- /dev/null +++ b/dist/native/message/hasSnapshots.js.map @@ -0,0 +1 @@ +{"version":3,"file":"hasSnapshots.js","sourceRoot":"","sources":["../../../src/native/message/hasSnapshots.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,UAAU,IAAI,CAAC;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAA;IACtE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/isPinned.d.ts b/dist/native/message/isPinned.d.ts index e3d1e01dd1..652b4e8c7e 100644 --- a/dist/native/message/isPinned.d.ts +++ b/dist/native/message/isPinned.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/isPinned.js b/dist/native/message/isPinned.js index 7fdb1bd74c..2919984537 100644 --- a/dist/native/message/isPinned.js +++ b/dist/native/message/isPinned.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/loadComponents.js b/dist/native/message/loadComponents.js index 0fb849b988..bd662912e2 100644 --- a/dist/native/message/loadComponents.js +++ b/dist/native/message/loadComponents.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/loadEmbeds.js b/dist/native/message/loadEmbeds.js index a291bbcd55..97813dc284 100644 --- a/dist/native/message/loadEmbeds.js +++ b/dist/native/message/loadEmbeds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/message/loadEmbeds.js.map b/dist/native/message/loadEmbeds.js.map index ce5501c8a8..e9979febcc 100644 --- a/dist/native/message/loadEmbeds.js.map +++ b/dist/native/message/loadEmbeds.js.map @@ -1 +1 @@ -{"version":3,"file":"loadEmbeds.js","sourceRoot":"","sources":["../../../src/native/message/loadEmbeds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmD;AACnD,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,YAAY,CAAC;IACvB,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,8CAA8C;SAC9D;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,CAAE;QACjB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACrB,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAY,CAAC,IAAI,CAAC,CAAa,CAAC,CAAC,CAAC,CAAA;SAChF;aAAM;YACH,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,yBAAY,CAAC,IAAI,CAAC,IAAgB,CAAC,CAAC,CAAA;SACjE;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loadEmbeds.js","sourceRoot":"","sources":["../../../src/native/message/loadEmbeds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAmD;AACnD,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,YAAY,CAAC;IACvB,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,8CAA8C;SAC9D;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,CAAE;QACjB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YACtB,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAY,CAAC,IAAI,CAAC,CAAa,CAAC,CAAC,CAAC,CAAA;QACjF,CAAC;aAAM,CAAC;YACJ,GAAG,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,yBAAY,CAAC,IAAI,CAAC,IAAgB,CAAC,CAAC,CAAA;QAClE,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/message.js b/dist/native/message/message.js index 8ce3fd38c5..88dedb3cdb 100644 --- a/dist/native/message/message.js +++ b/dist/native/message/message.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/message/message.js.map b/dist/native/message/message.js.map index 44f925578f..1db081ac8f 100644 --- a/dist/native/message/message.js.map +++ b/dist/native/message/message.js.map @@ -1 +1 @@ -{"version":3,"file":"message.js","sourceRoot":"","sources":["../../../src/native/message/message.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AAGnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,wBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,4CAA4C;IACzD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,wBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;QACrB,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAA;SACpF;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"message.js","sourceRoot":"","sources":["../../../src/native/message/message.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AAGnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,wBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,4CAA4C;IACzD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,wBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;QACrB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAA;QACrF,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/messageAttachment.d.ts b/dist/native/message/messageAttachment.d.ts index d3679b54cc..768ed55732 100644 --- a/dist/native/message/messageAttachment.d.ts +++ b/dist/native/message/messageAttachment.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageAttachment.js b/dist/native/message/messageAttachment.js index 5193cea426..5945b30015 100644 --- a/dist/native/message/messageAttachment.js +++ b/dist/native/message/messageAttachment.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageAttachmentCount.d.ts b/dist/native/message/messageAttachmentCount.d.ts index d7ed93ec8a..e0aae550cf 100644 --- a/dist/native/message/messageAttachmentCount.d.ts +++ b/dist/native/message/messageAttachmentCount.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageAttachmentCount.js b/dist/native/message/messageAttachmentCount.js index d8b7f202a8..07d3a5e9e9 100644 --- a/dist/native/message/messageAttachmentCount.js +++ b/dist/native/message/messageAttachmentCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageAttachmentFlags.d.ts b/dist/native/message/messageAttachmentFlags.d.ts index e8090c5574..54b70dd14b 100644 --- a/dist/native/message/messageAttachmentFlags.d.ts +++ b/dist/native/message/messageAttachmentFlags.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageAttachmentFlags.js b/dist/native/message/messageAttachmentFlags.js index 43fbed1d08..86231876bb 100644 --- a/dist/native/message/messageAttachmentFlags.js +++ b/dist/native/message/messageAttachmentFlags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/message/messageAttachments.d.ts b/dist/native/message/messageAttachments.d.ts index a75d30c5de..3fb46d9c68 100644 --- a/dist/native/message/messageAttachments.d.ts +++ b/dist/native/message/messageAttachments.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageAttachments.js b/dist/native/message/messageAttachments.js index 96d1b6a04e..ba36ae3add 100644 --- a/dist/native/message/messageAttachments.js +++ b/dist/native/message/messageAttachments.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/message/messageContent.d.ts b/dist/native/message/messageContent.d.ts index a3a1d84f77..078bf5d5f7 100644 --- a/dist/native/message/messageContent.d.ts +++ b/dist/native/message/messageContent.d.ts @@ -1,4 +1,19 @@ +import { BaseChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction<[{ + name: string; + rest: false; + required: true; + description: string; + type: ArgType.Channel; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Message; + pointer: number; + required: true; +}], true>; export default _default; //# sourceMappingURL=messageContent.d.ts.map \ No newline at end of file diff --git a/dist/native/message/messageContent.d.ts.map b/dist/native/message/messageContent.d.ts.map index 411100cd91..fb238baf75 100644 --- a/dist/native/message/messageContent.d.ts.map +++ b/dist/native/message/messageContent.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"messageContent.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageContent.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;;AAGnF,wBASE"} \ No newline at end of file +{"version":3,"file":"messageContent.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageContent.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;;;;;;;eAe5D,WAAW;;;;;;;;;AAblC,wBA4BE"} \ No newline at end of file diff --git a/dist/native/message/messageContent.js b/dist/native/message/messageContent.js index 73b0d1bc8c..6bfca4106b 100644 --- a/dist/native/message/messageContent.js +++ b/dist/native/message/messageContent.js @@ -1,18 +1,37 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); exports.default = new NativeFunction_1.NativeFunction({ name: "$messageContent", version: "1.4.0", + description: "Retrieves the content of a message", + unwrap: true, + brackets: false, + args: [ + { + name: "channel ID", + rest: false, + required: true, + description: "The channel to get the message from", + type: NativeFunction_1.ArgType.Channel, + check: (i) => i.isTextBased(), + }, + { + name: "message ID", + description: "The message to get its content", + rest: false, + type: NativeFunction_1.ArgType.Message, + pointer: 0, + required: true, + }, + ], output: NativeFunction_1.ArgType.String, - description: "Retrieves the content of the message", - unwrap: false, - execute(ctx) { - return this.success(ctx.message?.content); + execute(ctx, [, message]) { + return this.success((message ?? ctx.message)?.content); }, }); //# sourceMappingURL=messageContent.js.map \ No newline at end of file diff --git a/dist/native/message/messageContent.js.map b/dist/native/message/messageContent.js.map index 6445055464..aea83ab8ce 100644 --- a/dist/native/message/messageContent.js.map +++ b/dist/native/message/messageContent.js.map @@ -1 +1 @@ -{"version":3,"file":"messageContent.js","sourceRoot":"","sources":["../../../src/native/message/messageContent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AAGnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,wBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,KAAK;IACb,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;IAC7C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageContent.js","sourceRoot":"","sources":["../../../src/native/message/messageContent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,8EAAmF;AAEnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,wBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,wBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,wBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,CAAA;IAC1D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/messageCreatedAt.d.ts b/dist/native/message/messageCreatedAt.d.ts index ae0bf84d4e..0d7242f12d 100644 --- a/dist/native/message/messageCreatedAt.d.ts +++ b/dist/native/message/messageCreatedAt.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/messageCreatedAt.d.ts.map b/dist/native/message/messageCreatedAt.d.ts.map index fbda8ff986..87ae2e08f4 100644 --- a/dist/native/message/messageCreatedAt.d.ts.map +++ b/dist/native/message/messageCreatedAt.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"messageCreatedAt.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageCreatedAt.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAe,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;AAdlC,wBA4BE"} \ No newline at end of file +{"version":3,"file":"messageCreatedAt.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageCreatedAt.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,WAAW;;;;;;;;;AAblC,wBA4BE"} \ No newline at end of file diff --git a/dist/native/message/messageCreatedAt.js b/dist/native/message/messageCreatedAt.js index 07c581e6d6..d8a4739b58 100644 --- a/dist/native/message/messageCreatedAt.js +++ b/dist/native/message/messageCreatedAt.js @@ -1,15 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$messageCreatedAt", version: "1.0.2", - output: structures_1.ArgType.Number, - description: "Returns the timestamp of the message", + description: "Returns the timestamp of a message", unwrap: true, brackets: false, args: [ @@ -30,6 +29,7 @@ exports.default = new structures_1.NativeFunction({ required: true, }, ], + output: structures_1.ArgType.Number, execute(ctx, [, message]) { return this.success((message ?? ctx.message)?.createdTimestamp); }, diff --git a/dist/native/message/messageCreatedAt.js.map b/dist/native/message/messageCreatedAt.js.map index 84b26c1c52..81f43dcf96 100644 --- a/dist/native/message/messageCreatedAt.js.map +++ b/dist/native/message/messageCreatedAt.js.map @@ -1 +1 @@ -{"version":3,"file":"messageCreatedAt.js","sourceRoot":"","sources":["../../../src/native/message/messageCreatedAt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,gBAAiB,CAAC,CAAA;IACpE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageCreatedAt.js","sourceRoot":"","sources":["../../../src/native/message/messageCreatedAt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAC,CAAA;IACnE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/messageEditedAt.d.ts b/dist/native/message/messageEditedAt.d.ts index 78439ecaba..3a2b2db5e0 100644 --- a/dist/native/message/messageEditedAt.d.ts +++ b/dist/native/message/messageEditedAt.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/messageEditedAt.d.ts.map b/dist/native/message/messageEditedAt.d.ts.map index 852e641671..d0fe4c180e 100644 --- a/dist/native/message/messageEditedAt.d.ts.map +++ b/dist/native/message/messageEditedAt.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"messageEditedAt.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageEditedAt.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAe,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB3C,WAAW;;;;;;;;;AAdlC,wBA4BE"} \ No newline at end of file +{"version":3,"file":"messageEditedAt.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageEditedAt.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,WAAW;;;;;;;;;AAblC,wBA4BE"} \ No newline at end of file diff --git a/dist/native/message/messageEditedAt.js b/dist/native/message/messageEditedAt.js index d25cf95b68..afaef13032 100644 --- a/dist/native/message/messageEditedAt.js +++ b/dist/native/message/messageEditedAt.js @@ -1,15 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$messageEditedAt", version: "1.5.0", - output: structures_1.ArgType.Number, - description: "Returns the edited timestamp of the message", + description: "Returns the edited timestamp of a message", unwrap: true, brackets: false, args: [ @@ -30,6 +29,7 @@ exports.default = new structures_1.NativeFunction({ required: true, }, ], + output: structures_1.ArgType.Number, execute(ctx, [, message]) { return this.success((message ?? ctx.message)?.editedTimestamp); }, diff --git a/dist/native/message/messageEditedAt.js.map b/dist/native/message/messageEditedAt.js.map index 97e237c015..052a9f3790 100644 --- a/dist/native/message/messageEditedAt.js.map +++ b/dist/native/message/messageEditedAt.js.map @@ -1 +1 @@ -{"version":3,"file":"messageEditedAt.js","sourceRoot":"","sources":["../../../src/native/message/messageEditedAt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,6CAA6C;IAC1D,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,eAAe,CAAC,CAAA;IAClE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"messageEditedAt.js","sourceRoot":"","sources":["../../../src/native/message/messageEditedAt.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,eAAe,CAAC,CAAA;IAClE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/messageEmojis.d.ts b/dist/native/message/messageEmojis.d.ts index 791038a330..b0ed8b284a 100644 --- a/dist/native/message/messageEmojis.d.ts +++ b/dist/native/message/messageEmojis.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageEmojis.js b/dist/native/message/messageEmojis.js index 0af60a8a1d..834c2984c9 100644 --- a/dist/native/message/messageEmojis.js +++ b/dist/native/message/messageEmojis.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/message/messageExists.d.ts b/dist/native/message/messageExists.d.ts index ed32add45b..40855694ed 100644 --- a/dist/native/message/messageExists.d.ts +++ b/dist/native/message/messageExists.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, TextChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/messageExists.d.ts.map b/dist/native/message/messageExists.d.ts.map index 9596590231..56e9c63ef1 100644 --- a/dist/native/message/messageExists.d.ts.map +++ b/dist/native/message/messageExists.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"messageExists.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageExists.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAe,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAoB,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB7D,WAAW;;;;;;;;AAdlC,wBA6BE"} \ No newline at end of file +{"version":3,"file":"messageExists.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageExists.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAoB,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAgB7D,WAAW;;;;;;;;AAdlC,wBA6BE"} \ No newline at end of file diff --git a/dist/native/message/messageExists.js b/dist/native/message/messageExists.js index 6810908a4f..0d8acb5e0a 100644 --- a/dist/native/message/messageExists.js +++ b/dist/native/message/messageExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageFlags.js b/dist/native/message/messageFlags.js index 5b2a1196d3..b51378c006 100644 --- a/dist/native/message/messageFlags.js +++ b/dist/native/message/messageFlags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/message/messageID.d.ts b/dist/native/message/messageID.d.ts index 2a8836e345..f126be7f36 100644 --- a/dist/native/message/messageID.d.ts +++ b/dist/native/message/messageID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=messageID.d.ts.map \ No newline at end of file diff --git a/dist/native/message/messageID.js b/dist/native/message/messageID.js index 979faf24c6..31148a490a 100644 --- a/dist/native/message/messageID.js +++ b/dist/native/message/messageID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageLink.d.ts b/dist/native/message/messageLink.d.ts index 2501b637d6..71b2c7fcce 100644 --- a/dist/native/message/messageLink.d.ts +++ b/dist/native/message/messageLink.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/messageLink.js b/dist/native/message/messageLink.js index 8d8aad1672..659037b694 100644 --- a/dist/native/message/messageLink.js +++ b/dist/native/message/messageLink.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageRawData.js b/dist/native/message/messageRawData.js index 2601c73b20..d63bb82bb3 100644 --- a/dist/native/message/messageRawData.js +++ b/dist/native/message/messageRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageReferenceID.d.ts b/dist/native/message/messageReferenceID.d.ts index 929169d580..ec17d851e4 100644 --- a/dist/native/message/messageReferenceID.d.ts +++ b/dist/native/message/messageReferenceID.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/messageReferenceID.js b/dist/native/message/messageReferenceID.js index 9925bd9470..5a3d49e8d1 100644 --- a/dist/native/message/messageReferenceID.js +++ b/dist/native/message/messageReferenceID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageSlice.js b/dist/native/message/messageSlice.js index e8b6dc6ddd..ad48804b71 100644 --- a/dist/native/message/messageSlice.js +++ b/dist/native/message/messageSlice.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageSticker.d.ts b/dist/native/message/messageSticker.d.ts index 124221a876..117831cb19 100644 --- a/dist/native/message/messageSticker.d.ts +++ b/dist/native/message/messageSticker.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageSticker.js b/dist/native/message/messageSticker.js index d9fd8b24aa..51f9419f6f 100644 --- a/dist/native/message/messageSticker.js +++ b/dist/native/message/messageSticker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageStickerCount.d.ts b/dist/native/message/messageStickerCount.d.ts index 8298e16533..ae1bdd47a8 100644 --- a/dist/native/message/messageStickerCount.d.ts +++ b/dist/native/message/messageStickerCount.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageStickerCount.js b/dist/native/message/messageStickerCount.js index c0bd003955..e1158845e1 100644 --- a/dist/native/message/messageStickerCount.js +++ b/dist/native/message/messageStickerCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/messageStickers.d.ts b/dist/native/message/messageStickers.d.ts index afc7488e84..112bbc4225 100644 --- a/dist/native/message/messageStickers.d.ts +++ b/dist/native/message/messageStickers.d.ts @@ -10,7 +10,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageStickers.js b/dist/native/message/messageStickers.js index e1e222d514..35b6621bf4 100644 --- a/dist/native/message/messageStickers.js +++ b/dist/native/message/messageStickers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/message/messageType.d.ts b/dist/native/message/messageType.d.ts index 749b854a43..77b4618b69 100644 --- a/dist/native/message/messageType.d.ts +++ b/dist/native/message/messageType.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageType.js b/dist/native/message/messageType.js index 92c8a3d537..65bc6aab70 100644 --- a/dist/native/message/messageType.js +++ b/dist/native/message/messageType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/message/messageWebhookID.d.ts b/dist/native/message/messageWebhookID.d.ts index 9236c8fea0..b2d7f8f308 100644 --- a/dist/native/message/messageWebhookID.d.ts +++ b/dist/native/message/messageWebhookID.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, TextChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; pointer: number; diff --git a/dist/native/message/messageWebhookID.d.ts.map b/dist/native/message/messageWebhookID.d.ts.map index cafae678ce..21a67c0dd3 100644 --- a/dist/native/message/messageWebhookID.d.ts.map +++ b/dist/native/message/messageWebhookID.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"messageWebhookID.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageWebhookID.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAe,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAe3C,WAAW;;;;;;;;;AAblC,wBA4BE"} \ No newline at end of file +{"version":3,"file":"messageWebhookID.d.ts","sourceRoot":"","sources":["../../../src/native/message/messageWebhookID.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAe3C,WAAW;;;;;;;;;AAblC,wBA4BE"} \ No newline at end of file diff --git a/dist/native/message/messageWebhookID.js b/dist/native/message/messageWebhookID.js index eb576ac575..67b51d507e 100644 --- a/dist/native/message/messageWebhookID.js +++ b/dist/native/message/messageWebhookID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/noMentionMessage.js b/dist/native/message/noMentionMessage.js index f8a6de75b2..aa8b3bcef5 100644 --- a/dist/native/message/noMentionMessage.js +++ b/dist/native/message/noMentionMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/noMentionMessage.js.map b/dist/native/message/noMentionMessage.js.map index b0abb27c91..f813f7ce88 100644 --- a/dist/native/message/noMentionMessage.js.map +++ b/dist/native/message/noMentionMessage.js.map @@ -1 +1 @@ -{"version":3,"file":"noMentionMessage.js","sourceRoot":"","sources":["../../../src/native/message/noMentionMessage.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAG1D,MAAM,cAAc,GAAG,0BAA0B,CAAA;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,qDAAqD;IAClE,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;QACrB,MAAM,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QAE7E,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAA;SAChE;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;IACtC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"noMentionMessage.js","sourceRoot":"","sources":["../../../src/native/message/noMentionMessage.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAG1D,MAAM,cAAc,GAAG,0BAA0B,CAAA;AAEjD,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,qDAAqD;IAClE,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;QACrB,MAAM,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QAE7E,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAA;QACjE,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;IACtC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/pinMessage.d.ts b/dist/native/message/pinMessage.d.ts index 17b2de4a82..9ca8091c24 100644 --- a/dist/native/message/pinMessage.d.ts +++ b/dist/native/message/pinMessage.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/pinMessage.js b/dist/native/message/pinMessage.js index e0c892f014..e38f47d893 100644 --- a/dist/native/message/pinMessage.js +++ b/dist/native/message/pinMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/publishMessage.d.ts b/dist/native/message/publishMessage.d.ts index 26d90727c1..ade5799a8a 100644 --- a/dist/native/message/publishMessage.d.ts +++ b/dist/native/message/publishMessage.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/publishMessage.js b/dist/native/message/publishMessage.js index c7891b1110..c6706d9c98 100644 --- a/dist/native/message/publishMessage.js +++ b/dist/native/message/publishMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/removeAttachments.d.ts b/dist/native/message/removeAttachments.d.ts new file mode 100644 index 0000000000..13435a4194 --- /dev/null +++ b/dist/native/message/removeAttachments.d.ts @@ -0,0 +1,19 @@ +import { TextBasedChannel } from "discord.js"; +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.Channel; + check: (i: TextBasedChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialDMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; +}, { + name: string; + description: string; + rest: false; + type: ArgType.Message; + pointer: number; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=removeAttachments.d.ts.map \ No newline at end of file diff --git a/dist/native/message/removeAttachments.d.ts.map b/dist/native/message/removeAttachments.d.ts.map new file mode 100644 index 0000000000..af421b95cf --- /dev/null +++ b/dist/native/message/removeAttachments.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"removeAttachments.d.ts","sourceRoot":"","sources":["../../../src/native/message/removeAttachments.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;eAenC,gBAAgB;;;;;;;;;AAbvC,wBA4BE"} \ No newline at end of file diff --git a/dist/native/message/removeAttachments.js b/dist/native/message/removeAttachments.js new file mode 100644 index 0000000000..6447da3681 --- /dev/null +++ b/dist/native/message/removeAttachments.js @@ -0,0 +1,37 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$removeAttachments", + version: "2.7.0", + description: "Removes all attachments from a message, returns bool", + unwrap: true, + brackets: false, + args: [ + { + name: "channel ID", + description: "The channel to pull message from", + rest: false, + required: true, + type: structures_1.ArgType.Channel, + check: (i) => i.isTextBased(), + }, + { + name: "message ID", + description: "The message to remove attachments from", + rest: false, + type: structures_1.ArgType.Message, + pointer: 0, + required: true, + }, + ], + output: structures_1.ArgType.Boolean, + async execute(ctx, [, message]) { + return this.success(!!(await (message ?? ctx.message)?.removeAttachments().catch(ctx.noop))); + }, +}); +//# sourceMappingURL=removeAttachments.js.map \ No newline at end of file diff --git a/dist/native/message/removeAttachments.js.map b/dist/native/message/removeAttachments.js.map new file mode 100644 index 0000000000..72097f3fa7 --- /dev/null +++ b/dist/native/message/removeAttachments.js.map @@ -0,0 +1 @@ +{"version":3,"file":"removeAttachments.js","sourceRoot":"","sources":["../../../src/native/message/removeAttachments.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAmB,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAClD;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,wCAAwC;YACrD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAChG,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/message/reply.js b/dist/native/message/reply.js index 359bda09f5..94339109c5 100644 --- a/dist/native/message/reply.js +++ b/dist/native/message/reply.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/silent.d.ts b/dist/native/message/silent.d.ts index 28ff8dd644..f975167636 100644 --- a/dist/native/message/silent.d.ts +++ b/dist/native/message/silent.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=silent.d.ts.map \ No newline at end of file diff --git a/dist/native/message/silent.js b/dist/native/message/silent.js index 3f50d15bd6..ef52fbd2da 100644 --- a/dist/native/message/silent.js +++ b/dist/native/message/silent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/sticker.js b/dist/native/message/sticker.js index 467e6ac5cc..358e3cb9d2 100644 --- a/dist/native/message/sticker.js +++ b/dist/native/message/sticker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/suppressEmbeds.d.ts b/dist/native/message/suppressEmbeds.d.ts index b0d252bd96..2d3985c7ed 100644 --- a/dist/native/message/suppressEmbeds.d.ts +++ b/dist/native/message/suppressEmbeds.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/suppressEmbeds.js b/dist/native/message/suppressEmbeds.js index 6a4158f013..220c84ff98 100644 --- a/dist/native/message/suppressEmbeds.js +++ b/dist/native/message/suppressEmbeds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/tts.d.ts b/dist/native/message/tts.d.ts index 9f63fc9550..eb6af21bab 100644 --- a/dist/native/message/tts.d.ts +++ b/dist/native/message/tts.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=tts.d.ts.map \ No newline at end of file diff --git a/dist/native/message/tts.js b/dist/native/message/tts.js index b485bc6e13..193f0c995f 100644 --- a/dist/native/message/tts.js +++ b/dist/native/message/tts.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/unpinMessage.d.ts b/dist/native/message/unpinMessage.d.ts index 4e35571362..7824c07e85 100644 --- a/dist/native/message/unpinMessage.d.ts +++ b/dist/native/message/unpinMessage.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/unpinMessage.js b/dist/native/message/unpinMessage.js index d81683f950..a193f54433 100644 --- a/dist/native/message/unpinMessage.js +++ b/dist/native/message/unpinMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/message/unsuppressEmbeds.d.ts b/dist/native/message/unsuppressEmbeds.d.ts index b595905f6b..b960041bbd 100644 --- a/dist/native/message/unsuppressEmbeds.d.ts +++ b/dist/native/message/unsuppressEmbeds.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/message/unsuppressEmbeds.js b/dist/native/message/unsuppressEmbeds.js index 075118c8e1..c9ca228796 100644 --- a/dist/native/message/unsuppressEmbeds.js +++ b/dist/native/message/unsuppressEmbeds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/abbreviateNumber.js b/dist/native/number/abbreviateNumber.js index 712ef916c4..de8fe4c302 100644 --- a/dist/native/number/abbreviateNumber.js +++ b/dist/native/number/abbreviateNumber.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/average.js b/dist/native/number/average.js index a2956a5890..876e190095 100644 --- a/dist/native/number/average.js +++ b/dist/native/number/average.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/hexToInt.js b/dist/native/number/hexToInt.js index 719d421ae3..fda528b92f 100644 --- a/dist/native/number/hexToInt.js +++ b/dist/native/number/hexToInt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const hex_1 = require("../../functions/hex"); diff --git a/dist/native/number/inRange.js b/dist/native/number/inRange.js index f1e55a3e24..68753a4219 100644 --- a/dist/native/number/inRange.js +++ b/dist/native/number/inRange.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/intToHex.js b/dist/native/number/intToHex.js index b9fb53c5c6..903a71d5f0 100644 --- a/dist/native/number/intToHex.js +++ b/dist/native/number/intToHex.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const hex_1 = require("../../functions/hex"); diff --git a/dist/native/number/isFloat.js b/dist/native/number/isFloat.js index aafef8bb6f..5e95ba06ce 100644 --- a/dist/native/number/isFloat.js +++ b/dist/native/number/isFloat.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/isInteger.js b/dist/native/number/isInteger.js index 8bf2151adf..9c3999f408 100644 --- a/dist/native/number/isInteger.js +++ b/dist/native/number/isInteger.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const lodash_1 = require("lodash"); diff --git a/dist/native/number/isNumber.js b/dist/native/number/isNumber.js index 0fc3d8c6db..ecc8b65e85 100644 --- a/dist/native/number/isNumber.js +++ b/dist/native/number/isNumber.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/maxSafeInteger.d.ts b/dist/native/number/maxSafeInteger.d.ts index 78dd30b276..c137f74d9e 100644 --- a/dist/native/number/maxSafeInteger.d.ts +++ b/dist/native/number/maxSafeInteger.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=maxSafeInteger.d.ts.map \ No newline at end of file diff --git a/dist/native/number/maxSafeInteger.js b/dist/native/number/maxSafeInteger.js index cdc07f3088..d6806b1849 100644 --- a/dist/native/number/maxSafeInteger.js +++ b/dist/native/number/maxSafeInteger.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/minSafeInteger.d.ts b/dist/native/number/minSafeInteger.d.ts index 56adc8641f..69b3f73892 100644 --- a/dist/native/number/minSafeInteger.d.ts +++ b/dist/native/number/minSafeInteger.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=minSafeInteger.d.ts.map \ No newline at end of file diff --git a/dist/native/number/minSafeInteger.js b/dist/native/number/minSafeInteger.js index 283917f5fc..a377183cbb 100644 --- a/dist/native/number/minSafeInteger.js +++ b/dist/native/number/minSafeInteger.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/ordinal.js b/dist/native/number/ordinal.js index 7185dbd0bc..242f9b9aa3 100644 --- a/dist/native/number/ordinal.js +++ b/dist/native/number/ordinal.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const ordinal_1 = require("../../functions/ordinal"); diff --git a/dist/native/number/parseInt.js b/dist/native/number/parseInt.js index 0abcc59bae..5a315a0b81 100644 --- a/dist/native/number/parseInt.js +++ b/dist/native/number/parseInt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/randomNumber.js b/dist/native/number/randomNumber.js index 330c13785a..2d5de9eab0 100644 --- a/dist/native/number/randomNumber.js +++ b/dist/native/number/randomNumber.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/separateBigint.js b/dist/native/number/separateBigint.js index a45746435c..f6dfdc2824 100644 --- a/dist/native/number/separateBigint.js +++ b/dist/native/number/separateBigint.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/number/separateNumber.js b/dist/native/number/separateNumber.js index c4b8278035..d28fd7734f 100644 --- a/dist/native/number/separateNumber.js +++ b/dist/native/number/separateNumber.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.NoNumberRegex = void 0; diff --git a/dist/native/other/advancedBar.js b/dist/native/other/advancedBar.js index 8b21c26f0d..9a84e6fa7f 100644 --- a/dist/native/other/advancedBar.js +++ b/dist/native/other/advancedBar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const generateBar_1 = require("../../functions/generateBar"); diff --git a/dist/native/other/awaitComponent.d.ts b/dist/native/other/awaitComponent.d.ts index 315f82d3b2..5248cd398a 100644 --- a/dist/native/other/awaitComponent.d.ts +++ b/dist/native/other/awaitComponent.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; rest: false; diff --git a/dist/native/other/awaitComponent.js b/dist/native/other/awaitComponent.js index 60d5e36f9c..c6ad298261 100644 --- a/dist/native/other/awaitComponent.js +++ b/dist/native/other/awaitComponent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/other/awaitComponent.js.map b/dist/native/other/awaitComponent.js.map index 52618e1362..8d1cacedc0 100644 --- a/dist/native/other/awaitComponent.js.map +++ b/dist/native/other/awaitComponent.js.map @@ -1 +1 @@ -{"version":3,"file":"awaitComponent.js","sourceRoot":"","sources":["../../../src/native/other/awaitComponent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAA2I;AAE3I,oEAA2C;AAE3C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mIAAmI;IAChJ,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,mCAAmC;SACnD;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sGAAsG;YACnH,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,yEAAyE;YACtF,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAA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C,CAAC,EAAE,CAAC;gBAC9B,OAAO,EAAE,CAAA;SAChB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"awaitComponent.js","sourceRoot":"","sources":["../../../src/native/other/awaitComponent.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAA2I;AAE3I,oEAA2C;AAE3C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mIAAmI;IAChJ,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,mCAAmC;SACnD;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sGAAsG;YACnH,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,yEAAyE;YACtF,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ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AC,CAAC,CAAmC,CAAC,CAAA;YACrH,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAC9B,OAAO,EAAE,CAAA;QACjB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/other/awaitMessage.d.ts b/dist/native/other/awaitMessage.d.ts index b1eb474e16..fe145dffee 100644 --- a/dist/native/other/awaitMessage.d.ts +++ b/dist/native/other/awaitMessage.d.ts @@ -1,4 +1,4 @@ -import { BaseChannel } from "discord.js"; +import { BaseChannel, TextChannel } from "discord.js"; import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ rest: false; required: true; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/other/awaitMessage.d.ts.map b/dist/native/other/awaitMessage.d.ts.map index 5267f7bda5..69a12785fc 100644 --- a/dist/native/other/awaitMessage.d.ts.map +++ b/dist/native/other/awaitMessage.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"awaitMessage.d.ts","sourceRoot":"","sources":["../../../src/native/other/awaitMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAiC,MAAM,YAAY,CAAA;AACvE,OAAO,EAAE,OAAO,EAA2C,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAkBpF,WAAW;;;;;;;;;;;;;;;;;;;;;AAdlC,wBA2DE"} \ No newline at end of file +{"version":3,"file":"awaitMessage.d.ts","sourceRoot":"","sources":["../../../src/native/other/awaitMessage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAoB,WAAW,EAAE,MAAM,YAAY,CAAA;AACvE,OAAO,EAAE,OAAO,EAA2C,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;eAkBpF,WAAW;;;;;;;;;;;;;;;;;;;;;AAdlC,wBA2DE"} \ No newline at end of file diff --git a/dist/native/other/awaitMessage.js b/dist/native/other/awaitMessage.js index 55f834c9f0..bf0b38406f 100644 --- a/dist/native/other/awaitMessage.js +++ b/dist/native/other/awaitMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/other/awaitMessage.js.map b/dist/native/other/awaitMessage.js.map index 8d33ac3594..b3549d36b5 100644 --- a/dist/native/other/awaitMessage.js.map +++ b/dist/native/other/awaitMessage.js.map @@ -1 +1 @@ -{"version":3,"file":"awaitMessage.js","sourceRoot":"","sources":["../../../src/native/other/awaitMessage.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAA2G;AAE3G,oEAA2C;AAE3C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sEAAsE;IACnF,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IA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AI,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE;oBAC3B,OAAO,IAAA,gBAAM,EAAC,GAAG,CAAC,CAAA;iBACrB;;oBAAM,OAAO,KAAK,CAAA;YACvB,CAAC;SACJ,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAElB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAA;IACzC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"awaitMessage.js","sourceRoot":"","sources":["../../../src/native/other/awaitMessage.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAGF,iDAA2G;AAE3G,oEAA2C;AAE3C,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sEAAsE;IACnF,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,KAAK,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE;SAC7C;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,uGAAuG;YACpH,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qDAAqD;YAClE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;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C,CAAA"} \ No newline at end of file diff --git a/dist/native/other/awaitModalSubmit.js b/dist/native/other/awaitModalSubmit.js index 0390b8e903..8a3b472c27 100644 --- a/dist/native/other/awaitModalSubmit.js +++ b/dist/native/other/awaitModalSubmit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/other/awaitModalSubmit.js.map b/dist/native/other/awaitModalSubmit.js.map index 9fb5597171..cc9e79525a 100644 --- a/dist/native/other/awaitModalSubmit.js.map +++ b/dist/native/other/awaitModalSubmit.js.map @@ -1 +1 @@ -{"version":3,"file":"awaitModalSubmit.js","sourceRoot":"","sources":["../../../src/native/other/awaitModalSubmit.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA2I;AAI3I,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sIAAsI;IACnJ,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,yEAAyE;YACtF,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,WAAW,EAAE,s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AAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,EAAE;SACjC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAElB,IAAI,GAAG,EAAE,CAAC;YACN,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAC,CAAA;YACrH,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;gBAC9B,OAAO,EAAE,CAAA;QACjB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/other/bar.js b/dist/native/other/bar.js index bf5c98706a..71d86a8f26 100644 --- a/dist/native/other/bar.js +++ b/dist/native/other/bar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const generateBar_1 = require("../../functions/generateBar"); diff --git a/dist/native/other/c.js b/dist/native/other/c.js index 2aafc3f66e..9876eedece 100644 --- a/dist/native/other/c.js +++ b/dist/native/other/c.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/other/callFunction.d.ts.map b/dist/native/other/callFunction.d.ts.map index 4714f4d29d..5288927e8c 100644 --- a/dist/native/other/callFunction.d.ts.map +++ b/dist/native/other/callFunction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"callFunction.d.ts","sourceRoot":"","sources":["../../../src/native/other/callFunction.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;;;;;;;;;;;;;AAGnF,wBA4BE"} \ No newline at end of file +{"version":3,"file":"callFunction.d.ts","sourceRoot":"","sources":["../../../src/native/other/callFunction.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;;;;;;;;;;;;;AAEnF,wBA4BE"} \ No newline at end of file diff --git a/dist/native/other/callFunction.js b/dist/native/other/callFunction.js index bf344d5506..dcd6331ff2 100644 --- a/dist/native/other/callFunction.js +++ b/dist/native/other/callFunction.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const ForgeError_1 = require("../../structures/forge/ForgeError"); @@ -32,7 +32,7 @@ exports.default = new NativeFunction_1.NativeFunction({ const fn = ctx.client.functions.get(name); if (!fn) return this.error(ForgeError_1.ErrorType.UnknownXName, "function", name); - return fn.call(ctx, args); + return fn.call(ctx, this, args); }, }); //# sourceMappingURL=callFunction.js.map \ No newline at end of file diff --git a/dist/native/other/callFunction.js.map b/dist/native/other/callFunction.js.map index 6a53f1d60d..6846bcd067 100644 --- a/dist/native/other/callFunction.js.map +++ b/dist/native/other/callFunction.js.map @@ -1 +1 @@ -{"version":3,"file":"callFunction.js","sourceRoot":"","sources":["../../../src/native/other/callFunction.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,kEAA6D;AAC7D,8EAAmF;AAGnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yCAAyC;IACtD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,wBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACzC,IAAI,CAAC,EAAE;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC,sBAAS,CAAC,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC,CAAA;QAEpE,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"callFunction.js","sourceRoot":"","sources":["../../../src/native/other/callFunction.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,kEAA6D;AAC7D,8EAAmF;AAEnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yCAAyC;IACtD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,wBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QACrB,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACzC,IAAI,CAAC,EAAE;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC,sBAAS,CAAC,YAAY,EAAE,UAAU,EAAE,IAAI,CAAC,CAAA;QAEpE,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;IACnC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/other/callLocalFunction.js b/dist/native/other/callLocalFunction.js index 0ab8797c83..3be9a8f139 100644 --- a/dist/native/other/callLocalFunction.js +++ b/dist/native/other/callLocalFunction.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/other/callLocalFunction.js.map b/dist/native/other/callLocalFunction.js.map index b5a2152a27..e03129f220 100644 --- a/dist/native/other/callLocalFunction.js.map +++ b/dist/native/other/callLocalFunction.js.map @@ -1 +1 @@ -{"version":3,"file":"callLocalFunction.js","sourceRoot":"","sources":["../../../src/native/other/callLocalFunction.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA4C;AAC5C,8EAAmF;AAEnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wBAAwB;IACrC,OAAO,EAAE,CAAC,SAAS,CAAC;IACpB,MAAM,EAAE,IAAI;IACZ,QAAQ,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E,IAAI,CAAC,IAAI,CAAC,CAAA;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;IACjC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"callLocalFunction.js","sourceRoot":"","sources":["../../../src/native/other/callLocalFunction.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA4C;AAC5C,8EAAmF;AAEnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wBAAwB;IACrC,OAAO,EAAE,CAAC,SAAS,CAAC;IACpB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,wBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,wBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QAC3B,MAAM,IAAI,GAAG,GAAG,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAA;QACvC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,CAAC,KAAK,CAAC,sBAAS,CAAC,YAAY,EAAE,gBAAgB,EAAE,IAAI,CAAC,CAAA;QAE5E,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM;YAC9B,OAAO,IAAI,CAAC,KAAK,CACb,sBAAS,CAAC,MAAM,EAChB,0BAA0B,IAAI,aAAa,IAAI,CAAC,IAAI,CAAC,MAAM,YAAY,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,cAAc,IAAI,CAAC,MAAM,EAAE,CACpI,CAAA;QAEL,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACnD,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;QAChD,CAAC;QAED,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;IACjC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/other/debug.d.ts b/dist/native/other/debug.d.ts index c995248504..4cf9a95fc1 100644 --- a/dist/native/other/debug.d.ts +++ b/dist/native/other/debug.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=debug.d.ts.map \ No newline at end of file diff --git a/dist/native/other/debug.js b/dist/native/other/debug.js index 6e92bd166a..b900657ee7 100644 --- a/dist/native/other/debug.js +++ b/dist/native/other/debug.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/other/disableConsoleErrors.d.ts b/dist/native/other/disableConsoleErrors.d.ts index 59f2a42b7f..552fc2cd3e 100644 --- a/dist/native/other/disableConsoleErrors.d.ts +++ b/dist/native/other/disableConsoleErrors.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=disableConsoleErrors.d.ts.map \ No newline at end of file diff --git a/dist/native/other/disableConsoleErrors.js b/dist/native/other/disableConsoleErrors.js index c9548c0f68..196ec79979 100644 --- a/dist/native/other/disableConsoleErrors.js +++ b/dist/native/other/disableConsoleErrors.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/other/djsVersion.d.ts b/dist/native/other/djsVersion.d.ts index a16b3b3214..590e4eb452 100644 --- a/dist/native/other/djsVersion.d.ts +++ b/dist/native/other/djsVersion.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=djsVersion.d.ts.map \ No newline at end of file diff --git a/dist/native/other/djsVersion.js b/dist/native/other/djsVersion.js index 188ea6bfeb..f697e220d0 100644 --- a/dist/native/other/djsVersion.js +++ b/dist/native/other/djsVersion.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/other/enableConsoleErrors.d.ts b/dist/native/other/enableConsoleErrors.d.ts index 0f2fb6dbd4..1b31529b43 100644 --- a/dist/native/other/enableConsoleErrors.d.ts +++ b/dist/native/other/enableConsoleErrors.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=enableConsoleErrors.d.ts.map \ No newline at end of file diff --git a/dist/native/other/enableConsoleErrors.js b/dist/native/other/enableConsoleErrors.js index 3065398f54..88a4b566e6 100644 --- a/dist/native/other/enableConsoleErrors.js +++ b/dist/native/other/enableConsoleErrors.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/other/error.d.ts b/dist/native/other/error.d.ts index f12c7e788b..3691aadf4b 100644 --- a/dist/native/other/error.d.ts +++ b/dist/native/other/error.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=error.d.ts.map \ No newline at end of file diff --git a/dist/native/other/error.js b/dist/native/other/error.js index 3190ea67e7..32580f9546 100644 --- a/dist/native/other/error.js +++ b/dist/native/other/error.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/other/escapeCode.d.ts b/dist/native/other/escapeCode.d.ts index 085f36f196..b888904087 100644 --- a/dist/native/other/escapeCode.d.ts +++ b/dist/native/other/escapeCode.d.ts @@ -1,8 +1,8 @@ import { ArgType, NativeFunction } from "../../structures"; declare const _default: NativeFunction<[{ name: string; - type: ArgType.String; description: string; + type: ArgType.String; required: true; rest: false; }], false>; diff --git a/dist/native/other/escapeCode.d.ts.map b/dist/native/other/escapeCode.d.ts.map index 61ff2e98ec..a084ef1327 100644 --- a/dist/native/other/escapeCode.d.ts.map +++ b/dist/native/other/escapeCode.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"escapeCode.d.ts","sourceRoot":"","sources":["../../../src/native/other/escapeCode.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAsBE"} \ No newline at end of file +{"version":3,"file":"escapeCode.d.ts","sourceRoot":"","sources":["../../../src/native/other/escapeCode.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1F,wBAuBE"} \ No newline at end of file diff --git a/dist/native/other/escapeCode.js b/dist/native/other/escapeCode.js index 57028ae6eb..4f630b1a84 100644 --- a/dist/native/other/escapeCode.js +++ b/dist/native/other/escapeCode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -17,15 +17,16 @@ exports.default = new structures_1.NativeFunction({ args: [ { name: "code", - type: structures_1.ArgType.String, description: "The code to ignore", + type: structures_1.ArgType.String, required: true, rest: false } ], output: structures_1.ArgType.String, execute(ctx) { - return this.success(this.displayField(0)); + const code = this.data.fields[0]; + return this.success(code.rawValue); }, }); //# sourceMappingURL=escapeCode.js.map \ No newline at end of file diff --git a/dist/native/other/escapeCode.js.map b/dist/native/other/escapeCode.js.map index 80351c3d04..d57d72e44d 100644 --- a/dist/native/other/escapeCode.js.map +++ b/dist/native/other/escapeCode.js.map @@ -1 +1 @@ -{"version":3,"file":"escapeCode.js","sourceRoot":"","sources":["../../../src/native/other/escapeCode.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE;QACL,MAAM;KACT;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,WAAW,EAAE,oBAAoB;YACjC,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAA;IAC7C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"escapeCode.js","sourceRoot":"","sources":["../../../src/native/other/escapeCode.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0F;AAE1F,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gDAAgD;IAC7D,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE;QACL,MAAM;KACT;IACD,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG;QACP,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QACnE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IACtC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/other/localFunction.js b/dist/native/other/localFunction.js index e2ace1d376..53ba088097 100644 --- a/dist/native/other/localFunction.js +++ b/dist/native/other/localFunction.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/other/typeof.d.ts.map b/dist/native/other/typeof.d.ts.map index 38e8300e2d..c564f4be55 100644 --- a/dist/native/other/typeof.d.ts.map +++ b/dist/native/other/typeof.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"typeof.d.ts","sourceRoot":"","sources":["../../../src/native/other/typeof.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;AAElE,eAAO,MAAM,iBAAiB,QAAW,CAAA;;;;;;;;AAEzC,wBAkCE"} \ No newline at end of file +{"version":3,"file":"typeof.d.ts","sourceRoot":"","sources":["../../../src/native/other/typeof.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAE1D,eAAO,MAAM,iBAAiB,QAAW,CAAA;;;;;;;;AAEzC,wBAkCE"} \ No newline at end of file diff --git a/dist/native/other/typeof.js b/dist/native/other/typeof.js index 894cba4666..58f25963d1 100644 --- a/dist/native/other/typeof.js +++ b/dist/native/other/typeof.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.BigIntFormatRegex = void 0; @@ -31,7 +31,7 @@ exports.default = new structures_1.NativeFunction({ type = "boolean"; else if (exports.BigIntFormatRegex.test(arg)) type = "bigint"; - else if (!!arg.trim() && !isNaN(Number(arg))) + else if (arg === "NaN" || (!!arg.trim() && !isNaN(Number(arg)))) type = "number"; else { try { diff --git a/dist/native/other/typeof.js.map b/dist/native/other/typeof.js.map index d10e63a889..f81e7a4b4c 100644 --- a/dist/native/other/typeof.js.map +++ b/dist/native/other/typeof.js.map @@ -1 +1 @@ -{"version":3,"file":"typeof.js","sourceRoot":"","sources":["../../../src/native/other/typeof.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAEF,iDAAkE;AAErD,QAAA,iBAAiB,GAAG,QAAQ,CAAA;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC;QACd,IAAI,IAAY,CAAA;QAEhB,IAAI,GAAG,KAAK,WAAW;YAAE,IAAI,GAAG,WAAW,CAAA;aACtC,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,KAAK,OAAO;YAAE,IAAI,GAAG,SAAS,CAAA;aACvD,IAAI,yBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC;YAAE,IAAI,GAAG,QAAQ,CAAA;aAChD,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YAAE,IAAI,GAAG,QAAQ,CAAA;aACxD;YACD,IAAI;gBACA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;gBACf,IAAI,GAAG,QAAQ,CAAA;aAClB;YAAC,MAAM;gBACJ,IAAI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AM,CAAC;gBACL,IAAI,GAAG,QAAQ,CAAA;YACnB,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/poll/poll.js b/dist/native/poll/poll.js index c46dd222c0..2721d333d2 100644 --- a/dist/native/poll/poll.js +++ b/dist/native/poll/poll.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/poll/pollAnswer.js b/dist/native/poll/pollAnswer.js index 0ae29a380e..f8150b71b4 100644 --- a/dist/native/poll/pollAnswer.js +++ b/dist/native/poll/pollAnswer.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/poll/pollAnswerEmoji.d.ts b/dist/native/poll/pollAnswerEmoji.d.ts index 0583a57613..1a54314c44 100644 --- a/dist/native/poll/pollAnswerEmoji.d.ts +++ b/dist/native/poll/pollAnswerEmoji.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=pollAnswerEmoji.d.ts.map \ No newline at end of file diff --git a/dist/native/poll/pollAnswerEmoji.js b/dist/native/poll/pollAnswerEmoji.js index 1a3f1f2abf..040aa72633 100644 --- a/dist/native/poll/pollAnswerEmoji.js +++ b/dist/native/poll/pollAnswerEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/poll/pollAnswerID.d.ts b/dist/native/poll/pollAnswerID.d.ts index 4e20927a8f..c98ae3486a 100644 --- a/dist/native/poll/pollAnswerID.d.ts +++ b/dist/native/poll/pollAnswerID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=pollAnswerID.d.ts.map \ No newline at end of file diff --git a/dist/native/poll/pollAnswerID.js b/dist/native/poll/pollAnswerID.js index 622e238e88..e78a0f27df 100644 --- a/dist/native/poll/pollAnswerID.js +++ b/dist/native/poll/pollAnswerID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/poll/pollAnswerMessageID.d.ts b/dist/native/poll/pollAnswerMessageID.d.ts index 71c5ef47fe..710a79d621 100644 --- a/dist/native/poll/pollAnswerMessageID.d.ts +++ b/dist/native/poll/pollAnswerMessageID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=pollAnswerMessageID.d.ts.map \ No newline at end of file diff --git a/dist/native/poll/pollAnswerMessageID.js b/dist/native/poll/pollAnswerMessageID.js index ca6b31cc12..237e3588f4 100644 --- a/dist/native/poll/pollAnswerMessageID.js +++ b/dist/native/poll/pollAnswerMessageID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/poll/pollAnswerText.d.ts b/dist/native/poll/pollAnswerText.d.ts index 27fbe98e49..f98ce8d122 100644 --- a/dist/native/poll/pollAnswerText.d.ts +++ b/dist/native/poll/pollAnswerText.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=pollAnswerText.d.ts.map \ No newline at end of file diff --git a/dist/native/poll/pollAnswerText.js b/dist/native/poll/pollAnswerText.js index 39bf42ba63..7fa09a03a0 100644 --- a/dist/native/poll/pollAnswerText.js +++ b/dist/native/poll/pollAnswerText.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/poll/pollAnswerVoteCount.d.ts b/dist/native/poll/pollAnswerVoteCount.d.ts index f5c5dd988a..67f9bd7aad 100644 --- a/dist/native/poll/pollAnswerVoteCount.d.ts +++ b/dist/native/poll/pollAnswerVoteCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=pollAnswerVoteCount.d.ts.map \ No newline at end of file diff --git a/dist/native/poll/pollAnswerVoteCount.js b/dist/native/poll/pollAnswerVoteCount.js index 5434bf40e8..f2262631ec 100644 --- a/dist/native/poll/pollAnswerVoteCount.js +++ b/dist/native/poll/pollAnswerVoteCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/poll/pollAnswerVoterIDs.js b/dist/native/poll/pollAnswerVoterIDs.js index 8319301c54..c93d127275 100644 --- a/dist/native/poll/pollAnswerVoterIDs.js +++ b/dist/native/poll/pollAnswerVoterIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/poll/pollAnswers.js b/dist/native/poll/pollAnswers.js index 180e5db124..414f5ca832 100644 --- a/dist/native/poll/pollAnswers.js +++ b/dist/native/poll/pollAnswers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/poll/pollAnswers.js.map b/dist/native/poll/pollAnswers.js.map index f8546678ac..3dd790ed73 100644 --- a/dist/native/poll/pollAnswers.js.map +++ b/dist/native/poll/pollAnswers.js.map @@ -1 +1 @@ -{"version":3,"file":"pollAnswers.js","sourceRoot":"","sources":["../../../src/native/poll/pollAnswers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,4BAA4B;IACzC,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,KAAK,CAAE;QAClB,MAAM,GAAG,GAAI,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,OAAiC,CAAA;QAElE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,KAAK,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,IAAI,CAAC,EAAE;YAC/C,MAAM,CAAE,IAAI,EAAE,EAAE,CAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;YAC1C,GAAG,CAAC,IAAI,CAAC;gBACL,IAAI;gBACJ,KAAK,EAAE,EAAE,IAAI,SAAS;aACzB,CAAC,CAAA;SACL;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"pollAnswers.js","sourceRoot":"","sources":["../../../src/native/poll/pollAnswers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,4BAA4B;IACzC,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,KAAK,CAAE;QAClB,MAAM,GAAG,GAAI,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,OAAiC,CAAA;QAElE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,KAAK,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,IAAI,CAAC,EAAE,CAAC;YAChD,MAAM,CAAE,IAAI,EAAE,EAAE,CAAE,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;YAC1C,GAAG,CAAC,IAAI,CAAC;gBACL,IAAI;gBACJ,KAAK,EAAE,EAAE,IAAI,SAAS;aACzB,CAAC,CAAA;QACN,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/poll/pollEnd.js b/dist/native/poll/pollEnd.js index f1b086db49..5641f71f6c 100644 --- a/dist/native/poll/pollEnd.js +++ b/dist/native/poll/pollEnd.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/reaction/reactionAuthorID.d.ts b/dist/native/reaction/reactionAuthorID.d.ts index 75fce348d4..da5b073fb9 100644 --- a/dist/native/reaction/reactionAuthorID.d.ts +++ b/dist/native/reaction/reactionAuthorID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=reactionAuthorID.d.ts.map \ No newline at end of file diff --git a/dist/native/reaction/reactionAuthorID.js b/dist/native/reaction/reactionAuthorID.js index 9b65d29cf4..e62bb4b0e3 100644 --- a/dist/native/reaction/reactionAuthorID.js +++ b/dist/native/reaction/reactionAuthorID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/reaction/reactionCount.d.ts b/dist/native/reaction/reactionCount.d.ts index 1e81a453a9..4aa1857e97 100644 --- a/dist/native/reaction/reactionCount.d.ts +++ b/dist/native/reaction/reactionCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=reactionCount.d.ts.map \ No newline at end of file diff --git a/dist/native/reaction/reactionCount.js b/dist/native/reaction/reactionCount.js index 6918549665..6f01499f4c 100644 --- a/dist/native/reaction/reactionCount.js +++ b/dist/native/reaction/reactionCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/reaction/reactionEmoji.d.ts b/dist/native/reaction/reactionEmoji.d.ts index 1e832e9223..3831edd9fe 100644 --- a/dist/native/reaction/reactionEmoji.d.ts +++ b/dist/native/reaction/reactionEmoji.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=reactionEmoji.d.ts.map \ No newline at end of file diff --git a/dist/native/reaction/reactionEmoji.js b/dist/native/reaction/reactionEmoji.js index 040e60af3b..7e0eb70b1e 100644 --- a/dist/native/reaction/reactionEmoji.js +++ b/dist/native/reaction/reactionEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/reaction/reactionEmojiID.d.ts b/dist/native/reaction/reactionEmojiID.d.ts index c9c313e36f..38be244c76 100644 --- a/dist/native/reaction/reactionEmojiID.d.ts +++ b/dist/native/reaction/reactionEmojiID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=reactionEmojiID.d.ts.map \ No newline at end of file diff --git a/dist/native/reaction/reactionEmojiID.js b/dist/native/reaction/reactionEmojiID.js index 01ed5bea8d..08eae81527 100644 --- a/dist/native/reaction/reactionEmojiID.js +++ b/dist/native/reaction/reactionEmojiID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/reaction/reactionMessageID.d.ts b/dist/native/reaction/reactionMessageID.d.ts index 7c0915e659..1774e4d651 100644 --- a/dist/native/reaction/reactionMessageID.d.ts +++ b/dist/native/reaction/reactionMessageID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=reactionMessageID.d.ts.map \ No newline at end of file diff --git a/dist/native/reaction/reactionMessageID.js b/dist/native/reaction/reactionMessageID.js index 5d1fbb1081..56a4fe1191 100644 --- a/dist/native/reaction/reactionMessageID.js +++ b/dist/native/reaction/reactionMessageID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/addRole.d.ts b/dist/native/role/addRole.d.ts index 2280320160..43bbf986f8 100644 --- a/dist/native/role/addRole.d.ts +++ b/dist/native/role/addRole.d.ts @@ -15,7 +15,7 @@ declare const _default: NativeFunction<[{ name: string; description: string; rest: false; - type: ArgType.String; + type: ArgType.Color; }, { name: string; description: string; @@ -89,6 +89,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/role/addRole.d.ts.map b/dist/native/role/addRole.d.ts.map index e03743cfd1..cedb734dcb 100644 --- a/dist/native/role/addRole.d.ts.map +++ b/dist/native/role/addRole.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"addRole.d.ts","sourceRoot":"","sources":["../../../src/native/role/addRole.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBA2EE"} \ No newline at end of file +{"version":3,"file":"addRole.d.ts","sourceRoot":"","sources":["../../../src/native/role/addRole.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBA2EE"} \ No newline at end of file diff --git a/dist/native/role/addRole.js b/dist/native/role/addRole.js index 35dd76974b..791a26d571 100644 --- a/dist/native/role/addRole.js +++ b/dist/native/role/addRole.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -32,7 +32,7 @@ exports.default = new structures_1.NativeFunction({ name: "color", description: "The role color", rest: false, - type: structures_1.ArgType.String, + type: structures_1.ArgType.Color, }, { name: "icon", diff --git a/dist/native/role/addRole.js.map b/dist/native/role/addRole.js.map index 2bc12c31ac..a1de64f21e 100644 --- a/dist/native/role/addRole.js.map +++ b/dist/native/role/addRole.js.map @@ -1 +1 @@ -{"version":3,"file":"addRole.js","sourceRoot":"","sources":["../../../src/native/role/addRole.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAAoF;AACpF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;SACd;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,gCAAmB;YACzB,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,CAAC;QACzE,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,KAAK;aAC5B,MAAM,CAAC;YACJ,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,KAAwB,EAAE;YACvE,IAAI,EAAE,IAAI,IAAI,SAAS;YACvB,KAAK,EAAE,KAAK,IAAI,KAAK;YACrB,WAAW,EAAE,WAAW,IAAI,KAAK;YACjC,IAAI;YACJ,WAAW,EAAG,KAA6B,IAAI,EAAE;YACjD,QAAQ,EAAE,GAAG,IAAI,SAAS;YAC1B,MAAM,EAAE,GAAG,CAAC,MAAM;SACrB,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACzD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"addRole.js","sourceRoot":"","sources":["../../../src/native/role/addRole.ts"],"names":[],"mapp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ACV,IAAI,EAAE,gCAAmB;YACzB,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,CAAC;QACzE,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,KAAK;aAC5B,MAAM,CAAC;YACJ,MAAM,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE;YACpD,IAAI,EAAE,IAAI,IAAI,SAAS;YACvB,KAAK,EAAE,KAAK,IAAI,KAAK;YACrB,WAAW,EAAE,WAAW,IAAI,KAAK;YACjC,IAAI;YACJ,WAAW,EAAG,KAA6B,IAAI,EAAE;YACjD,QAAQ,EAAE,GAAG,IAAI,SAAS;YAC1B,MAAM,EAAE,GAAG,CAAC,MAAM;SACrB,CAAC;aACD,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACzD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/role/cloneRole.js b/dist/native/role/cloneRole.js index 7a3e8605b3..cb338a4d6d 100644 --- a/dist/native/role/cloneRole.js +++ b/dist/native/role/cloneRole.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/deleteRoles.js b/dist/native/role/deleteRoles.js index 7d55c3132f..9eea1201cb 100644 --- a/dist/native/role/deleteRoles.js +++ b/dist/native/role/deleteRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/deleteRoles.js.map b/dist/native/role/deleteRoles.js.map index a82680b28c..4ac3f46661 100644 --- a/dist/native/role/deleteRoles.js.map +++ b/dist/native/role/deleteRoles.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteRoles.js","sourceRoot":"","sources":["../../../src/native/role/deleteRoles.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,yDAAyD;IACtE,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,CAAC;QACxB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC9C,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;YACrB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC7D,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;SACvB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteRoles.js","sourceRoot":"","sources":["../../../src/native/role/deleteRoles.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,yDAAyD;IACtE,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,CAAC;QACxB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAC/C,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;YACrB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC7D,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/role/editRole.d.ts b/dist/native/role/editRole.d.ts index 1db0a6af9c..009a3b76b9 100644 --- a/dist/native/role/editRole.d.ts +++ b/dist/native/role/editRole.d.ts @@ -21,7 +21,7 @@ declare const _default: NativeFunction<[{ name: string; description: string; rest: false; - type: ArgType.String; + type: ArgType.Color; }, { name: string; description: string; diff --git a/dist/native/role/editRole.d.ts.map b/dist/native/role/editRole.d.ts.map index f92095c6dc..d2395a5149 100644 --- a/dist/native/role/editRole.d.ts.map +++ b/dist/native/role/editRole.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"editRole.d.ts","sourceRoot":"","sources":["../../../src/native/role/editRole.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlE,wBAyEE"} \ No newline at end of file +{"version":3,"file":"editRole.d.ts","sourceRoot":"","sources":["../../../src/native/role/editRole.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1D,wBAyEE"} \ No newline at end of file diff --git a/dist/native/role/editRole.js b/dist/native/role/editRole.js index 6317896015..1d20c6db9a 100644 --- a/dist/native/role/editRole.js +++ b/dist/native/role/editRole.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -10,7 +10,7 @@ exports.default = new structures_1.NativeFunction({ version: "1.0.7", description: "Edits a role on a guild, returns boolean", unwrap: true, - output: structures_1.ArgType.Boolean, + brackets: true, args: [ { name: "guild ID", @@ -37,7 +37,7 @@ exports.default = new structures_1.NativeFunction({ name: "color", description: "The new role color, leave empty to not modify", rest: false, - type: structures_1.ArgType.String, + type: structures_1.ArgType.Color, }, { name: "icon", @@ -64,15 +64,15 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.Permission, }, ], - brackets: true, + output: structures_1.ArgType.Boolean, async execute(ctx, [, role, name, color, icon, hoist, mentionable, perms]) { const edit = await role.edit({ colors: !color ? undefined : { primaryColor: color }, - hoist: hoist || undefined, - icon: icon || undefined, - mentionable: mentionable || undefined, + mentionable: typeof (mentionable) === "boolean" ? mentionable : undefined, + hoist: typeof (hoist) === "boolean" ? hoist : undefined, name: name || undefined, - permissions: perms || undefined, + icon: icon || undefined, + permissions: perms?.length ? perms : undefined, reason: ctx.reason }).catch(ctx.noop); return this.success(!!edit); diff --git a/dist/native/role/editRole.js.map b/dist/native/role/editRole.js.map index 415bb95107..6f19e9c70a 100644 --- a/dist/native/role/editRole.js.map +++ b/dist/native/role/editRole.js.map @@ -1 +1 @@ -{"version":3,"file":"editRole.js","sourceRoot":"","sources":["../../../src/native/role/editRole.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAGlE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,I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EAAE,YAAY,EAAE,KAAwB,EAAE;YACvE,KAAK,EAAE,KAAK,IAAI,SAAS;YACzB,IAAI,EAAE,IAAI,IAAI,SAAS;YACvB,WAAW,EAAE,WAAW,IAAI,SAAS;YACrC,IAAI,EAAE,IAAI,IAAI,SAAS;YACvB,WAAW,EAAE,KAAK,IAAI,SAAS;YAC/B,MAAM,EAAE,GAAG,CAAC,MAAM;SACrB,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAElB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAC/B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"editRole.js","sourceRoot":"","sources":["../../../src/native/role/editRole.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,8CAA8C;YAC3D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,C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M;SACrB,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAElB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IAC/B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/role/editRoleColors.js b/dist/native/role/editRoleColors.js index 8f950c1732..d8259e4752 100644 --- a/dist/native/role/editRoleColors.js +++ b/dist/native/role/editRoleColors.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/editRoleIcon.js b/dist/native/role/editRoleIcon.js index 664c569beb..7e2876906b 100644 --- a/dist/native/role/editRoleIcon.js +++ b/dist/native/role/editRoleIcon.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/editRoleName.js b/dist/native/role/editRoleName.js index c2646520e4..d22a499a7e 100644 --- a/dist/native/role/editRoleName.js +++ b/dist/native/role/editRoleName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/editRolePerms.js b/dist/native/role/editRolePerms.js index ec087330c3..0424f08ea0 100644 --- a/dist/native/role/editRolePerms.js +++ b/dist/native/role/editRolePerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/editRolePosition.js b/dist/native/role/editRolePosition.js index c7d1dbb575..9bbe69eda2 100644 --- a/dist/native/role/editRolePosition.js +++ b/dist/native/role/editRolePosition.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/editRoleUnicodeEmoji.js b/dist/native/role/editRoleUnicodeEmoji.js index 6b6668f076..683f36a5f1 100644 --- a/dist/native/role/editRoleUnicodeEmoji.js +++ b/dist/native/role/editRoleUnicodeEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/fetchRoles.js b/dist/native/role/fetchRoles.js index 85d666383e..a287554f9a 100644 --- a/dist/native/role/fetchRoles.js +++ b/dist/native/role/fetchRoles.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/randomRoleID.js b/dist/native/role/randomRoleID.js index 8814f9db7e..fba2c84004 100644 --- a/dist/native/role/randomRoleID.js +++ b/dist/native/role/randomRoleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleColor.js b/dist/native/role/roleColor.js index efbda308ed..cb416e0c36 100644 --- a/dist/native/role/roleColor.js +++ b/dist/native/role/roleColor.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.RoleColor = void 0; diff --git a/dist/native/role/roleCount.d.ts b/dist/native/role/roleCount.d.ts index 94eb54ed46..eac5ae1ce0 100644 --- a/dist/native/role/roleCount.d.ts +++ b/dist/native/role/roleCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=roleCount.d.ts.map \ No newline at end of file diff --git a/dist/native/role/roleCount.js b/dist/native/role/roleCount.js index 84667aca71..c36d5f6499 100644 --- a/dist/native/role/roleCount.js +++ b/dist/native/role/roleCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleCreatedAt.js b/dist/native/role/roleCreatedAt.js index 606be3cd6e..8ad80eda78 100644 --- a/dist/native/role/roleCreatedAt.js +++ b/dist/native/role/roleCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleEditable.js b/dist/native/role/roleEditable.js index e5fd4b5425..3cf8f2d3b3 100644 --- a/dist/native/role/roleEditable.js +++ b/dist/native/role/roleEditable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleExists.js b/dist/native/role/roleExists.js index ec4161be16..5d6a6c1fe3 100644 --- a/dist/native/role/roleExists.js +++ b/dist/native/role/roleExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleFlags.js b/dist/native/role/roleFlags.js index dc8706737c..5b2462323e 100644 --- a/dist/native/role/roleFlags.js +++ b/dist/native/role/roleFlags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/role/roleHasAnyPerms.d.ts b/dist/native/role/roleHasAnyPerms.d.ts index 3a60401387..7174b41c1a 100644 --- a/dist/native/role/roleHasAnyPerms.d.ts +++ b/dist/native/role/roleHasAnyPerms.d.ts @@ -67,6 +67,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/role/roleHasAnyPerms.d.ts.map b/dist/native/role/roleHasAnyPerms.d.ts.map index e6ddf5d28e..5a071289bf 100644 --- a/dist/native/role/roleHasAnyPerms.d.ts.map +++ b/dist/native/role/roleHasAnyPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"roleHasAnyPerms.d.ts","sourceRoot":"","sources":["../../../src/native/role/roleHasAnyPerms.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAsCE"} \ No newline at end of file +{"version":3,"file":"roleHasAnyPerms.d.ts","sourceRoot":"","sources":["../../../src/native/role/roleHasAnyPerms.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAsCE"} \ No newline at end of file diff --git a/dist/native/role/roleHasAnyPerms.js b/dist/native/role/roleHasAnyPerms.js index 4e5b090c36..24fbfae258 100644 --- a/dist/native/role/roleHasAnyPerms.js +++ b/dist/native/role/roleHasAnyPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/role/roleHasPerms.d.ts b/dist/native/role/roleHasPerms.d.ts index a3b1b2b668..35f616ddf0 100644 --- a/dist/native/role/roleHasPerms.d.ts +++ b/dist/native/role/roleHasPerms.d.ts @@ -67,6 +67,7 @@ declare const _default: NativeFunction<[{ readonly CreateEvents: bigint; readonly UseExternalSounds: bigint; readonly SendVoiceMessages: bigint; + readonly SetVoiceChannelStatus: bigint; readonly SendPolls: bigint; readonly UseExternalApps: bigint; readonly PinMessages: bigint; diff --git a/dist/native/role/roleHasPerms.d.ts.map b/dist/native/role/roleHasPerms.d.ts.map index fe5f9e20d4..9956bbf1b9 100644 --- a/dist/native/role/roleHasPerms.d.ts.map +++ b/dist/native/role/roleHasPerms.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"roleHasPerms.d.ts","sourceRoot":"","sources":["../../../src/native/role/roleHasPerms.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAsCE"} \ No newline at end of file +{"version":3,"file":"roleHasPerms.d.ts","sourceRoot":"","sources":["../../../src/native/role/roleHasPerms.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElE,wBAsCE"} \ No newline at end of file diff --git a/dist/native/role/roleHasPerms.js b/dist/native/role/roleHasPerms.js index f31da5f418..d3228ebd16 100644 --- a/dist/native/role/roleHasPerms.js +++ b/dist/native/role/roleHasPerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/role/roleHoisted.js b/dist/native/role/roleHoisted.js index a488011d21..2417eed16b 100644 --- a/dist/native/role/roleHoisted.js +++ b/dist/native/role/roleHoisted.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleID.js b/dist/native/role/roleID.js index e6891fcec6..1aba97a176 100644 --- a/dist/native/role/roleID.js +++ b/dist/native/role/roleID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleID.js.map b/dist/native/role/roleID.js.map index fa4f8d568d..075e217fc9 100644 --- a/dist/native/role/roleID.js.map +++ b/dist/native/role/roleID.js.map @@ -1 +1 @@ -{"version":3,"file":"roleID.js","sourceRoot":"","sources":["../../../src/native/role/roleID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QACtB,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;YAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,EAAE,CAAC,CAAA;SAC1E;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IACrC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"roleID.js","sourceRoot":"","sources":["../../../src/native/role/roleID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,IAAI;IACpB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QACtB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;YAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,EAAE,CAAC,CAAA;QAC3E,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IACrC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/role/roleIcon.js b/dist/native/role/roleIcon.js index 876649c144..97cdc3b944 100644 --- a/dist/native/role/roleIcon.js +++ b/dist/native/role/roleIcon.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleIntColor.js b/dist/native/role/roleIntColor.js index 7fe1bfed71..06137d6390 100644 --- a/dist/native/role/roleIntColor.js +++ b/dist/native/role/roleIntColor.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleManageable.js b/dist/native/role/roleManageable.js index 0506da0f8d..cb58e4c30c 100644 --- a/dist/native/role/roleManageable.js +++ b/dist/native/role/roleManageable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleMembers.js b/dist/native/role/roleMembers.js index d0d5544dfc..2ca87662a6 100644 --- a/dist/native/role/roleMembers.js +++ b/dist/native/role/roleMembers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/role/roleMentionable.js b/dist/native/role/roleMentionable.js index e7aac5f6da..e0ab91a5a6 100644 --- a/dist/native/role/roleMentionable.js +++ b/dist/native/role/roleMentionable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleName.js b/dist/native/role/roleName.js index 00c396f376..17b6496f22 100644 --- a/dist/native/role/roleName.js +++ b/dist/native/role/roleName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleNames.js b/dist/native/role/roleNames.js index aeeed83d63..e99fda0c4c 100644 --- a/dist/native/role/roleNames.js +++ b/dist/native/role/roleNames.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/role/rolePerms.js b/dist/native/role/rolePerms.js index 1c3bb551cc..48c63f4681 100644 --- a/dist/native/role/rolePerms.js +++ b/dist/native/role/rolePerms.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/role/rolePosition.js b/dist/native/role/rolePosition.js index 321c267750..53dfc01630 100644 --- a/dist/native/role/rolePosition.js +++ b/dist/native/role/rolePosition.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleRawData.js b/dist/native/role/roleRawData.js index 9b2466337f..ef2355c96d 100644 --- a/dist/native/role/roleRawData.js +++ b/dist/native/role/roleRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleRawPosition.js b/dist/native/role/roleRawPosition.js index 9f39211720..149fde6b51 100644 --- a/dist/native/role/roleRawPosition.js +++ b/dist/native/role/roleRawPosition.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/role/roleTags.js b/dist/native/role/roleTags.js index 98f6e3e49d..61b74cd490 100644 --- a/dist/native/role/roleTags.js +++ b/dist/native/role/roleTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/role/roleUnicodeEmoji.js b/dist/native/role/roleUnicodeEmoji.js index 6637dc66a6..9085125042 100644 --- a/dist/native/role/roleUnicodeEmoji.js +++ b/dist/native/role/roleUnicodeEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/createSoundboardSound.js b/dist/native/soundboard/createSoundboardSound.js index 6e0b05d157..5c0aef2883 100644 --- a/dist/native/soundboard/createSoundboardSound.js +++ b/dist/native/soundboard/createSoundboardSound.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/createSoundboardSound.js.map b/dist/native/soundboard/createSoundboardSound.js.map index 9c00b6c30f..53f2b09254 100644 --- a/dist/native/soundboard/createSoundboardSound.js.map +++ b/dist/native/soundboard/createSoundboardSound.js.map @@ -1 +1 @@ -{"version":3,"file":"createSoundboardSound.js","sourceRoot":"","sources":["../../../src/native/soundboard/createSoundboardSound.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAClE,qCAAsC;AACtC,uEAAmE;AAEnE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;Y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AE,IAAI,SAAS;YAChC,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,IAAI,SAAS;YAC7D,MAAM,EAAE,OAAM,CAAC,MAAM,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;YACxD,MAAM,EAAE,MAAM,IAAI,GAAG,CAAC,MAAM;SAC/B,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QAElB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"createSoundboardSound.js","sourceRoot":"","sources":["../../../src/native/soundboard/createSoundboardSound.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAClE,qCAAsC;AACtC,uEAAmE;AAEnE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,wBAAwB;IAC9B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,yCAAyC;YACtD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;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AC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/soundboard/deleteSoundboardSounds.js b/dist/native/soundboard/deleteSoundboardSounds.js index 35f2e88020..2a27b62f7f 100644 --- a/dist/native/soundboard/deleteSoundboardSounds.js +++ b/dist/native/soundboard/deleteSoundboardSounds.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/deleteSoundboardSounds.js.map b/dist/native/soundboard/deleteSoundboardSounds.js.map index a0bb415b0b..d65aff8b88 100644 --- a/dist/native/soundboard/deleteSoundboardSounds.js.map +++ b/dist/native/soundboard/deleteSoundboardSounds.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteSoundboardSounds.js","sourceRoot":"","sources":["../../../src/native/soundboard/deleteSoundboardSounds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sEAAsE;IACnF,OAAO,EAAE,CAAC,wBAAwB,CAAC;IACnC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,eAAe;SAChC;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACzB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YAC/C,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC9E,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;SACvB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteSoundboardSounds.js","sourceRoot":"","sources":["../../../src/native/soundboard/deleteSoundboardSounds.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sEAAsE;IACnF,OAAO,EAAE,CAAC,wBAAwB,CAAC;IACnC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,eAAe;SAChC;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,MAAM,CAAC;QACzB,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAChD,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC9E,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/soundboard/editSoundboardSound.js b/dist/native/soundboard/editSoundboardSound.js index dd91fed653..bec7737da9 100644 --- a/dist/native/soundboard/editSoundboardSound.js +++ b/dist/native/soundboard/editSoundboardSound.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/getSoundboardSound.js b/dist/native/soundboard/getSoundboardSound.js index b748592335..843bf57c1f 100644 --- a/dist/native/soundboard/getSoundboardSound.js +++ b/dist/native/soundboard/getSoundboardSound.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundAvailable.js b/dist/native/soundboard/soundAvailable.js index f362ca14bb..69460cbbdb 100644 --- a/dist/native/soundboard/soundAvailable.js +++ b/dist/native/soundboard/soundAvailable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundCreatedAt.js b/dist/native/soundboard/soundCreatedAt.js index cc8fabd4d4..56eb8cd156 100644 --- a/dist/native/soundboard/soundCreatedAt.js +++ b/dist/native/soundboard/soundCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundEmoji.js b/dist/native/soundboard/soundEmoji.js index 213987a8ed..e68fabc4c3 100644 --- a/dist/native/soundboard/soundEmoji.js +++ b/dist/native/soundboard/soundEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundGuildID.d.ts b/dist/native/soundboard/soundGuildID.d.ts index a25adeb2a7..e4489d4440 100644 --- a/dist/native/soundboard/soundGuildID.d.ts +++ b/dist/native/soundboard/soundGuildID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=soundGuildID.d.ts.map \ No newline at end of file diff --git a/dist/native/soundboard/soundGuildID.js b/dist/native/soundboard/soundGuildID.js index 67b71806d9..2abd72d9b9 100644 --- a/dist/native/soundboard/soundGuildID.js +++ b/dist/native/soundboard/soundGuildID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundID.js b/dist/native/soundboard/soundID.js index 88a4dced27..d548113a17 100644 --- a/dist/native/soundboard/soundID.js +++ b/dist/native/soundboard/soundID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundID.js.map b/dist/native/soundboard/soundID.js.map index 2a8d96167d..9a99aeacce 100644 --- a/dist/native/soundboard/soundID.js.map +++ b/dist/native/soundboard/soundID.js.map @@ -1 +1 @@ -{"version":3,"file":"soundID.js","sourceRoot":"","sources":["../../../src/native/soundboard/soundID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,eAAe;IAC/B,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QAC5B,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;YAC3B,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACnE,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,OAAO,CAAC,CAAA;SACrE;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"soundID.js","sourceRoot":"","sources":["../../../src/native/soundboard/soundID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,KAAK;YACnB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,eAAe;IAC/B,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;QAC5B,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;YAC3B,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACnE,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,OAAO,CAAC,CAAA;QACtE,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/soundboard/soundName.js b/dist/native/soundboard/soundName.js index 55d7ff9caa..20ef83f59e 100644 --- a/dist/native/soundboard/soundName.js +++ b/dist/native/soundboard/soundName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundURL.js b/dist/native/soundboard/soundURL.js index 1e2cb3d17a..3fd507cdf3 100644 --- a/dist/native/soundboard/soundURL.js +++ b/dist/native/soundboard/soundURL.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundUserID.js b/dist/native/soundboard/soundUserID.js index 5d97eee175..fb25d91014 100644 --- a/dist/native/soundboard/soundUserID.js +++ b/dist/native/soundboard/soundUserID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/soundboard/soundVolume.js b/dist/native/soundboard/soundVolume.js index 6fb7792f10..96aac0208d 100644 --- a/dist/native/soundboard/soundVolume.js +++ b/dist/native/soundboard/soundVolume.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/state/auditLog.js b/dist/native/state/auditLog.js index ecf1482dfb..21bf629f6d 100644 --- a/dist/native/state/auditLog.js +++ b/dist/native/state/auditLog.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const audit_1 = require("../../properties/audit"); diff --git a/dist/native/state/bulk.d.ts.map b/dist/native/state/bulk.d.ts.map index d9b88afaa4..0be013f3f1 100644 --- a/dist/native/state/bulk.d.ts.map +++ b/dist/native/state/bulk.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../../src/native/state/bulk.ts"],"names":[],"mappings":"AAKA,OAAO,EAAkB,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAElE,wBA0BE"} \ No newline at end of file +{"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../../src/native/state/bulk.ts"],"names":[],"mappings":"AAKA,OAAO,EAAkB,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAE1D,wBA+BE"} \ No newline at end of file diff --git a/dist/native/state/bulk.js b/dist/native/state/bulk.js index eab7496d23..a7f83ddc4f 100644 --- a/dist/native/state/bulk.js +++ b/dist/native/state/bulk.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const bulk_1 = require("../../properties/bulk"); @@ -10,9 +10,8 @@ exports.default = new structures_1.NativeFunction({ name: "$bulk", version: "1.4.0", description: "Retrieves data from an event whose context was a bulk delete event", - brackets: true, + brackets: false, unwrap: true, - output: structures_1.ArgType.Unknown, args: [ { name: "property", @@ -29,8 +28,15 @@ exports.default = new structures_1.NativeFunction({ type: structures_1.ArgType.String, }, ], + output: [ + structures_1.ArgType.Unknown, + structures_1.ArgType.Json + ], execute(ctx, [prop, sep]) { - return this.success(bulk_1.BulkProperties[prop](ctx.states?.bulk?.new, sep)); + const bulk = ctx.states?.bulk?.new; + if (this.hasFields) + return this.success(bulk_1.BulkProperties[prop](bulk, sep)); + return this.successJSON(bulk); }, }); //# sourceMappingURL=bulk.js.map \ No newline at end of file diff --git a/dist/native/state/bulk.js.map b/dist/native/state/bulk.js.map index 0ebe51f135..afb6a05dd2 100644 --- a/dist/native/state/bulk.js.map +++ b/dist/native/state/bulk.js.map @@ -1 +1 @@ -{"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../src/native/state/bulk.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,gDAAoE;AACpE,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oEAAoE;IACjF,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,mBAAY;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,qBAAc,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAA;IACzE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../src/native/state/bulk.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,gDAAoE;AACpE,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oEAAoE;IACjF,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,mBAAY;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE;QACJ,oBAAO,CAAC,OAAO;QACf,oBAAO,CAAC,IAAI;KACf;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;QACpB,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAA;QAClC,IAAI,IAAI,CAAC,SAAS;YAAE,OAAO,IAAI,CAAC,OAAO,CAAC,qBAAc,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAA;QACxE,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;IACjC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/state/effect.js b/dist/native/state/effect.js index 59ab14d5c7..d73adfccd7 100644 --- a/dist/native/state/effect.js +++ b/dist/native/state/effect.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const voiceEffect_1 = require("../../properties/voiceEffect"); diff --git a/dist/native/state/newAutomodRule.js b/dist/native/state/newAutomodRule.js index af3a6719a5..41d18c3cd9 100644 --- a/dist/native/state/newAutomodRule.js +++ b/dist/native/state/newAutomodRule.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const automodRule_1 = require("../../properties/automodRule"); diff --git a/dist/native/state/newChannel.js b/dist/native/state/newChannel.js index 13455d64c2..7dcb5f0da3 100644 --- a/dist/native/state/newChannel.js +++ b/dist/native/state/newChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const channel_1 = require("../../properties/channel"); diff --git a/dist/native/state/newEmoji.js b/dist/native/state/newEmoji.js index 31c44347a9..28b77af1f1 100644 --- a/dist/native/state/newEmoji.js +++ b/dist/native/state/newEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const emoji_1 = require("../../properties/emoji"); diff --git a/dist/native/state/newEntitlement.js b/dist/native/state/newEntitlement.js index f9df147753..e3fc7f1988 100644 --- a/dist/native/state/newEntitlement.js +++ b/dist/native/state/newEntitlement.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const entitlement_1 = require("../../properties/entitlement"); diff --git a/dist/native/state/newGuild.js b/dist/native/state/newGuild.js index d7441bc284..c54cedbbdb 100644 --- a/dist/native/state/newGuild.js +++ b/dist/native/state/newGuild.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const guild_1 = require("../../properties/guild"); diff --git a/dist/native/state/newInvite.js b/dist/native/state/newInvite.js index 224ea920b0..8ecbcc66c0 100644 --- a/dist/native/state/newInvite.js +++ b/dist/native/state/newInvite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const invite_1 = require("../../properties/invite"); diff --git a/dist/native/state/newMember.js b/dist/native/state/newMember.js index 1cda865006..b936a18a6c 100644 --- a/dist/native/state/newMember.js +++ b/dist/native/state/newMember.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const member_1 = require("../../properties/member"); diff --git a/dist/native/state/newMessage.js b/dist/native/state/newMessage.js index e41978448c..a9f1e88a24 100644 --- a/dist/native/state/newMessage.js +++ b/dist/native/state/newMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const message_1 = require("../../properties/message"); diff --git a/dist/native/state/newPresence.js b/dist/native/state/newPresence.js index dcd6fb44af..6bed82aa38 100644 --- a/dist/native/state/newPresence.js +++ b/dist/native/state/newPresence.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const presence_1 = require("../../properties/presence"); diff --git a/dist/native/state/newRole.js b/dist/native/state/newRole.js index b1559d7db0..c804bd1132 100644 --- a/dist/native/state/newRole.js +++ b/dist/native/state/newRole.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const role_1 = require("../../properties/role"); diff --git a/dist/native/state/newScheduledEvent.js b/dist/native/state/newScheduledEvent.js index 859d9e210c..c3d6d646b8 100644 --- a/dist/native/state/newScheduledEvent.js +++ b/dist/native/state/newScheduledEvent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const scheduledEvent_1 = require("../../properties/scheduledEvent"); diff --git a/dist/native/state/newSound.js b/dist/native/state/newSound.js index d9dddf8ea6..314a555354 100644 --- a/dist/native/state/newSound.js +++ b/dist/native/state/newSound.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const sound_1 = require("../../properties/sound"); diff --git a/dist/native/state/newStage.js b/dist/native/state/newStage.js index f7dcc8f2c6..456cd169d6 100644 --- a/dist/native/state/newStage.js +++ b/dist/native/state/newStage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const stage_1 = require("../../properties/stage"); diff --git a/dist/native/state/newState.js b/dist/native/state/newState.js index d9c05fb268..650009c8a7 100644 --- a/dist/native/state/newState.js +++ b/dist/native/state/newState.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const voiceState_1 = require("../../properties/voiceState"); diff --git a/dist/native/state/newSticker.js b/dist/native/state/newSticker.js index c3b45eb998..e58bfee9d5 100644 --- a/dist/native/state/newSticker.js +++ b/dist/native/state/newSticker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const sticker_1 = require("../../properties/sticker"); diff --git a/dist/native/state/newSubscription.js b/dist/native/state/newSubscription.js index 38493e20e1..70c4ef3409 100644 --- a/dist/native/state/newSubscription.js +++ b/dist/native/state/newSubscription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const subscription_1 = require("../../properties/subscription"); diff --git a/dist/native/state/newUser.js b/dist/native/state/newUser.js index 0acb19f08a..307efd4ca3 100644 --- a/dist/native/state/newUser.js +++ b/dist/native/state/newUser.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const user_1 = require("../../properties/user"); diff --git a/dist/native/state/oldAutomodRule.js b/dist/native/state/oldAutomodRule.js index 8c697ac992..1aec39acbf 100644 --- a/dist/native/state/oldAutomodRule.js +++ b/dist/native/state/oldAutomodRule.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const automodRule_1 = require("../../properties/automodRule"); diff --git a/dist/native/state/oldChannel.js b/dist/native/state/oldChannel.js index 026b83e90f..8b93b1650a 100644 --- a/dist/native/state/oldChannel.js +++ b/dist/native/state/oldChannel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const channel_1 = require("../../properties/channel"); diff --git a/dist/native/state/oldEmoji.js b/dist/native/state/oldEmoji.js index 7b1a11be47..4844c8bf5a 100644 --- a/dist/native/state/oldEmoji.js +++ b/dist/native/state/oldEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const emoji_1 = require("../../properties/emoji"); diff --git a/dist/native/state/oldEntitlement.js b/dist/native/state/oldEntitlement.js index 6141ff17b6..77e203ea54 100644 --- a/dist/native/state/oldEntitlement.js +++ b/dist/native/state/oldEntitlement.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const entitlement_1 = require("../../properties/entitlement"); diff --git a/dist/native/state/oldGuild.js b/dist/native/state/oldGuild.js index 6428514767..80ec2cae99 100644 --- a/dist/native/state/oldGuild.js +++ b/dist/native/state/oldGuild.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const guild_1 = require("../../properties/guild"); diff --git a/dist/native/state/oldInvite.js b/dist/native/state/oldInvite.js index 4494833ae5..2f36b2e171 100644 --- a/dist/native/state/oldInvite.js +++ b/dist/native/state/oldInvite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const invite_1 = require("../../properties/invite"); diff --git a/dist/native/state/oldMember.js b/dist/native/state/oldMember.js index 98807a5adf..81716d2203 100644 --- a/dist/native/state/oldMember.js +++ b/dist/native/state/oldMember.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const member_1 = require("../../properties/member"); diff --git a/dist/native/state/oldMessage.js b/dist/native/state/oldMessage.js index ed683266e6..7dd742da38 100644 --- a/dist/native/state/oldMessage.js +++ b/dist/native/state/oldMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const message_1 = require("../../properties/message"); diff --git a/dist/native/state/oldPresence.js b/dist/native/state/oldPresence.js index ce46eee236..260b2b598e 100644 --- a/dist/native/state/oldPresence.js +++ b/dist/native/state/oldPresence.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const presence_1 = require("../../properties/presence"); diff --git a/dist/native/state/oldRole.js b/dist/native/state/oldRole.js index 585b3ae54b..142f114f8b 100644 --- a/dist/native/state/oldRole.js +++ b/dist/native/state/oldRole.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const role_1 = require("../../properties/role"); diff --git a/dist/native/state/oldScheduledEvent.js b/dist/native/state/oldScheduledEvent.js index 6be4974ac8..f37e8f0a19 100644 --- a/dist/native/state/oldScheduledEvent.js +++ b/dist/native/state/oldScheduledEvent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const scheduledEvent_1 = require("../../properties/scheduledEvent"); diff --git a/dist/native/state/oldSound.js b/dist/native/state/oldSound.js index 6f15e91225..f82357a065 100644 --- a/dist/native/state/oldSound.js +++ b/dist/native/state/oldSound.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const sound_1 = require("../../properties/sound"); diff --git a/dist/native/state/oldStage.js b/dist/native/state/oldStage.js index a3f462a213..1a97ef6e40 100644 --- a/dist/native/state/oldStage.js +++ b/dist/native/state/oldStage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const stage_1 = require("../../properties/stage"); diff --git a/dist/native/state/oldState.js b/dist/native/state/oldState.js index 2753697b8b..f6fefcf81a 100644 --- a/dist/native/state/oldState.js +++ b/dist/native/state/oldState.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const voiceState_1 = require("../../properties/voiceState"); diff --git a/dist/native/state/oldSticker.js b/dist/native/state/oldSticker.js index 15c9c4e445..e406ae886d 100644 --- a/dist/native/state/oldSticker.js +++ b/dist/native/state/oldSticker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const sticker_1 = require("../../properties/sticker"); diff --git a/dist/native/state/oldSubscription.js b/dist/native/state/oldSubscription.js index 9c1a4c7686..4dba4b070a 100644 --- a/dist/native/state/oldSubscription.js +++ b/dist/native/state/oldSubscription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const subscription_1 = require("../../properties/subscription"); diff --git a/dist/native/state/oldUser.js b/dist/native/state/oldUser.js index b6670d1948..f268cb6b73 100644 --- a/dist/native/state/oldUser.js +++ b/dist/native/state/oldUser.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const user_1 = require("../../properties/user"); diff --git a/dist/native/state/voiceServer.d.ts b/dist/native/state/voiceServer.d.ts new file mode 100644 index 0000000000..24e879c5b2 --- /dev/null +++ b/dist/native/state/voiceServer.d.ts @@ -0,0 +1,12 @@ +import { VoiceServerProperty } from "../../properties/voiceServer"; +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + type: ArgType.Enum; + enum: typeof VoiceServerProperty; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=voiceServer.d.ts.map \ No newline at end of file diff --git a/dist/native/state/voiceServer.d.ts.map b/dist/native/state/voiceServer.d.ts.map new file mode 100644 index 0000000000..07099a3f91 --- /dev/null +++ b/dist/native/state/voiceServer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"voiceServer.d.ts","sourceRoot":"","sources":["../../../src/native/state/voiceServer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAyB,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AACzF,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;AAE1D,wBAoBE"} \ No newline at end of file diff --git a/dist/native/state/voiceServer.js b/dist/native/state/voiceServer.js new file mode 100644 index 0000000000..3ac3293514 --- /dev/null +++ b/dist/native/state/voiceServer.js @@ -0,0 +1,30 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const voiceServer_1 = require("../../properties/voiceServer"); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$voiceServer", + version: "2.7.0", + description: "Retrieves data from an event whose context was a voice server update event", + brackets: true, + unwrap: true, + output: structures_1.ArgType.Unknown, + args: [ + { + name: "property", + description: "The property to pull", + rest: false, + type: structures_1.ArgType.Enum, + enum: voiceServer_1.VoiceServerProperty, + required: true, + }, + ], + execute(ctx, [prop]) { + return this.success(voiceServer_1.VoiceServerProperties[prop](ctx.states?.voiceServer?.new)); + }, +}); +//# sourceMappingURL=voiceServer.js.map \ No newline at end of file diff --git a/dist/native/state/voiceServer.js.map b/dist/native/state/voiceServer.js.map new file mode 100644 index 0000000000..930c7c7487 --- /dev/null +++ b/dist/native/state/voiceServer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"voiceServer.js","sourceRoot":"","sources":["../../../src/native/state/voiceServer.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8DAAyF;AACzF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4EAA4E;IACzF,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,iCAAmB;YACzB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,mCAAqB,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,CAAC,CAAC,CAAA;IAClF,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/statement/async.js b/dist/native/statement/async.js index a0cc3461dd..f4702fcc35 100644 --- a/dist/native/statement/async.js +++ b/dist/native/statement/async.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/break.d.ts b/dist/native/statement/break.d.ts index 1cf7964199..9a41a3f219 100644 --- a/dist/native/statement/break.d.ts +++ b/dist/native/statement/break.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=break.d.ts.map \ No newline at end of file diff --git a/dist/native/statement/break.js b/dist/native/statement/break.js index dfe03218da..798c160787 100644 --- a/dist/native/statement/break.js +++ b/dist/native/statement/break.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/case.js b/dist/native/statement/case.js index 54208dc018..58a342ac5b 100644 --- a/dist/native/statement/case.js +++ b/dist/native/statement/case.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/continue.d.ts b/dist/native/statement/continue.d.ts index 9f5b38f6d1..f467129974 100644 --- a/dist/native/statement/continue.d.ts +++ b/dist/native/statement/continue.d.ts @@ -1,4 +1,4 @@ import { NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=continue.d.ts.map \ No newline at end of file diff --git a/dist/native/statement/continue.js b/dist/native/statement/continue.js index d740c372ea..e7cf97c109 100644 --- a/dist/native/statement/continue.js +++ b/dist/native/statement/continue.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/default.js b/dist/native/statement/default.js index 477273139e..573616e872 100644 --- a/dist/native/statement/default.js +++ b/dist/native/statement/default.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/else.js b/dist/native/statement/else.js index 5dc6cf7a33..9a4bc8f4e6 100644 --- a/dist/native/statement/else.js +++ b/dist/native/statement/else.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/elseif.js b/dist/native/statement/elseif.js index 81af912181..3515239f7f 100644 --- a/dist/native/statement/elseif.js +++ b/dist/native/statement/elseif.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/if.js b/dist/native/statement/if.js index 89399b48c6..dc7a362211 100644 --- a/dist/native/statement/if.js +++ b/dist/native/statement/if.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/ifx.js b/dist/native/statement/ifx.js index adff642bbe..41388b3cea 100644 --- a/dist/native/statement/ifx.js +++ b/dist/native/statement/ifx.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/statement/ifx.js.map b/dist/native/statement/ifx.js.map index 193cdd9a81..b8bb700fb7 100644 --- a/dist/native/statement/ifx.js.map +++ b/dist/native/statement/ifx.js.map @@ -1 +1 @@ -{"version":3,"file":"ifx.js","sourceRoot":"","sources":["../../../src/native/statement/ifx.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAAkE;AAClE,kDAA0B;AAC1B,sDAA6B;AAC7B,8CAAyB;AAEzB,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mBAAmB;IAChC,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,YAAY,EAAE,IAAI;IAClB,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,EAAE,YAAM,CAAE,CAAA;QAChD,MAAM,gBAAgB,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE,gBAAM,CAAC,CAAA;QACrD,MAAM,aAAa,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,EAAE,cAAK,CAAC,CAAA;QAEhD,MAAM,KAAK,GAAG,MAAM,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAC5C,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI;YAAE,OAAO,KAAK,CAAA;QAE3E,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,gBAAgB,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,EAAE,EAAE;YACvD,MAAM,SAAS,GAAG,gBAAgB,CAAC,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AC,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI;YAAE,OAAO,KAAK,CAAA;QAE3E,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,gBAAgB,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,EAAE,EAAE,CAAC;YACxD,MAAM,SAAS,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;YACrC,MAAM,YAAY,GAAG,MAAM,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;YACjD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,KAAK,KAAK,IAAI;gBAAE,OAAO,YAAY,CAAA;QACpG,CAAC;QAED,OAAO,aAAa,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAA;IACxD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/statement/loop.js b/dist/native/statement/loop.js index 2715001b10..87f4922618 100644 --- a/dist/native/statement/loop.js +++ b/dist/native/statement/loop.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/loop.js.map b/dist/native/statement/loop.js.map index 9f5f3acfb7..096908fd58 100644 --- a/dist/native/statement/loop.js.map +++ b/dist/native/statement/loop.js.map @@ -1 +1 @@ -{"version":3,"file":"loop.js","sourceRoot":"","sources":["../../../src/native/statement/loop.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iCAAiC;IAC9C,MAAM,EAAE,KAA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CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAC,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE;YACjG,IAAI,OAAO;gBACP,GAAG,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAC,CAAC,CAAA;YAErC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YACjD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ;gBAAE,SAAQ;iBACtC,IAAI,IAAI,CAAC,KAAK;gBAAE,MAAK;iBACrB,IAAI,IAAI,CAAC,MAAM;gBAAE,MAAM,IAAI,IAAI,CAAC,KAAK,CAAA;;gBACrC,OAAO,IAAI,CAAA;SACnB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loop.js","sourceRoot":"","sources":["../../../src/native/statement/loop.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,iCAAiC;IAC9C,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,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Aa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YACjD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ;gBAAE,SAAQ;iBACtC,IAAI,IAAI,CAAC,KAAK;gBAAE,MAAK;iBACrB,IAAI,IAAI,CAAC,MAAM;gBAAE,MAAM,IAAI,IAAI,CAAC,KAAK,CAAA;;gBACrC,OAAO,IAAI,CAAA;QACpB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/statement/return.js b/dist/native/statement/return.js index 61af280453..ade7293137 100644 --- a/dist/native/statement/return.js +++ b/dist/native/statement/return.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/statement/scope.js b/dist/native/statement/scope.js index db8d23e9c6..326b2d05a2 100644 --- a/dist/native/statement/scope.js +++ b/dist/native/statement/scope.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/switch.js b/dist/native/statement/switch.js index cf7e3257c2..2e5c55c330 100644 --- a/dist/native/statement/switch.js +++ b/dist/native/statement/switch.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/statement/switch.js.map b/dist/native/statement/switch.js.map index 7e3804ac3e..fd55064a12 100644 --- a/dist/native/statement/switch.js.map +++ b/dist/native/statement/switch.js.map @@ -1 +1 @@ -{"version":3,"file":"switch.js","sourceRoot":"","sources":["../../../src/native/statement/switch.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,iDAAoH;AACpH,kDAA0B;AAE1B,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,wEAAwE;YACrF,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAC,CAAA;QACpG,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC;YAAE,OAAO,KAAK,CAAA;QAEnD,MAAM,KAAK,GAAG,KAAK,CAAC,KAAe,CAAA;QACnC,MAAM,WAAW,GACb,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CACtB,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,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CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAEzE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACrD,MAAM,GAAG,GAAG,WAAW,CAAC,CAAC,CAAC,CAAA;YAC1B,MAAM,SAAS,GAAW,MAAM,GAAG,CAAC,aAAa,CAAC,CAC9C,GAAG,EACH,GAAG,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CACxD,CAAA;YACD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,SAAS,CAAC;gBAAE,OAAO,SAAS,CAAA;YAE3D,IAAI,SAAS,CAAC,KAAK,KAAK,KAAK,EAAE,CAAC;gBAC5B,OAAO,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;YAC3B,CAAC;QACL,CAAC;QAED,IAAI,WAAW;YAAE,OAAO,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAEhD,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/statement/try.js b/dist/native/statement/try.js index d10f68b47c..54837e6114 100644 --- a/dist/native/statement/try.js +++ b/dist/native/statement/try.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/try.js.map b/dist/native/statement/try.js.map index 92dae7ba25..32bc0e8d33 100644 --- a/dist/native/statement/try.js.map +++ b/dist/native/statement/try.js.map @@ -1 +1 @@ -{"version":3,"file":"try.js","sourceRoot":"","sources":["../../../src/native/statement/try.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,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CAAC,KAAe,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;aAC7E;YAED,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;SAC7C;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACjG,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"try.js","sourceRoot":"","sources":["../../../src/native/statement/try.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA8G;AAE9G,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,OAAO;IAChB,YAAY,EAAE,IAAI;IAClB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,4BAA4B;SAC5C;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAA2C,CAAA;QAE3F,MAAM,YAAY,GAAW,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;QAEpE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC;YAC3C,IAAI,YAAY,CAAC,KAAK,EAAE,CAAC;gBACrB,MAAM,KAAK,GAAG,YAAY,CAAC,KAAmB,CAAA;gBAC9C,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;gBACpD,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC;oBAAE,OAAO,IAAI,CAAA;gBACjD,IAAI,IAAI,CAAC,KAAK;oBAAE,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAe,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;YAC9E,CAAC;YAED,OAAO,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;QAC9C,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IACjG,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/statement/while.js b/dist/native/statement/while.js index 1eaba7f52e..5415967670 100644 --- a/dist/native/statement/while.js +++ b/dist/native/statement/while.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/statement/while.js.map b/dist/native/statement/while.js.map index beb7a87c0f..a0286b1574 100644 --- a/dist/native/statement/while.js.map +++ b/dist/native/statement/while.js.map @@ -1 +1 @@ -{"version":3,"file":"while.js","sourceRoot":"","sources":["../../../src/native/statement/while.ts"],"names":[],"mappings":";AAAA;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,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"while.js","sourceRoot":"","sources":["../../../src/native/statement/while.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAMyB;AAEzB,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yCAAyC;IACtD,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;IAClB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,IAAI;YACf,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,WAAW,EAAE,qBAAqB;SACrC;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAA4C,CAAA;QACjF,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QAEnE,SAAS,CAAC;YACN,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAA;YAC3D,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC;gBAAE,OAAO,IAAI,CAAA;iBAC5C,IAAI,CAAC,IAAI,CAAC,KAAK;gBAAE,MAAK;YAE3B,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YACjD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ;gBAAE,SAAQ;iBACtC,IAAI,IAAI,CAAC,KAAK;gBAAE,MAAK;;gBACrB,OAAO,IAAI,CAAA;QACpB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/sticker/addSticker.js b/dist/native/sticker/addSticker.js index 0933b9cc8b..e30db9a714 100644 --- a/dist/native/sticker/addSticker.js +++ b/dist/native/sticker/addSticker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/deleteStickers.js b/dist/native/sticker/deleteStickers.js index 09820ded93..41702ce1eb 100644 --- a/dist/native/sticker/deleteStickers.js +++ b/dist/native/sticker/deleteStickers.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/deleteStickers.js.map b/dist/native/sticker/deleteStickers.js.map index d0ccd60d95..db7bc06236 100644 --- a/dist/native/sticker/deleteStickers.js.map +++ b/dist/native/sticker/deleteStickers.js.map @@ -1 +1 @@ -{"version":3,"file":"deleteStickers.js","sourceRoot":"","sources":["../../../src/native/sticker/deleteStickers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,+DAA+D;IAC5E,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,QAAQ,CAAC;QAC5B,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YACjD,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;YAC3B,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC5F,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;SACvB;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"deleteStickers.js","sourceRoot":"","sources":["../../../src/native/sticker/deleteStickers.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,+DAA+D;IAC5E,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,QAAQ,CAAC;QAC5B,IAAI,KAAK,GAAG,CAAC,CAAA;QACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAClD,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAA;YAC3B,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAC5F,IAAI,OAAO;gBAAE,KAAK,EAAE,CAAA;QACxB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/sticker/editSticker.js b/dist/native/sticker/editSticker.js index 2846fea66e..1687ee77f2 100644 --- a/dist/native/sticker/editSticker.js +++ b/dist/native/sticker/editSticker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/setStickerDescription.js b/dist/native/sticker/setStickerDescription.js index ce60d1f0ec..f977f8cb59 100644 --- a/dist/native/sticker/setStickerDescription.js +++ b/dist/native/sticker/setStickerDescription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/setStickerName.js b/dist/native/sticker/setStickerName.js index 6fd4acc331..20f649d4de 100644 --- a/dist/native/sticker/setStickerName.js +++ b/dist/native/sticker/setStickerName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/setStickerTags.js b/dist/native/sticker/setStickerTags.js index e6cb684b7e..ac400b41a0 100644 --- a/dist/native/sticker/setStickerTags.js +++ b/dist/native/sticker/setStickerTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerAvailable.js b/dist/native/sticker/stickerAvailable.js index 282bc1a412..74a3a12e56 100644 --- a/dist/native/sticker/stickerAvailable.js +++ b/dist/native/sticker/stickerAvailable.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerCreatedAt.js b/dist/native/sticker/stickerCreatedAt.js index 574cc7e3f9..aa8b0d7c2c 100644 --- a/dist/native/sticker/stickerCreatedAt.js +++ b/dist/native/sticker/stickerCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerDescription.js b/dist/native/sticker/stickerDescription.js index c5ec406d32..4a2a16a970 100644 --- a/dist/native/sticker/stickerDescription.js +++ b/dist/native/sticker/stickerDescription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerFormat.js b/dist/native/sticker/stickerFormat.js index 855206a1bb..a2b4782d4f 100644 --- a/dist/native/sticker/stickerFormat.js +++ b/dist/native/sticker/stickerFormat.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/sticker/stickerGuildID.js b/dist/native/sticker/stickerGuildID.js index fd5c379c88..e15f96231e 100644 --- a/dist/native/sticker/stickerGuildID.js +++ b/dist/native/sticker/stickerGuildID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerID.d.ts b/dist/native/sticker/stickerID.d.ts index 539e964d51..0d6a287015 100644 --- a/dist/native/sticker/stickerID.d.ts +++ b/dist/native/sticker/stickerID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=stickerID.d.ts.map \ No newline at end of file diff --git a/dist/native/sticker/stickerID.js b/dist/native/sticker/stickerID.js index 199e798095..fca6fe2b0c 100644 --- a/dist/native/sticker/stickerID.js +++ b/dist/native/sticker/stickerID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerName.js b/dist/native/sticker/stickerName.js index d72943e6e8..b157e4e70f 100644 --- a/dist/native/sticker/stickerName.js +++ b/dist/native/sticker/stickerName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerOwnerID.js b/dist/native/sticker/stickerOwnerID.js index 02bae407b6..4d340613f8 100644 --- a/dist/native/sticker/stickerOwnerID.js +++ b/dist/native/sticker/stickerOwnerID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerPackID.js b/dist/native/sticker/stickerPackID.js index 31f03d844c..e921b726c4 100644 --- a/dist/native/sticker/stickerPackID.js +++ b/dist/native/sticker/stickerPackID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerRawData.js b/dist/native/sticker/stickerRawData.js index 55334d6b1e..adce451129 100644 --- a/dist/native/sticker/stickerRawData.js +++ b/dist/native/sticker/stickerRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerSortValue.js b/dist/native/sticker/stickerSortValue.js index 92bfdfab98..e7587dcc1e 100644 --- a/dist/native/sticker/stickerSortValue.js +++ b/dist/native/sticker/stickerSortValue.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerTags.js b/dist/native/sticker/stickerTags.js index 8f89608873..ad71d37dc7 100644 --- a/dist/native/sticker/stickerTags.js +++ b/dist/native/sticker/stickerTags.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/sticker/stickerType.js b/dist/native/sticker/stickerType.js index 160db097eb..076a6c57ba 100644 --- a/dist/native/sticker/stickerType.js +++ b/dist/native/sticker/stickerType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/sticker/stickerURL.js b/dist/native/sticker/stickerURL.js index 82726bbd21..2fbaa60720 100644 --- a/dist/native/sticker/stickerURL.js +++ b/dist/native/sticker/stickerURL.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/advancedReplace.js b/dist/native/string/advancedReplace.js index 82236d6140..39c2a30f62 100644 --- a/dist/native/string/advancedReplace.js +++ b/dist/native/string/advancedReplace.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/advancedReplace.js.map b/dist/native/string/advancedReplace.js.map index 0368c38d82..c8b4eae7e2 100644 --- a/dist/native/string/advancedReplace.js.map +++ b/dist/native/string/advancedReplace.js.map @@ -1 +1 @@ -{"version":3,"file":"advancedReplace.js","sourceRoot":"","sources":["../../../src/native/string/advancedReplace.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,sBAAsB;KACzB;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,yCAAyC;YACtD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,IAAI,CAAE;QACvB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;YACrC,MAAM,CAAE,KAAK,EAAE,WAAW,CAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;YACnD,IAAI,GAAG,IAAI,CAAC,UAAU,CAAE,KAAgB,IAAI,EAAE,EAAG,WAAsB,IAAI,EAAE,CAAC,CAAA;SACjF;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"advancedReplace.js","sourceRoot":"","sources":["../../../src/native/string/advancedReplace.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,sBAAsB;KACzB;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,yCAAyC;YACtD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAE,IAAI,EAAE,IAAI,CAAE;QACvB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YACtC,MAAM,CAAE,KAAK,EAAE,WAAW,CAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;YACnD,IAAI,GAAG,IAAI,CAAC,UAAU,CAAE,KAAgB,IAAI,EAAE,EAAG,WAAsB,IAAI,EAAE,CAAC,CAAA;QAClF,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/string/argCount.js b/dist/native/string/argCount.js index c0558777a7..b89b37ba3b 100644 --- a/dist/native/string/argCount.js +++ b/dist/native/string/argCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/argCount.js.map b/dist/native/string/argCount.js.map index c8f117dca5..7442f726d8 100644 --- a/dist/native/string/argCount.js.map +++ b/dist/native/string/argCount.js.map @@ -1 +1 @@ -{"version":3,"file":"argCount.js","sourceRoot":"","sources":["../../../src/native/string/argCount.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wCAAwC;IACrD,OAAO,EAAE,CAAC,YAAY,CAAC;IACvB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,yBAAyB;YACtC,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,IAAI,IAAI,CAAC,SAAS,EAAE;YAChB,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAA;YAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;SAChE;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"argCount.js","sourceRoot":"","sources":["../../../src/native/string/argCount.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wCAAwC;IACrD,OAAO,EAAE,CAAC,YAAY,CAAC;IACvB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,yBAAyB;YACtC,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACjB,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,CAAA;YAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QACjE,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/string/charCodeAt.js b/dist/native/string/charCodeAt.js index 52fe2675d0..889970d8c4 100644 --- a/dist/native/string/charCodeAt.js +++ b/dist/native/string/charCodeAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/charCount.js b/dist/native/string/charCount.js index bfacbdd99a..16bcee4760 100644 --- a/dist/native/string/charCount.js +++ b/dist/native/string/charCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/charCount.js.map b/dist/native/string/charCount.js.map index b083f905a5..3a84bbf32a 100644 --- a/dist/native/string/charCount.js.map +++ b/dist/native/string/charCount.js.map @@ -1 +1 @@ -{"version":3,"file":"charCount.js","sourceRoot":"","sources":["../../../src/native/string/charCount.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,aAAa,CAAC;IACxB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,IAAI,CAAC;QACpB,IAAI,IAAI,KAAK,IAAI,EAAE;YACf,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;SAClC;aAAM;YACH,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;SAClD;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"charCount.js","sourceRoot":"","sources":["../../../src/native/string/charCount.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,aAAa,CAAC;IACxB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,IAAI,CAAC;QACpB,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;QACnC,CAAC;aAAM,CAAC;YACJ,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QACnD,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/string/checkContains.js b/dist/native/string/checkContains.js index 1965e43195..2546494f61 100644 --- a/dist/native/string/checkContains.js +++ b/dist/native/string/checkContains.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -12,7 +12,7 @@ exports.default = new structures_1.NativeFunction({ "$includes" ], output: structures_1.ArgType.Boolean, - description: "Checks whether a string contains a set of other trings", + description: "Checks whether a string contains a set of other strings", unwrap: true, args: [ { diff --git a/dist/native/string/checkContains.js.map b/dist/native/string/checkContains.js.map index 355a5eac3b..e974eacda4 100644 --- a/dist/native/string/checkContains.js.map +++ b/dist/native/string/checkContains.js.map @@ -1 +1 @@ -{"version":3,"file":"checkContains.js","sourceRoot":"","sources":["../../../src/native/string/checkContains.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,WAAW;KACd;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,WAAW,EAAE,wDAAwD;IACrE,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC;QACxB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC9D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"checkContains.js","sourceRoot":"","sources":["../../../src/native/string/checkContains.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,WAAW;KACd;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,WAAW,EAAE,yDAAyD;IACtE,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC;QACxB,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC9D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/string/cropArgs.js b/dist/native/string/cropArgs.js index e2e04a6906..1206954f2c 100644 --- a/dist/native/string/cropArgs.js +++ b/dist/native/string/cropArgs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/cropText.js b/dist/native/string/cropText.js index 4d103e97c2..80f11b5a8a 100644 --- a/dist/native/string/cropText.js +++ b/dist/native/string/cropText.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/endsWith.js b/dist/native/string/endsWith.js index d628d95800..558d0bbe4f 100644 --- a/dist/native/string/endsWith.js +++ b/dist/native/string/endsWith.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/fromCharCode.js b/dist/native/string/fromCharCode.js index ffe5790b24..643eaa2de7 100644 --- a/dist/native/string/fromCharCode.js +++ b/dist/native/string/fromCharCode.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/localeCompare.d.ts b/dist/native/string/localeCompare.d.ts new file mode 100644 index 0000000000..20b62c27e5 --- /dev/null +++ b/dist/native/string/localeCompare.d.ts @@ -0,0 +1,16 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + type: ArgType.String; + rest: false; + required: true; +}, { + name: string; + description: string; + required: true; + rest: false; + type: ArgType.String; +}], true>; +export default _default; +//# sourceMappingURL=localeCompare.d.ts.map \ No newline at end of file diff --git a/dist/native/string/localeCompare.d.ts.map b/dist/native/string/localeCompare.d.ts.map new file mode 100644 index 0000000000..7529132424 --- /dev/null +++ b/dist/native/string/localeCompare.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"localeCompare.d.ts","sourceRoot":"","sources":["../../../src/native/string/localeCompare.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;AAE1D,wBA0BE"} \ No newline at end of file diff --git a/dist/native/string/localeCompare.js b/dist/native/string/localeCompare.js new file mode 100644 index 0000000000..47f6fae6e0 --- /dev/null +++ b/dist/native/string/localeCompare.js @@ -0,0 +1,35 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$localeCompare", + version: "2.7.0", + description: "Compares two strings, returns their relative order", + unwrap: true, + brackets: true, + args: [ + { + name: "first", + description: "The first string to compare", + type: structures_1.ArgType.String, + rest: false, + required: true, + }, + { + name: "second", + description: "The second string to compare against first string", + required: true, + rest: false, + type: structures_1.ArgType.String, + }, + ], + output: structures_1.ArgType.Number, + execute(ctx, [a, b]) { + return this.success(a.localeCompare(b)); + }, +}); +//# sourceMappingURL=localeCompare.js.map \ No newline at end of file diff --git a/dist/native/string/localeCompare.js.map b/dist/native/string/localeCompare.js.map new file mode 100644 index 0000000000..3045ec2735 --- /dev/null +++ b/dist/native/string/localeCompare.js.map @@ -0,0 +1 @@ +{"version":3,"file":"localeCompare.js","sourceRoot":"","sources":["../../../src/native/string/localeCompare.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oDAAoD;IACjE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mDAAmD;YAChE,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/string/padEnd.js b/dist/native/string/padEnd.js index 85cb2b4a64..5c924dcef3 100644 --- a/dist/native/string/padEnd.js +++ b/dist/native/string/padEnd.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/padStart.js b/dist/native/string/padStart.js index 222271c683..74f13e4d0d 100644 --- a/dist/native/string/padStart.js +++ b/dist/native/string/padStart.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/randomString.js b/dist/native/string/randomString.js index 63b9d38c78..cda34bbfee 100644 --- a/dist/native/string/randomString.js +++ b/dist/native/string/randomString.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CharArray = exports.UppercaseLetters = exports.LowercaseLetters = exports.Numbers = void 0; diff --git a/dist/native/string/randomText.js b/dist/native/string/randomText.js index a1e2b6c378..5eb8203868 100644 --- a/dist/native/string/randomText.js +++ b/dist/native/string/randomText.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/randomUUID.d.ts b/dist/native/string/randomUUID.d.ts index a3296af6d4..7fc420ca53 100644 --- a/dist/native/string/randomUUID.d.ts +++ b/dist/native/string/randomUUID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=randomUUID.d.ts.map \ No newline at end of file diff --git a/dist/native/string/randomUUID.js b/dist/native/string/randomUUID.js index 5a5579f23b..9115fb9407 100644 --- a/dist/native/string/randomUUID.js +++ b/dist/native/string/randomUUID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const crypto_1 = require("crypto"); diff --git a/dist/native/string/repeat.js b/dist/native/string/repeat.js index e2eb41f16e..cfa4d0084d 100644 --- a/dist/native/string/repeat.js +++ b/dist/native/string/repeat.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/replace.js b/dist/native/string/replace.js index 3384117669..ace15f0ed8 100644 --- a/dist/native/string/replace.js +++ b/dist/native/string/replace.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/replace.js.map b/dist/native/string/replace.js.map index 448188e3ba..8e6269af1c 100644 --- a/dist/native/string/replace.js.map +++ b/dist/native/string/replace.js.map @@ -1 +1 @@ -{"version":3,"file":"replace.js","sourceRoot":"","sources":["../../../src/native/string/replace.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,cAAc;KACjB;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC;QAC3C,MAAM,KAAK,CAAC,CAAC,CAAA;QACb,IAAI,MAAM,KAAK,CAAC,CAAC,EAAE;YACf,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAA;SAC3D;QACD,IAAI,CAAC,GAAG,CAAC,CAAA;QACT,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,MAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC1F,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"replace.js","sourceRoot":"","sources":["../../../src/native/string/replace.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,cAAc;KACjB;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC;QAC3C,MAAM,KAAK,CAAC,CAAC,CAAA;QACb,IAAI,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAA;QAC5D,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,CAAA;QACT,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,MAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAC1F,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/string/replaceRegex.js b/dist/native/string/replaceRegex.js index 20ee7bf671..4e3e88b5ac 100644 --- a/dist/native/string/replaceRegex.js +++ b/dist/native/string/replaceRegex.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/replaceRegex.js.map b/dist/native/string/replaceRegex.js.map index a79ed1b3c3..09a68a3ac5 100644 --- a/dist/native/string/replaceRegex.js.map +++ b/dist/native/string/replaceRegex.js.map @@ -1 +1 @@ -{"version":3,"file":"replaceRegex.js","sourceRoot":"","sources":["../../../src/native/string/replaceRegex.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,IAAI;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C,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,MAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACvF,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"replaceRegex.js","sourceRoot":"","sources":["../../../src/native/string/replaceRegex.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,eAAe;YAC5B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;SACb;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4CAA4C;YACzD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,CAAC;QAChD,MAAM,KAAK,CAAC,CAAC,CAAA;QACb,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QAEpC,IAAI,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAA;QACzD,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,CAAA;QACT,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,MAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACvF,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/string/reverseText.d.ts b/dist/native/string/reverseText.d.ts index 991017b02a..9240fa0714 100644 --- a/dist/native/string/reverseText.d.ts +++ b/dist/native/string/reverseText.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction<[import("../../structures").IArg], true>; +declare const _default: NativeFunction<[import("../..").IArg], true>; export default _default; //# sourceMappingURL=reverseText.d.ts.map \ No newline at end of file diff --git a/dist/native/string/reverseText.js b/dist/native/string/reverseText.js index 1c4d1c5302..f0a24067f9 100644 --- a/dist/native/string/reverseText.js +++ b/dist/native/string/reverseText.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/sliceText.js b/dist/native/string/sliceText.js index daf293c9ee..1f47836c03 100644 --- a/dist/native/string/sliceText.js +++ b/dist/native/string/sliceText.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/snowflake.d.ts b/dist/native/string/snowflake.d.ts index c929ddfbea..713f5c4dc7 100644 --- a/dist/native/string/snowflake.d.ts +++ b/dist/native/string/snowflake.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=snowflake.d.ts.map \ No newline at end of file diff --git a/dist/native/string/snowflake.js b/dist/native/string/snowflake.js index c5de601763..236d47bce3 100644 --- a/dist/native/string/snowflake.js +++ b/dist/native/string/snowflake.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/string/startsWith.js b/dist/native/string/startsWith.js index ab368542ba..dba7b02fad 100644 --- a/dist/native/string/startsWith.js +++ b/dist/native/string/startsWith.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/toCamelCase.js b/dist/native/string/toCamelCase.js index e6e09e0f4d..a61adb3601 100644 --- a/dist/native/string/toCamelCase.js +++ b/dist/native/string/toCamelCase.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/toKebabCase.js b/dist/native/string/toKebabCase.js index 1408ffc77b..7688d0e81b 100644 --- a/dist/native/string/toKebabCase.js +++ b/dist/native/string/toKebabCase.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/toLowerCase.js b/dist/native/string/toLowerCase.js index ceea4eeafe..d2a714b55e 100644 --- a/dist/native/string/toLowerCase.js +++ b/dist/native/string/toLowerCase.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/toSnakeCase.js b/dist/native/string/toSnakeCase.js index 7e2583672b..2af5bad728 100644 --- a/dist/native/string/toSnakeCase.js +++ b/dist/native/string/toSnakeCase.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/toTitleCase.js b/dist/native/string/toTitleCase.js index 67b4861166..53f718c338 100644 --- a/dist/native/string/toTitleCase.js +++ b/dist/native/string/toTitleCase.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/string/toUpperCase.js b/dist/native/string/toUpperCase.js index 40cd72d834..f5fdeccf42 100644 --- a/dist/native/string/toUpperCase.js +++ b/dist/native/string/toUpperCase.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/trim.js b/dist/native/string/trim.js index 799f60b2df..4a441e7baf 100644 --- a/dist/native/string/trim.js +++ b/dist/native/string/trim.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/trimEnd.js b/dist/native/string/trimEnd.js index 61e0f23c29..51267d333d 100644 --- a/dist/native/string/trimEnd.js +++ b/dist/native/string/trimEnd.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/trimLines.js b/dist/native/string/trimLines.js index a354e22fc4..c89433cce3 100644 --- a/dist/native/string/trimLines.js +++ b/dist/native/string/trimLines.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/string/trimStart.js b/dist/native/string/trimStart.js index b352a25a94..376e49a90c 100644 --- a/dist/native/string/trimStart.js +++ b/dist/native/string/trimStart.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/system/cpu.d.ts b/dist/native/system/cpu.d.ts index dfe4e855c8..924200d7e0 100644 --- a/dist/native/system/cpu.d.ts +++ b/dist/native/system/cpu.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=cpu.d.ts.map \ No newline at end of file diff --git a/dist/native/system/cpu.d.ts.map b/dist/native/system/cpu.d.ts.map index 7745192eef..2eecc99931 100644 --- a/dist/native/system/cpu.d.ts.map +++ b/dist/native/system/cpu.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"cpu.d.ts","sourceRoot":"","sources":["../../../src/native/system/cpu.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;AAElE,wBAUE"} \ No newline at end of file +{"version":3,"file":"cpu.d.ts","sourceRoot":"","sources":["../../../src/native/system/cpu.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAE1D,wBAUE"} \ No newline at end of file diff --git a/dist/native/system/cpu.js b/dist/native/system/cpu.js index 690c63427c..8ce48405c2 100644 --- a/dist/native/system/cpu.js +++ b/dist/native/system/cpu.js @@ -1,10 +1,9 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -/* eslint-disable no-undef */ const os_1 = require("os"); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ diff --git a/dist/native/system/cpu.js.map b/dist/native/system/cpu.js.map index f52795e3c1..d33a0234b2 100644 --- a/dist/native/system/cpu.js.map +++ b/dist/native/system/cpu.js.map @@ -1 +1 @@ -{"version":3,"file":"cpu.js","sourceRoot":"","sources":["../../../src/native/system/cpu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,6BAA6B;AAC7B,2BAAkC;AAClC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,OAAO,EAAE,CAAC,WAAW,CAAC;IACtB,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,YAAO,GAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"cpu.js","sourceRoot":"","sources":["../../../src/native/system/cpu.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2BAA4B;AAC5B,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kDAAkD;IAC/D,OAAO,EAAE,CAAC,WAAW,CAAC;IACtB,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,YAAO,GAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAA;IAC3C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/system/cpuArch.d.ts b/dist/native/system/cpuArch.d.ts index 9322973b9b..a52b4be200 100644 --- a/dist/native/system/cpuArch.d.ts +++ b/dist/native/system/cpuArch.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=cpuArch.d.ts.map \ No newline at end of file diff --git a/dist/native/system/cpuArch.js b/dist/native/system/cpuArch.js index 7342125ced..f47e262847 100644 --- a/dist/native/system/cpuArch.js +++ b/dist/native/system/cpuArch.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/system/cpuCores.d.ts b/dist/native/system/cpuCores.d.ts index 1026fcb7b3..90ff9f303e 100644 --- a/dist/native/system/cpuCores.d.ts +++ b/dist/native/system/cpuCores.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=cpuCores.d.ts.map \ No newline at end of file diff --git a/dist/native/system/cpuCores.js b/dist/native/system/cpuCores.js index 9c2657d40e..ee79b94032 100644 --- a/dist/native/system/cpuCores.js +++ b/dist/native/system/cpuCores.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/system/cpuModel.d.ts b/dist/native/system/cpuModel.d.ts index 9544bbd5e0..66de0e137a 100644 --- a/dist/native/system/cpuModel.d.ts +++ b/dist/native/system/cpuModel.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=cpuModel.d.ts.map \ No newline at end of file diff --git a/dist/native/system/cpuModel.js b/dist/native/system/cpuModel.js index cce684bea3..307b1b06bd 100644 --- a/dist/native/system/cpuModel.js +++ b/dist/native/system/cpuModel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/system/cpuSpeed.d.ts b/dist/native/system/cpuSpeed.d.ts index 7c75d3b2ea..a50f5dade6 100644 --- a/dist/native/system/cpuSpeed.d.ts +++ b/dist/native/system/cpuSpeed.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=cpuSpeed.d.ts.map \ No newline at end of file diff --git a/dist/native/system/cpuSpeed.js b/dist/native/system/cpuSpeed.js index 73815477e4..ceddff19f6 100644 --- a/dist/native/system/cpuSpeed.js +++ b/dist/native/system/cpuSpeed.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/system/networkCardIPs.js b/dist/native/system/networkCardIPs.js index 701d7b8e03..03f237b2c5 100644 --- a/dist/native/system/networkCardIPs.js +++ b/dist/native/system/networkCardIPs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/system/networkCardNames.js b/dist/native/system/networkCardNames.js index 8715dd2211..3e53b77f07 100644 --- a/dist/native/system/networkCardNames.js +++ b/dist/native/system/networkCardNames.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/system/nodeVersion.d.ts b/dist/native/system/nodeVersion.d.ts index 2b86de7ea9..60aa2285a8 100644 --- a/dist/native/system/nodeVersion.d.ts +++ b/dist/native/system/nodeVersion.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=nodeVersion.d.ts.map \ No newline at end of file diff --git a/dist/native/system/nodeVersion.d.ts.map b/dist/native/system/nodeVersion.d.ts.map index ce0c07eabb..b64ecf7572 100644 --- a/dist/native/system/nodeVersion.d.ts.map +++ b/dist/native/system/nodeVersion.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"nodeVersion.d.ts","sourceRoot":"","sources":["../../../src/native/system/nodeVersion.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;AAElE,wBAUE"} \ No newline at end of file +{"version":3,"file":"nodeVersion.d.ts","sourceRoot":"","sources":["../../../src/native/system/nodeVersion.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAE1D,wBASE"} \ No newline at end of file diff --git a/dist/native/system/nodeVersion.js b/dist/native/system/nodeVersion.js index 9c238f9404..92a6851ffe 100644 --- a/dist/native/system/nodeVersion.js +++ b/dist/native/system/nodeVersion.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -12,7 +12,6 @@ exports.default = new structures_1.NativeFunction({ unwrap: false, output: structures_1.ArgType.String, execute(ctx) { - // eslint-disable-next-line no-undef return this.success(process.version); }, }); diff --git a/dist/native/system/nodeVersion.js.map b/dist/native/system/nodeVersion.js.map index ecf3056b6e..5a11319557 100644 --- a/dist/native/system/nodeVersion.js.map +++ b/dist/native/system/nodeVersion.js.map @@ -1 +1 @@ -{"version":3,"file":"nodeVersion.js","sourceRoot":"","sources":["../../../src/native/system/nodeVersion.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG;QACP,oCAAoC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;IACxC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"nodeVersion.js","sourceRoot":"","sources":["../../../src/native/system/nodeVersion.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;IACxC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/system/os.d.ts b/dist/native/system/os.d.ts index 7c6be552c2..29c55833af 100644 --- a/dist/native/system/os.d.ts +++ b/dist/native/system/os.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=os.d.ts.map \ No newline at end of file diff --git a/dist/native/system/os.js b/dist/native/system/os.js index a1b9ab0534..3e7fe3d689 100644 --- a/dist/native/system/os.js +++ b/dist/native/system/os.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/system/osUptime.d.ts b/dist/native/system/osUptime.d.ts index 3ca001e3d7..e08d6fcbd6 100644 --- a/dist/native/system/osUptime.d.ts +++ b/dist/native/system/osUptime.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=osUptime.d.ts.map \ No newline at end of file diff --git a/dist/native/system/osUptime.js b/dist/native/system/osUptime.js index 686fe721b9..870d706af5 100644 --- a/dist/native/system/osUptime.js +++ b/dist/native/system/osUptime.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/system/ram.d.ts b/dist/native/system/ram.d.ts index 3d87180d94..3f8c8d8834 100644 --- a/dist/native/system/ram.d.ts +++ b/dist/native/system/ram.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=ram.d.ts.map \ No newline at end of file diff --git a/dist/native/system/ram.d.ts.map b/dist/native/system/ram.d.ts.map index 17dbd6f17b..66682775c4 100644 --- a/dist/native/system/ram.d.ts.map +++ b/dist/native/system/ram.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ram.d.ts","sourceRoot":"","sources":["../../../src/native/system/ram.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;AAElE,wBAaE"} \ No newline at end of file +{"version":3,"file":"ram.d.ts","sourceRoot":"","sources":["../../../src/native/system/ram.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAE1D,wBAaE"} \ No newline at end of file diff --git a/dist/native/system/ram.js b/dist/native/system/ram.js index e2cfed7e5d..1fa166a8ee 100644 --- a/dist/native/system/ram.js +++ b/dist/native/system/ram.js @@ -1,10 +1,9 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -/* eslint-disable no-undef */ const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$ram", diff --git a/dist/native/system/ram.js.map b/dist/native/system/ram.js.map index ca691e90dc..a39bb8c110 100644 --- a/dist/native/system/ram.js.map +++ b/dist/native/system/ram.js.map @@ -1 +1 @@ -{"version":3,"file":"ram.js","sourceRoot":"","sources":["../../../src/native/system/ram.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,6BAA6B;AAC7B,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,OAAO,EAAE;QACL,SAAS;QACT,WAAW;KACd;IACD,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAA;IACrE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"ram.js","sourceRoot":"","sources":["../../../src/native/system/ram.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,OAAO,EAAE;QACL,SAAS;QACT,WAAW;KACd;IACD,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAA;IACrE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/system/ramTotal.d.ts b/dist/native/system/ramTotal.d.ts index 1e8b182d58..9ac60a57a6 100644 --- a/dist/native/system/ramTotal.d.ts +++ b/dist/native/system/ramTotal.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=ramTotal.d.ts.map \ No newline at end of file diff --git a/dist/native/system/ramTotal.js b/dist/native/system/ramTotal.js index 55b361fc8d..0e6cc23fe6 100644 --- a/dist/native/system/ramTotal.js +++ b/dist/native/system/ramTotal.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/time/calendarDay.d.ts b/dist/native/time/calendarDay.d.ts index 6c70c8969c..fc21446aa5 100644 --- a/dist/native/time/calendarDay.d.ts +++ b/dist/native/time/calendarDay.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=calendarDay.d.ts.map \ No newline at end of file diff --git a/dist/native/time/calendarDay.js b/dist/native/time/calendarDay.js index 1e3bf4fdd1..64136e989c 100644 --- a/dist/native/time/calendarDay.js +++ b/dist/native/time/calendarDay.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/calendarWeek.d.ts b/dist/native/time/calendarWeek.d.ts index 690b5df047..605d17398b 100644 --- a/dist/native/time/calendarWeek.d.ts +++ b/dist/native/time/calendarWeek.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=calendarWeek.d.ts.map \ No newline at end of file diff --git a/dist/native/time/calendarWeek.d.ts.map b/dist/native/time/calendarWeek.d.ts.map index f46a1bb28d..b143d3ef61 100644 --- a/dist/native/time/calendarWeek.d.ts.map +++ b/dist/native/time/calendarWeek.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"calendarWeek.d.ts","sourceRoot":"","sources":["../../../src/native/time/calendarWeek.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;AAQlE,wBASE"} \ No newline at end of file +{"version":3,"file":"calendarWeek.d.ts","sourceRoot":"","sources":["../../../src/native/time/calendarWeek.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAgB,MAAM,kBAAkB,CAAA;;AAExE,wBA2BE"} \ No newline at end of file diff --git a/dist/native/time/calendarWeek.js b/dist/native/time/calendarWeek.js index 313b8ee60b..6636446507 100644 --- a/dist/native/time/calendarWeek.js +++ b/dist/native/time/calendarWeek.js @@ -1,15 +1,10 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); -function getWeekOfYear(date) { - const start = new Date(date.getFullYear(), 0, 1); - const days = (date.getTime() - start.getTime()) / 86400000; - return Math.ceil((days + start.getDay() + 1) / 7); -} exports.default = new structures_1.NativeFunction({ name: "$calendarWeek", version: "1.5.0", @@ -17,7 +12,22 @@ exports.default = new structures_1.NativeFunction({ unwrap: true, output: structures_1.ArgType.Number, execute: async function (ctx) { - return this.success(getWeekOfYear(new Date(new Date().toLocaleString("en-US", { timeZone: ctx.timezone, calendar: ctx.calendar })))); + const date = new Date(new Date().toLocaleString("en-US", { timeZone: ctx.timezone, calendar: ctx.calendar })); + if (ctx.calendar === structures_1.CalendarType.Iso8601) { + const target = new Date(date.valueOf()); + const dayNr = (date.getDay() + 6) % 7; + target.setDate(target.getDate() - dayNr + 3); + const firstThursday = target.valueOf(); + target.setMonth(0, 1); + if (target.getDay() !== 4) { + target.setMonth(0, 1 + ((4 - target.getDay() + 7) % 7)); + } + return this.success(1 + Math.ceil((firstThursday - target.valueOf()) / 604800000)); + } + const start = new Date(date.getFullYear(), 0, 1); + const days = (date.getTime() - start.getTime()) / 86400000; + const week = Math.ceil((days + start.getDay() + 1) / 7); + return this.success(week); } }); //# sourceMappingURL=calendarWeek.js.map \ No newline at end of file diff --git a/dist/native/time/calendarWeek.js.map b/dist/native/time/calendarWeek.js.map index e2263675fe..119e816670 100644 --- a/dist/native/time/calendarWeek.js.map +++ b/dist/native/time/calendarWeek.js.map @@ -1 +1 @@ -{"version":3,"file":"calendarWeek.js","sourceRoot":"","sources":["../../../src/native/time/calendarWeek.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,SAAS,aAAa,CAAC,IAAU;IAC7B,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IAChD,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC,GAAG,QAAQ,CAAA;IAC1D,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;AACrD,CAAC;AAED,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,EAAE,KAAK,WAAU,GAAG;QACvB,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;IACxI,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"calendarWeek.js","sourceRoot":"","sources":["../../../src/native/time/calendarWeek.ts"],"names":[],"mappings":";AAAA;;;EAG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AA;QACtF,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;QAChD,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC,GAAG,QAAQ,CAAA;QAC1D,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;QAEvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/time/clearInterval.js b/dist/native/time/clearInterval.js index 7a4aa85d1a..5e0272056e 100644 --- a/dist/native/time/clearInterval.js +++ b/dist/native/time/clearInterval.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/clearTimeout.js b/dist/native/time/clearTimeout.js index cfe48353a6..c3aaf7aa83 100644 --- a/dist/native/time/clearTimeout.js +++ b/dist/native/time/clearTimeout.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/day.js b/dist/native/time/day.js index 4e08ba9bce..3fb98e5625 100644 --- a/dist/native/time/day.js +++ b/dist/native/time/day.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/discordTimestamp.js b/dist/native/time/discordTimestamp.js index f5c3decff8..aebd48cb6a 100644 --- a/dist/native/time/discordTimestamp.js +++ b/dist/native/time/discordTimestamp.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/time/executionTime.d.ts b/dist/native/time/executionTime.d.ts index 83ab660286..d0c1dbdf37 100644 --- a/dist/native/time/executionTime.d.ts +++ b/dist/native/time/executionTime.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=executionTime.d.ts.map \ No newline at end of file diff --git a/dist/native/time/executionTime.js b/dist/native/time/executionTime.js index ccaf0fbe50..6bae6796c1 100644 --- a/dist/native/time/executionTime.js +++ b/dist/native/time/executionTime.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/getTimestamp.d.ts b/dist/native/time/getTimestamp.d.ts index 0f9f1a78f9..18e3c20a0d 100644 --- a/dist/native/time/getTimestamp.d.ts +++ b/dist/native/time/getTimestamp.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=getTimestamp.d.ts.map \ No newline at end of file diff --git a/dist/native/time/getTimestamp.js b/dist/native/time/getTimestamp.js index 110b32af37..25b6de2b93 100644 --- a/dist/native/time/getTimestamp.js +++ b/dist/native/time/getTimestamp.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/hour.js b/dist/native/time/hour.js index 6809244792..7ffce91408 100644 --- a/dist/native/time/hour.js +++ b/dist/native/time/hour.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.BasicTimeFormat = void 0; diff --git a/dist/native/time/minute.js b/dist/native/time/minute.js index 90694942dd..bf20587d22 100644 --- a/dist/native/time/minute.js +++ b/dist/native/time/minute.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/month.js b/dist/native/time/month.js index a0d08bd78c..5f9a739dbf 100644 --- a/dist/native/time/month.js +++ b/dist/native/time/month.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ExtendedTimeFormat = void 0; diff --git a/dist/native/time/parseDate.js b/dist/native/time/parseDate.js index c253801a1a..a84e2298c1 100644 --- a/dist/native/time/parseDate.js +++ b/dist/native/time/parseDate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DateType = void 0; diff --git a/dist/native/time/parseDigital.js b/dist/native/time/parseDigital.js index fc880f8304..ef9b46d09b 100644 --- a/dist/native/time/parseDigital.js +++ b/dist/native/time/parseDigital.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const digital_1 = require("../../functions/digital"); diff --git a/dist/native/time/parseMS.js b/dist/native/time/parseMS.js index 07b1a1e398..5d9f13319f 100644 --- a/dist/native/time/parseMS.js +++ b/dist/native/time/parseMS.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const constants_1 = require("../../constants"); diff --git a/dist/native/time/parseString.js b/dist/native/time/parseString.js index 9eada80f75..fc8e4dccd4 100644 --- a/dist/native/time/parseString.js +++ b/dist/native/time/parseString.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const constants_1 = require("../../constants"); diff --git a/dist/native/time/parseString.js.map b/dist/native/time/parseString.js.map index 7b844e51e5..2c62374a94 100644 --- a/dist/native/time/parseString.js.map +++ b/dist/native/time/parseString.js.map @@ -1 +1 @@ -{"version":3,"file":"parseString.js","sourceRoot":"","sources":["../../../src/native/time/parseString.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,+CAA4C;AAC5C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,IAAI;YACA,OAAO,IAAI,CAAC,OAAO,CAAC,sBAAU,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAA;SACjD;QAAC,OAAO,KAAK,EAAE;YACZ,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;SACzB;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"parseString.js","sourceRoot":"","sources":["../../../src/native/time/parseString.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,+CAA4C;AAC5C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAE,GAAG,CAAE;QAChB,IAAI,CAAC;YACD,OAAO,IAAI,CAAC,OAAO,CAAC,sBAAU,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAA;QAClD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;QAC1B,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/time/second.js b/dist/native/time/second.js index c0331d39f6..155a033757 100644 --- a/dist/native/time/second.js +++ b/dist/native/time/second.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/setCalendar.js b/dist/native/time/setCalendar.js index 78708f018d..bf46076ab0 100644 --- a/dist/native/time/setCalendar.js +++ b/dist/native/time/setCalendar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/setInterval.d.ts.map b/dist/native/time/setInterval.d.ts.map index 895eaec691..f2bc5dad9c 100644 --- a/dist/native/time/setInterval.d.ts.map +++ b/dist/native/time/setInterval.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"setInterval.d.ts","sourceRoot":"","sources":["../../../src/native/time/setInterval.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElG,wBA6CE"} \ No newline at end of file +{"version":3,"file":"setInterval.d.ts","sourceRoot":"","sources":["../../../src/native/time/setInterval.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElG,wBA2CE"} \ No newline at end of file diff --git a/dist/native/time/setInterval.js b/dist/native/time/setInterval.js index 88fddf6b6c..70b7259762 100644 --- a/dist/native/time/setInterval.js +++ b/dist/native/time/setInterval.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -34,18 +34,16 @@ exports.default = new structures_1.NativeFunction({ ], async execute(ctx) { const code = this.data.fields[0]; - const time = await this["resolveUnhandledArg"](ctx, 1); - if (!this["isValidReturnType"](time)) - return time; - const name = await this["resolveUnhandledArg"](ctx, 2); - if (!this["isValidReturnType"](name)) - return name; + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 1, 2); + if (!this["isValidReturnType"](rt)) + return rt; + const [time, name] = args; const c = ctx.clone(ctx.cloneRuntime()); const data = setInterval(async () => { - await this["resolveCode"](c, code); - }, time.value); - if (name.value) - ctx.client.intervals.set(name.value, data); + await this["resolveCode"](c, code).catch(ctx.noop); + }, time || undefined); + if (name) + ctx.client.intervals.set(name, data); return this.success(); }, }); diff --git a/dist/native/time/setInterval.js.map b/dist/native/time/setInterval.js.map index dd38e8b2f0..8a5870099f 100644 --- a/dist/native/time/setInterval.js.map +++ b/dist/native/time/setInterval.js.map @@ -1 +1 @@ -{"version":3,"file":"setInterval.js","sourceRoot":"","sources":["../../../src/native/time/setInterval.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,Q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CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"setInterval.js","sourceRoot":"","sources":["../../../src/native/time/setInterval.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mDAAmD;IAChE,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QAEnE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;QACzE,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;YAAE,OAAO,EAAE,CAAA;QAC7C,MAAM,CAAE,IAAI,EAAE,IAAI,CAAE,GAAG,IAAI,CAAA;QAE3B,MAAM,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAAA;QACvC,MAAM,IAAI,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE;YAChC,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACtD,CAAC,EAAE,IAAI,IAAI,SAAS,CAAC,CAAA;QAErB,IAAI,IAAI;YAAE,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QAE9C,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/time/setTimeout.d.ts.map b/dist/native/time/setTimeout.d.ts.map index 620ca1d615..77ab6aa7b5 100644 --- a/dist/native/time/setTimeout.d.ts.map +++ b/dist/native/time/setTimeout.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"setTimeout.d.ts","sourceRoot":"","sources":["../../../src/native/time/setTimeout.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElG,wBA8CE"} \ No newline at end of file +{"version":3,"file":"setTimeout.d.ts","sourceRoot":"","sources":["../../../src/native/time/setTimeout.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAkC,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElG,wBA4CE"} \ No newline at end of file diff --git a/dist/native/time/setTimeout.js b/dist/native/time/setTimeout.js index 1979f76db8..f53147b5b5 100644 --- a/dist/native/time/setTimeout.js +++ b/dist/native/time/setTimeout.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -34,20 +34,18 @@ exports.default = new structures_1.NativeFunction({ ], async execute(ctx) { const code = this.data.fields[0]; - const time = await this["resolveUnhandledArg"](ctx, 1); - if (!this["isValidReturnType"](time)) - return time; - const name = await this["resolveUnhandledArg"](ctx, 2); - if (!this["isValidReturnType"](name)) - return name; + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 1, 2); + if (!this["isValidReturnType"](rt)) + return rt; + const [time, name] = args; const c = ctx.clone(ctx.cloneRuntime()); const data = setTimeout(async () => { - await this["resolveCode"](c, code); - if (name.value) - ctx.client.timeouts.delete(name.value); - }, time.value); - if (name.value) - ctx.client.timeouts.set(name.value, data); + await this["resolveCode"](c, code).catch(ctx.noop); + if (name) + ctx.client.timeouts.delete(name); + }, time || undefined); + if (name) + ctx.client.timeouts.set(name, data); return this.success(); }, }); diff --git a/dist/native/time/setTimeout.js.map b/dist/native/time/setTimeout.js.map index 8994bfa51f..87b09b5709 100644 --- a/dist/native/time/setTimeout.js.map +++ b/dist/native/time/setTimeout.js.map @@ -1 +1 @@ -{"version":3,"file":"setTimeout.js","sourceRoot":"","sources":["../../../src/native/time/setTimeout.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkG;AAElG,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,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AAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;QAC9C,CAAC,EAAE,IAAI,IAAI,SAAS,CAAC,CAAA;QAErB,IAAI,IAAI;YAAE,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QAE7C,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/time/setTimezone.js b/dist/native/time/setTimezone.js index 94d9438318..8e05998590 100644 --- a/dist/native/time/setTimezone.js +++ b/dist/native/time/setTimezone.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/unparseDate.js b/dist/native/time/unparseDate.js index fc3dcbedbf..41031004bb 100644 --- a/dist/native/time/unparseDate.js +++ b/dist/native/time/unparseDate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/unparseDigital.js b/dist/native/time/unparseDigital.js index cec4a658c3..695d3c0191 100644 --- a/dist/native/time/unparseDigital.js +++ b/dist/native/time/unparseDigital.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const digital_1 = require("../../functions/digital"); diff --git a/dist/native/time/wait.js b/dist/native/time/wait.js index 9e39e8ceb4..c1e8e1da74 100644 --- a/dist/native/time/wait.js +++ b/dist/native/time/wait.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const promises_1 = require("timers/promises"); diff --git a/dist/native/time/week.d.ts b/dist/native/time/week.d.ts index 5996a0e304..dfa960e347 100644 --- a/dist/native/time/week.d.ts +++ b/dist/native/time/week.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=week.d.ts.map \ No newline at end of file diff --git a/dist/native/time/week.js b/dist/native/time/week.js index f534380bf9..79f522e8e8 100644 --- a/dist/native/time/week.js +++ b/dist/native/time/week.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/weekday.js b/dist/native/time/weekday.js index 939546c2c4..ad7f8f59e1 100644 --- a/dist/native/time/weekday.js +++ b/dist/native/time/weekday.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/time/year.js b/dist/native/time/year.js index bbb03ee99c..92c6f55dca 100644 --- a/dist/native/time/year.js +++ b/dist/native/time/year.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/unsafe/api.js b/dist/native/unsafe/api.js index 0b44a69e72..59c5615f5d 100644 --- a/dist/native/unsafe/api.js +++ b/dist/native/unsafe/api.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/unsafe/coroutine.d.ts.map b/dist/native/unsafe/coroutine.d.ts.map index ba44dfea88..e57beceb88 100644 --- a/dist/native/unsafe/coroutine.d.ts.map +++ b/dist/native/unsafe/coroutine.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"coroutine.d.ts","sourceRoot":"","sources":["../../../src/native/unsafe/coroutine.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAwBE"} \ No newline at end of file +{"version":3,"file":"coroutine.d.ts","sourceRoot":"","sources":["../../../src/native/unsafe/coroutine.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAwBE"} \ No newline at end of file diff --git a/dist/native/unsafe/coroutine.js b/dist/native/unsafe/coroutine.js index 0de8ac568f..8dbf4d388c 100644 --- a/dist/native/unsafe/coroutine.js +++ b/dist/native/unsafe/coroutine.js @@ -1,10 +1,9 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -/* eslint-disable no-undef */ const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$coroutine", diff --git a/dist/native/unsafe/coroutine.js.map b/dist/native/unsafe/coroutine.js.map index a990825814..5e0cf7b029 100644 --- a/dist/native/unsafe/coroutine.js.map +++ b/dist/native/unsafe/coroutine.js.map @@ -1 +1 @@ -{"version":3,"file":"coroutine.js","sourceRoot":"","sources":["../../../src/native/unsafe/coroutine.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,6BAA6B;AAC7B,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,CAAE,CAAA;QAClC,OAAO,IAAI,CAAC,OAAO,CACf,MAAM,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC;YAC3B,IAAI;SACP,CAAC,CACL,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"coroutine.js","sourceRoot":"","sources":["../../../src/native/unsafe/coroutine.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sCAAsC;IACnD,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,iBAAiB;YAC9B,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC,CAAE,CAAA;QAClC,OAAO,IAAI,CAAC,OAAO,CACf,MAAM,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC;YAC3B,IAAI;SACP,CAAC,CACL,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/djsEval.js b/dist/native/unsafe/djsEval.js index 283f0983ba..073b5ee05a 100644 --- a/dist/native/unsafe/djsEval.js +++ b/dist/native/unsafe/djsEval.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const util_1 = require("util"); diff --git a/dist/native/unsafe/djsEval.js.map b/dist/native/unsafe/djsEval.js.map index de08f66266..d6947b8990 100644 --- a/dist/native/unsafe/djsEval.js.map +++ b/dist/native/unsafe/djsEval.js.map @@ -1 +1 @@ -{"version":3,"file":"djsEval.js","sourceRoot":"","sources":["../../../src/native/unsafe/djsEval.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,+BAA8B;AAC9B,kEAA6D;AAC7D,8EAAmF;AAEnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,wBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,IAAI;YACd,IAAI,E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GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAC1B,IAAI,CAAC;YACD,IAAI,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,CAAA;YAC7B,IAAI,OAAO,MAAM,KAAK,QAAQ;gBAAE,MAAM,GAAG,IAAA,cAAO,EAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAA;YACtE,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;QAC/B,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACtB,OAAO,IAAI,CAAC,KAAK,CAAC,sBAAS,CAAC,MAAM,EAAG,KAAe,CAAC,OAAO,CAAC,CAAA;QACjE,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/eval.js b/dist/native/unsafe/eval.js index 83783a2d7a..7191505354 100644 --- a/dist/native/unsafe/eval.js +++ b/dist/native/unsafe/eval.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("../../core"); diff --git a/dist/native/unsafe/eval.js.map b/dist/native/unsafe/eval.js.map index 022b5c2e35..2aa90ad5c2 100644 --- a/dist/native/unsafe/eval.js.map +++ b/dist/native/unsafe/eval.js.map @@ -1 +1 @@ -{"version":3,"file":"eval.js","sourceRoot":"","sources":["../../../src/native/unsafe/eval.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAkD;AAClD,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sBAAsB;IACnC,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,kBAAkB;SAClC;QACD;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,gCAAgC;SAChD;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QAC3B,IAAI,KAAK,IAAI,CAAA;QACb,IAAI;YACA,MAAM,MAAM,GAAG,MAAM,kBAAW,CAAC,GAAG,CAAC;gBACjC,GAAG,GAAG,CAAC,YAAY,EAAE;gBACrB,IAAI,EAAE,eAAQ,CAAC,OAAO,CAAC,IAAI,CAAC;gBAC5B,SAAS,EAAE,CAAC,IAAI;aACnB,CAAC,CAAA;YAEF,OAAO,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;SACjF;QAAC,OAAO,KAAU,EAAE;YACjB,mBAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;YACnB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SAC3B;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"eval.js","sourceRoot":"","sources":["../../../src/native/unsafe/eval.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAkD;AAClD,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sBAAsB;IACnC,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,kBAAkB;SAClC;QACD;YACI,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,gCAAgC;SAChD;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;QAC3B,IAAI,KAAK,IAAI,CAAA;QACb,IAAI,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,kBAAW,CAAC,GAAG,CAAC;gBACjC,GAAG,GAAG,CAAC,YAAY,EAAE;gBACrB,IAAI,EAAE,eAAQ,CAAC,OAAO,CAAC,IAAI,CAAC;gBAC5B,SAAS,EAAE,CAAC,IAAI;aACnB,CAAC,CAAA;YAEF,OAAO,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;QAClF,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YAClB,mBAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;YACnB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QAC5B,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/exec.js b/dist/native/unsafe/exec.js index 51394e8b98..1a73c203ee 100644 --- a/dist/native/unsafe/exec.js +++ b/dist/native/unsafe/exec.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const child_process_1 = require("child_process"); diff --git a/dist/native/unsafe/exec.js.map b/dist/native/unsafe/exec.js.map index 76581f603a..44add9fb11 100644 --- a/dist/native/unsafe/exec.js.map +++ b/dist/native/unsafe/exec.js.map @@ -1 +1 @@ -{"version":3,"file":"exec.js","sourceRoot":"","sources":["../../../src/native/unsafe/exec.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAwC;AACxC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC;QACxB,IAAI;YACA,MAAM,IAAI,GAAG,MAAM,IAAA,wBAAQ,EAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAA;YAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;SAC5B;QAAC,OAAO,KAAU,EAAE;YACjB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SAC3B;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"exec.js","sourceRoot":"","sources":["../../../src/native/unsafe/exec.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAwC;AACxC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC;QACxB,IAAI,CAAC;YACD,MAAM,IAAI,GAAG,MAAM,IAAA,wBAAQ,EAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAA;YAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;QAC7B,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YAClB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QAC5B,CAAC;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/function.js b/dist/native/unsafe/function.js index 802cc9241e..be3346ca3c 100644 --- a/dist/native/unsafe/function.js +++ b/dist/native/unsafe/function.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/unsafe/gc.d.ts b/dist/native/unsafe/gc.d.ts index 2e841eb3e3..dfabd4384e 100644 --- a/dist/native/unsafe/gc.d.ts +++ b/dist/native/unsafe/gc.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=gc.d.ts.map \ No newline at end of file diff --git a/dist/native/unsafe/gc.d.ts.map b/dist/native/unsafe/gc.d.ts.map index 2bdc4865d1..6a1a30b96e 100644 --- a/dist/native/unsafe/gc.d.ts.map +++ b/dist/native/unsafe/gc.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"gc.d.ts","sourceRoot":"","sources":["../../../src/native/unsafe/gc.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAE1D,wBAcE"} \ No newline at end of file +{"version":3,"file":"gc.d.ts","sourceRoot":"","sources":["../../../src/native/unsafe/gc.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;AAE1D,wBASE"} \ No newline at end of file diff --git a/dist/native/unsafe/gc.js b/dist/native/unsafe/gc.js index 78c8cb7b01..781e62feef 100644 --- a/dist/native/unsafe/gc.js +++ b/dist/native/unsafe/gc.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const process_1 = require("process"); @@ -13,10 +13,7 @@ exports.default = new structures_1.NativeFunction({ unwrap: false, output: structures_1.ArgType.Boolean, execute(ctx) { - return this.success(process_1.execArgv.includes("--expose-gc") ? - // eslint-disable-next-line no-undef - (gc(), true) : - false); + return this.success(process_1.execArgv.includes("--expose-gc") ? (gc(), true) : false); }, }); //# sourceMappingURL=gc.js.map \ No newline at end of file diff --git a/dist/native/unsafe/gc.js.map b/dist/native/unsafe/gc.js.map index 25b2433442..91f9d24539 100644 --- a/dist/native/unsafe/gc.js.map +++ b/dist/native/unsafe/gc.js.map @@ -1 +1 @@ -{"version":3,"file":"gc.js","sourceRoot":"","sources":["../../../src/native/unsafe/gc.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAkC;AAClC,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4FAA4F;IACzG,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CACf,kBAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;YAC9B,oCAAoC;YACpC,CAAC,EAAG,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;YACf,KAAK,CACZ,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"gc.js","sourceRoot":"","sources":["../../../src/native/unsafe/gc.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,qCAAkC;AAClC,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,4FAA4F;IACzG,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,kBAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,EAAG,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IACjF,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/instanceName.d.ts b/dist/native/unsafe/instanceName.d.ts index 151bc98950..cd7b21bef6 100644 --- a/dist/native/unsafe/instanceName.d.ts +++ b/dist/native/unsafe/instanceName.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=instanceName.d.ts.map \ No newline at end of file diff --git a/dist/native/unsafe/instanceName.js b/dist/native/unsafe/instanceName.js index 515a9963b9..41177ac377 100644 --- a/dist/native/unsafe/instanceName.js +++ b/dist/native/unsafe/instanceName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/unsafe/loadChannelContext.js b/dist/native/unsafe/loadChannelContext.js index 773e760d7b..453c1cd1ea 100644 --- a/dist/native/unsafe/loadChannelContext.js +++ b/dist/native/unsafe/loadChannelContext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -13,7 +13,7 @@ exports.default = new structures_1.NativeFunction({ "$asChannelContext" ], brackets: true, - description: "Loads a channel instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a channel instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, args: [ { diff --git a/dist/native/unsafe/loadChannelContext.js.map b/dist/native/unsafe/loadChannelContext.js.map index f961b2cbd6..b852550f1b 100644 --- a/dist/native/unsafe/loadChannelContext.js.map +++ b/dist/native/unsafe/loadChannelContext.js.map @@ -1 +1 @@ -{"version":3,"file":"loadChannelContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadChannelContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,oBAAoB;QACpB,mBAAmB;KACtB;IACD,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,4GAA4G;IACzH,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,EAAE,CAAE;QACf,GAAG,CAAC,GAAG,GAAG,EAAE,CAAA;QACZ,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loadChannelContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadChannelContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,oBAAoB;QACpB,mBAAmB;KACtB;IACD,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,2GAA2G;IACxH,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,EAAE,CAAE;QACf,GAAG,CAAC,GAAG,GAAG,EAAE,CAAA;QACZ,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/loadEmojiContext.d.ts b/dist/native/unsafe/loadEmojiContext.d.ts new file mode 100644 index 0000000000..9f69f20380 --- /dev/null +++ b/dist/native/unsafe/loadEmojiContext.d.ts @@ -0,0 +1,10 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + required: true; + type: ArgType.Emoji; +}], true>; +export default _default; +//# sourceMappingURL=loadEmojiContext.d.ts.map \ No newline at end of file diff --git a/dist/native/unsafe/loadEmojiContext.d.ts.map b/dist/native/unsafe/loadEmojiContext.d.ts.map new file mode 100644 index 0000000000..7bed1027d8 --- /dev/null +++ b/dist/native/unsafe/loadEmojiContext.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"loadEmojiContext.d.ts","sourceRoot":"","sources":["../../../src/native/unsafe/loadEmojiContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAuBE"} \ No newline at end of file diff --git a/dist/native/unsafe/loadEmojiContext.js b/dist/native/unsafe/loadEmojiContext.js new file mode 100644 index 0000000000..67d13bd5ad --- /dev/null +++ b/dist/native/unsafe/loadEmojiContext.js @@ -0,0 +1,32 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$loadEmojiContext", + version: "2.7.0", + description: "Loads an emoji instance to the current context, this is not reversible and is adviced to use with $scope", + aliases: [ + "$useEmojiContext", + "$asEmojiContext" + ], + brackets: true, + unwrap: true, + args: [ + { + name: "emoji ID", + description: "The emoji to adapt context with", + rest: false, + required: true, + type: structures_1.ArgType.Emoji + } + ], + execute(ctx, [e]) { + ctx.obj = e; + return this.success(); + }, +}); +//# sourceMappingURL=loadEmojiContext.js.map \ No newline at end of file diff --git a/dist/native/unsafe/loadEmojiContext.js.map b/dist/native/unsafe/loadEmojiContext.js.map new file mode 100644 index 0000000000..8155fb603f --- /dev/null +++ b/dist/native/unsafe/loadEmojiContext.js.map @@ -0,0 +1 @@ +{"version":3,"file":"loadEmojiContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadEmojiContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,0GAA0G;IACvH,OAAO,EAAE;QACL,kBAAkB;QAClB,iBAAiB;KACpB;IACD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/loadGuildContext.js b/dist/native/unsafe/loadGuildContext.js index 6be2bd3532..d6564da993 100644 --- a/dist/native/unsafe/loadGuildContext.js +++ b/dist/native/unsafe/loadGuildContext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -13,7 +13,7 @@ exports.default = new structures_1.NativeFunction({ "$asGuildContext" ], brackets: true, - description: "Loads a guild instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a guild instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, args: [ { diff --git a/dist/native/unsafe/loadGuildContext.js.map b/dist/native/unsafe/loadGuildContext.js.map index 1d9755dbd8..529cfe2492 100644 --- a/dist/native/unsafe/loadGuildContext.js.map +++ b/dist/native/unsafe/loadGuildContext.js.map @@ -1 +1 @@ -{"version":3,"file":"loadGuildContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadGuildContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,kBAAkB;QAClB,iBAAiB;KACpB;IACD,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,0GAA0G;IACvH,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loadGuildContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadGuildContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,kBAAkB;QAClB,iBAAiB;KACpB;IACD,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,yGAAyG;IACtH,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/loadMemberContext.js b/dist/native/unsafe/loadMemberContext.js index 2afa0802e4..9614c8c65a 100644 --- a/dist/native/unsafe/loadMemberContext.js +++ b/dist/native/unsafe/loadMemberContext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -12,7 +12,7 @@ exports.default = new structures_1.NativeFunction({ "$useMemberContext", "$asMemberContext" ], - description: "Loads a member instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a member instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, brackets: true, args: [ diff --git a/dist/native/unsafe/loadMemberContext.js.map b/dist/native/unsafe/loadMemberContext.js.map index f8a6a7f3ab..04a0d9c307 100644 --- a/dist/native/unsafe/loadMemberContext.js.map +++ b/dist/native/unsafe/loadMemberContext.js.map @@ -1 +1 @@ -{"version":3,"file":"loadMemberContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadMemberContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,mBAAmB;QACnB,kBAAkB;KACrB;IACD,WAAW,EAAE,2GAA2G;IACxH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAE;QACf,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loadMemberContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadMemberContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,oBAAoB;IAC1B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,mBAAmB;QACnB,kBAAkB;KACrB;IACD,WAAW,EAAE,0GAA0G;IACvH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;YACpB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAE;QACf,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/loadMessageContext.js b/dist/native/unsafe/loadMessageContext.js index 23a8d548ff..a7a6d46457 100644 --- a/dist/native/unsafe/loadMessageContext.js +++ b/dist/native/unsafe/loadMessageContext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -12,7 +12,7 @@ exports.default = new structures_1.NativeFunction({ "$useMessageContext", "$asMessageContext" ], - description: "Loads a message instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a message instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, brackets: true, args: [ diff --git a/dist/native/unsafe/loadMessageContext.js.map b/dist/native/unsafe/loadMessageContext.js.map index fe2d929373..4396007e64 100644 --- a/dist/native/unsafe/loadMessageContext.js.map +++ b/dist/native/unsafe/loadMessageContext.js.map @@ -1 +1 @@ -{"version":3,"file":"loadMessageContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadMessageContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,oBAAoB;QACpB,mBAAmB;KACtB;IACD,WAAW,EAAE,4GAA4G;IACzH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAE;QACf,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loadMessageContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadMessageContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,oBAAoB;QACpB,mBAAmB;KACtB;IACD,WAAW,EAAE,2GAA2G;IACxH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,WAAW;SAC5B;QACD;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;YACrB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAE;QACf,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/loadRoleContext.js b/dist/native/unsafe/loadRoleContext.js index 2bfe45b63c..b4f67e2b15 100644 --- a/dist/native/unsafe/loadRoleContext.js +++ b/dist/native/unsafe/loadRoleContext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -12,7 +12,7 @@ exports.default = new structures_1.NativeFunction({ "$useRoleContext", "$asRoleContext" ], - description: "Loads a role instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a role instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, brackets: true, args: [ diff --git a/dist/native/unsafe/loadRoleContext.js.map b/dist/native/unsafe/loadRoleContext.js.map index e7f2d55b9b..afab8d1944 100644 --- a/dist/native/unsafe/loadRoleContext.js.map +++ b/dist/native/unsafe/loadRoleContext.js.map @@ -1 +1 @@ -{"version":3,"file":"loadRoleContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadRoleContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,iBAAiB;QACjB,gBAAgB;KACnB;IACD,WAAW,EAAE,yGAAyG;IACtH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAE;QACf,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loadRoleContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadRoleContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,iBAAiB;QACjB,gBAAgB;KACnB;IACD,WAAW,EAAE,wGAAwG;IACrH,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,KAAK;SACtB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,OAAO,EAAE,CAAC;SACb;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAE;QACf,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/loadStickerContext.js b/dist/native/unsafe/loadStickerContext.js index 866c5d0d90..f7e4d67956 100644 --- a/dist/native/unsafe/loadStickerContext.js +++ b/dist/native/unsafe/loadStickerContext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -13,7 +13,7 @@ exports.default = new structures_1.NativeFunction({ "$asStickerContext" ], brackets: true, - description: "Loads a sticker instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a sticker instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, args: [ { diff --git a/dist/native/unsafe/loadStickerContext.js.map b/dist/native/unsafe/loadStickerContext.js.map index ee5f1c7201..6693e91f1b 100644 --- a/dist/native/unsafe/loadStickerContext.js.map +++ b/dist/native/unsafe/loadStickerContext.js.map @@ -1 +1 @@ -{"version":3,"file":"loadStickerContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadStickerContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,oBAAoB;QACpB,mBAAmB;KACtB;IACD,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,4GAA4G;IACzH,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loadStickerContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadStickerContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,qBAAqB;IAC3B,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,oBAAoB;QACpB,mBAAmB;KACtB;IACD,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,2GAA2G;IACxH,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/unsafe/loadUserContext.js b/dist/native/unsafe/loadUserContext.js index dface94dd5..7a457c747f 100644 --- a/dist/native/unsafe/loadUserContext.js +++ b/dist/native/unsafe/loadUserContext.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); @@ -13,7 +13,7 @@ exports.default = new structures_1.NativeFunction({ "$asUserContext" ], brackets: true, - description: "Loads a user instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a user instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, args: [ { diff --git a/dist/native/unsafe/loadUserContext.js.map b/dist/native/unsafe/loadUserContext.js.map index c7f28fcedc..ff582ca6f0 100644 --- a/dist/native/unsafe/loadUserContext.js.map +++ b/dist/native/unsafe/loadUserContext.js.map @@ -1 +1 @@ -{"version":3,"file":"loadUserContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadUserContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,iBAAiB;QACjB,gBAAgB;KACnB;IACD,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,yGAAyG;IACtH,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"loadUserContext.js","sourceRoot":"","sources":["../../../src/native/unsafe/loadUserContext.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE;QACL,iBAAiB;QACjB,gBAAgB;KACnB;IACD,QAAQ,EAAE,IAAI;IACd,WAAW,EAAE,wGAAwG;IACrH,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,GAAG,CAAC,GAAG,GAAG,CAAC,CAAA;QACX,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/authorID.d.ts b/dist/native/user/authorID.d.ts index 85f69845e5..b00175f237 100644 --- a/dist/native/user/authorID.d.ts +++ b/dist/native/user/authorID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=authorID.d.ts.map \ No newline at end of file diff --git a/dist/native/user/authorID.d.ts.map b/dist/native/user/authorID.d.ts.map index 5b4c6ec104..cf8bf4cb0d 100644 --- a/dist/native/user/authorID.d.ts.map +++ b/dist/native/user/authorID.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"authorID.d.ts","sourceRoot":"","sources":["../../../src/native/user/authorID.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;;AAGnF,wBAUE"} \ No newline at end of file +{"version":3,"file":"authorID.d.ts","sourceRoot":"","sources":["../../../src/native/user/authorID.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;;AAEnF,wBAUE"} \ No newline at end of file diff --git a/dist/native/user/authorID.js b/dist/native/user/authorID.js index 7c63ca7b5e..b2adb54d58 100644 --- a/dist/native/user/authorID.js +++ b/dist/native/user/authorID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/user/authorID.js.map b/dist/native/user/authorID.js.map index fb0703ca68..f286a55174 100644 --- a/dist/native/user/authorID.js.map +++ b/dist/native/user/authorID.js.map @@ -1 +1 @@ -{"version":3,"file":"authorID.js","sourceRoot":"","sources":["../../../src/native/user/authorID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AAGnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,SAAS,CAAC;IACpB,WAAW,EAAE,uBAAuB;IACpC,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,wBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IACrC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"authorID.js","sourceRoot":"","sources":["../../../src/native/user/authorID.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AAEnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,SAAS,CAAC;IACpB,WAAW,EAAE,uBAAuB;IACpC,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,wBAAO,CAAC,IAAI;IACpB,OAAO,CAAC,GAAG;QACP,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IACrC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/deleteDM.d.ts b/dist/native/user/deleteDM.d.ts new file mode 100644 index 0000000000..18d55d3d41 --- /dev/null +++ b/dist/native/user/deleteDM.d.ts @@ -0,0 +1,10 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + type: ArgType.User; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=deleteDM.d.ts.map \ No newline at end of file diff --git a/dist/native/user/deleteDM.d.ts.map b/dist/native/user/deleteDM.d.ts.map new file mode 100644 index 0000000000..64a39c3bf5 --- /dev/null +++ b/dist/native/user/deleteDM.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"deleteDM.d.ts","sourceRoot":"","sources":["../../../src/native/user/deleteDM.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmBE"} \ No newline at end of file diff --git a/dist/native/user/deleteDM.js b/dist/native/user/deleteDM.js new file mode 100644 index 0000000000..429b98cbfa --- /dev/null +++ b/dist/native/user/deleteDM.js @@ -0,0 +1,28 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$deleteDM", + version: "2.7.0", + description: "Deletes the DM channel between the client and a user", + unwrap: true, + brackets: true, + args: [ + { + name: "user ID", + description: "The user whose DM channel should be deleted", + rest: false, + type: structures_1.ArgType.User, + required: true, + }, + ], + output: structures_1.ArgType.Boolean, + async execute(ctx, [user]) { + return this.success(!!(await user.deleteDM().catch(ctx.noop))); + }, +}); +//# sourceMappingURL=deleteDM.js.map \ No newline at end of file diff --git a/dist/native/user/deleteDM.js.map b/dist/native/user/deleteDM.js.map new file mode 100644 index 0000000000..5fd84519b1 --- /dev/null +++ b/dist/native/user/deleteDM.js.map @@ -0,0 +1 @@ +{"version":3,"file":"deleteDM.js","sourceRoot":"","sources":["../../../src/native/user/deleteDM.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sDAAsD;IACnE,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6CAA6C;YAC1D,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACrB,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;IAClE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/discriminator.js b/dist/native/user/discriminator.js index a4c2e3a3a6..d86b626c29 100644 --- a/dist/native/user/discriminator.js +++ b/dist/native/user/discriminator.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$discriminator", version: "1.4.0", - description: "Returns the user discriminator", + description: "Returns the discriminator of a user", brackets: false, unwrap: true, args: [ @@ -21,8 +21,8 @@ exports.default = new structures_1.NativeFunction({ } ], output: structures_1.ArgType.String, - execute(ctx, [u]) { - return this.success((u ?? ctx.user)?.discriminator); + execute(ctx, [user]) { + return this.success((user ?? ctx.user)?.discriminator); }, }); //# sourceMappingURL=discriminator.js.map \ No newline at end of file diff --git a/dist/native/user/discriminator.js.map b/dist/native/user/discriminator.js.map index fa5259c451..15dd474e9b 100644 --- a/dist/native/user/discriminator.js.map +++ b/dist/native/user/discriminator.js.map @@ -1 +1 @@ -{"version":3,"file":"discriminator.js","sourceRoot":"","sources":["../../../src/native/user/discriminator.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,aAAa,CAAC,CAAA;IACvD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"discriminator.js","sourceRoot":"","sources":["../../../src/native/user/discriminator.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,aAAa,CAAC,CAAA;IAC1D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/isBot.js b/dist/native/user/isBot.js index 54b6d4548f..5c2d896c14 100644 --- a/dist/native/user/isBot.js +++ b/dist/native/user/isBot.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isBot", version: "1.0.0", - description: "Whether the user is a bot", + description: "Returns whether the user is a bot", unwrap: true, output: structures_1.ArgType.Boolean, args: [ diff --git a/dist/native/user/isBot.js.map b/dist/native/user/isBot.js.map index d3aee8ff27..bfcb03145b 100644 --- a/dist/native/user/isBot.js.map +++ b/dist/native/user/isBot.js.map @@ -1 +1 @@ -{"version":3,"file":"isBot.js","sourceRoot":"","sources":["../../../src/native/user/isBot.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qCAAqC;YAClD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAA;IACzD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isBot.js","sourceRoot":"","sources":["../../../src/native/user/isBot.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,mCAAmC;IAChD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qCAAqC;YAClD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAA;IACzD,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/isBotVerified.d.ts.map b/dist/native/user/isBotVerified.d.ts.map index 9fe9edddd0..0b763161a0 100644 --- a/dist/native/user/isBotVerified.d.ts.map +++ b/dist/native/user/isBotVerified.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isBotVerified.d.ts","sourceRoot":"","sources":["../../../src/native/user/isBotVerified.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"isBotVerified.d.ts","sourceRoot":"","sources":["../../../src/native/user/isBotVerified.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmBE"} \ No newline at end of file diff --git a/dist/native/user/isBotVerified.js b/dist/native/user/isBotVerified.js index 21801027d6..5dd53d5016 100644 --- a/dist/native/user/isBotVerified.js +++ b/dist/native/user/isBotVerified.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$isBotVerified", version: "1.0.0", - description: "Whether the bot is verified", + description: "Returns whether the bot is verified", unwrap: true, output: structures_1.ArgType.Boolean, args: [ diff --git a/dist/native/user/isBotVerified.js.map b/dist/native/user/isBotVerified.js.map index 0fa67b8fd1..e20ab53931 100644 --- a/dist/native/user/isBotVerified.js.map +++ b/dist/native/user/isBotVerified.js.map @@ -1 +1 @@ -{"version":3,"file":"isBotVerified.js","sourceRoot":"","sources":["../../../src/native/user/isBotVerified.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;IAC/E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isBotVerified.js","sourceRoot":"","sources":["../../../src/native/user/isBotVerified.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;IAC/E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/isUserDMEnabled.d.ts.map b/dist/native/user/isUserDMEnabled.d.ts.map index dfb82a70ea..18bbe90d59 100644 --- a/dist/native/user/isUserDMEnabled.d.ts.map +++ b/dist/native/user/isUserDMEnabled.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"isUserDMEnabled.d.ts","sourceRoot":"","sources":["../../../src/native/user/isUserDMEnabled.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBA8BE"} \ No newline at end of file +{"version":3,"file":"isUserDMEnabled.d.ts","sourceRoot":"","sources":["../../../src/native/user/isUserDMEnabled.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAsBE"} \ No newline at end of file diff --git a/dist/native/user/isUserDMEnabled.js b/dist/native/user/isUserDMEnabled.js index 592ba58e79..e408a5e22e 100644 --- a/dist/native/user/isUserDMEnabled.js +++ b/dist/native/user/isUserDMEnabled.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); @@ -24,19 +24,7 @@ exports.default = new structures_1.NativeFunction({ ], async execute(ctx, [user]) { user ??= ctx.user; - try { - await user.send(""); - return this.success(true); - } - catch (error) { - if (error instanceof discord_js_1.DiscordAPIError) { - if (error.code === 50007) - return this.success(false); // DM disabled - if (error.code === 50006) - return this.success(true); // Empty message (aka DM enabled) - } - throw error; - } + return this.success(!!(await user?.send("").catch((err) => (err instanceof discord_js_1.DiscordAPIError && Number(err.code) === 50006)))); }, }); //# sourceMappingURL=isUserDMEnabled.js.map \ No newline at end of file diff --git a/dist/native/user/isUserDMEnabled.js.map b/dist/native/user/isUserDMEnabled.js.map index 072c47aa6e..17e2732146 100644 --- a/dist/native/user/isUserDMEnabled.js.map +++ b/dist/native/user/isUserDMEnabled.js.map @@ -1 +1 @@ -{"version":3,"file":"isUserDMEnabled.js","sourceRoot":"","sources":["../../../src/native/user/isUserDMEnabled.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4C;AAC5C,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACrB,IAAI,KAAK,GAAG,CAAC,IAAK,CAAA;QAElB,IAAI;YACA,MAAM,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;YACnB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;SAC5B;QAAC,OAAO,KAAK,EAAE;YACZ,IAAI,KAAK,YAAY,4BAAe,EAAE;gBAClC,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK;oBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA,CAAC,cAAc;gBACnE,IAAI,KAAK,CAAC,IAAI,KAAK,KAAK;oBAAE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA,CAAE,iCAAiC;aACzF;YACD,MAAM,KAAK,CAAA;SACd;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"isUserDMEnabled.js","sourceRoot":"","sources":["../../../src/native/user/isUserDMEnabled.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,2CAA4C;AAC5C,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,sBAAsB;YACnC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACrB,IAAI,KAAK,GAAG,CAAC,IAAK,CAAA;QAClB,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,CAAC,CAAC,MAAM,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,YAAY,4BAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAC1G,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/randomUserID.d.ts b/dist/native/user/randomUserID.d.ts index 059d8b6098..fa81bd3a1e 100644 --- a/dist/native/user/randomUserID.d.ts +++ b/dist/native/user/randomUserID.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], false>; +declare const _default: NativeFunction>[], false>; export default _default; //# sourceMappingURL=randomUserID.d.ts.map \ No newline at end of file diff --git a/dist/native/user/randomUserID.js b/dist/native/user/randomUserID.js index dee0cafaa9..3f66c80985 100644 --- a/dist/native/user/randomUserID.js +++ b/dist/native/user/randomUserID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/sendDM.d.ts.map b/dist/native/user/sendDM.d.ts.map index c490cab4f5..9870b2186e 100644 --- a/dist/native/user/sendDM.d.ts.map +++ b/dist/native/user/sendDM.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"sendDM.d.ts","sourceRoot":"","sources":["../../../src/native/user/sendDM.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElE,wBAiCE"} \ No newline at end of file +{"version":3,"file":"sendDM.d.ts","sourceRoot":"","sources":["../../../src/native/user/sendDM.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAE1D,wBAiCE"} \ No newline at end of file diff --git a/dist/native/user/sendDM.js b/dist/native/user/sendDM.js index 5a40e8ab5e..7f934098a8 100644 --- a/dist/native/user/sendDM.js +++ b/dist/native/user/sendDM.js @@ -1,21 +1,21 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$sendDM", version: "1.0.0", - description: "Sends a dm to the user", + description: "Sends a DM to the user", unwrap: true, brackets: true, output: structures_1.ArgType.Message, args: [ { name: "user ID", - description: "The user to dm", + description: "The user to direct message", rest: false, type: structures_1.ArgType.User, required: true, @@ -28,7 +28,7 @@ exports.default = new structures_1.NativeFunction({ }, { name: "return message ID", - description: "Returns the message id of the newly created message", + description: "Whether to return the id of the newly created message", rest: false, type: structures_1.ArgType.Boolean, }, diff --git a/dist/native/user/sendDM.js.map b/dist/native/user/sendDM.js.map index db11e52ed0..cfc330ceaf 100644 --- a/dist/native/user/sendDM.js.map +++ b/dist/native/user/sendDM.js.map @@ -1 +1 @@ -{"version":3,"file":"sendDM.js","sourceRoot":"","sources":["../../../src/native/user/sendDM.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,qDAAqD;YAClE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,eAAe,CAAC;QAC/C,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,IAAI,SAAS,CAAA;QAC5C,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAgB,IAAI,CAAC,CAAA;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC9D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"sendDM.js","sourceRoot":"","sources":["../../../src/native/user/sendDM.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,wBAAwB;IACrC,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,oBAAO,CAAC,OAAO;IACvB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,uDAAuD;YACpE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,OAAO;SACxB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,eAAe,CAAC;QAC/C,GAAG,CAAC,SAAS,CAAC,OAAO,GAAG,OAAO,IAAI,SAAS,CAAA;QAC5C,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,IAAI,CAAgB,IAAI,CAAC,CAAA;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;IAC9D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/userAccentColor.d.ts.map b/dist/native/user/userAccentColor.d.ts.map index fcb7a3e35a..36f0368a65 100644 --- a/dist/native/user/userAccentColor.d.ts.map +++ b/dist/native/user/userAccentColor.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"userAccentColor.d.ts","sourceRoot":"","sources":["../../../src/native/user/userAccentColor.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;AAElE,wBAmBE"} \ No newline at end of file +{"version":3,"file":"userAccentColor.d.ts","sourceRoot":"","sources":["../../../src/native/user/userAccentColor.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAmBE"} \ No newline at end of file diff --git a/dist/native/user/userAccentColor.js b/dist/native/user/userAccentColor.js index 7e7e7036ff..0793332092 100644 --- a/dist/native/user/userAccentColor.js +++ b/dist/native/user/userAccentColor.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$userAccentColor", version: "1.0.0", - description: "Returns the user accent color", + description: "Returns the accent color of a user", brackets: false, output: structures_1.ArgType.Color, args: [ diff --git a/dist/native/user/userAccentColor.js.map b/dist/native/user/userAccentColor.js.map index f7ba0a8f19..61960f0176 100644 --- a/dist/native/user/userAccentColor.js.map +++ b/dist/native/user/userAccentColor.js.map @@ -1 +1 @@ -{"version":3,"file":"userAccentColor.js","sourceRoot":"","sources":["../../../src/native/user/userAccentColor.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,KAAK;IACrB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC,CAAA;IAC3D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"userAccentColor.js","sourceRoot":"","sources":["../../../src/native/user/userAccentColor.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,kBAAkB;IACxB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,oCAAoC;IACjD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,KAAK;IACrB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,uCAAuC;YACpD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC,CAAA;IAC3D,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/userAvatar.d.ts.map b/dist/native/user/userAvatar.d.ts.map index 78ff5d52bf..4da7a531a1 100644 --- a/dist/native/user/userAvatar.d.ts.map +++ b/dist/native/user/userAvatar.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"userAvatar.d.ts","sourceRoot":"","sources":["../../../src/native/user/userAvatar.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElE,wBAoCE"} \ No newline at end of file +{"version":3,"file":"userAvatar.d.ts","sourceRoot":"","sources":["../../../src/native/user/userAvatar.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAE1D,wBAoCE"} \ No newline at end of file diff --git a/dist/native/user/userAvatar.js b/dist/native/user/userAvatar.js index dbf42b96c4..6721c5b0bf 100644 --- a/dist/native/user/userAvatar.js +++ b/dist/native/user/userAvatar.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$userAvatar", version: "1.0.0", - description: "Returns the user avatar", + description: "Returns the avatar of a user", brackets: false, output: structures_1.ArgType.URL, args: [ diff --git a/dist/native/user/userAvatar.js.map b/dist/native/user/userAvatar.js.map index d2709bec87..f3b58e0e0c 100644 --- a/dist/native/user/userAvatar.js.map +++ b/dist/native/user/userAvatar.js.map @@ -1 +1 @@ -{"version":3,"file":"userAvatar.js","sourceRoot":"","sources":["../../../src/native/user/userAvatar.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;YACjC,SAAS,EAAG,GAAsB,IAAI,SAAS;YAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;SACpC,CAAC,CACL,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"userAvatar.js","sourceRoot":"","sources":["../../../src/native/user/userAvatar.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC;YACjC,SAAS,EAAG,GAAsB,IAAI,SAAS;YAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;SACpC,CAAC,CACL,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/userAvatarDecoration.d.ts.map b/dist/native/user/userAvatarDecoration.d.ts.map index 173a2f777e..7e7f735146 100644 --- a/dist/native/user/userAvatarDecoration.d.ts.map +++ b/dist/native/user/userAvatarDecoration.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"userAvatarDecoration.d.ts","sourceRoot":"","sources":["../../../src/native/user/userAvatarDecoration.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElE,wBAoCE"} \ No newline at end of file +{"version":3,"file":"userAvatarDecoration.d.ts","sourceRoot":"","sources":["../../../src/native/user/userAvatarDecoration.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAE1D,wBAoCE"} \ No newline at end of file diff --git a/dist/native/user/userAvatarDecoration.js b/dist/native/user/userAvatarDecoration.js index b10df77b92..387fc2d893 100644 --- a/dist/native/user/userAvatarDecoration.js +++ b/dist/native/user/userAvatarDecoration.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$userAvatarDecoration", version: "1.0.0", - description: "Returns the user decoration", + description: "Returns the avatar decoration of a user", brackets: false, output: structures_1.ArgType.URL, args: [ diff --git a/dist/native/user/userAvatarDecoration.js.map b/dist/native/user/userAvatarDecoration.js.map index 2f5840f138..61d906b709 100644 --- a/dist/native/user/userAvatarDecoration.js.map +++ b/dist/native/user/userAvatarDecoration.js.map @@ -1 +1 @@ -{"version":3,"file":"userAvatarDecoration.js","sourceRoot":"","sources":["../../../src/native/user/userAvatarDecoration.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,mBAAmB,CAAC;YACpC,SAAS,EAAG,GAAsB,IAAI,SAAS;YAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;SACpC,CAAC,CACL,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"userAvatarDecoration.js","sourceRoot":"","sources":["../../../src/native/user/userAvatarDecoration.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,uBAAuB;IAC7B,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yCAAyC;IACtD,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CACf,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,mBAAmB,CAAC;YACpC,SAAS,EAAG,GAAsB,IAAI,SAAS;YAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;SACpC,CAAC,CACL,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/userBadges.d.ts.map b/dist/native/user/userBadges.d.ts.map index 943a4bff0c..1c99695510 100644 --- a/dist/native/user/userBadges.d.ts.map +++ b/dist/native/user/userBadges.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"userBadges.d.ts","sourceRoot":"","sources":["../../../src/native/user/userBadges.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAElE,wBA0BE"} \ No newline at end of file +{"version":3,"file":"userBadges.d.ts","sourceRoot":"","sources":["../../../src/native/user/userBadges.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;AAG1D,wBA0BE"} \ No newline at end of file diff --git a/dist/native/user/userBadges.js b/dist/native/user/userBadges.js index 74464357ec..41854dfa09 100644 --- a/dist/native/user/userBadges.js +++ b/dist/native/user/userBadges.js @@ -1,15 +1,15 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); -const array_1 = __importDefault(require("../../functions/array")); const structures_1 = require("../../structures"); +const array_1 = __importDefault(require("../../functions/array")); exports.default = new structures_1.NativeFunction({ name: "$userBadges", version: "1.0.0", diff --git a/dist/native/user/userBadges.js.map b/dist/native/user/userBadges.js.map index cd72f0a8f5..dee8734e3a 100644 --- a/dist/native/user/userBadges.js.map +++ b/dist/native/user/userBadges.js.map @@ -1 +1 @@ -{"version":3,"file":"userBadges.js","sourceRoot":"","sources":["../../../src/native/user/userBadges.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,2CAAsC;AACtC,kEAAyC;AAEzC,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,OAAO,EAAE,CAAC,YAAY,CAAC;IACvB,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAA,eAAK,EAAC,sBAAS,CAAC;IACxB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAC/E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"userBadges.js","sourceRoot":"","sources":["../../../src/native/user/userBadges.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,2CAAsC;AACtC,iDAA0D;AAC1D,kEAAyC;AAEzC,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,qCAAqC;IAClD,OAAO,EAAE,CAAC,YAAY,CAAC;IACvB,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAA,eAAK,EAAC,sBAAS,CAAC;IACxB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,QAAQ,EAAE,KAAK;IACf,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAA;IAC/E,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/userBanner.d.ts.map b/dist/native/user/userBanner.d.ts.map index f7b60359c0..0e6a512c08 100644 --- a/dist/native/user/userBanner.d.ts.map +++ b/dist/native/user/userBanner.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"userBanner.d.ts","sourceRoot":"","sources":["../../../src/native/user/userBanner.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAU,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAElE,wBAwCE"} \ No newline at end of file +{"version":3,"file":"userBanner.d.ts","sourceRoot":"","sources":["../../../src/native/user/userBanner.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAE1D,wBAwCE"} \ No newline at end of file diff --git a/dist/native/user/userBanner.js b/dist/native/user/userBanner.js index 1308d96bae..61562b2798 100644 --- a/dist/native/user/userBanner.js +++ b/dist/native/user/userBanner.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$userBanner", version: "1.0.0", - description: "Returns the user banner", + description: "Returns the banner of a user", brackets: false, output: structures_1.ArgType.URL, args: [ diff --git a/dist/native/user/userBanner.js.map b/dist/native/user/userBanner.js.map index 7a4dd8d32f..05d28e07ca 100644 --- a/dist/native/user/userBanner.js.map +++ b/dist/native/user/userBanner.js.map @@ -1 +1 @@ -{"version":3,"file":"userBanner.js","sourceRoot":"","sources":["../../../src/native/user/userBanner.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAAkE;AAElE,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,yBAAyB;IACtC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC;QAChC,IAAI,KAAK,GAAG,CAAC,IAAK,CAAA;QAElB,IAAI,CAAC,IAAI,EAAE,MAAM;YAAE,MAAM,IAAI,CAAC,KAAK,EAAE,CAAA;QAErC,OAAO,IAAI,CAAC,OAAO,CACf,IAAI,EAAE,SAAS,CAAC;YACZ,SAAS,EAAG,GAAsB,IAAI,SAAS;YAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;SACpC,CAAC,CACL,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"userBanner.js","sourceRoot":"","sources":["../../../src/native/user/userBanner.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAGF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,8BAA8B;IAC3C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,iCAAiC;YAC9C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC;QAChC,IAAI,KAAK,GAAG,CAAC,IAAK,CAAA;QAElB,IAAI,CAAC,IAAI,EAAE,MAAM;YAAE,MAAM,IAAI,CAAC,KAAK,EAAE,CAAA;QAErC,OAAO,IAAI,CAAC,OAAO,CACf,IAAI,EAAE,SAAS,CAAC;YACZ,SAAS,EAAG,GAAsB,IAAI,SAAS;YAC/C,IAAI,EAAG,IAAkB,IAAI,IAAI;SACpC,CAAC,CACL,CAAA;IACL,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/userCount.d.ts b/dist/native/user/userCount.d.ts index 30f8d775d5..4af643bb22 100644 --- a/dist/native/user/userCount.d.ts +++ b/dist/native/user/userCount.d.ts @@ -1,4 +1,4 @@ import { ArgType, NativeFunction } from "../../structures"; -declare const _default: NativeFunction>[], true>; +declare const _default: NativeFunction>[], true>; export default _default; //# sourceMappingURL=userCount.d.ts.map \ No newline at end of file diff --git a/dist/native/user/userCount.js b/dist/native/user/userCount.js index 0d97afe068..29e82444a9 100644 --- a/dist/native/user/userCount.js +++ b/dist/native/user/userCount.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userCreatedAt.js b/dist/native/user/userCreatedAt.js index 01357fb377..8e6eab8925 100644 --- a/dist/native/user/userCreatedAt.js +++ b/dist/native/user/userCreatedAt.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userDefaultAvatar.js b/dist/native/user/userDefaultAvatar.js index 6642c149f0..08cdd78ea0 100644 --- a/dist/native/user/userDefaultAvatar.js +++ b/dist/native/user/userDefaultAvatar.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userDisplayName.js b/dist/native/user/userDisplayName.js index 2a1ebd7002..242ee6cb0f 100644 --- a/dist/native/user/userDisplayName.js +++ b/dist/native/user/userDisplayName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userExists.js b/dist/native/user/userExists.js index d15d395c2f..ef0b70ec98 100644 --- a/dist/native/user/userExists.js +++ b/dist/native/user/userExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userGlobalName.js b/dist/native/user/userGlobalName.js index 645ea40a84..d9d9157578 100644 --- a/dist/native/user/userGlobalName.js +++ b/dist/native/user/userGlobalName.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userGuildBadge.js b/dist/native/user/userGuildBadge.js index e881707ad3..e03dce1a6e 100644 --- a/dist/native/user/userGuildBadge.js +++ b/dist/native/user/userGuildBadge.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userGuildEnabled.js b/dist/native/user/userGuildEnabled.js index 6df2f565e2..0bcb60c8d0 100644 --- a/dist/native/user/userGuildEnabled.js +++ b/dist/native/user/userGuildEnabled.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userGuildID.js b/dist/native/user/userGuildID.js index 0a4c720fba..cb52a9f0c6 100644 --- a/dist/native/user/userGuildID.js +++ b/dist/native/user/userGuildID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userGuildTag.js b/dist/native/user/userGuildTag.js index 199df70b92..4011106dc9 100644 --- a/dist/native/user/userGuildTag.js +++ b/dist/native/user/userGuildTag.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userIDs.js b/dist/native/user/userIDs.js index 605dad3264..7ef1fe6683 100644 --- a/dist/native/user/userIDs.js +++ b/dist/native/user/userIDs.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/user/userRawData.js b/dist/native/user/userRawData.js index 0d1b5756ad..e0ed4962db 100644 --- a/dist/native/user/userRawData.js +++ b/dist/native/user/userRawData.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userReferenceID.d.ts b/dist/native/user/userReferenceID.d.ts index a9dc35d9ee..ab70a9ec7a 100644 --- a/dist/native/user/userReferenceID.d.ts +++ b/dist/native/user/userReferenceID.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ required: true; description: string; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").DMChannel | import("discord.js").PartialGroupDMChannel | import("discord.js").NewsChannel | import("discord.js").StageChannel | import("discord.js").TextChannel | import("discord.js").PublicThreadChannel | import("discord.js").PrivateThreadChannel | import("discord.js").VoiceChannel; }, { name: string; description: string; diff --git a/dist/native/user/userReferenceID.js b/dist/native/user/userReferenceID.js index 78e70fa67a..6bf6e77545 100644 --- a/dist/native/user/userReferenceID.js +++ b/dist/native/user/userReferenceID.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/user/userTag.js b/dist/native/user/userTag.js index 1d7b6eb2de..d2bb711641 100644 --- a/dist/native/user/userTag.js +++ b/dist/native/user/userTag.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); exports.default = new structures_1.NativeFunction({ name: "$userTag", version: "1.4.0", - description: "Returns the user tag", + description: "Returns the legacy tag of a user", brackets: false, unwrap: true, args: [ diff --git a/dist/native/user/userTag.js.map b/dist/native/user/userTag.js.map index 90ab6d9306..c26b4dcd11 100644 --- a/dist/native/user/userTag.js.map +++ b/dist/native/user/userTag.js.map @@ -1 +1 @@ -{"version":3,"file":"userTag.js","sourceRoot":"","sources":["../../../src/native/user/userTag.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,sBAAsB;IACnC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAA;IAC7C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"userTag.js","sourceRoot":"","sources":["../../../src/native/user/userTag.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,MAAM;IACtB,OAAO,CAAC,GAAG,EAAE,CAAE,CAAC,CAAE;QACd,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAA;IAC7C,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/userURL.d.ts b/dist/native/user/userURL.d.ts new file mode 100644 index 0000000000..8dd6ebe625 --- /dev/null +++ b/dist/native/user/userURL.d.ts @@ -0,0 +1,10 @@ +import { ArgType, NativeFunction } from "../../structures"; +declare const _default: NativeFunction<[{ + name: string; + description: string; + rest: false; + type: ArgType.User; + required: true; +}], true>; +export default _default; +//# sourceMappingURL=userURL.d.ts.map \ No newline at end of file diff --git a/dist/native/user/userURL.d.ts.map b/dist/native/user/userURL.d.ts.map new file mode 100644 index 0000000000..ff18cf36d1 --- /dev/null +++ b/dist/native/user/userURL.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"userURL.d.ts","sourceRoot":"","sources":["../../../src/native/user/userURL.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;AAE1D,wBAoBE"} \ No newline at end of file diff --git a/dist/native/user/userURL.js b/dist/native/user/userURL.js new file mode 100644 index 0000000000..72b318f7a3 --- /dev/null +++ b/dist/native/user/userURL.js @@ -0,0 +1,29 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +Object.defineProperty(exports, "__esModule", { value: true }); +const structures_1 = require("../../structures"); +exports.default = new structures_1.NativeFunction({ + name: "$userURL", + version: "2.7.0", + description: "Returns the url of a user", + brackets: false, + unwrap: true, + args: [ + { + name: "user ID", + description: "The user to get its url", + rest: false, + type: structures_1.ArgType.User, + required: true, + }, + ], + output: structures_1.ArgType.URL, + execute(ctx, [user]) { + const id = (user ?? ctx.user)?.id; + return this.success(id ? `https://discord.com/users/${id}` : null); + }, +}); +//# sourceMappingURL=userURL.js.map \ No newline at end of file diff --git a/dist/native/user/userURL.js.map b/dist/native/user/userURL.js.map new file mode 100644 index 0000000000..d8825a9601 --- /dev/null +++ b/dist/native/user/userURL.js.map @@ -0,0 +1 @@ +{"version":3,"file":"userURL.js","sourceRoot":"","sources":["../../../src/native/user/userURL.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0D;AAE1D,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACF;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,MAAM,EAAE,oBAAO,CAAC,GAAG;IACnB,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;QACf,MAAM,EAAE,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,EAAE,EAAE,CAAA;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,6BAA6B,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;IACtE,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/user/username.js b/dist/native/user/username.js index c21a1f09b2..d4b871f61d 100644 --- a/dist/native/user/username.js +++ b/dist/native/user/username.js @@ -1,14 +1,14 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); exports.default = new NativeFunction_1.NativeFunction({ name: "$username", version: "1.0.0", - description: "Retrieves a user's username", + description: "Returns the username of a user", brackets: false, output: NativeFunction_1.ArgType.String, args: [ diff --git a/dist/native/user/username.js.map b/dist/native/user/username.js.map index d8a7ac98a9..871b66e807 100644 --- a/dist/native/user/username.js.map +++ b/dist/native/user/username.js.map @@ -1 +1 @@ -{"version":3,"file":"username.js","sourceRoot":"","sources":["../../../src/native/user/username.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AAEnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,wBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,wBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,KAAK,WAAW,GAAG,EAAE,CAAC,IAAI,CAAC;QAChC,IAAI,KAAK,GAAG,CAAC,IAAI,CAAA,CAAC,uBAAuB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"username.js","sourceRoot":"","sources":["../../../src/native/user/username.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,8EAAmF;AAEnF,kBAAe,IAAI,+BAAc,CAAC;IAC9B,IAAI,EAAE,WAAW;IACjB,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,gCAAgC;IAC7C,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,wBAAO,CAAC,MAAM;IACtB,IAAI,EAAE;QACF;YACI,IAAI,EAAE,IAAI;YACV,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,wBAAO,CAAC,IAAI;YAClB,IAAI,EAAE,KAAK;SACd;KACJ;IACD,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,KAAK,WAAW,GAAG,EAAE,CAAC,IAAI,CAAC;QAChC,IAAI,KAAK,GAAG,CAAC,IAAI,CAAA,CAAC,uBAAuB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAA;IACvC,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/variable/delete.js b/dist/native/variable/delete.js index d9a4c47ecb..3156f93fd8 100644 --- a/dist/native/variable/delete.js +++ b/dist/native/variable/delete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/variable/env.js b/dist/native/variable/env.js index 1670842b68..55687c394e 100644 --- a/dist/native/variable/env.js +++ b/dist/native/variable/env.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/variable/get.js b/dist/native/variable/get.js index 13c49f1515..b1771d9071 100644 --- a/dist/native/variable/get.js +++ b/dist/native/variable/get.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/variable/has.js b/dist/native/variable/has.js index 7a080e6ade..9fad6b3c99 100644 --- a/dist/native/variable/has.js +++ b/dist/native/variable/has.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/variable/let.js b/dist/native/variable/let.js index c732da069a..81faad0286 100644 --- a/dist/native/variable/let.js +++ b/dist/native/variable/let.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const NativeFunction_1 = require("../../structures/@internal/NativeFunction"); diff --git a/dist/native/variable/letDivide.js b/dist/native/variable/letDivide.js index 2b4b96cec9..78094cc85a 100644 --- a/dist/native/variable/letDivide.js +++ b/dist/native/variable/letDivide.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/variable/letMulti.js b/dist/native/variable/letMulti.js index 95634106de..3cbd649ba9 100644 --- a/dist/native/variable/letMulti.js +++ b/dist/native/variable/letMulti.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/variable/letSub.js b/dist/native/variable/letSub.js index a31955f80b..57ce10258b 100644 --- a/dist/native/variable/letSub.js +++ b/dist/native/variable/letSub.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/variable/letSum.js b/dist/native/variable/letSum.js index 15a2783d99..c3a27d7a0d 100644 --- a/dist/native/variable/letSum.js +++ b/dist/native/variable/letSum.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/webhook/getWebhook.js b/dist/native/webhook/getWebhook.js index e8f8574420..246de7e65d 100644 --- a/dist/native/webhook/getWebhook.js +++ b/dist/native/webhook/getWebhook.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const webhook_1 = require("../../properties/webhook"); diff --git a/dist/native/webhook/webhookCreate.d.ts b/dist/native/webhook/webhookCreate.d.ts index be626f32ee..0fc60c7ad4 100644 --- a/dist/native/webhook/webhookCreate.d.ts +++ b/dist/native/webhook/webhookCreate.d.ts @@ -6,7 +6,7 @@ declare const _default: NativeFunction<[{ type: ArgType.Channel; rest: false; required: true; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is BaseChannel & Record<"createWebhook", unknown>; }, { name: string; description: string; diff --git a/dist/native/webhook/webhookCreate.js b/dist/native/webhook/webhookCreate.js index debae9ab73..50984a91d8 100644 --- a/dist/native/webhook/webhookCreate.js +++ b/dist/native/webhook/webhookCreate.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/webhook/webhookDelete.js b/dist/native/webhook/webhookDelete.js index 6e3eac5ce5..22f32d5538 100644 --- a/dist/native/webhook/webhookDelete.js +++ b/dist/native/webhook/webhookDelete.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/webhook/webhookEdit.js b/dist/native/webhook/webhookEdit.js index 938f8ec9cf..f5667dc9af 100644 --- a/dist/native/webhook/webhookEdit.js +++ b/dist/native/webhook/webhookEdit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/webhook/webhookEditMessage.d.ts b/dist/native/webhook/webhookEditMessage.d.ts index aa8f07cf04..f6ae1db7cf 100644 --- a/dist/native/webhook/webhookEditMessage.d.ts +++ b/dist/native/webhook/webhookEditMessage.d.ts @@ -22,7 +22,7 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }], true>; export default _default; //# sourceMappingURL=webhookEditMessage.d.ts.map \ No newline at end of file diff --git a/dist/native/webhook/webhookEditMessage.js b/dist/native/webhook/webhookEditMessage.js index 8199fdc066..2b7b353fab 100644 --- a/dist/native/webhook/webhookEditMessage.js +++ b/dist/native/webhook/webhookEditMessage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/webhook/webhookExists.js b/dist/native/webhook/webhookExists.js index f01b23425d..d7ca2dd8fc 100644 --- a/dist/native/webhook/webhookExists.js +++ b/dist/native/webhook/webhookExists.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/webhook/webhookIsUserCreated.js b/dist/native/webhook/webhookIsUserCreated.js index 56cc1fca82..6b476ee173 100644 --- a/dist/native/webhook/webhookIsUserCreated.js +++ b/dist/native/webhook/webhookIsUserCreated.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/webhook/webhookSend.d.ts b/dist/native/webhook/webhookSend.d.ts index 4cedb2f6c2..4d3da3521e 100644 --- a/dist/native/webhook/webhookSend.d.ts +++ b/dist/native/webhook/webhookSend.d.ts @@ -31,7 +31,7 @@ declare const _default: NativeFunction<[{ description: string; rest: false; type: ArgType.Channel; - check: (i: BaseChannel) => boolean; + check: (i: BaseChannel) => i is import("discord.js").AnyThreadChannel; }, { name: string; description: string; diff --git a/dist/native/webhook/webhookSend.js b/dist/native/webhook/webhookSend.js index 9146221fc9..8da9f1409d 100644 --- a/dist/native/webhook/webhookSend.js +++ b/dist/native/webhook/webhookSend.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/webhook/webhookToken.js b/dist/native/webhook/webhookToken.js index cd18ce8c66..8f4f593499 100644 --- a/dist/native/webhook/webhookToken.js +++ b/dist/native/webhook/webhookToken.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/webhook/webhookType.js b/dist/native/webhook/webhookType.js index 481f2518a6..b4191e23d7 100644 --- a/dist/native/webhook/webhookType.js +++ b/dist/native/webhook/webhookType.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const discord_js_1 = require("discord.js"); diff --git a/dist/native/webhook/webhookURL.js b/dist/native/webhook/webhookURL.js index 670ac69d77..1f002757e1 100644 --- a/dist/native/webhook/webhookURL.js +++ b/dist/native/webhook/webhookURL.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/websocket/ws.js b/dist/native/websocket/ws.js index 7a3f734cfc..89ad4b9e1a 100644 --- a/dist/native/websocket/ws.js +++ b/dist/native/websocket/ws.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/websocket/wsClose.js b/dist/native/websocket/wsClose.js index b88e8bc5f7..5d88e0bdb8 100644 --- a/dist/native/websocket/wsClose.js +++ b/dist/native/websocket/wsClose.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/websocket/wsOn.js b/dist/native/websocket/wsOn.js index 4f7e5dcb85..e93526fd13 100644 --- a/dist/native/websocket/wsOn.js +++ b/dist/native/websocket/wsOn.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/native/websocket/wsOn.js.map b/dist/native/websocket/wsOn.js.map index 7fae29d00a..d594a5b889 100644 --- a/dist/native/websocket/wsOn.js.map +++ b/dist/native/websocket/wsOn.js.map @@ -1 +1 @@ -{"version":3,"file":"wsOn.js","sourceRoot":"","sources":["../../../src/native/websocket/wsOn.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;AAEF,0EAAiD;AACjD,iDAA0F;AAE1F,kBAAe,IAAI,2BA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,CAAC,EAAE,EAAE,CAAC;oBAC5C,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;oBACnB,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;oBACvB,IAAI,CAAC,KAAK;wBACN,MAAK;oBACT,GAAG,CAAC,iBAAiB,CAAC,KAAK,EAAE,GAAG,YAAY,MAAM,CAAC,CAAC,CAAC,IAAA,mBAAS,EAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;gBAChG,CAAC;gBAED,yBAAyB;gBACzB,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;YACxC,CAAC,CAAC,CAAA;QACN,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/websocket/wsSend.js b/dist/native/websocket/wsSend.js index daac12e268..019c13470f 100644 --- a/dist/native/websocket/wsSend.js +++ b/dist/native/websocket/wsSend.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); const structures_1 = require("../../structures"); diff --git a/dist/native/websocket/wsSend.js.map b/dist/native/websocket/wsSend.js.map index fe48f56243..3d22b4c4ee 100644 --- a/dist/native/websocket/wsSend.js.map +++ b/dist/native/websocket/wsSend.js.map @@ -1 +1 @@ -{"version":3,"file":"wsSend.js","sourceRoot":"","sources":["../../../src/native/websocket/wsSend.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0F;AAE1F,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,OAAO,EAAE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AS,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAC9C,IAAI,KAAK;oBACL,GAAG,CAAC,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;gBACrC,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;YACtC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;SACjB;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"wsSend.js","sourceRoot":"","sources":["../../../src/native/websocket/wsSend.ts"],"names":[],"mappings":";AAAA;;;EAGE;;AAEF,iDAA0F;AAE1F,kBAAe,IAAI,2BAAc,CAAC;IAC9B,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,2BAA2B;IACxC,OAAO,EAAE;QACL,gBAAgB;KACnB;IACD,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE;QACF;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,oDAAoD;YACjE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,IAAI;YACd,IAAI,EAAE,oBAAO,CAAC,IAAI;SACrB;QACD;YACI,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,KAAK;YACX,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;QACD;YACI,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,gEAAgE;YAC7E,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,KAAK;YACf,IAAI,EAAE,oBAAO,CAAC,MAAM;SACvB;KACJ;IACD,KAAK,CAAC,OAAO,CAAC,GAAG;QACb,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;QAC5E,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC;YAAE,OAAO,EAAE,CAAA;QAE7C,MAAM,CAAE,EAAE,EAAE,KAAK,EAAE,KAAK,CAAE,GAAG,IAAI,CAAA;QACjC,MAAM,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,MAAO,CAAC,CAAC,CAAmC,CAAA;QAEjE,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;QACxC,IAAI,EAAE,EAAE,CAAC;YACL,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBAC9C,IAAI,KAAK;oBACL,GAAG,CAAC,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;gBACrC,MAAM,IAAI,CAAC,aAAa,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;YACtC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;QAClB,CAAC;QAED,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACzB,CAAC;CACJ,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/native/websocket/wsState.js b/dist/native/websocket/wsState.js index d33b1738e2..37aabc2234 100644 --- a/dist/native/websocket/wsState.js +++ b/dist/native/websocket/wsState.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/activity.d.ts b/dist/properties/activity.d.ts index 9550aceec6..10b79e0294 100644 --- a/dist/properties/activity.d.ts +++ b/dist/properties/activity.d.ts @@ -17,5 +17,5 @@ export declare enum ActivityProperty { smallText = "smallText", smallImage = "smallImage" } -export declare const ActivityProperties: import("../functions/defineProperties").Properties; +export declare const ActivityProperties: import("..").Properties; //# sourceMappingURL=activity.d.ts.map \ No newline at end of file diff --git a/dist/properties/activity.d.ts.map b/dist/properties/activity.d.ts.map index 26f808ea20..72d5f3c2fe 100644 --- a/dist/properties/activity.d.ts.map +++ b/dist/properties/activity.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/properties/activity.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAgB,MAAM,YAAY,CAAA;AAGnD,oBAAY,gBAAgB;IACxB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,kBAAkB,uFAiB7B,CAAA"} \ No newline at end of file +{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/properties/activity.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAgB,MAAM,YAAY,CAAA;AAGnD,oBAAY,gBAAgB;IACxB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,kBAAkB,4DAiB7B,CAAA"} \ No newline at end of file diff --git a/dist/properties/activity.js b/dist/properties/activity.js index 48440430b6..128eba2cfa 100644 --- a/dist/properties/activity.js +++ b/dist/properties/activity.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/applicationEmoji.d.ts b/dist/properties/applicationEmoji.d.ts index d1d7f3960f..78e3dc0147 100644 --- a/dist/properties/applicationEmoji.d.ts +++ b/dist/properties/applicationEmoji.d.ts @@ -11,5 +11,5 @@ export declare enum ApplicationEmojiProperty { url = "url", format = "format" } -export declare const ApplicationEmojiProperties: import("../functions/defineProperties").Properties; +export declare const ApplicationEmojiProperties: import("..").Properties; //# sourceMappingURL=applicationEmoji.d.ts.map \ No newline at end of file diff --git a/dist/properties/applicationEmoji.d.ts.map b/dist/properties/applicationEmoji.d.ts.map index 9e13c3dd70..3842706846 100644 --- a/dist/properties/applicationEmoji.d.ts.map +++ b/dist/properties/applicationEmoji.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"applicationEmoji.d.ts","sourceRoot":"","sources":["../../src/properties/applicationEmoji.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAG7C,oBAAY,wBAAwB;IAChC,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,EAAE,OAAO;IACT,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,0BAA0B,uGAWrC,CAAA"} \ No newline at end of file +{"version":3,"file":"applicationEmoji.d.ts","sourceRoot":"","sources":["../../src/properties/applicationEmoji.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAG7C,oBAAY,wBAAwB;IAChC,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,EAAE,OAAO;IACT,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,0BAA0B,4EAWrC,CAAA"} \ No newline at end of file diff --git a/dist/properties/applicationEmoji.js b/dist/properties/applicationEmoji.js index e022c3ac9e..b4b2a2d8f0 100644 --- a/dist/properties/applicationEmoji.js +++ b/dist/properties/applicationEmoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/audit.d.ts b/dist/properties/audit.d.ts index 0893217cc0..a7144191bd 100644 --- a/dist/properties/audit.d.ts +++ b/dist/properties/audit.d.ts @@ -11,5 +11,5 @@ export declare enum AuditProperty { changes = "changes", extra = "extra" } -export declare const AuditProperties: import("../functions/defineProperties").Properties>; +export declare const AuditProperties: import("..").Properties>; //# sourceMappingURL=audit.d.ts.map \ No newline at end of file diff --git a/dist/properties/audit.d.ts.map b/dist/properties/audit.d.ts.map index d932d180da..28020baf8f 100644 --- a/dist/properties/audit.d.ts.map +++ b/dist/properties/audit.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../src/properties/audit.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAG/D,oBAAY,aAAa;IACrB,EAAE,OAAO;IACT,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,eAAe,mbAW1B,CAAA"} \ No newline at end of file +{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../src/properties/audit.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAG/D,oBAAY,aAAa;IACrB,EAAE,OAAO;IACT,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,eAAe,wZAW1B,CAAA"} \ No newline at end of file diff --git a/dist/properties/audit.js b/dist/properties/audit.js index 2d077d8e7f..6b6db70872 100644 --- a/dist/properties/audit.js +++ b/dist/properties/audit.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/automodRule.d.ts b/dist/properties/automodRule.d.ts index 381db01290..addb4fac59 100644 --- a/dist/properties/automodRule.d.ts +++ b/dist/properties/automodRule.d.ts @@ -17,12 +17,12 @@ export declare enum AutomodRuleProperty { mentionTotalLimit = "mentionTotalLimit", mentionRaidProtectionEnabled = "mentionRaidProtectionEnabled" } -export declare const AutomodRuleProperties: import("../functions/defineProperties").Properties; +export declare const AutomodRuleProperties: import("..").Properties; export declare enum AutomodRuleActionProperty { type = "type", channelID = "channelID", durationSeconds = "durationSeconds", customMessage = "customMessage" } -export declare const AutomodRuleActionProperties: import("../functions/defineProperties").Properties; +export declare const AutomodRuleActionProperties: import("..").Properties; //# sourceMappingURL=automodRule.d.ts.map \ No newline at end of file diff --git a/dist/properties/automodRule.d.ts.map b/dist/properties/automodRule.d.ts.map index 2e3b0d2b81..e615b166ae 100644 --- a/dist/properties/automodRule.d.ts.map +++ b/dist/properties/automodRule.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"automodRule.d.ts","sourceRoot":"","sources":["../../src/properties/automodRule.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAA4B,kBAAkB,EAAmG,MAAM,YAAY,CAAA;AAGhM,oBAAY,mBAAmB;IAC3B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,iBAAiB,sBAAsB;IACvC,4BAA4B,iCAAiC;CAChE;AAED,eAAO,MAAM,qBAAqB,oGAiBhC,CAAA;AAEF,oBAAY,yBAAyB;IACjC,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,2BAA2B,4GAKtC,CAAA"} \ No newline at end of file +{"version":3,"file":"automodRule.d.ts","sourceRoot":"","sources":["../../src/properties/automodRule.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAA4B,kBAAkB,EAAmG,MAAM,YAAY,CAAA;AAGhM,oBAAY,mBAAmB;IAC3B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,iBAAiB,sBAAsB;IACvC,4BAA4B,iCAAiC;CAChE;AAED,eAAO,MAAM,qBAAqB,yEAiBhC,CAAA;AAEF,oBAAY,yBAAyB;IACjC,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,2BAA2B,iFAKtC,CAAA"} \ No newline at end of file diff --git a/dist/properties/automodRule.js b/dist/properties/automodRule.js index b385725090..ac17bf79f8 100644 --- a/dist/properties/automodRule.js +++ b/dist/properties/automodRule.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/bulk.d.ts b/dist/properties/bulk.d.ts index 01cdaca922..fe40c01318 100644 --- a/dist/properties/bulk.d.ts +++ b/dist/properties/bulk.d.ts @@ -8,5 +8,5 @@ export declare enum BulkProperty { users = "users", count = "count" } -export declare const BulkProperties: import("../functions/defineProperties").Properties | import("discord.js").PartialMessage)[]>; +export declare const BulkProperties: import("..").Properties | import("discord.js").PartialMessage)[]>; //# sourceMappingURL=bulk.d.ts.map \ No newline at end of file diff --git a/dist/properties/bulk.d.ts.map b/dist/properties/bulk.d.ts.map index 368bd0642f..b00afec8aa 100644 --- a/dist/properties/bulk.d.ts.map +++ b/dist/properties/bulk.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../src/properties/bulk.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,oBAAY,YAAY;IACpB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,cAAc,8IAQzB,CAAA"} \ No newline at end of file +{"version":3,"file":"bulk.d.ts","sourceRoot":"","sources":["../../src/properties/bulk.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,oBAAY,YAAY;IACpB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,cAAc,mHAQzB,CAAA"} \ No newline at end of file diff --git a/dist/properties/bulk.js b/dist/properties/bulk.js index 9ec3c3c787..7e59eb41ef 100644 --- a/dist/properties/bulk.js +++ b/dist/properties/bulk.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/channel.d.ts b/dist/properties/channel.d.ts index 1690c1ee3d..d58aff05c7 100644 --- a/dist/properties/channel.d.ts +++ b/dist/properties/channel.d.ts @@ -7,6 +7,7 @@ export declare enum ChannelProperty { bitrate = "bitrate", members = "members", timestamp = "timestamp", + url = "url", nsfw = "nsfw", flags = "flags", parentID = "parentID", @@ -16,7 +17,11 @@ export declare enum ChannelProperty { appliedTags = "appliedTags", availableTags = "availableTags", archived = "archived", - locked = "locked" + locked = "locked", + deletable = "deletable", + manageable = "manageable", + lastMessageID = "lastMessageID", + lastPinTimestamp = "lastPinTimestamp" } -export declare const ChannelProperties: import("../functions/defineProperties").Properties; +export declare const ChannelProperties: import("..").Properties; //# sourceMappingURL=channel.d.ts.map \ No newline at end of file diff --git a/dist/properties/channel.d.ts.map b/dist/properties/channel.d.ts.map index aca4d78cc7..6253f32a0f 100644 --- a/dist/properties/channel.d.ts.map +++ b/dist/properties/channel.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../src/properties/channel.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAwC,MAAM,YAAY,CAAA;AAG1E,oBAAY,eAAe;IACvB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,iBAAiB,qFAuB5B,CAAA"} \ No newline at end of file +{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../src/properties/channel.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAwC,MAAM,YAAY,CAAA;AAG1E,oBAAY,eAAe;IACvB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;CACxC;AAED,eAAO,MAAM,iBAAiB,0DA4B5B,CAAA"} \ No newline at end of file diff --git a/dist/properties/channel.js b/dist/properties/channel.js index 7433a7980e..bf88774c9f 100644 --- a/dist/properties/channel.js +++ b/dist/properties/channel.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -19,6 +19,7 @@ var ChannelProperty; ChannelProperty["bitrate"] = "bitrate"; ChannelProperty["members"] = "members"; ChannelProperty["timestamp"] = "timestamp"; + ChannelProperty["url"] = "url"; ChannelProperty["nsfw"] = "nsfw"; ChannelProperty["flags"] = "flags"; ChannelProperty["parentID"] = "parentID"; @@ -29,19 +30,24 @@ var ChannelProperty; ChannelProperty["availableTags"] = "availableTags"; ChannelProperty["archived"] = "archived"; ChannelProperty["locked"] = "locked"; + ChannelProperty["deletable"] = "deletable"; + ChannelProperty["manageable"] = "manageable"; + ChannelProperty["lastMessageID"] = "lastMessageID"; + ChannelProperty["lastPinTimestamp"] = "lastPinTimestamp"; })(ChannelProperty || (exports.ChannelProperty = ChannelProperty = {})); exports.ChannelProperties = (0, defineProperties_1.default)({ - bitrate: (i) => (i?.isVoiceBased() ? i.bitrate : undefined), id: (i) => i?.id, - timestamp: (i) => i?.createdTimestamp, name: (i) => (i && "name" in i ? i.name : undefined), + type: (i) => discord_js_1.ChannelType[i?.type], + topic: (i) => (i && "topic" in i ? i.topic : undefined), + bitrate: (i) => (i?.isVoiceBased() ? i.bitrate : undefined), members: (i, sep) => i && "members" in i ? (i.members instanceof discord_js_1.Collection ? i.members : i.members.cache) .map((x) => x.id) .join(sep ?? ", ") : undefined, - topic: (i) => (i && "topic" in i ? i.topic : undefined), - type: (i) => discord_js_1.ChannelType[i?.type], + timestamp: (i) => i?.createdTimestamp, + url: (i) => i?.url, nsfw: (i) => (i && "nsfw" in i ? i.nsfw : undefined), flags: (i, sep) => i?.flags?.toArray().join(sep ?? ", "), parentID: (i) => (i && "parentId" in i ? i.parentId : undefined), @@ -52,5 +58,9 @@ exports.ChannelProperties = (0, defineProperties_1.default)({ availableTags: (i, sep) => (i && "availableTags" in i ? i.availableTags.join(sep ?? ", ") : undefined), archived: (i) => (i && "archived" in i ? i.archived : undefined), locked: (i) => (i && "locked" in i ? i.locked : undefined), + deletable: (i) => (i && "deletable" in i ? i.deletable : undefined), + manageable: (i) => (i && "manageable" in i ? i.manageable : undefined), + lastMessageID: (i) => (i && "lastMessageId" in i ? i.lastMessageId : undefined), + lastPinTimestamp: (i) => (i && "lastPinTimestamp" in i ? i.lastPinTimestamp : undefined), }); //# sourceMappingURL=channel.js.map \ No newline at end of file diff --git a/dist/properties/channel.js.map b/dist/properties/channel.js.map index 03a6637317..2fc7cbba61 100644 --- a/dist/properties/channel.js.map +++ b/dist/properties/channel.js.map @@ -1 +1 @@ -{"version":3,"file":"channel.js","sourceRoot":"","sources":["../../src/properties/channel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAA0E;AAC1E,qFAA4D;AAE5D,IAAY,eAkBX;AAlBD,WAAY,eAAe;IACvB,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,wCAAqB,CAAA;IACrB,wCAAqB,CAAA;IACrB,8CAA2B,CAAA;IAC3B,wCAAqB,CAAA;IACrB,8CAA2B,CAAA;IAC3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IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACtG,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;IAChE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,QAAQ,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;CAC7D,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"channel.js","sourceRoot":"","sources":["../../src/properties/channel.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAA0E;AAC1E,qFAA4D;AAE5D,IAAY,eAuBX;AAvBD,WAAY,eAAe;IACvB,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,8BAAW,CAAA;IACX,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,wCAAqB,CAAA;IACrB,wCAAqB,CAAA;IACrB,8CAA2B,CAAA;IAC3B,wCAAqB,CAAA;IACrB,8CAA2B,CAAA;IAC3B,kDAA+B,CAAA;IAC/B,wCAAqB,CAAA;IACrB,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,4CAAyB,CAAA;IACzB,kDAA+B,CAAA;IAC/B,wDAAqC,CAAA;AACzC,CAAC,EAvBW,eAAe,+BAAf,eAAe,QAuB1B;AAEY,QAAA,iBAAiB,GAAG,IAAA,0BAAgB,EAAkC;IAC/E,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,CAAC,CA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,IAAI,QAAQ,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1D,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,WAAW,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;IACtE,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,eAAe,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;IAC/E,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,kBAAkB,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;CAC3F,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/properties/clientTheme.d.ts b/dist/properties/clientTheme.d.ts new file mode 100644 index 0000000000..ba4a03fc52 --- /dev/null +++ b/dist/properties/clientTheme.d.ts @@ -0,0 +1,9 @@ +import { SharedClientTheme } from "discord.js"; +export declare enum ClientThemeProperty { + baseMix = "baseMix", + baseTheme = "baseTheme", + gradientAngle = "gradientAngle", + colors = "colors" +} +export declare const ClientThemeProperties: import("..").Properties; +//# sourceMappingURL=clientTheme.d.ts.map \ No newline at end of file diff --git a/dist/properties/clientTheme.d.ts.map b/dist/properties/clientTheme.d.ts.map new file mode 100644 index 0000000000..a76ac7ad9e --- /dev/null +++ b/dist/properties/clientTheme.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"clientTheme.d.ts","sourceRoot":"","sources":["../../src/properties/clientTheme.ts"],"names":[],"mappings":"AAMA,OAAO,EAAiB,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE7D,oBAAY,mBAAmB;IAC3B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,qBAAqB,wEAKhC,CAAA"} \ No newline at end of file diff --git a/dist/properties/clientTheme.js b/dist/properties/clientTheme.js new file mode 100644 index 0000000000..dffdce5234 --- /dev/null +++ b/dist/properties/clientTheme.js @@ -0,0 +1,26 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ClientThemeProperties = exports.ClientThemeProperty = void 0; +const defineProperties_1 = __importDefault(require("../functions/defineProperties")); +const discord_js_1 = require("discord.js"); +var ClientThemeProperty; +(function (ClientThemeProperty) { + ClientThemeProperty["baseMix"] = "baseMix"; + ClientThemeProperty["baseTheme"] = "baseTheme"; + ClientThemeProperty["gradientAngle"] = "gradientAngle"; + ClientThemeProperty["colors"] = "colors"; +})(ClientThemeProperty || (exports.ClientThemeProperty = ClientThemeProperty = {})); +exports.ClientThemeProperties = (0, defineProperties_1.default)({ + baseMix: (i) => i?.baseMix, + baseTheme: (i) => i?.baseTheme ? discord_js_1.BaseThemeType[i?.baseTheme] : null, + gradientAngle: (i) => i?.gradientAngle, + colors: (i, sep) => i?.colors.join(sep ?? ", "), +}); +//# sourceMappingURL=clientTheme.js.map \ No newline at end of file diff --git a/dist/properties/clientTheme.js.map b/dist/properties/clientTheme.js.map new file mode 100644 index 0000000000..201f5846fe --- /dev/null +++ b/dist/properties/clientTheme.js.map @@ -0,0 +1 @@ +{"version":3,"file":"clientTheme.js","sourceRoot":"","sources":["../../src/properties/clientTheme.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,qFAA4D;AAC5D,2CAA6D;AAE7D,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,8CAAuB,CAAA;IACvB,sDAA+B,CAAA;IAC/B,wCAAiB,CAAA;AACrB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAEY,QAAA,qBAAqB,GAAG,IAAA,0BAAgB,EAAgD;IACjG,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO;IAC1B,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,0BAAa,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI;IACnE,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,aAAa;IACtC,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC;CAClD,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/properties/component.d.ts b/dist/properties/component.d.ts index 50d3869167..d35fa4e483 100644 --- a/dist/properties/component.d.ts +++ b/dist/properties/component.d.ts @@ -27,5 +27,5 @@ export declare enum ComponentProperty { components = "components", thumbnailUrl = "thumbnailUrl" } -export declare const ComponentProperties: import("../functions/defineProperties").Properties; +export declare const ComponentProperties: import("..").Properties; //# sourceMappingURL=component.d.ts.map \ No newline at end of file diff --git a/dist/properties/component.d.ts.map b/dist/properties/component.d.ts.map index a43c65dd3e..313c8ef3ec 100644 --- a/dist/properties/component.d.ts.map +++ b/dist/properties/component.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/properties/component.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,oBAAoB,EAEpB,kBAAkB,EAClB,yBAAyB,EAEzB,kBAAkB,EACrB,MAAM,YAAY,CAAA;AAGnB,oBAAY,iBAAiB;IACzB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,kBAAkB,uBAAuB;IACzC,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,YAAY,iBAAiB;CAChC;AAED,eAAO,MAAM,mBAAmB,0KAiC9B,CAAA"} \ No newline at end of file +{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/properties/component.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,oBAAoB,EAEpB,kBAAkB,EAClB,yBAAyB,EAEzB,kBAAkB,EACrB,MAAM,YAAY,CAAA;AAGnB,oBAAY,iBAAiB;IACzB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,kBAAkB,uBAAuB;IACzC,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,YAAY,iBAAiB;CAChC;AAED,eAAO,MAAM,mBAAmB,+IAiC9B,CAAA"} \ No newline at end of file diff --git a/dist/properties/component.js b/dist/properties/component.js index 37cfd63dae..5e508be553 100644 --- a/dist/properties/component.js +++ b/dist/properties/component.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/embed.d.ts b/dist/properties/embed.d.ts index 460791d21e..be8f153fc6 100644 --- a/dist/properties/embed.d.ts +++ b/dist/properties/embed.d.ts @@ -16,5 +16,5 @@ export declare enum EmbedProperty { fieldInline = "fieldInline", fieldValue = "fieldValue" } -export declare const EmbedProperties: import("../functions/defineProperties").Properties; +export declare const EmbedProperties: import("..").Properties; //# sourceMappingURL=embed.d.ts.map \ No newline at end of file diff --git a/dist/properties/embed.d.ts.map b/dist/properties/embed.d.ts.map index e22451ddc8..82a9512ef7 100644 --- a/dist/properties/embed.d.ts.map +++ b/dist/properties/embed.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../../src/properties/embed.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAGlD,oBAAY,aAAa;IACrB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,eAAe,wFAgB1B,CAAA"} \ No newline at end of file +{"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../../src/properties/embed.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAGlD,oBAAY,aAAa;IACrB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,eAAe,6DAgB1B,CAAA"} \ No newline at end of file diff --git a/dist/properties/embed.js b/dist/properties/embed.js index 09f6c55acb..edcab387f7 100644 --- a/dist/properties/embed.js +++ b/dist/properties/embed.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/emoji.d.ts b/dist/properties/emoji.d.ts index 279a8826c3..9a070fa488 100644 --- a/dist/properties/emoji.d.ts +++ b/dist/properties/emoji.d.ts @@ -13,5 +13,5 @@ export declare enum EmojiProperty { url = "url", format = "format" } -export declare const EmojiProperties: import("../functions/defineProperties").Properties; +export declare const EmojiProperties: import("..").Properties; //# sourceMappingURL=emoji.d.ts.map \ No newline at end of file diff --git a/dist/properties/emoji.d.ts.map b/dist/properties/emoji.d.ts.map index 966343c64a..28c2dec1d3 100644 --- a/dist/properties/emoji.d.ts.map +++ b/dist/properties/emoji.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"emoji.d.ts","sourceRoot":"","sources":["../../src/properties/emoji.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAGvC,oBAAY,aAAa;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,EAAE,OAAO;IACT,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,eAAe,sFAa1B,CAAA"} \ No newline at end of file +{"version":3,"file":"emoji.d.ts","sourceRoot":"","sources":["../../src/properties/emoji.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAGvC,oBAAY,aAAa;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,EAAE,OAAO;IACT,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,eAAe,2DAa1B,CAAA"} \ No newline at end of file diff --git a/dist/properties/emoji.js b/dist/properties/emoji.js index 147f7008f4..1533f60ed7 100644 --- a/dist/properties/emoji.js +++ b/dist/properties/emoji.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/entitlement.d.ts b/dist/properties/entitlement.d.ts index 8363a84936..4463b76fcd 100644 --- a/dist/properties/entitlement.d.ts +++ b/dist/properties/entitlement.d.ts @@ -12,5 +12,5 @@ export declare enum EntitlementProperty { guildSubscription = "guildSubscription", userSubscription = "userSubscription" } -export declare const EntitlementProperties: import("../functions/defineProperties").Properties; +export declare const EntitlementProperties: import("..").Properties; //# sourceMappingURL=entitlement.d.ts.map \ No newline at end of file diff --git a/dist/properties/entitlement.d.ts.map b/dist/properties/entitlement.d.ts.map index 95b509cbd4..a279649760 100644 --- a/dist/properties/entitlement.d.ts.map +++ b/dist/properties/entitlement.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"entitlement.d.ts","sourceRoot":"","sources":["../../src/properties/entitlement.ts"],"names":[],"mappings":"AASA,oBAAY,mBAAmB;IAC3B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,EAAE,OAAO;IACT,KAAK,UAAU;IACf,IAAI,SAAS;IACb,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;CACxC;AAED,eAAO,MAAM,qBAAqB,kHAahC,CAAA"} \ No newline at end of file +{"version":3,"file":"entitlement.d.ts","sourceRoot":"","sources":["../../src/properties/entitlement.ts"],"names":[],"mappings":"AASA,oBAAY,mBAAmB;IAC3B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,EAAE,OAAO;IACT,KAAK,UAAU;IACf,IAAI,SAAS;IACb,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;CACxC;AAED,eAAO,MAAM,qBAAqB,uFAahC,CAAA"} \ No newline at end of file diff --git a/dist/properties/entitlement.js b/dist/properties/entitlement.js index 6c08d5a15d..be73ee7923 100644 --- a/dist/properties/entitlement.js +++ b/dist/properties/entitlement.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/forumTag.d.ts b/dist/properties/forumTag.d.ts index f601bc8bd4..2d9ec8dfb8 100644 --- a/dist/properties/forumTag.d.ts +++ b/dist/properties/forumTag.d.ts @@ -5,5 +5,5 @@ export declare enum ForumTagProperty { moderated = "moderated", name = "name" } -export declare const ForumTagProperties: import("../functions/defineProperties").Properties; +export declare const ForumTagProperties: import("..").Properties; //# sourceMappingURL=forumTag.d.ts.map \ No newline at end of file diff --git a/dist/properties/forumTag.d.ts.map b/dist/properties/forumTag.d.ts.map index e6d668a529..786395cadf 100644 --- a/dist/properties/forumTag.d.ts.map +++ b/dist/properties/forumTag.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"forumTag.d.ts","sourceRoot":"","sources":["../../src/properties/forumTag.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAG1C,oBAAY,gBAAgB;IACxB,KAAK,UAAU;IACf,EAAE,OAAO;IACT,SAAS,cAAc;IACvB,IAAI,SAAS;CAChB;AAED,eAAO,MAAM,kBAAkB,4FAU7B,CAAA"} \ No newline at end of file +{"version":3,"file":"forumTag.d.ts","sourceRoot":"","sources":["../../src/properties/forumTag.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAG1C,oBAAY,gBAAgB;IACxB,KAAK,UAAU;IACf,EAAE,OAAO;IACT,SAAS,cAAc;IACvB,IAAI,SAAS;CAChB;AAED,eAAO,MAAM,kBAAkB,iEAU7B,CAAA"} \ No newline at end of file diff --git a/dist/properties/forumTag.js b/dist/properties/forumTag.js index a02d0554f6..119ac6add6 100644 --- a/dist/properties/forumTag.js +++ b/dist/properties/forumTag.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/guild.d.ts b/dist/properties/guild.d.ts index 1409d90aef..8561b05f50 100644 --- a/dist/properties/guild.d.ts +++ b/dist/properties/guild.d.ts @@ -3,27 +3,46 @@ export declare enum GuildProperty { id = "id", ownerID = "ownerID", name = "name", + nameAcronym = "nameAcronym", description = "description", - features = "features", - afkChannelID = "afkChannelID", - maximumMembers = "maximumMembers", - systemChannelID = "systemChannelID", - afkTimeout = "afkTimeout", - memberCount = "memberCount", - boostCount = "boostCount", timestamp = "timestamp", + features = "features", icon = "icon", - splash = "splash", banner = "banner", + splash = "splash", + discoverySplash = "discoverySplash", + afkTimeout = "afkTimeout", + afkChannelID = "afkChannelID", + systemChannelID = "systemChannelID", + systemChannelFlags = "systemChannelFlags", + publicUpdatesChannelID = "publicUpdatesChannelID", + safetyAlertsChannelID = "safetyAlertsChannelID", + rulesChannelID = "rulesChannelID", + widgetChannelID = "widgetChannelID", + widgetEnabled = "widgetEnabled", + bans = "bans", roles = "roles", emojis = "emojis", stickers = "stickers", + channels = "channels", + soundboardSounds = "soundboardSounds", + autoModerationRules = "autoModerationRules", + memberCount = "memberCount", + boostCount = "boostCount", boostLevel = "boostLevel", - discoverySplash = "discoverySplash", + mfaLevel = "mfaLevel", + nsfwLevel = "nsfwLevel", + verificationLevel = "verificationLevel", + preferredLocale = "preferredLocale", + large = "large", + verified = "verified", + partnered = "partnered", + maximumMembers = "maximumMembers", + maximumStageBitrate = "maximumStageBitrate", approximateMemberCount = "approximateMemberCount", approximatePresenceCount = "approximatePresenceCount" } -export declare const GuildProperties: import("../functions/defineProperties").Properties; +export declare const GuildProperties: import("..").Properties; export declare enum GuildPreviewProperty { id = "id", name = "name", @@ -38,5 +57,5 @@ export declare enum GuildPreviewProperty { approximateMemberCount = "approximateMemberCount", approximatePresenceCount = "approximatePresenceCount" } -export declare const GuildPreviewProperties: import("../functions/defineProperties").Properties; +export declare const GuildPreviewProperties: import("..").Properties; //# sourceMappingURL=guild.d.ts.map \ No newline at end of file diff --git a/dist/properties/guild.d.ts.map b/dist/properties/guild.d.ts.map index 1163a8bbf3..53bfbd965c 100644 --- a/dist/properties/guild.d.ts.map +++ b/dist/properties/guild.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"guild.d.ts","sourceRoot":"","sources":["../../src/properties/guild.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAGhD,oBAAY,aAAa;IACrB,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,eAAe,oBAAoB;IACnC,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;CACxD;AAED,eAAO,MAAM,eAAe,iFAuB1B,CAAA;AAEF,oBAAY,oBAAoB;IAC5B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,eAAe,oBAAoB;IACnC,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;CACxD;AAED,eAAO,MAAM,sBAAsB,+FAajC,CAAA"} \ No newline at end of file +{"version":3,"file":"guild.d.ts","sourceRoot":"","sources":["../../src/properties/guild.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAiC,YAAY,EAA0B,MAAM,YAAY,CAAA;AAGvG,oBAAY,aAAa;IACrB,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,kBAAkB,uBAAuB;IACzC,sBAAsB,2BAA2B;IACjD,qBAAqB,0BAA0B;IAC/C,cAAc,mBAAmB;IACjC,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;IAC/B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,gBAAgB,qBAAqB;IACrC,mBAAmB,wBAAwB;IAC3C,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,cAAc,mBAAmB;IACjC,mBAAmB,wBAAwB;IAC3C,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;CACxD;AAED,eAAO,MAAM,eAAe,sDA0C1B,CAAA;AAEF,oBAAY,oBAAoB;IAC5B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,eAAe,oBAAoB;IACnC,sBAAsB,2BAA2B;IACjD,wBAAwB,6BAA6B;CACxD;AAED,eAAO,MAAM,sBAAsB,oEAajC,CAAA"} \ No newline at end of file diff --git a/dist/properties/guild.js b/dist/properties/guild.js index e561fbccc2..1486d70717 100644 --- a/dist/properties/guild.js +++ b/dist/properties/guild.js @@ -1,62 +1,101 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.GuildPreviewProperties = exports.GuildPreviewProperty = exports.GuildProperties = exports.GuildProperty = void 0; +const discord_js_1 = require("discord.js"); const defineProperties_1 = __importDefault(require("../functions/defineProperties")); var GuildProperty; (function (GuildProperty) { GuildProperty["id"] = "id"; GuildProperty["ownerID"] = "ownerID"; GuildProperty["name"] = "name"; + GuildProperty["nameAcronym"] = "nameAcronym"; GuildProperty["description"] = "description"; - GuildProperty["features"] = "features"; - GuildProperty["afkChannelID"] = "afkChannelID"; - GuildProperty["maximumMembers"] = "maximumMembers"; - GuildProperty["systemChannelID"] = "systemChannelID"; - GuildProperty["afkTimeout"] = "afkTimeout"; - GuildProperty["memberCount"] = "memberCount"; - GuildProperty["boostCount"] = "boostCount"; GuildProperty["timestamp"] = "timestamp"; + GuildProperty["features"] = "features"; GuildProperty["icon"] = "icon"; - GuildProperty["splash"] = "splash"; GuildProperty["banner"] = "banner"; + GuildProperty["splash"] = "splash"; + GuildProperty["discoverySplash"] = "discoverySplash"; + GuildProperty["afkTimeout"] = "afkTimeout"; + GuildProperty["afkChannelID"] = "afkChannelID"; + GuildProperty["systemChannelID"] = "systemChannelID"; + GuildProperty["systemChannelFlags"] = "systemChannelFlags"; + GuildProperty["publicUpdatesChannelID"] = "publicUpdatesChannelID"; + GuildProperty["safetyAlertsChannelID"] = "safetyAlertsChannelID"; + GuildProperty["rulesChannelID"] = "rulesChannelID"; + GuildProperty["widgetChannelID"] = "widgetChannelID"; + GuildProperty["widgetEnabled"] = "widgetEnabled"; + GuildProperty["bans"] = "bans"; GuildProperty["roles"] = "roles"; GuildProperty["emojis"] = "emojis"; GuildProperty["stickers"] = "stickers"; + GuildProperty["channels"] = "channels"; + GuildProperty["soundboardSounds"] = "soundboardSounds"; + GuildProperty["autoModerationRules"] = "autoModerationRules"; + GuildProperty["memberCount"] = "memberCount"; + GuildProperty["boostCount"] = "boostCount"; GuildProperty["boostLevel"] = "boostLevel"; - GuildProperty["discoverySplash"] = "discoverySplash"; + GuildProperty["mfaLevel"] = "mfaLevel"; + GuildProperty["nsfwLevel"] = "nsfwLevel"; + GuildProperty["verificationLevel"] = "verificationLevel"; + GuildProperty["preferredLocale"] = "preferredLocale"; + GuildProperty["large"] = "large"; + GuildProperty["verified"] = "verified"; + GuildProperty["partnered"] = "partnered"; + GuildProperty["maximumMembers"] = "maximumMembers"; + GuildProperty["maximumStageBitrate"] = "maximumStageBitrate"; GuildProperty["approximateMemberCount"] = "approximateMemberCount"; GuildProperty["approximatePresenceCount"] = "approximatePresenceCount"; })(GuildProperty || (exports.GuildProperty = GuildProperty = {})); exports.GuildProperties = (0, defineProperties_1.default)({ - description: (i) => i?.description, - features: (i, sep) => i?.features.join(sep || ", "), id: (i) => i?.id, + ownerID: (i) => i?.ownerId, name: (i) => i?.name, - banner: (i) => i?.bannerURL(), + nameAcronym: (i) => i?.nameAcronym, + description: (i) => i?.description, + timestamp: (i) => i?.createdTimestamp, + features: (i, sep) => i?.features.join(sep ?? ", "), icon: (i) => i?.iconURL(), + banner: (i) => i?.bannerURL(), splash: (i) => i?.splashURL(), - emojis: (i, sep) => i?.emojis.cache.map((x) => x.id).join(sep || ", "), - roles: (i, sep) => i?.roles.cache.map((x) => x.id).join(sep || ", "), - stickers: (i, sep) => i?.stickers.cache.map((x) => x.id).join(sep || ", "), - ownerID: (i) => i?.ownerId, + discoverySplash: (i) => i?.discoverySplashURL(), + afkTimeout: (i) => i?.afkTimeout, afkChannelID: (i) => i?.afkChannelId, systemChannelID: (i) => i?.systemChannelId, - timestamp: (i) => i?.createdTimestamp, + systemChannelFlags: (i, sep) => i?.systemChannelFlags.toArray().join(sep ?? ", "), + publicUpdatesChannelID: (i) => i?.publicUpdatesChannelId, + safetyAlertsChannelID: (i) => i?.safetyAlertsChannelId, + rulesChannelID: (i) => i?.rulesChannelId, + widgetChannelID: (i) => i?.widgetChannelId, + widgetEnabled: (i) => i?.widgetEnabled, + bans: (i, sep) => i?.bans.cache.map((x) => x.user.id).join(sep ?? ", "), + roles: (i, sep) => i?.roles.cache.map((x) => x.id).join(sep ?? ", "), + emojis: (i, sep) => i?.emojis.cache.map((x) => x.id).join(sep ?? ", "), + stickers: (i, sep) => i?.stickers.cache.map((x) => x.id).join(sep ?? ", "), + channels: (i, sep) => i?.channels.cache.map((x) => x.id).join(sep ?? ", "), + soundboardSounds: (i, sep) => i?.soundboardSounds.cache.map((x) => x.soundId).join(sep ?? ", "), + autoModerationRules: (i, sep) => i?.autoModerationRules.cache.map((x) => x.id).join(sep ?? ", "), + memberCount: (i) => i?.memberCount, boostCount: (i) => i?.premiumSubscriptionCount, boostLevel: (i) => i?.premiumTier, - afkTimeout: (i) => i?.afkTimeout, - approximateMemberCount: (i) => i?.approximateMemberCount, - memberCount: (i) => i?.memberCount, + mfaLevel: (i) => i?.nsfwLevel ? discord_js_1.GuildMFALevel[i.mfaLevel] : null, + nsfwLevel: (i) => i?.nsfwLevel ? discord_js_1.GuildNSFWLevel[i.nsfwLevel] : null, + verificationLevel: (i) => i?.verificationLevel ? discord_js_1.GuildVerificationLevel[i.verificationLevel] : null, + preferredLocale: (i) => i?.preferredLocale, + large: (i) => i?.large, + verified: (i) => i?.verified, + partnered: (i) => i?.partnered, maximumMembers: (i) => i?.maximumMembers, + maximumStageBitrate: (i) => i?.maximumStageBitrate, + approximateMemberCount: (i) => i?.approximateMemberCount, approximatePresenceCount: (i) => i?.approximatePresenceCount, - discoverySplash: (i) => i?.discoverySplashURL(), }); var GuildPreviewProperty; (function (GuildPreviewProperty) { @@ -74,17 +113,17 @@ var GuildPreviewProperty; GuildPreviewProperty["approximatePresenceCount"] = "approximatePresenceCount"; })(GuildPreviewProperty || (exports.GuildPreviewProperty = GuildPreviewProperty = {})); exports.GuildPreviewProperties = (0, defineProperties_1.default)({ - description: (i) => i?.description, - features: (i, sep) => i?.features.join(sep || ", "), id: (i) => i?.id, name: (i) => i?.name, + description: (i) => i?.description, + features: (i, sep) => i?.features.join(sep || ", "), + timestamp: (i) => i?.createdTimestamp, icon: (i) => i?.iconURL(), splash: (i) => i?.splashURL(), emojis: (i, sep) => i?.emojis.map((x) => x.id).join(sep || ", "), stickers: (i, sep) => i?.stickers.map((x) => x.id).join(sep || ", "), - timestamp: (i) => i?.createdTimestamp, + discoverySplash: (i) => i?.discoverySplashURL(), approximateMemberCount: (i) => i?.approximateMemberCount, approximatePresenceCount: (i) => i?.approximatePresenceCount, - discoverySplash: (i) => i?.discoverySplashURL(), }); //# sourceMappingURL=guild.js.map \ No newline at end of file diff --git a/dist/properties/guild.js.map b/dist/properties/guild.js.map index 44cfd78ef5..3706f2ba41 100644 --- a/dist/properties/guild.js.map +++ b/dist/properties/guild.js.map @@ -1 +1 @@ -{"version":3,"file":"guild.js","sourceRoot":"","sources":["../../src/properties/guild.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAGF,qFAA4D;AAE5D,IAAY,aAuBX;AAvBD,WAAY,aAAa;IACrB,0BAAS,CAAA;IACT,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,8CAA6B,CAAA;IAC7B,kDAAiC,CAAA;IACjC,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IACzB,4CAA2B,CAAA;IAC3B,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;IACvB,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IACnC,k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,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC;IAChE,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC;IACpE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,kBAAkB,EAAE;IAC/C,sBAAsB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,sBAAsB;IACxD,wBAAwB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,wBAAwB;CAC/D,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/properties/invite.d.ts b/dist/properties/invite.d.ts index a6127c5aad..2d26fe1dbf 100644 --- a/dist/properties/invite.d.ts +++ b/dist/properties/invite.d.ts @@ -18,5 +18,5 @@ export declare enum InviteProperty { targetType = "targetType", targetUser = "targetUser" } -export declare const InviteProperties: import("../functions/defineProperties").Properties; +export declare const InviteProperties: import("..").Properties; //# sourceMappingURL=invite.d.ts.map \ No newline at end of file diff --git a/dist/properties/invite.d.ts.map b/dist/properties/invite.d.ts.map index ec3aa60bb2..796f23b3cc 100644 --- a/dist/properties/invite.d.ts.map +++ b/dist/properties/invite.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"invite.d.ts","sourceRoot":"","sources":["../../src/properties/invite.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAgC,MAAM,YAAY,CAAA;AAGjE,oBAAY,cAAc;IACtB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,gBAAgB,qBAAqB;IACrC,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,gBAAgB,mFAkB3B,CAAA"} \ No newline at end of file +{"version":3,"file":"invite.d.ts","sourceRoot":"","sources":["../../src/properties/invite.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAgC,MAAM,YAAY,CAAA;AAGjE,oBAAY,cAAc;IACtB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,gBAAgB,qBAAqB;IACrC,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,UAAU,eAAe;IACzB,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,gBAAgB,wDAkB3B,CAAA"} \ No newline at end of file diff --git a/dist/properties/invite.js b/dist/properties/invite.js index 170dde1aa8..6bf5f6b825 100644 --- a/dist/properties/invite.js +++ b/dist/properties/invite.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/member.d.ts b/dist/properties/member.d.ts index c916a8e786..60f9c40731 100644 --- a/dist/properties/member.d.ts +++ b/dist/properties/member.d.ts @@ -13,6 +13,7 @@ export declare enum MemberProperty { guildID = "guildID", id = "id", manageable = "manageable", + moderatable = "moderatable", timeout = "timeout", timedOutUntil = "timedOutUntil", status = "status", @@ -26,5 +27,5 @@ export declare enum MemberProperty { permissions = "permissions", avatarDecoration = "avatarDecoration" } -export declare const MemberProperties: import("../functions/defineProperties").Properties; +export declare const MemberProperties: import("..").Properties; //# sourceMappingURL=member.d.ts.map \ No newline at end of file diff --git a/dist/properties/member.d.ts.map b/dist/properties/member.d.ts.map index 1264a38286..0079a4f881 100644 --- a/dist/properties/member.d.ts.map +++ b/dist/properties/member.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"member.d.ts","sourceRoot":"","sources":["../../src/properties/member.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAO,WAAW,EAA8D,MAAM,YAAY,CAAA;AAGpI,oBAAY,cAAc;IACtB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,EAAE,OAAO;IACT,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;CACxC;AAED,eAAO,MAAM,gBAAgB,oHA0C3B,CAAA"} \ No newline at end of file +{"version":3,"file":"member.d.ts","sourceRoot":"","sources":["../../src/properties/member.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAO,WAAW,EAA8D,MAAM,YAAY,CAAA;AAGpI,oBAAY,cAAc;IACtB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,EAAE,OAAO;IACT,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;CACxC;AAED,eAAO,MAAM,gBAAgB,yFA2C3B,CAAA"} \ No newline at end of file diff --git a/dist/properties/member.js b/dist/properties/member.js index a56de0a572..2466a51fc7 100644 --- a/dist/properties/member.js +++ b/dist/properties/member.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -25,6 +25,7 @@ var MemberProperty; MemberProperty["guildID"] = "guildID"; MemberProperty["id"] = "id"; MemberProperty["manageable"] = "manageable"; + MemberProperty["moderatable"] = "moderatable"; MemberProperty["timeout"] = "timeout"; MemberProperty["timedOutUntil"] = "timedOutUntil"; MemberProperty["status"] = "status"; @@ -73,6 +74,7 @@ exports.MemberProperties = (0, defineProperties_1.default)({ bannable: (i) => i?.bannable ?? false, kickable: (i) => i?.kickable ?? false, manageable: (i) => i?.manageable ?? false, + moderatable: (i) => i?.moderatable ?? false, id: (i) => i?.user?.id, guildID: (i) => i?.guild?.id, timedOutUntil: (i) => i instanceof discord_js_1.GuildMember ? (i?.isCommunicationDisabled() ? i.communicationDisabledUntil.getTime() : 0) : (i?.communication_disabled_until ? new Date(i.communication_disabled_until).getTime() : 0), diff --git a/dist/properties/member.js.map b/dist/properties/member.js.map index 7baf62c3bc..58397cf471 100644 --- a/dist/properties/member.js.map +++ b/dist/properties/member.js.map @@ -1 +1 @@ -{"version":3,"file":"member.js","sourceRoot":"","sources":["../../src/properties/member.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAAoI;AACpI,qFAA4D;AAE5D,IAAY,cA0BX;AA1BD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;IAC3B,+CAA6B,CAAA;IAC7B,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,2BAAS,CAAA;IACT,2CAAyB,CAAA;IACzB,qCAAmB,CAAA;IACnB,iDAA+B,CAAA;IAC/B,mCAAiB,CAAA;IACjB,2CAAyB,CAAA;IACzB,yCAAuB,CAAA;IACvB,+CAA6B,CAAA;IAC7B,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,uCAAqB,CAAA;IACrB,iDAA+B,CAAA;IAC/B,6CAA2B,CAAA;IAC3B,uDAAqC,CAAA;AACzC,CAAC,EA1BW,cAAc,8BAAd,cAAc,QA0BzB;AAEY,QAAA,gBAAgB,GAAG,IAAA,0BAAgB,EAAiE;IAC7G,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,wBAAW,CAAC,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACzH,YAAY,EAAE,C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C,EAAE,EAAE,CAAC,CAAC,YAAY,wBAAW,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,IAAI,gBAAG,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;CAChL,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"member.js","sourceRoot":"","sources":["../../src/properties/member.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAAoI;AACpI,qFAA4D;AAE5D,IAAY,cA2BX;AA3BD,WAAY,cAAc;IACtB,uCAAqB,CAAA;IACrB,6CAA2B,CAAA;IAC3B,+CAA6B,CAAA;IAC7B,iCAAe,CAAA;IACf,iCAAe,CAAA;IACf,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,2BAAS,CAAA;IACT,2CAAyB,CAAA;IACzB,6CAA2B,CAAA;IAC3B,qCAAmB,CAAA;IACnB,iDAA+B,CAAA;IAC/B,mCAAiB,CAAA;IACjB,2CAAyB,CAAA;IACzB,yCAAuB,CAAA;IACvB,+CAA6B,CAAA;IAC7B,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,uCAAqB,CAAA;IACrB,iDAA+B,CAAA;IAC/B,6CAA2B,CAAA;IAC3B,uDAAqC,CAAA;AACzC,CAAC,EA3BW,cAAc,8BAAd,cAAc,QA2BzB;AAEY,QAAA,gBAAgB,GAAG,IAAA,0BAAgB,EAAiE;IAC7G,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,wBAAW,CAAC,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,IA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CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7I,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,YAAY,wBAAW,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,IAAI,gBAAG,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;CAChL,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/properties/message.d.ts b/dist/properties/message.d.ts index 919048acbd..946c127c5c 100644 --- a/dist/properties/message.d.ts +++ b/dist/properties/message.d.ts @@ -2,20 +2,32 @@ import { Message, MessageSnapshot } from "discord.js"; export declare enum MessageProperty { id = "id", content = "content", + type = "type", flags = "flags", username = "username", - type = "type", + authorID = "authorID", channelID = "channelID", + threadID = "threadID", guildID = "guildID", - authorID = "authorID", + webhookID = "webhookID", + interactionID = "interactionID", + interactionType = "interactionType", timestamp = "timestamp", editTimestamp = "editTimestamp", + hasSnapshots = "hasSnapshots", + hasThread = "hasThread", hasPoll = "hasPoll", system = "system", pinned = "pinned", + tts = "tts", url = "url", attachments = "attachments", - stickers = "stickers" + stickers = "stickers", + embeds = "embeds", + crosspostable = "crosspostable", + deletable = "deletable", + editable = "editable", + pinnable = "pinnable" } -export declare const MessageProperties: import("../functions/defineProperties").Properties | MessageSnapshot>; +export declare const MessageProperties: import("..").Properties | MessageSnapshot>; //# sourceMappingURL=message.d.ts.map \ No newline at end of file diff --git a/dist/properties/message.d.ts.map b/dist/properties/message.d.ts.map index d557e30631..ebfbaadf00 100644 --- a/dist/properties/message.d.ts.map +++ b/dist/properties/message.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/properties/message.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,eAAe,EAAe,MAAM,YAAY,CAAA;AAGlE,oBAAY,eAAe;IACvB,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,iBAAiB,gHAiB5B,CAAA"} \ No newline at end of file +{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/properties/message.ts"],"names":[],"mappings":"AAKA,OAAO,EAAmB,OAAO,EAAE,eAAe,EAAe,MAAM,YAAY,CAAA;AAGnF,oBAAY,eAAe;IACvB,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,iBAAiB,qFA6B5B,CAAA"} \ No newline at end of file diff --git a/dist/properties/message.js b/dist/properties/message.js index 73fa93ddbd..2fe22dab25 100644 --- a/dist/properties/message.js +++ b/dist/properties/message.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -14,37 +14,61 @@ var MessageProperty; (function (MessageProperty) { MessageProperty["id"] = "id"; MessageProperty["content"] = "content"; + MessageProperty["type"] = "type"; MessageProperty["flags"] = "flags"; MessageProperty["username"] = "username"; - MessageProperty["type"] = "type"; + MessageProperty["authorID"] = "authorID"; MessageProperty["channelID"] = "channelID"; + MessageProperty["threadID"] = "threadID"; MessageProperty["guildID"] = "guildID"; - MessageProperty["authorID"] = "authorID"; + MessageProperty["webhookID"] = "webhookID"; + MessageProperty["interactionID"] = "interactionID"; + MessageProperty["interactionType"] = "interactionType"; MessageProperty["timestamp"] = "timestamp"; MessageProperty["editTimestamp"] = "editTimestamp"; + MessageProperty["hasSnapshots"] = "hasSnapshots"; + MessageProperty["hasThread"] = "hasThread"; MessageProperty["hasPoll"] = "hasPoll"; MessageProperty["system"] = "system"; MessageProperty["pinned"] = "pinned"; + MessageProperty["tts"] = "tts"; MessageProperty["url"] = "url"; MessageProperty["attachments"] = "attachments"; MessageProperty["stickers"] = "stickers"; + MessageProperty["embeds"] = "embeds"; + MessageProperty["crosspostable"] = "crosspostable"; + MessageProperty["deletable"] = "deletable"; + MessageProperty["editable"] = "editable"; + MessageProperty["pinnable"] = "pinnable"; })(MessageProperty || (exports.MessageProperty = MessageProperty = {})); exports.MessageProperties = (0, defineProperties_1.default)({ - content: (m) => m?.content, id: (m) => m?.id, - flags: (m, sep) => m?.flags.toArray().join(sep ?? ", "), - channelID: (m) => m?.channelId, - guildID: (m) => m?.guildId, + content: (m) => m?.content, type: (m) => (m ? discord_js_1.MessageType[m.type] : undefined), + flags: (m, sep) => m?.flags.toArray().join(sep ?? ", "), username: (m) => m?.author?.username, authorID: (m) => m?.author?.id, + channelID: (m) => m?.channelId, + threadID: (m) => m?.thread?.id, + guildID: (m) => m?.guildId, + webhookID: (m) => m?.webhookId, + interactionID: (m) => m?.interactionMetadata?.id, + interactionType: (m) => (m?.interactionMetadata ? discord_js_1.InteractionType[m.interactionMetadata.type] : null), timestamp: (m) => m?.createdTimestamp, editTimestamp: (m) => m?.editedTimestamp, + hasSnapshots: (m) => !!m?.messageSnapshots?.size, + hasThread: (m) => m?.hasThread, hasPoll: (m) => !!m?.poll, system: (m) => m?.system, pinned: (m) => m?.pinned, + tts: (m) => m?.tts, url: (m) => m?.url, attachments: (m, sep) => m?.attachments.map(x => x.url).join(sep ?? ", "), stickers: (m, sep) => m?.stickers.map(x => x.url).join(sep ?? ", "), + embeds: (m) => (m && "embeds" in m ? JSON.stringify(m.embeds, undefined, 4) : null), + crosspostable: (m) => m?.crosspostable, + deletable: (m) => m?.deletable, + editable: (m) => m?.editable, + pinnable: (m) => m?.pinnable, }); //# sourceMappingURL=message.js.map \ No newline at end of file diff --git a/dist/properties/message.js.map b/dist/properties/message.js.map index f4e696e1cf..4bd778c23a 100644 --- a/dist/properties/message.js.map +++ b/dist/properties/message.js.map @@ -1 +1 @@ -{"version":3,"file":"message.js","sourceRoot":"","sources":["../../src/properties/message.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAAkE;AAClE,qFAA4D;AAE5D,IAAY,eAiBX;AAjBD,WAAY,eAAe;IACvB,4BAAS,CAAA;IACT,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,wCAAqB,CAAA;IACrB,gCAAa,CAAA;IACb,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,0CAAuB,CAAA;IACvB,kDAA+B,CAAA;IAC/B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,oCA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AAG,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG;IAClB,WAAW,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC;IACzE,QAAQ,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC;CACtE,CAAC,CAAA"} \ No newline at end of file +{"version":3,"file":"message.js","sourceRoot":"","sources":["../../src/properties/message.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAAmF;AACnF,qFAA4D;AAE5D,IAAY,eA6BX;AA7BD,WAAY,eAAe;IACvB,4BAAS,CAAA;IACT,sCAAmB,CAAA;IACnB,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,wCAAqB,CAAA;IACrB,wCAAqB,CAAA;IACrB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,kDAA+B,CAAA;IAC/B,sDAAmC,CAAA;IACnC,0CAAuB,CAAA;IACvB,kDAA+B,CAAA;IAC/B,gDAA6B,CAAA;IAC7B,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,oCAAiB,CAAA;IACjB,8BAAW,CAAA;IACX,8BAAW,CAAA;IACX,8CAA2B,CAAA;IAC3B,wCAAqB,CAAA;IACrB,oCAAiB,CAAA;IACjB,kDAA+B,CAAA;IAC/B,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IACrB,wCAAqB,CAAA;AACzB,CAAC,EA7BW,eAAe,+BAAf,eAAe,QA6B1B;AA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,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS;IAC9B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ;IAC5B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ;CAC/B,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/properties/permissionOverwrites.d.ts b/dist/properties/permissionOverwrites.d.ts index ff243aea43..6b81e5d6a8 100644 --- a/dist/properties/permissionOverwrites.d.ts +++ b/dist/properties/permissionOverwrites.d.ts @@ -5,5 +5,5 @@ export declare enum PermissionOverwritesProperty { allow = "allow", deny = "deny" } -export declare const PermissionOverwritesProperties: import("../functions/defineProperties").Properties; +export declare const PermissionOverwritesProperties: import("..").Properties; //# sourceMappingURL=permissionOverwrites.d.ts.map \ No newline at end of file diff --git a/dist/properties/permissionOverwrites.d.ts.map b/dist/properties/permissionOverwrites.d.ts.map index dcf664b798..074c29890e 100644 --- a/dist/properties/permissionOverwrites.d.ts.map +++ b/dist/properties/permissionOverwrites.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"permissionOverwrites.d.ts","sourceRoot":"","sources":["../../src/properties/permissionOverwrites.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGhE,oBAAY,4BAA4B;IACpC,EAAE,OAAO;IACT,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;CAChB;AAED,eAAO,MAAM,8BAA8B,+GAKzC,CAAA"} \ No newline at end of file +{"version":3,"file":"permissionOverwrites.d.ts","sourceRoot":"","sources":["../../src/properties/permissionOverwrites.ts"],"names":[],"mappings":"AAKA,OAAO,EAAiB,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAGhE,oBAAY,4BAA4B;IACpC,EAAE,OAAO;IACT,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;CAChB;AAED,eAAO,MAAM,8BAA8B,oFAKzC,CAAA"} \ No newline at end of file diff --git a/dist/properties/permissionOverwrites.js b/dist/properties/permissionOverwrites.js index 440a72d428..e6af5da59c 100644 --- a/dist/properties/permissionOverwrites.js +++ b/dist/properties/permissionOverwrites.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/poll.d.ts b/dist/properties/poll.d.ts index a0e0765620..9f88855fc1 100644 --- a/dist/properties/poll.d.ts +++ b/dist/properties/poll.d.ts @@ -9,7 +9,7 @@ export declare enum PollProperty { allowMultiselect = "allowMultiselect", resultsFinalized = "resultsFinalized" } -export declare const PollProperties: import("../functions/defineProperties").Properties; +export declare const PollProperties: import("..").Properties; export declare enum PollAnswerProperty { id = "id", text = "text", @@ -17,5 +17,5 @@ export declare enum PollAnswerProperty { voteCount = "voteCount", messageID = "messageID" } -export declare const PollAnswerProperties: import("../functions/defineProperties").Properties; +export declare const PollAnswerProperties: import("..").Properties; //# sourceMappingURL=poll.d.ts.map \ No newline at end of file diff --git a/dist/properties/poll.d.ts.map b/dist/properties/poll.d.ts.map index 378216ed1b..586f1f8b54 100644 --- a/dist/properties/poll.d.ts.map +++ b/dist/properties/poll.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"poll.d.ts","sourceRoot":"","sources":["../../src/properties/poll.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAkB,MAAM,YAAY,CAAA;AAG7D,oBAAY,YAAY;IACpB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;CACxC;AAED,eAAO,MAAM,cAAc,+EASzB,CAAA;AAEF,oBAAY,kBAAkB;IAC1B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,SAAS,cAAc;CAC1B;AAED,eAAO,MAAM,oBAAoB,2FAM/B,CAAA"} \ No newline at end of file +{"version":3,"file":"poll.d.ts","sourceRoot":"","sources":["../../src/properties/poll.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAkB,MAAM,YAAY,CAAA;AAG7D,oBAAY,YAAY;IACpB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;CACxC;AAED,eAAO,MAAM,cAAc,oDASzB,CAAA;AAEF,oBAAY,kBAAkB;IAC1B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,SAAS,cAAc;CAC1B;AAED,eAAO,MAAM,oBAAoB,gEAM/B,CAAA"} \ No newline at end of file diff --git a/dist/properties/poll.js b/dist/properties/poll.js index 13ae08e294..64f4059348 100644 --- a/dist/properties/poll.js +++ b/dist/properties/poll.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/presence.d.ts b/dist/properties/presence.d.ts index 324dec53d4..7b72425ae1 100644 --- a/dist/properties/presence.d.ts +++ b/dist/properties/presence.d.ts @@ -5,5 +5,5 @@ export declare enum PresenceProperty { status = "status", platform = "platform" } -export declare const PresenceProperties: import("../functions/defineProperties").Properties; +export declare const PresenceProperties: import("..").Properties; //# sourceMappingURL=presence.d.ts.map \ No newline at end of file diff --git a/dist/properties/presence.d.ts.map b/dist/properties/presence.d.ts.map index 141048a4df..18fc69afd7 100644 --- a/dist/properties/presence.d.ts.map +++ b/dist/properties/presence.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"presence.d.ts","sourceRoot":"","sources":["../../src/properties/presence.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGrC,oBAAY,gBAAgB;IACxB,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,kBAAkB,uFAK7B,CAAA"} \ No newline at end of file +{"version":3,"file":"presence.d.ts","sourceRoot":"","sources":["../../src/properties/presence.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGrC,oBAAY,gBAAgB;IACxB,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB;AAED,eAAO,MAAM,kBAAkB,4DAK7B,CAAA"} \ No newline at end of file diff --git a/dist/properties/presence.js b/dist/properties/presence.js index 9102a4fee6..c3489d2878 100644 --- a/dist/properties/presence.js +++ b/dist/properties/presence.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/reaction.d.ts b/dist/properties/reaction.d.ts index f052fd2785..7dd5b05d5f 100644 --- a/dist/properties/reaction.d.ts +++ b/dist/properties/reaction.d.ts @@ -8,5 +8,5 @@ export declare enum ReactionProperty { meBurst = "meBurst", burstColors = "burstColors" } -export declare const ReactionProperties: import("../functions/defineProperties").Properties; +export declare const ReactionProperties: import("..").Properties; //# sourceMappingURL=reaction.d.ts.map \ No newline at end of file diff --git a/dist/properties/reaction.d.ts.map b/dist/properties/reaction.d.ts.map index d8d462b7e7..2793c43a04 100644 --- a/dist/properties/reaction.d.ts.map +++ b/dist/properties/reaction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"reaction.d.ts","sourceRoot":"","sources":["../../src/properties/reaction.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAG5C,oBAAY,gBAAgB;IACxB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,WAAW,gBAAgB;CAC9B;AAED,eAAO,MAAM,kBAAkB,8FAQ7B,CAAA"} \ No newline at end of file +{"version":3,"file":"reaction.d.ts","sourceRoot":"","sources":["../../src/properties/reaction.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAG5C,oBAAY,gBAAgB;IACxB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,WAAW,gBAAgB;CAC9B;AAED,eAAO,MAAM,kBAAkB,mEAQ7B,CAAA"} \ No newline at end of file diff --git a/dist/properties/reaction.js b/dist/properties/reaction.js index 0d9d60fffc..1fd8fa113f 100644 --- a/dist/properties/reaction.js +++ b/dist/properties/reaction.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/role.d.ts b/dist/properties/role.d.ts index 5e7f3de695..d5a2f110ac 100644 --- a/dist/properties/role.d.ts +++ b/dist/properties/role.d.ts @@ -17,5 +17,5 @@ export declare enum RoleProperty { secondaryColor = "secondaryColor", tertiaryColor = "tertiaryColor" } -export declare const RoleProperties: import("../functions/defineProperties").Properties; +export declare const RoleProperties: import("..").Properties; //# sourceMappingURL=role.d.ts.map \ No newline at end of file diff --git a/dist/properties/role.d.ts.map b/dist/properties/role.d.ts.map index 6252764b44..7e6c206393 100644 --- a/dist/properties/role.d.ts.map +++ b/dist/properties/role.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../src/properties/role.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAIjC,oBAAY,YAAY;IACpB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,cAAc,+EAiBzB,CAAA"} \ No newline at end of file +{"version":3,"file":"role.d.ts","sourceRoot":"","sources":["../../src/properties/role.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAIjC,oBAAY,YAAY;IACpB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,cAAc,oDAiBzB,CAAA"} \ No newline at end of file diff --git a/dist/properties/role.js b/dist/properties/role.js index b89fd5b843..d5ff9fd2ff 100644 --- a/dist/properties/role.js +++ b/dist/properties/role.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/scheduledEvent.d.ts b/dist/properties/scheduledEvent.d.ts index 065687ea7f..eb27831ba9 100644 --- a/dist/properties/scheduledEvent.d.ts +++ b/dist/properties/scheduledEvent.d.ts @@ -18,5 +18,5 @@ export declare enum ScheduledEventProperty { privacyLevel = "privacyLevel", status = "status" } -export declare const ScheduledEventProperties: import("../functions/defineProperties").Properties>; +export declare const ScheduledEventProperties: import("..").Properties>; //# sourceMappingURL=scheduledEvent.d.ts.map \ No newline at end of file diff --git a/dist/properties/scheduledEvent.d.ts.map b/dist/properties/scheduledEvent.d.ts.map index 82ec376c4e..609783baf1 100644 --- a/dist/properties/scheduledEvent.d.ts.map +++ b/dist/properties/scheduledEvent.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"scheduledEvent.d.ts","sourceRoot":"","sources":["../../src/properties/scheduledEvent.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAkE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAG3I,oBAAY,sBAAsB;IAC9B,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,wBAAwB,mIAkBnC,CAAA"} \ No newline at end of file +{"version":3,"file":"scheduledEvent.d.ts","sourceRoot":"","sources":["../../src/properties/scheduledEvent.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAkE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAG3I,oBAAY,sBAAsB;IAC9B,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,wBAAwB,wGAkBnC,CAAA"} \ No newline at end of file diff --git a/dist/properties/scheduledEvent.js b/dist/properties/scheduledEvent.js index f2df09ef55..6553f0f088 100644 --- a/dist/properties/scheduledEvent.js +++ b/dist/properties/scheduledEvent.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/sound.d.ts b/dist/properties/sound.d.ts index 0443f09f24..12c57bc0ee 100644 --- a/dist/properties/sound.d.ts +++ b/dist/properties/sound.d.ts @@ -10,5 +10,5 @@ export declare enum SoundboardSoundProperty { available = "available", url = "url" } -export declare const SoundboardSoundProperties: import("../functions/defineProperties").Properties; +export declare const SoundboardSoundProperties: import("..").Properties; //# sourceMappingURL=sound.d.ts.map \ No newline at end of file diff --git a/dist/properties/sound.d.ts.map b/dist/properties/sound.d.ts.map index 89a2d89285..78b13f3e4c 100644 --- a/dist/properties/sound.d.ts.map +++ b/dist/properties/sound.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"sound.d.ts","sourceRoot":"","sources":["../../src/properties/sound.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAG1F,oBAAY,uBAAuB;IAC/B,IAAI,SAAS;IACb,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,GAAG,QAAQ;CACd;AAED,eAAO,MAAM,yBAAyB,qJAUpC,CAAA"} \ No newline at end of file +{"version":3,"file":"sound.d.ts","sourceRoot":"","sources":["../../src/properties/sound.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAG1F,oBAAY,uBAAuB;IAC/B,IAAI,SAAS;IACb,EAAE,OAAO;IACT,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,GAAG,QAAQ;CACd;AAED,eAAO,MAAM,yBAAyB,0HAUpC,CAAA"} \ No newline at end of file diff --git a/dist/properties/sound.js b/dist/properties/sound.js index f48d328534..c04e9d6df3 100644 --- a/dist/properties/sound.js +++ b/dist/properties/sound.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/stage.d.ts b/dist/properties/stage.d.ts index 2f136584cd..6c677537f3 100644 --- a/dist/properties/stage.d.ts +++ b/dist/properties/stage.d.ts @@ -8,5 +8,5 @@ export declare enum StageProperty { privacyLevel = "privacyLevel", eventId = "eventId" } -export declare const StageProperties: import("../functions/defineProperties").Properties; +export declare const StageProperties: import("..").Properties; //# sourceMappingURL=stage.d.ts.map \ No newline at end of file diff --git a/dist/properties/stage.d.ts.map b/dist/properties/stage.d.ts.map index b5336d9018..c4f22aebbc 100644 --- a/dist/properties/stage.d.ts.map +++ b/dist/properties/stage.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../src/properties/stage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAA6B,MAAM,YAAY,CAAA;AAGrE,oBAAY,aAAa;IACrB,SAAS,cAAc;IACvB,EAAE,OAAO;IACT,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;CACtB;AAED,eAAO,MAAM,eAAe,yFAQ1B,CAAA"} \ No newline at end of file +{"version":3,"file":"stage.d.ts","sourceRoot":"","sources":["../../src/properties/stage.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAA6B,MAAM,YAAY,CAAA;AAGrE,oBAAY,aAAa;IACrB,SAAS,cAAc;IACvB,EAAE,OAAO;IACT,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;CACtB;AAED,eAAO,MAAM,eAAe,8DAQ1B,CAAA"} \ No newline at end of file diff --git a/dist/properties/stage.js b/dist/properties/stage.js index 5ae1692a45..ecdf8f1504 100644 --- a/dist/properties/stage.js +++ b/dist/properties/stage.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/sticker.d.ts b/dist/properties/sticker.d.ts index c5f31137c1..d3ae52338f 100644 --- a/dist/properties/sticker.d.ts +++ b/dist/properties/sticker.d.ts @@ -13,5 +13,5 @@ export declare enum StickerProperty { packID = "packID", description = "description" } -export declare const StickerProperties: import("../functions/defineProperties").Properties; +export declare const StickerProperties: import("..").Properties; //# sourceMappingURL=sticker.d.ts.map \ No newline at end of file diff --git a/dist/properties/sticker.d.ts.map b/dist/properties/sticker.d.ts.map index 3edf461b86..caf9f6653b 100644 --- a/dist/properties/sticker.d.ts.map +++ b/dist/properties/sticker.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"sticker.d.ts","sourceRoot":"","sources":["../../src/properties/sticker.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAqB,MAAM,YAAY,CAAA;AAGvD,oBAAY,eAAe;IACvB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC9B;AAED,eAAO,MAAM,iBAAiB,qFAa5B,CAAA"} \ No newline at end of file +{"version":3,"file":"sticker.d.ts","sourceRoot":"","sources":["../../src/properties/sticker.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAqB,MAAM,YAAY,CAAA;AAGvD,oBAAY,eAAe;IACvB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC9B;AAED,eAAO,MAAM,iBAAiB,0DAa5B,CAAA"} \ No newline at end of file diff --git a/dist/properties/sticker.js b/dist/properties/sticker.js index b1821b62e1..59d2c2add8 100644 --- a/dist/properties/sticker.js +++ b/dist/properties/sticker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/subscription.d.ts b/dist/properties/subscription.d.ts index 03c2c14e09..61508805a7 100644 --- a/dist/properties/subscription.d.ts +++ b/dist/properties/subscription.d.ts @@ -11,5 +11,5 @@ export declare enum SubscriptionProperty { periodEndTimestamp = "periodEndTimestamp", periodStartTimestamp = "periodStartTimestamp" } -export declare const SubscriptionProperties: import("../functions/defineProperties").Properties; +export declare const SubscriptionProperties: import("..").Properties; //# sourceMappingURL=subscription.d.ts.map \ No newline at end of file diff --git a/dist/properties/subscription.d.ts.map b/dist/properties/subscription.d.ts.map index b842158c3b..ec464acc34 100644 --- a/dist/properties/subscription.d.ts.map +++ b/dist/properties/subscription.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/properties/subscription.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAsB,MAAM,YAAY,CAAA;AAG7D,oBAAY,oBAAoB;IAC5B,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;CAChD;AAED,eAAO,MAAM,sBAAsB,+FAWjC,CAAA"} \ No newline at end of file +{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/properties/subscription.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAsB,MAAM,YAAY,CAAA;AAG7D,oBAAY,oBAAoB;IAC5B,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;CAChD;AAED,eAAO,MAAM,sBAAsB,oEAWjC,CAAA"} \ No newline at end of file diff --git a/dist/properties/subscription.js b/dist/properties/subscription.js index 75a47c60c5..5694e68240 100644 --- a/dist/properties/subscription.js +++ b/dist/properties/subscription.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/teamMember.d.ts b/dist/properties/teamMember.d.ts index 0ef9354976..3935fc00b8 100644 --- a/dist/properties/teamMember.d.ts +++ b/dist/properties/teamMember.d.ts @@ -4,5 +4,5 @@ export declare enum TeamMemberProperty { role = "role", membership = "membership" } -export declare const TeamMemberProperties: import("../functions/defineProperties").Properties; +export declare const TeamMemberProperties: import("..").Properties; //# sourceMappingURL=teamMember.d.ts.map \ No newline at end of file diff --git a/dist/properties/teamMember.d.ts.map b/dist/properties/teamMember.d.ts.map index aaeed63493..b027aa68ac 100644 --- a/dist/properties/teamMember.d.ts.map +++ b/dist/properties/teamMember.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"teamMember.d.ts","sourceRoot":"","sources":["../../src/properties/teamMember.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAA6C,MAAM,YAAY,CAAA;AAGlF,oBAAY,kBAAkB;IAC1B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,oBAAoB,2FAI/B,CAAA"} \ No newline at end of file +{"version":3,"file":"teamMember.d.ts","sourceRoot":"","sources":["../../src/properties/teamMember.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAA6C,MAAM,YAAY,CAAA;AAGlF,oBAAY,kBAAkB;IAC1B,EAAE,OAAO;IACT,IAAI,SAAS;IACb,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,oBAAoB,gEAI/B,CAAA"} \ No newline at end of file diff --git a/dist/properties/teamMember.js b/dist/properties/teamMember.js index f1ca0e4568..4b095efb76 100644 --- a/dist/properties/teamMember.js +++ b/dist/properties/teamMember.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/user.d.ts b/dist/properties/user.d.ts index 7240ed17b1..20af5ece62 100644 --- a/dist/properties/user.d.ts +++ b/dist/properties/user.d.ts @@ -1,20 +1,24 @@ import { User } from "discord.js"; export declare enum UserProperty { id = "id", + tag = "tag", username = "username", displayName = "displayName", globalName = "globalName", + discriminator = "discriminator", + timestamp = "timestamp", + bot = "bot", badges = "badges", + banner = "banner", avatar = "avatar", + avatarDecoration = "avatarDecoration", + defaultAvatar = "defaultAvatar", accentColor = "accentColor", - banner = "banner", - timestamp = "timestamp", dmChannelID = "dmChannelID", - avatarDecoration = "avatarDecoration", primaryGuildTag = "primaryGuildTag", primaryGuildBadge = "primaryGuildBadge", primaryGuildEnabled = "primaryGuildEnabled", primaryGuildID = "primaryGuildID" } -export declare const UserProperties: import("../functions/defineProperties").Properties; +export declare const UserProperties: import("..").Properties; //# sourceMappingURL=user.d.ts.map \ No newline at end of file diff --git a/dist/properties/user.d.ts.map b/dist/properties/user.d.ts.map index a3e945f012..3d41905578 100644 --- a/dist/properties/user.d.ts.map +++ b/dist/properties/user.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/properties/user.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAGjC,oBAAY,YAAY;IACpB,EAAE,OAAO;IACT,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,mBAAmB,wBAAwB;IAC3C,cAAc,mBAAmB;CACpC;AAED,eAAO,MAAM,cAAc,+EAgBzB,CAAA"} \ No newline at end of file +{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/properties/user.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAGjC,oBAAY,YAAY;IACpB,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,gBAAgB,qBAAqB;IACrC,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,mBAAmB,wBAAwB;IAC3C,cAAc,mBAAmB;CACpC;AAED,eAAO,MAAM,cAAc,oDAoBzB,CAAA"} \ No newline at end of file diff --git a/dist/properties/user.js b/dist/properties/user.js index 2c0c24da6d..01d144459b 100644 --- a/dist/properties/user.js +++ b/dist/properties/user.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -12,16 +12,20 @@ const defineProperties_1 = __importDefault(require("../functions/definePropertie var UserProperty; (function (UserProperty) { UserProperty["id"] = "id"; + UserProperty["tag"] = "tag"; UserProperty["username"] = "username"; UserProperty["displayName"] = "displayName"; UserProperty["globalName"] = "globalName"; + UserProperty["discriminator"] = "discriminator"; + UserProperty["timestamp"] = "timestamp"; + UserProperty["bot"] = "bot"; UserProperty["badges"] = "badges"; + UserProperty["banner"] = "banner"; UserProperty["avatar"] = "avatar"; + UserProperty["avatarDecoration"] = "avatarDecoration"; + UserProperty["defaultAvatar"] = "defaultAvatar"; UserProperty["accentColor"] = "accentColor"; - UserProperty["banner"] = "banner"; - UserProperty["timestamp"] = "timestamp"; UserProperty["dmChannelID"] = "dmChannelID"; - UserProperty["avatarDecoration"] = "avatarDecoration"; UserProperty["primaryGuildTag"] = "primaryGuildTag"; UserProperty["primaryGuildBadge"] = "primaryGuildBadge"; UserProperty["primaryGuildEnabled"] = "primaryGuildEnabled"; @@ -29,19 +33,23 @@ var UserProperty; })(UserProperty || (exports.UserProperty = UserProperty = {})); exports.UserProperties = (0, defineProperties_1.default)({ id: (i) => i?.id, - avatar: (i) => i?.displayAvatarURL(), - badges: (i, sep) => i?.flags?.toArray().join(sep || ", "), + tag: (i) => i?.tag, + username: (i) => i?.username, displayName: (i) => i?.displayName, globalName: (i) => i?.globalName, - username: (i) => i?.username, + discriminator: (i) => i?.discriminator, + timestamp: (i) => i?.createdTimestamp, + bot: (i) => i?.bot, + badges: (i, sep) => i?.flags?.toArray().join(sep ?? ", "), banner: (i) => i?.bannerURL(), + avatar: (i) => i?.displayAvatarURL(), + avatarDecoration: (i) => i?.avatarDecorationURL(), + defaultAvatar: (i) => i?.defaultAvatarURL, accentColor: (i) => i?.hexAccentColor, - timestamp: (i) => i?.createdTimestamp, dmChannelID: (i) => i?.dmChannel?.id, - avatarDecoration: (i) => i?.avatarDecorationURL(), primaryGuildTag: (i) => i?.primaryGuild?.tag, primaryGuildBadge: (i) => i?.guildTagBadgeURL(), primaryGuildEnabled: (i) => i?.primaryGuild?.identityEnabled, - primaryGuildID: (i) => i?.primaryGuild?.identityGuildId + primaryGuildID: (i) => i?.primaryGuild?.identityGuildId, }); //# sourceMappingURL=user.js.map \ No newline at end of file diff --git a/dist/properties/user.js.map b/dist/properties/user.js.map index 714d386f79..5167374b0d 100644 --- a/dist/properties/user.js.map +++ b/dist/properties/user.js.map @@ -1 +1 @@ -{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/properties/user.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAGF,qFAA4D;AAE5D,IAAY,YAgBX;AAhBD,WAAY,YAAY;IACpB,yBAAS,CAAA;IACT,qCAAqB,CAAA;IACrB,2CAA2B,CAAA;IAC3B,yCAAyB,CAAA;IACzB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;IACjB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,qDAAqC,CAAA;IACrC,mDAAmC,CAAA;IACnC,uDAAuC,CAAA;IACvC,2DAA2C,CAAA;IAC3C,iDAAiC,CAAA;AACrC,CAAC,EAhBW,YAAY,4BAAZ,YAAY,QAgBvB;AAEY,QAAA,cAAc,GAAG,IAAA,0BAAgB,EAA4B;IACtE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,gBAAgB,EAAE;IACpC,MAAM,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC;IACzD,WAAW,EAAE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AC,EAAE,gBAAgB;IACzC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,cAAc;IACrC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE;IACpC,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,GAAG;IAC5C,iBAAiB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,gBAAgB,EAAE;IAC/C,mBAAmB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,eAAe;IAC5D,cAAc,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,eAAe;CAC1D,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/properties/voiceEffect.d.ts b/dist/properties/voiceEffect.d.ts index 182eed9cb4..e4ed5cfe04 100644 --- a/dist/properties/voiceEffect.d.ts +++ b/dist/properties/voiceEffect.d.ts @@ -9,5 +9,5 @@ export declare enum VoiceEffectProperty { animationID = "animationID", animationType = "animationType" } -export declare const VoiceEffectProperties: import("../functions/defineProperties").Properties; +export declare const VoiceEffectProperties: import("..").Properties; //# sourceMappingURL=voiceEffect.d.ts.map \ No newline at end of file diff --git a/dist/properties/voiceEffect.d.ts.map b/dist/properties/voiceEffect.d.ts.map index 5dc7bce6e5..37a59ebee0 100644 --- a/dist/properties/voiceEffect.d.ts.map +++ b/dist/properties/voiceEffect.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"voiceEffect.d.ts","sourceRoot":"","sources":["../../src/properties/voiceEffect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAuC,MAAM,YAAY,CAAA;AAGpF,oBAAY,mBAAmB;IAC3B,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,qBAAqB,oGAShC,CAAA"} \ No newline at end of file +{"version":3,"file":"voiceEffect.d.ts","sourceRoot":"","sources":["../../src/properties/voiceEffect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAuC,MAAM,YAAY,CAAA;AAGpF,oBAAY,mBAAmB;IAC3B,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;CAClC;AAED,eAAO,MAAM,qBAAqB,yEAShC,CAAA"} \ No newline at end of file diff --git a/dist/properties/voiceEffect.js b/dist/properties/voiceEffect.js index e86a8480ee..c0c5022371 100644 --- a/dist/properties/voiceEffect.js +++ b/dist/properties/voiceEffect.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/voiceServer.d.ts b/dist/properties/voiceServer.d.ts new file mode 100644 index 0000000000..9e32953beb --- /dev/null +++ b/dist/properties/voiceServer.d.ts @@ -0,0 +1,8 @@ +import { VoiceServerUpdateData } from "discord.js"; +export declare enum VoiceServerProperty { + guildID = "guildID", + endpoint = "endpoint", + token = "token" +} +export declare const VoiceServerProperties: import("..").Properties; +//# sourceMappingURL=voiceServer.d.ts.map \ No newline at end of file diff --git a/dist/properties/voiceServer.d.ts.map b/dist/properties/voiceServer.d.ts.map new file mode 100644 index 0000000000..6acbd7760a --- /dev/null +++ b/dist/properties/voiceServer.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"voiceServer.d.ts","sourceRoot":"","sources":["../../src/properties/voiceServer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAGlD,oBAAY,mBAAmB;IAC3B,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;CAClB;AAED,eAAO,MAAM,qBAAqB,4EAIhC,CAAA"} \ No newline at end of file diff --git a/dist/properties/voiceServer.js b/dist/properties/voiceServer.js new file mode 100644 index 0000000000..5dca021b78 --- /dev/null +++ b/dist/properties/voiceServer.js @@ -0,0 +1,23 @@ +"use strict"; +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.VoiceServerProperties = exports.VoiceServerProperty = void 0; +const defineProperties_1 = __importDefault(require("../functions/defineProperties")); +var VoiceServerProperty; +(function (VoiceServerProperty) { + VoiceServerProperty["guildID"] = "guildID"; + VoiceServerProperty["endpoint"] = "endpoint"; + VoiceServerProperty["token"] = "token"; +})(VoiceServerProperty || (exports.VoiceServerProperty = VoiceServerProperty = {})); +exports.VoiceServerProperties = (0, defineProperties_1.default)({ + guildID: (i) => i?.guildId, + endpoint: (i) => i?.endpoint, + token: (i) => i?.token +}); +//# sourceMappingURL=voiceServer.js.map \ No newline at end of file diff --git a/dist/properties/voiceServer.js.map b/dist/properties/voiceServer.js.map new file mode 100644 index 0000000000..4ef94b50ec --- /dev/null +++ b/dist/properties/voiceServer.js.map @@ -0,0 +1 @@ +{"version":3,"file":"voiceServer.js","sourceRoot":"","sources":["../../src/properties/voiceServer.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAGF,qFAA4D;AAE5D,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,4CAAqB,CAAA;IACrB,sCAAe,CAAA;AACnB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAEY,QAAA,qBAAqB,GAAG,IAAA,0BAAgB,EAAoD;IACrG,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO;IAC1B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,QAAQ;IAC5B,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK;CACzB,CAAC,CAAA"} \ No newline at end of file diff --git a/dist/properties/voiceState.d.ts b/dist/properties/voiceState.d.ts index 2bcbc22de4..079f4d1c99 100644 --- a/dist/properties/voiceState.d.ts +++ b/dist/properties/voiceState.d.ts @@ -14,5 +14,5 @@ export declare enum VoiceStateProperty { streaming = "streaming", suppressed = "suppressed" } -export declare const VoiceStateProperties: import("../functions/defineProperties").Properties; +export declare const VoiceStateProperties: import("..").Properties; //# sourceMappingURL=voiceState.d.ts.map \ No newline at end of file diff --git a/dist/properties/voiceState.d.ts.map b/dist/properties/voiceState.d.ts.map index 338c21a1c4..3067e63c28 100644 --- a/dist/properties/voiceState.d.ts.map +++ b/dist/properties/voiceState.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"voiceState.d.ts","sourceRoot":"","sources":["../../src/properties/voiceState.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAGvC,oBAAY,kBAAkB;IAC1B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,oBAAoB,2FAc/B,CAAA"} \ No newline at end of file +{"version":3,"file":"voiceState.d.ts","sourceRoot":"","sources":["../../src/properties/voiceState.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAGvC,oBAAY,kBAAkB;IAC1B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,UAAU,eAAe;CAC5B;AAED,eAAO,MAAM,oBAAoB,gEAc/B,CAAA"} \ No newline at end of file diff --git a/dist/properties/voiceState.js b/dist/properties/voiceState.js index d2176c4478..ad9aeedea7 100644 --- a/dist/properties/voiceState.js +++ b/dist/properties/voiceState.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/properties/webhook.d.ts b/dist/properties/webhook.d.ts index 84d62f9343..bfdfef9148 100644 --- a/dist/properties/webhook.d.ts +++ b/dist/properties/webhook.d.ts @@ -13,5 +13,5 @@ export declare enum WebhookProperty { token = "token", url = "url" } -export declare const WebhookProperties: import("../functions/defineProperties").Properties>; +export declare const WebhookProperties: import("..").Properties>; //# sourceMappingURL=webhook.d.ts.map \ No newline at end of file diff --git a/dist/properties/webhook.d.ts.map b/dist/properties/webhook.d.ts.map index 86ccc5d4b7..8dd595b6f9 100644 --- a/dist/properties/webhook.d.ts.map +++ b/dist/properties/webhook.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../src/properties/webhook.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAGjD,oBAAY,eAAe;IACvB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,GAAG,QAAQ;CACd;AAED,eAAO,MAAM,iBAAiB,kGAa5B,CAAA"} \ No newline at end of file +{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../src/properties/webhook.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAGjD,oBAAY,eAAe;IACvB,EAAE,OAAO;IACT,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,eAAe,oBAAoB;IACnC,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,GAAG,QAAQ;CACd;AAED,eAAO,MAAM,iBAAiB,uEAa5B,CAAA"} \ No newline at end of file diff --git a/dist/properties/webhook.js b/dist/properties/webhook.js index 885572c9dc..9172913a70 100644 --- a/dist/properties/webhook.js +++ b/dist/properties/webhook.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/structures/@internal/Arg.js b/dist/structures/@internal/Arg.js index 74c2a232b9..b315f49a6e 100644 --- a/dist/structures/@internal/Arg.js +++ b/dist/structures/@internal/Arg.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Arg = void 0; diff --git a/dist/structures/@internal/CompiledFunction.d.ts b/dist/structures/@internal/CompiledFunction.d.ts index 51cb5468cb..a0b5c48267 100644 --- a/dist/structures/@internal/CompiledFunction.d.ts +++ b/dist/structures/@internal/CompiledFunction.d.ts @@ -36,16 +36,11 @@ export declare class CompiledFunction>[], boolean> | undefined; + getFunction(fieldIndex: number, ref: NativeFunction): CompiledFunction | undefined; getFunctions(fieldIndex: number, ref: NativeFunction): CompiledFunction>[], boolean>[]; return(value: ReturnValue): Return; stop(): Return; diff --git a/dist/structures/@internal/CompiledFunction.d.ts.map b/dist/structures/@internal/CompiledFunction.d.ts.map index e2d0852a44..56ea3aadd4 100644 --- a/dist/structures/@internal/CompiledFunction.d.ts.map +++ b/dist/structures/@internal/CompiledFunction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CompiledFunction.d.ts","sourceRoot":"","sources":["../../../src/structures/@internal/CompiledFunction.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,+BAA+B,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAGvG,OAAO,EAAE,SAAS,EAAE,YAAY,EAAc,MAAM,qBAAqB,CAAA;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAuB,MAAM,kBAAkB,CAAA;AACjG,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAI1D,MAAM,WAAW,uCAAwC,SAAQ,IAAI,CAAC,+BAA+B,EAAE,KAAK,GAAG,KAAK,CAAC;IACjH,GAAG,EAAE,8BAA8B,CAAA;IACnC,GAAG,CAAC,EAAE,8BAA8B,CAAA;CACvC;AAED,MAAM,WAAW,8BAA+B,SAAQ,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC;IAC7F,SAAS,EAAE,gBAAgB,EAAE,CAAA;IAC7B,UAAU,CAAC,EAA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C;IAanD,OAAO,CAAC,iBAAiB;YAIX,IAAI;WAWJ,kBAAkB,CAAC,IAAI,EAAE,OAAO;IAIvC,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc;IAInD,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc;IAQpD,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC;IAI5C,IAAI;IAIJ,KAAK;IAIL,QAAQ;IAIR,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC;IAIlD,gBAAgB,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC;IAIvD,aAAa,CAAC,KAAK,GAAE,WAAW,CAAC,UAAU,CAAC,OAAO,CAAQ;IAI3D,OAAO,CAAC,KAAK,GAAE,WAAW,CAAC,UAAU,CAAC,OAAO,CAAQ;CAG/D"} \ No newline at end of file +{"version":3,"file":"CompiledFunction.d.ts","sourceRoot":"","sources":["../../../src/structures/@internal/CompiledFunction.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,+BAA+B,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAEvG,OAAO,EAAE,SAAS,EAAE,YAAY,EAAc,MAAM,qBAAqB,CAAA;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAuB,MAAM,kBAAkB,CAAA;AACjG,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAI1D,MAAM,WAAW,uCAAwC,SAAQ,IAAI,CAAC,+BAA+B,EAAE,KAAK,GAAG,KAAK,CAAC;IACjH,GAAG,EAAE,8BAA8B,CAAA;IACnC,GAAG,CAAC,EAAE,8BAA8B,CAAA;CACvC;AAED,MAAM,WAAW,8BAA+B,SAA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vF,WAAW,CAAC,GAAG,EAAE,MAAM;IAIjB,OAAO,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;IAWnD,OAAO,CAAC,iBAAiB;YAIX,IAAI;WAWJ,kBAAkB,CAAC,IAAI,EAAE,OAAO;IAIvC,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc,GACJ,gBAAgB,GAAG,SAAS;IAG3E,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,cAAc;IAQpD,MAAM,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC;IAI5C,IAAI;IAIJ,KAAK;IAIL,QAAQ;IAIR,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC;IAIlD,gBAAgB,CAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC;IAIvD,aAAa,CAAC,KAAK,GAAE,WAAW,CAAC,UAAU,CAAC,OAAO,CAAQ;IAI3D,OAAO,CAAC,KAAK,GAAE,WAAW,CAAC,UAAU,CAAC,OAAO,CAAQ;CAG/D"} \ No newline at end of file diff --git a/dist/structures/@internal/CompiledFunction.js b/dist/structures/@internal/CompiledFunction.js index 77ebcf3b60..4e3adeadcf 100644 --- a/dist/structures/@internal/CompiledFunction.js +++ b/dist/structures/@internal/CompiledFunction.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -12,12 +12,12 @@ const discord_js_1 = require("discord.js"); const fs_1 = require("fs"); const util_1 = require("util"); const constants_1 = require("../../constants"); -const parseJSON_1 = __importDefault(require("../../functions/parseJSON")); const managers_1 = require("../../managers"); const ForgeError_1 = require("../forge/ForgeError"); const NativeFunction_1 = require("./NativeFunction"); const Return_1 = require("./Return"); const hex_1 = require("../../functions/hex"); +const parseJSON_1 = __importDefault(require("../../functions/parseJSON")); class CompiledFunction { static OverwriteSymbolMapping = { "/": null, @@ -81,8 +81,6 @@ class CompiledFunction { } /** * Resolves fields of a function. - * @param ctx - * @returns */ async resolveArgs(ctx) { const args = new Array(this.fn.data.args?.length ?? 0); @@ -115,9 +113,6 @@ class CompiledFunction { } /** * Does not account for condition fields. - * @param ctx - * @param index - * @returns */ async resolveUnhandledArg(ctx, i, ref = []) { const arg = this.fn.data.args[i]; @@ -242,7 +237,7 @@ class CompiledFunction { return ctx.client.guilds.cache.get(str); } resolveJson(ctx, arg, str, ref) { - return (0, parseJSON_1.default)(str); + return (0, parseJSON_1.default)(str, false); } resolveUser(ctx, arg, str, ref) { if (!CompiledFunction.IdRegex.test(str)) @@ -424,14 +419,12 @@ class CompiledFunction { return this.error(ForgeError_1.ErrorType.Custom, msg); } async execute(ctx) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore if (!this.fn.data.unwrap) return this.fn.data.execute.call(this, ctx); const args = await this.resolveArgs(ctx); if (!this.isValidReturnType(args)) return args; - // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore return this.fn.data.execute.call(this, ctx, args.value ?? []); } @@ -481,7 +474,7 @@ class CompiledFunction { return new Return_1.Return(Return_1.ReturnType.Success, value); } success(value = null) { - return new Return_1.Return(Return_1.ReturnType.Success, this.data.negated ? null : this.data.count !== null && typeof (value) === "string" ? (value !== "" ? value.split(this.data.count).length : 0) : value); + return new Return_1.Return(Return_1.ReturnType.Success, this.data.negated ? null : this.data.count !== null && typeof value === "string" ? (value !== "" ? value.split(this.data.count).length : 0) : value); } } exports.CompiledFunction = CompiledFunction; diff --git a/dist/structures/@internal/CompiledFunction.js.map b/dist/structures/@internal/CompiledFunction.js.map index d9b3d7e91c..a55c04c193 100644 --- a/dist/structures/@internal/CompiledFunction.js.map +++ b/dist/structures/@internal/CompiledFunction.js.map @@ -1 +1 @@ -{"version":3,"file":"CompiledFunction.js","sourceRoot":"","sources":["../../../src/structures/@internal/CompiledFunction.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CASmB;AACnB,2BAA+B;AAC/B,+BAA8B;AAC9B,+CAA4C;AAE5C,0EAAiD;AACjD,6CAAgD;AAChD,oDAAyE;AAEzE,qDAAiG;AACjG,qCAA0D;AAC1D,6CAAkD;AAwBlD,MAAa,gBAAgB;IAClB,MAAM,CAAU,sBAAsB,GAAG;QAC5C,GAAG,EAAE,IAAI;QACT,GAAG,EAAE,IAAI;QACT,GAAG,EAAE,KAAK;KACb,CAAA;IAEM,MAAM,CAAU,OAAO,GAAG,eAAe,CAAA;IACzC,MAAM,CAAU,QAAQ,GAAG,cAAc,CAAA;IACzC,MAAM,CAAU,UAAU,GAAG,yDAAyD,CAAA;IAE7E,IAAI,CAA2B;IAC/B,EAAE,CAA2B;IAE7C,YAAmB,GAAsB;QACrC,IAAI,CAAC,EAAE,GAAG,0BAAe,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAA8B,CAAA;QACpE,IAAI,CAAC,IAAI,GAAG;YACR,GAAG,GAAG;YACN,MAAM,EACF,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAClB,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC;gBACR,CAAC,CAAC;oBACE,GAAG,CAAC;oBACJ,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,gBAAgB,CAAC,CAAC,CAAC,CAAC;iBAC7D;gBACD,CAAC,CAAC;oBACE,GAAG,CAAC;oBACJ,GAAG,EAAE;wBACD,GAAG,CAAC,CAAC,GAAG;wBACR,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,gBAAgB,C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AAI;QACxD,OAAO,IAAI,eAAM,CAAC,mBAAU,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,OAAM,CAAC,KAAK,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IAC/L,CAAC;;AAriBL,4CAsiBC"} \ No newline at end of file +{"version":3,"file":"CompiledFunction.js","sourceRoot":"","sources":["../../../src/structures/@internal/CompiledFunction.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CASmB;AACnB,2BAA+B;AAC/B,+BAA8B;AAC9B,+CAA4C;AAE5C,6CAAgD;AAChD,oDAAyE;AAEzE,qDAAiG;AACjG,qCAA0D;AAC1D,6CAAkD;AAClD,0EAAiD;AAuBjD,MAAa,gBAAgB;IAClB,MAAM,CAAU,sBAAsB,GAAG;QAC5C,GAAG,EAAE,IAAI;QACT,GAAG,EAAE,IAAI;QACT,GAAG,EAAE,KAAK;KACb,CAAA;IAEM,MAAM,CAAU,OAAO,GAAG,eAAe,CAAA;IACzC,MAAM,CAAU,QAAQ,GAAG,cAAc,CAAA;IACzC,MAAM,CAAU,UAAU,GAAG,yDAAyD,CAAA;IAE7E,IAAI,CAA2B;IAC/B,EAAE,CAA2B;IAE7C,YAAmB,GAAsB;QACrC,IAAI,CAAC,EAAE,GAAG,0BAAe,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAA8B,CAAA;QACpE,IAAI,CAAC,IAAI,GAAG;YACR,GAAG,GAAG;YACN,MAAM,EACF,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC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KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IACrJ,CAAC;IAEM,gBAAgB,CAAC,KAAsC;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,cAAO,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IAChG,CAAC;IAEM,aAAa,CAAC,QAAyC,IAAI;QAC9D,OAAO,IAAI,eAAM,CAAC,mBAAU,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;IAChD,CAAC;IAEM,OAAO,CAAC,QAAyC,IAAI;QACxD,OAAO,IAAI,eAAM,CAAC,mBAAU,CAAC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IAC9L,CAAC;;AA9hBL,4CA+hBC"} \ No newline at end of file diff --git a/dist/structures/@internal/Container.js b/dist/structures/@internal/Container.js index f02f322243..4d05202fe7 100644 --- a/dist/structures/@internal/Container.js +++ b/dist/structures/@internal/Container.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/structures/@internal/Container.js.map b/dist/structures/@internal/Container.js.map index b5217ef0bf..84c24f8310 100644 --- a/dist/structures/@internal/Container.js.map +++ b/dist/structures/@internal/Container.js.map @@ -1 +1 @@ -{"version":3,"file":"Container.js","sourceRoot":"","sources":["../../../src/structures/@internal/Container.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2BAA2B;AAC3B,2CA0CmB;AACnB,gEAAuC;AACvC,2CAAyC;AAEzC,MAAM,QAAQ,GAA0B,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAwBtE,MAAa,SAAS;IACX,OAAO,CAAS;IAChB,MAAM,GAAG,IAAI,KAAK,EAAgB,CAAA;IAClC,UAAU,GAAG,IAAI,KAAK,EAAgD,CAAA;IACtE,SAAS,CAAqD;IAC9D,MAAM,GAAG,KAAK,EAAiB,CAAA;IAC/B,SAAS,CAAS;IAClB,KAAK,GAAG,KAAK,CAAA;IACb,QAAQ,GAAG,KAAK,CAAA;IAChB,IAAI,GAAG,KAAK,CAAA;IACZ,MAAM,GAAG,KAAK,CAAA;IACd,SAAS,GAAG,KAAK,CAAA;IACjB,GAAG,GAAG,KAAK,CAAA;IACX,MAAM,GAAG,KAAK,CAAA;IACd,cAAc,GAAG,KAAK,CAAA;IACtB,KAAK,GAAG,IAAI,KAAK,EAAqB,CAAA;IACtC,OAAO,CAAU;IACjB,QAAQ,GAAG,IAAI,KAAK,EAAqB,CAAA;IACzC,YAAY,GAAG,KAAK,CAAA;IACpB,cAAc,GAAG,KAAK,CAAA;IACtB,KAAK,CAAe;IACpB,OAAO,GAAG,IAAI,KAAK,EAAuD,CAAA;IAC1E,eAAe,GAA0B,EAAE,CAAA;IAC3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KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK;gBAC7C,WAAW,EAAE,EAAE;gBACf,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK;gBAClD,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ;gBAC3D,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,IAAI;gBACrC,UAAU,EAAE,IAAI,CAAC,UAAU;gBAC3B,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,GAAG,EAAE,IAAI,CAAC,GAAG;gBACb,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,UAAU,EAAE,IAAI,CAAC,UAAU;gBAC3B,WAAW,EAAE,IAAI,CAAC,WAAW;gBAC7B,cAAc,EAAE,IAAI,CAAC,cAAc;aACtC,CACL,CAAA;IACV,CAAC;CACJ;AAzMD,8BAyMC"} \ No newline at end of file +{"version":3,"file":"Container.js","sourceRoot":"","sources":["../../../src/structures/@internal/Container.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2BAA2B;AAC3B,2CA0CmB;AACnB,gEAAuC;AACvC,2CAAyC;AAEzC,MAAM,QAAQ,GAA0B,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAwBtE,MAAa,SAAS;IACX,OAAO,CAAS;IAChB,MAAM,GAAG,IAAI,KAAK,EAAgB,CAAA;IAClC,UAAU,GAAG,IAAI,KAAK,EAAgD,CAAA;IACtE,SAAS,CAAqD;IAC9D,MAAM,GAAG,KAAK,EAAiB,CAAA;IAC/B,SAAS,CAAS;IAClB,KAAK,GAAG,KAAK,CAAA;IACb,QAAQ,GAAG,KAAK,CAA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,EAAE,IAAI,CAAC,WAAW;gBAC7B,cAAc,EAAE,IAAI,CAAC,cAAc;aACtC,CACL,CAAA;IACV,CAAC;CACJ;AAzMD,8BAyMC"} \ No newline at end of file diff --git a/dist/structures/@internal/Context.d.ts b/dist/structures/@internal/Context.d.ts index 8ac4c50cad..ebf7d96d0b 100644 --- a/dist/structures/@internal/Context.d.ts +++ b/dist/structures/@internal/Context.d.ts @@ -1,4 +1,4 @@ -import { AnySelectMenuInteraction, AutoModerationActionExecution, AutoModerationActionOptions, AutoModerationTriggerMetadataOptions, BaseChannel, ChatInputCommandInteraction, ContextMenuCommandInteraction, Emoji, Entitlement, Guild, GuildMember, GuildScheduledEventEntityMetadataOptions, Interaction, LabelBuilder, MediaGalleryBuilder, Message, MessageReaction, Role, SectionBuilder, SoundboardSound, Sticker, Subscription, User, VoiceBasedChannel } from "discord.js"; +import { AnySelectMenuInteraction, AutoModerationActionExecution, AutoModerationActionOptions, AutoModerationTriggerMetadataOptions, BaseChannel, ChatInputCommandInteraction, ContextMenuCommandInteraction, Emoji, Entitlement, Guild, GuildMember, GuildScheduledEventEntityMetadataOptions, Interaction, LabelBuilder, MediaGalleryBuilder, Message, MessageReaction, OverwriteResolvable, Role, SectionBuilder, SoundboardSound, Sticker, Subscription, User, VoiceBasedChannel } from "discord.js"; import { CompiledFunction, IExtendedCompiledFunctionField } from "./CompiledFunction"; import { Container, Sendable } from "./Container"; import { IArg, UnwrapArgs } from "./NativeFunction"; @@ -39,7 +39,6 @@ export interface IComponentOptions { section: SectionBuilder; gallery: MediaGalleryBuilder; label: LabelBuilder; - required?: boolean; } export declare enum CalendarType { Buddhist = "buddhist", @@ -93,6 +92,7 @@ export declare class Context { component: Partial; timezone: string; calendar?: CalendarType; + permissionOverwrites?: OverwriteResolvable[]; private _reason?; container: Container; constructor(runtime: IRunnable); @@ -103,7 +103,7 @@ export declare class Context { get cmd(): import("..").BaseCommand | null; get obj(): Sendable; get args(): string[]; - get states(): import("../../core/Interpreter").States | undefined; + get states(): import("../..").States | undefined; get automod(): AutoModerationActionExecution | null; get entitlement(): Entitlement | null; get subscription(): Subscription | null; @@ -129,7 +129,7 @@ export declare class Context { * @param once Whether to fetch only when the collection is empty. * @returns */ - fetchApplicationEmojis(once?: boolean): Promise>; + fetchApplicationEmojis(once?: boolean): Promise>; setEnvironmentKey(name: string, value: unknown): unknown; traverseDeleteEnvironmentKey(...keys: string[]): boolean | any[]; traverseAddEnvironmentKey(value: unknown, ...keys: string[]): boolean; @@ -167,8 +167,8 @@ export declare class Context { } as K]: ClassInstance; })[K] | null; private error; get getExtension(): { - (name: string, required?: B | undefined): B extends true ? import("..").ForgeExtension : import("..").ForgeExtension | null; - (type: string | T, required?: B_1 | undefined): B_1 extends true ? ClassInstance : ClassInstance | null; + (name: string, required?: B): B extends true ? import("..").ForgeExtension : import("..").ForgeExtension | null; + (type: T | string, required?: B): B extends true ? ClassInstance : ClassInstance | null; }; cloneEmpty(): Context; /** diff --git a/dist/structures/@internal/Context.d.ts.map b/dist/structures/@internal/Context.d.ts.map index 2a6bcbfaa2..43a9f3fd3f 100644 --- a/dist/structures/@internal/Context.d.ts.map +++ b/dist/structures/@internal/Context.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/structures/@internal/Context.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,oCAAoC,EACpC,WAAW,EAEX,2BAA2B,EAC3B,6BAA6B,EAC7B,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,wCAAwC,EACxC,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,OAAO,EACP,eAAe,EACf,IAAI,EACJ,cAAc,EACd,eAAe,EACf,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,iBAAiB,EACpB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,gBAAgB,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAA;A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,UAAU;IAIlB,IAAW,IAAI,6BAEd;CACJ"} \ No newline at end of file +{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/structures/@internal/Context.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,oCAAoC,EACpC,WAAW,EAEX,2BAA2B,EAC3B,6BAA6B,EAC7B,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,wCAAwC,EACxC,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,OAAO,EACP,eAAe,EACf,mBAAmB,EACnB,IAAI,EACJ,cAAc,EACd,eAAe,EACf,OAAO,EACP,YAAY,EACZ,IAAI,EACJ,iBAAiB,EACpB,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,gBAAgB,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAA;AACrF,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAE,MAAM,EAAc,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAGlD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAG1C,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,MAAM,SAAS,OAAO,IAAI,CACxE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAClB,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAA;AAE7B,oBAAY,eAAe;IACvB,IAAI,IAAA;IACJ,IAAI,IAAA;CACP;AAED,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,WAAW,CAAC,EAAE,eAAe,CAAA;IAC7B,OAAO,EAAE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,MAAM,EAAE,CAAC,SAAS,SAAS,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,IAAI,IAAI,IAAI,GAAG;SAAG,CAAC,IAAI,MAAM;YAAE,GAAG,EAAE,OAAO,CAAA;SAAE,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC;KAAE;IAI5I,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,WAAW,GACN,CAAC;IAGlB,wBAAwB;IAIxB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,SAAS,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,cAZqB,CAAC;aAAiB,OAAO;;IAkBvH,OAAO,CAAC,KAAK;IAIb,IAAW,YAAY;;;MAEtB;IAEM,UAAU;IAIjB;;;OAGG;IACI,KAAK,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,EAAE,QAAQ,UAAQ;IAkBlD,YAAY,IAAI,SAAS;IAOhC,OAAO,CAAC,UAAU;IAIlB,IAAW,IAAI,6BAEd;CACJ"} \ No newline at end of file diff --git a/dist/structures/@internal/Context.js b/dist/structures/@internal/Context.js index 6892e5a2af..b3367ed964 100644 --- a/dist/structures/@internal/Context.js +++ b/dist/structures/@internal/Context.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; @@ -49,12 +49,12 @@ class Context { component = {}; timezone = "UTC"; calendar; + permissionOverwrites; #keywords = {}; #environment = {}; #localFunctions = {}; _reason; container; - // eslint-disable-next-line no-unused-vars constructor(runtime) { this.runtime = runtime; if (runtime.environment) diff --git a/dist/structures/@internal/Context.js.map b/dist/structures/@internal/Context.js.map index 57b28a2181..b7fe6271a9 100644 --- a/dist/structures/@internal/Context.js.map +++ b/dist/structures/@internal/Context.js.map @@ -1 +1 @@ -{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../src/structures/@internal/Context.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CA0BmB;AAEnB,2CAAiD;AAEjD,qCAA6C;AAG7C,qCAAiC;AAEjC,8EAAqD;AAMrD,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,qDAAI,CAAA;IACJ,qDAAI,CAAA;AACR,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAsCD,IAAY,YAmBX;AAnBD,WAAY,YAAY;IACpB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;IACnB,oDAAoC,CAAA;IACpC,4CAA4B,CAAA;IAC5B,8CAA8B,CAAA;IAC9B,4CAA4B,CAAA;IAC5B,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,2BAAW,CAAA;AACf,CAAC,EAnBW,YAAY,4BAAZ,YAAY,QAmBvB;AAyBD,MAAa,OAAO;IAuBmB;IAtBnC,MAAM,GAA2B,EAAE,CAAC;IAKpC,kBAAkB,CAAS;IAC3B,IAAI,GAA0B,EAAE,CAAA;IAChC,WAAW,GAAiC,EAAE,CAAA;IAC9C,cAAc,GAAoC,EAAE,CAAA;IACpD,SAAS,GAA+B,EAAE,CAAA;IAC1C,QAAQ,GAAW,KAAK,CAAA;IACxB,QAAQ,CAAe;IAEvB,SAAS,GAA4B,EAAE,CAAA;IACvC,YAAY,GAA4B,EAAE,CAAA;IAC1C,eAAe,GAAuC,EAAE,CAAA;IAEhD,OAAO,CAAS;IAEjB,SAAS,CAAW;IAE3B,0CAA0C;IAC1C,YAAmC,OAAkB;QAAlB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AA;QACtC,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,YAAY,CAAA;QAC5C,IAAI,CAAC,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAA;QAClD,OAAO,IAAI,CAAC,OAAO,CAAA;IACvB,CAAC;IAEO,UAAU;QACd,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;IACpB,CAAC;IAED,IAAW,IAAI;QACX,OAAO,qBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACjC,CAAC;CACJ;AA9YD,0BA8YC"} \ No newline at end of file +{"version":3,"file":"Context.js","sourceRoot":"","sources":["../../../src/structures/@internal/Context.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CA2BmB;AAEnB,2CAAiD;AAEjD,qCAA6C;AAG7C,qCAAiC;AAEjC,8EAAqD;AAMrD,IAAY,eAGX;AAHD,WAAY,eAAe;IACvB,qDAAI,CAAA;IACJ,qDAAI,CAAA;AACR,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B;AAqCD,IAAY,YAmBX;AAnBD,WAAY,YAAY;IACpB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;IACnB,oDAAoC,CAAA;IACpC,4CAA4B,CAAA;IAC5B,8CAA8B,CAAA;IAC9B,4CAA4B,CAAA;IAC5B,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;IACnB,2BAAW,CAAA;AACf,CAAC,EAnBW,YAAY,4BAAZ,YAAY,QAmBvB;AAyBD,MAAa,OAAO;IAuBmB;IAtBnC,MAAM,GAA2B,EAAE,CAAC;IAIpC,kBAAkB,CAAS;IAC3B,IAAI,GAA0B,EAAE,CAAA;IAChC,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AAC,IAAI,CAAC,KAAK,CAAC,CAAA;YAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC9C,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;gBACnB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,GAAsB,CAAC,CAAC,CAAA;YAClE,CAAC;QACL,CAAC;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;IAEM,YAAY;QACf,IAAI,CAAC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAA;QACtC,IAAI,CAAC,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,YAAY,CAAA;QAC5C,IAAI,CAAC,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAA;QAClD,OAAO,IAAI,CAAC,OAAO,CAAA;IACvB,CAAC;IAEO,UAAU;QACd,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;IACpB,CAAC;IAED,IAAW,IAAI;QACX,OAAO,qBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACjC,CAAC;CACJ;AA9YD,0BA8YC"} \ No newline at end of file diff --git a/dist/structures/@internal/Logger.d.ts b/dist/structures/@internal/Logger.d.ts index 332a8a3920..4b18840d6a 100644 --- a/dist/structures/@internal/Logger.d.ts +++ b/dist/structures/@internal/Logger.d.ts @@ -1,4 +1,4 @@ -import clc from "chalk"; +import { ChalkInstance } from "chalk"; export declare enum LogPriority { /** * Does not log anything @@ -31,13 +31,13 @@ export declare enum LogType { export declare class Logger { static Priority: LogPriority; static readonly Colors: { - 2: clc.Chalk; - 4: clc.Chalk; - 0: clc.Chalk; - 1: clc.Chalk; - 3: clc.Chalk; + 2: ChalkInstance; + 4: ChalkInstance; + 0: ChalkInstance; + 1: ChalkInstance; + 3: ChalkInstance; }; - static readonly DateColor: clc.Chalk; + static readonly DateColor: ChalkInstance; private static log; private static clearLine; static debug(...args: unknown[]): void; diff --git a/dist/structures/@internal/Logger.d.ts.map b/dist/structures/@internal/Logger.d.ts.map index a63746fac5..59b0937618 100644 --- a/dist/structures/@internal/Logger.d.ts.map +++ b/dist/structures/@internal/Logger.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../../../src/structures/@internal/Logger.ts"],"names":[],"mappings":"AAKA,OAAO,GAAc,MAAM,OAAO,CAAA;AAIlC,oBAAY,WAAW;IACnB;;OAEG;IACH,IAAI,IAAA;IAEJ;;OAEG;IACH,OAAO,IAAA;IAEP;;OAEG;IACH,GAAG,IAAA;IAEH;;OAEG;IACH,MAAM,IAAA;IAEN;;OAEG;IACH,IAAI,IAAA;CACP;AAED,oBAAY,OAAO;IACf,IAAI,IAAA;IACJ,UAAU,IAAA;IACV,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,KAAK,IAAA;CACR;AAED,qBAAa,MAAM;IACf,OAAc,QAAQ,cAAqB;IAC3C,gBAAuB,MAAM;;;;;;MAMK;IAClC,gBAAuB,SAAS,YAAiB;IAEjD,OAAO,CAAC,MAAM,CAAC,GAAG;IASlB,OAAO,CAAC,MAAM,CAAC,SAAS;WAKV,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAIxB,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAIvB,UAAU,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAI7B,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAIxB,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAIvB,UAAU,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAK7B,UAAU,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAK7B,WAAW,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAK9B,gBAAgB,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAKnC,WAAW,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;CAI/C"} \ No newline at end of file +{"version":3,"file":"Logger.d.ts","sourceRoot":"","sources":["../../../src/structures/@internal/Logger.ts"],"names":[],"mappings":"AAKA,OAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAI1C,oBAAY,WAAW;IACnB;;OAEG;IACH,IAAI,IAAA;IAEJ;;OAEG;IACH,OAAO,IAAA;IAEP;;OAEG;IACH,GAAG,IAAA;IAEH;;OAEG;IACH,MAAM,IAAA;IAEN;;OAEG;IACH,IAAI,IAAA;CACP;AAED,oBAAY,OAAO;IACf,IAAI,IAAA;IACJ,UAAU,IAAA;IACV,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,KAAK,IAAA;CACR;AAED,qBAAa,MAAM;IACf,OAAc,QAAQ,cAAqB;IAC3C,gBAAuB,MAAM;;;;;;MAMa;IAC1C,gBAAuB,SAAS,gBAAiB;IAEjD,OAAO,CAAC,MAAM,CAAC,GAAG;IASlB,OAAO,CAAC,MAAM,CAAC,SAAS;WAKV,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAIxB,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAIvB,UAAU,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAI7B,KAAK,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAIxB,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAIvB,UAAU,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAK7B,UAAU,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAK7B,WAAW,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAK9B,gBAAgB,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;WAKnC,WAAW,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE;CAI/C"} \ No newline at end of file diff --git a/dist/structures/@internal/Logger.js b/dist/structures/@internal/Logger.js index 783ee5d929..bb3688be16 100644 --- a/dist/structures/@internal/Logger.js +++ b/dist/structures/@internal/Logger.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/structures/@internal/Logger.js.map b/dist/structures/@internal/Logger.js.map index e27f603fe7..5399ca1e2f 100644 --- a/dist/structures/@internal/Logger.js.map +++ b/dist/structures/@internal/Logger.js.map @@ -1 +1 @@ -{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../../src/structures/@internal/Logger.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,kDAAkC;AAClC,qCAAgC;AAChC,+BAA8B;AAE9B,IAAY,WAyBX;AAzBD,WAAY,WAAW;IACnB;;OAEG;IACH,6CAAI,CAAA;IAEJ;;OAEG;IACH,mDAAO,CAAA;IAEP;;OAEG;IACH,2CAAG,CAAA;IAEH;;OAEG;IACH,iDAAM,CAAA;IAEN;;OAEG;IACH,6CAAI,CAAA;AACR,CAAC,EAzBW,WAAW,2BAAX,WAAW,QAyBtB;AAED,IAAY,OAMX;AAND,WAAY,OAAO;IACf,qCAAI,CAAA;IACJ,iDAAU,CAAA;IACV,uCAAK,CAAA;IACL,qCAAI,CAAA;IACJ,uCAAK,CAAA;AACT,CAAC,EANW,OAAO,uBAAP,OAAO,QAMlB;AAED,MAAa,MAAM;IACR,MAAM,CAAC,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAA;IACpC,MAAM,CAAU,MAAM,GAAG;QAC5B,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,eAAG,CAAC,WAAW,CAAC,IAAI;QACrC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,eAAG,CAAC,GAAG,CAAC,IAAI;QAC7B,CAAC,OAAO,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WAAW,CAAC,GAAG,IAAe;QACxC,IAAI,CAAC,SAAS,EAAE,CAAA;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;IAC9B,CAAC;;AApEL,wBAqEC"} \ No newline at end of file +{"version":3,"file":"Logger.js","sourceRoot":"","sources":["../../../src/structures/@internal/Logger.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,kDAA0C;AAC1C,qCAAgC;AAChC,+BAA8B;AAE9B,IAAY,WAyBX;AAzBD,WAAY,WAAW;IACnB;;OAEG;IACH,6CAAI,CAAA;IAEJ;;OAEG;IACH,mDAAO,CAAA;IAEP;;OAEG;IACH,2CAAG,CAAA;IAEH;;OAEG;IACH,iDAAM,CAAA;IAEN;;OAEG;IACH,6CAAI,CAAA;AACR,CAAC,EAzBW,WAAW,2BAAX,WAAW,QAyBtB;AAED,IAAY,OAMX;AAND,WAAY,OAAO;IACf,qCAAI,CAAA;IACJ,iDAAU,CAAA;IACV,uCAAK,CAAA;IACL,qCAAI,CAAA;IACJ,uCAAK,CAAA;AACT,CAAC,EANW,OAAO,uBAAP,OAAO,QAMlB;AAED,MAAa,MAAM;IACR,MAAM,CAAC,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAA;IACpC,MAAM,CAAU,MAAM,GAAG;QAC5B,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,eAAG,CAAC,WAAW,CAAC,IAAI;QACrC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,eAAG,CAAC,GAAG,CAAC,IAAI;QAC7B,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,eAAG,CAAC,MAAM,CAAC,IAAI;QAC/B,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,eAAG,CAAC,OAAO,CAAC,IAAI;QACtC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,eAAG,CAAC,IAAI,CAAC,IAAI;KACS,CAAA;IACnC,MAAM,CAAU,SAAS,GAAG,eAAG,CAAC,KA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AAG,IAAI,CAAC,CAAA;IAC7D,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,GAAG,IAAe;QAClC,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,EAAE,OAAO,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAA;IACrD,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,GAAG,IAAe;QACjC,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAA;IACxD,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,GAAG,IAAe;QACvC,IAAI,CAAC,SAAS,EAAE,CAAA;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAA;IAC7B,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,GAAG,IAAe;QACvC,IAAI,CAAC,SAAS,EAAE,CAAA;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAA;IAC7B,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,GAAG,IAAe;QACxC,IAAI,CAAC,SAAS,EAAE,CAAA;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAC,gBAAgB,CAAC,GAAG,IAAe;QAC7C,IAAI,CAAC,SAAS,EAAE,CAAA;QAChB,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAA;IACnC,CAAC;IAEM,MAAM,CAAC,WAAW,CAAC,GAAG,IAAe;QACxC,IAAI,CAAC,SAAS,EAAE,CAAA;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;IAC9B,CAAC;;AApEL,wBAqEC"} \ No newline at end of file diff --git a/dist/structures/@internal/NativeFunction.js b/dist/structures/@internal/NativeFunction.js index 891e039b52..88676d44fc 100644 --- a/dist/structures/@internal/NativeFunction.js +++ b/dist/structures/@internal/NativeFunction.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.NativeFunction = exports.ArgType = void 0; diff --git a/dist/structures/@internal/Output.js b/dist/structures/@internal/Output.js index 6668c2ab8a..fc80d3857c 100644 --- a/dist/structures/@internal/Output.js +++ b/dist/structures/@internal/Output.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Output = void 0; diff --git a/dist/structures/@internal/Return.js b/dist/structures/@internal/Return.js index a48a27640a..36a81bae9b 100644 --- a/dist/structures/@internal/Return.js +++ b/dist/structures/@internal/Return.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Return = exports.ReturnType = void 0; diff --git a/dist/structures/base/ApplicationCommand.js b/dist/structures/base/ApplicationCommand.js index 486d3b2d52..61c1225ba3 100644 --- a/dist/structures/base/ApplicationCommand.js +++ b/dist/structures/base/ApplicationCommand.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ApplicationCommand = void 0; diff --git a/dist/structures/base/BaseCommand.d.ts b/dist/structures/base/BaseCommand.d.ts index 8d09961aa8..ab3d250e03 100644 --- a/dist/structures/base/BaseCommand.d.ts +++ b/dist/structures/base/BaseCommand.d.ts @@ -1,28 +1,90 @@ import { ClientEvents, Interaction } from "discord.js"; -import { Context } from ".."; import { IExtendedCompilationResult, ForgeClient } from "../../core"; +import { Context } from ".."; export type CommandType = keyof ClientEvents; export type RawExecutableCode = (ctx: Context) => Promise; -export type CommandInteractionTypes = "button" | "modal" | "slashCommand" | "autocomplete" | "contextMenu" | "selectMenu" | "activityCommand"; +export type CommandInteractionTypes = "button" | "modal" | "slashCommand" | "autocomplete" | "contextMenu" | "userContextMenu" | "messageContextMenu" | "selectMenu" | "userSelectMenu" | "roleSelectMenu" | "channelSelectMenu" | "mentionableSelectMenu" | "activityCommand" | "messageComponent"; +export declare enum PrefixMode { + /** + * The command requires a prefix to be executed. This is the default mode. + */ + Required = 0, + /** + * The command can be executed with or without a prefix. + */ + Optional = 1, + /** + * The command requires no prefix to be executed (unprefixed). + */ + None = 2 +} export interface IBaseCommand { + /** + * The name for this command. Used as custom ID filter for `interactionCreate` events. + */ name?: string; + /** + * The event type the bot will listen to. + */ type: T; + /** + * The code to run when the event fired. + */ code: string; + /** + * Whether this command can only be executed on guilds. + * + * @default false + */ guildOnly?: boolean; + /** + * The prefix mode to use for this command. + * + * @default PrefixMode.Required + */ + prefixMode?: PrefixMode; + /** + * Whether the command can be executed without a prefix. + * + * @deprecated This property is considered legacy, {@link prefixMode} is preferred instead. + * @default false + */ unprefixed?: boolean; + /** + * The aliases for this command. + */ aliases?: string[]; + /** + * The interaction types to restrict execution of the `interactionCreate` event to. + */ allowedInteractionTypes?: CommandInteractionTypes[]; + /** + * Allows the bot to execute this event triggered by other bots (and itself). + * + * @default false + */ allowBots?: boolean; + /** + * Whether to disable all possible console errors for this command. + * + * @default false + */ disableConsoleErrors?: boolean; - [x: PropertyKey]: unknown; /** - * @private Do not define + * Whether the command name and aliases should be case-insensitive, this only affects letters. + * + * @default true + */ + nameCaseInsensitive?: boolean; + /** + * @private Do not define. */ path?: string; /** - * @private Do not define + * @private Do not define. */ unloadable?: boolean; + [x: PropertyKey]: unknown; } export interface ICompiledCommand { name?: IExtendedCompilationResult; diff --git a/dist/structures/base/BaseCommand.d.ts.map b/dist/structures/base/BaseCommand.d.ts.map index c97bd9efc4..905b333cf4 100644 --- a/dist/structures/base/BaseCommand.d.ts.map +++ b/dist/structures/base/BaseCommand.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"BaseCommand.d.ts","sourceRoot":"","sources":["../../../src/structures/base/BaseCommand.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAA;AAC5B,OAAO,EAAE,0BAA0B,EAAY,WAAW,EAAE,MAAM,YAAY,CAAA;AAG9E,MAAM,MAAM,WAAW,GAAG,MAAM,YAAY,CAAA;AAC5C,MAAM,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAA;AAE3E,MAAM,MAAM,uBAAuB,GAC/B,QAAQ,GACR,OAAO,GACP,cAAc,GACd,cAAc,GACd,aAAa,GACb,YAAY,GACZ,iBAAiB,CAAA;AAErB,MAAM,WAAW,YAAY,CAAC,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,CAAC,CAAA;IACP,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,uBAAuB,CAAC,EAAE,uBAAuB,EAAE,CAAA;IACnD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,CAAC,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC7B,IAAI,CAAC,EAAE,0BAA0B,CAAA;IACjC,IAAI,EAAE,0BAA0B,CAAA;CACnC;AAGD,qBAAa,WAAW,CAAC,CAAC;aAIa,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IAHxD,SAAgB,QAAQ,EAAE,gBAAgB,CAAA;IAC1C,SAAgB,EAAE,SAAO;gBAEU,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC;IAOjD,OAAO,CAAC,CAAC,EAAE,MAAM;IAKjB,QAAQ;WAKD,IAAI,CAAC,IAAI,EAAE,MAAM;IAO/B,IAAW,IAAI,uBAEd;IAED,IAAW,IAAI,MAEd;IAEM,wBAAwB,CAAC,MAAM,EAAE,WAAW;IAI5C,sBAAsB,CAAC,CAAC,EAAE,WAAW;CAsB/C"} \ No newline at end of file +{"version":3,"file":"BaseCommand.d.ts","sourceRoot":"","sources":["../../../src/structures/base/BaseCommand.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACtD,OAAO,EAAE,0BAA0B,EAAY,WAAW,EAAE,MAAM,YAAY,CAAA;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAA;AAE5B,MAAM,MAAM,WAAW,GAAG,MAAM,YAAY,CAAA;AAC5C,MAAM,MAAM,iBAAiB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAA;AAE3E,MAAM,MAAM,uBAAuB,GAC7B,QAAQ,GACR,OAAO,GACP,cAAc,GACd,cAAc,GACd,aAAa,GACb,iBAAiB,GACjB,oBAAoB,GACpB,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,mBAAmB,GACnB,uBAAuB,GACvB,iBAAiB,GACjB,kBAAkB,CAAA;AAExB,oBAAY,UAAU;IAClB;;OAEG;IACH,QAAQ,IAAA;IACR;;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Ed;IAEM,wBAAwB,CAAC,MAAM,EAAE,WAAW;IAI5C,sBAAsB,CAAC,CAAC,EAAE,WAAW;CA6B/C"} \ No newline at end of file diff --git a/dist/structures/base/BaseCommand.js b/dist/structures/base/BaseCommand.js index 79ee039aa8..daf3100326 100644 --- a/dist/structures/base/BaseCommand.js +++ b/dist/structures/base/BaseCommand.js @@ -1,12 +1,27 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); -exports.BaseCommand = void 0; +exports.BaseCommand = exports.PrefixMode = void 0; const core_1 = require("../../core"); const ForgeError_1 = require("../forge/ForgeError"); +var PrefixMode; +(function (PrefixMode) { + /** + * The command requires a prefix to be executed. This is the default mode. + */ + PrefixMode[PrefixMode["Required"] = 0] = "Required"; + /** + * The command can be executed with or without a prefix. + */ + PrefixMode[PrefixMode["Optional"] = 1] = "Optional"; + /** + * The command requires no prefix to be executed (unprefixed). + */ + PrefixMode[PrefixMode["None"] = 2] = "None"; +})(PrefixMode || (exports.PrefixMode = PrefixMode = {})); let id = 0; class BaseCommand { data; @@ -45,13 +60,20 @@ class BaseCommand { matchesInteractionType(i) { return (!this.data.name || ("customId" in i && - this.data.name === i.customId)) && (!this.data.allowedInteractionTypes?.length || (this.data.allowedInteractionTypes.some(type => (type === "slashCommand" && i.isChatInputCommand()) || - (type === "button" && i.isButton()) || - (type === "selectMenu" && i.isAnySelectMenu()) || + this.data.name === i.customId)) && (!this.data.allowedInteractionTypes?.length || (this.data.allowedInteractionTypes.some(type => (type === "button" && i.isButton()) || (type === "modal" && i.isModalSubmit()) || + (type === "slashCommand" && i.isChatInputCommand()) || (type === "autocomplete" && i.isAutocomplete()) || + (type === "selectMenu" && i.isAnySelectMenu()) || + (type === "userSelectMenu" && i.isUserSelectMenu()) || + (type === "roleSelectMenu" && i.isRoleSelectMenu()) || + (type === "channelSelectMenu" && i.isChannelSelectMenu()) || + (type === "mentionableSelectMenu" && i.isMentionableSelectMenu()) || (type === "contextMenu" && i.isContextMenuCommand()) || - (type === "activityCommand" && i.isPrimaryEntryPointCommand())))); + (type === "userContextMenu" && i.isUserContextMenuCommand()) || + (type === "messageContextMenu" && i.isMessageContextMenuCommand()) || + (type === "activityCommand" && i.isPrimaryEntryPointCommand()) || + (type === "messageComponent" && i.isMessageComponent())))); } } exports.BaseCommand = BaseCommand; diff --git a/dist/structures/base/BaseCommand.js.map b/dist/structures/base/BaseCommand.js.map index 5aaefb55b2..78afdff14d 100644 --- a/dist/structures/base/BaseCommand.js.map +++ b/dist/structures/base/BaseCommand.js.map @@ -1 +1 @@ -{"version":3,"file":"BaseCommand.js","sourceRoot":"","sources":["../../../src/structures/base/BaseCommand.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAIF,qCAA8E;AAC9E,oDAA2D;AA0C3D,IAAI,EAAE,GAAG,CAAC,CAAA;AACV,MAAa,WAAW;IAIe;IAHnB,QAAQ,CAAkB;IAC1B,EAAE,GAAG,EAAE,EAAE,CAAA;IAEzB,YAAmC,IAAqB;QAArB,SAAI,GAAJ,IAAI,CAAiB;QACpD,IAAI,CAAC,QAAQ,GAAG;YACZ,IAAI,EAAE,eAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,IAAI,EAAE,eAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;SACpD,CAAA;IACL,CAAC;IAEM,OAAO,CAAC,CAAS;QACpB,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAA;QAClB,OAAO,IAAI,CAAA;IACf,CAAC;IAEM,QAAQ;QACX,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;YACf,MAAM,IAAI,uBAAU,CAAC,IAAI,EAAE,sBAAS,CAAC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Aa,IAAI,CAAC,CAAC,oBAAoB,EAAE,CAAC;YACpD,CAAC,IAAI,KAAK,iBAAiB,IAAI,CAAC,CAAC,0BAA0B,EAAE,CAAC,CACrE,CACJ,CACJ,CAAA;IACL,CAAC;CACJ;AA9DD,kCA8DC"} \ No newline at end of file +{"version":3,"file":"BaseCommand.js","sourceRoot":"","sources":["../../../src/structures/base/BaseCommand.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;AAGF,qCAA8E;AAC9E,oDAA2D;AAsB3D,IAAY,UAaX;AAbD,WAAY,UAAU;IAClB;;OAEG;IACH,mDAAQ,CAAA;IACR;;OAEG;IACH,mDAAQ,CAAA;IACR;;OAEG;IACH,2CAAI,CAAA;AACR,CAAC,EAbW,UAAU,0BAAV,UAAU,QAarB;AAwFD,IAAI,EAAE,GAAG,CAAC,CAAA;AACV,MAAa,WAAW;IAIe;IAHnB,QAAQ,CAAkB;IAC1B,EAAE,GAAG,EAAE,EAAE,CAAA;IAEzB,YAAmC,IAAqB;QAArB,SAAI,GAAJ,IAAI,CAAiB;QACpD,IAAI,CAAC,QAAQ,GAAG;YACZ,IAAI,EAAE,eAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;YACjD,IAAI,EAAE,eAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;SACpD,CAAA;IACL,CAAC;IAEM,OAAO,CAAC,CAAS;QACpB,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAA;QAClB,OAAO,IAAI,CAAA;IACf,CAAC;IAEM,QAAQ;QACX,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI;YACf,MAAM,IAAI,uBAAU,CAAC,IAAI,EAAE,sBAAS,CAAC,kBAAkB,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAChF,CAAC;IAEM,MAAM,CAAC,I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CAAC,gBAAgB,EAAE,CAAC;YACnD,CAAC,IAAI,KAAK,mBAAmB,IAAI,CAAC,CAAC,mBAAmB,EAAE,CAAC;YACzD,CAAC,IAAI,KAAK,uBAAuB,IAAI,CAAC,CAAC,uBAAuB,EAAE,CAAC;YACjE,CAAC,IAAI,KAAK,aAAa,IAAI,CAAC,CAAC,oBAAoB,EAAE,CAAC;YACpD,CAAC,IAAI,KAAK,iBAAiB,IAAI,CAAC,CAAC,wBAAwB,EAAE,CAAC;YAC5D,CAAC,IAAI,KAAK,oBAAoB,IAAI,CAAC,CAAC,2BAA2B,EAAE,CAAC;YAClE,CAAC,IAAI,KAAK,iBAAiB,IAAI,CAAC,CAAC,0BAA0B,EAAE,CAAC;YAC9D,CAAC,IAAI,KAAK,kBAAkB,IAAI,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAC9D,CACJ,CACJ,CAAA;IACT,CAAC;CACJ;AArED,kCAqEC"} \ No newline at end of file diff --git a/dist/structures/base/BaseEventHandler.d.ts b/dist/structures/base/BaseEventHandler.d.ts index 7276cf329e..49ed1be2b7 100644 --- a/dist/structures/base/BaseEventHandler.d.ts +++ b/dist/structures/base/BaseEventHandler.d.ts @@ -12,7 +12,7 @@ export interface IEvent { export declare class BaseEventHandler, T extends keyof Events = keyof Events> { readonly data: IEvent; constructor(data: IEvent); - get listener(): (this: ForgeClient, ...args: AssertArgs) => void | Promise; + get listener(): (this: ForgeClient, ...args: AssertArgs) => Promise | void; get description(): string; get name(): T; register(client: ForgeClient): void; diff --git a/dist/structures/base/BaseEventHandler.d.ts.map b/dist/structures/base/BaseEventHandler.d.ts.map index 4691d69df2..54113bc409 100644 --- a/dist/structures/base/BaseEventHandler.d.ts.map +++ b/dist/structures/base/BaseEventHandler.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"BaseEventHandler.d.ts","sourceRoot":"","sources":["../../../src/structures/base/BaseEventHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAgB,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEzD,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,EAAE,GAAG,CAAC,GAAG,KAAK,CAAA;AAE3D,MAAM,WAAW,MAAM,CAAC,MAAM,EAAE,CAAC,SAAS,MAAM,MAAM;IAClD,IAAI,EAAE,CAAC,CAAA;IACP,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IACrF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,qBAAa,gBAAgB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,SAAS,MAAM,MAAM,GAAG,MAAM,MAAM;aAChE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;gBAAvB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAE1D,IAAW,QAAQ,gFAElB;IAED,IAAW,WAAW,WAErB;IAED,IAAW,IAAI,MAEd;IAEM,QAAQ,CAAC,MAAM,EAAE,WAAW;CACtC"} \ No newline at end of file +{"version":3,"file":"BaseEventHandler.d.ts","sourceRoot":"","sources":["../../../src/structures/base/BaseEventHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAgB,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEzD,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,EAAE,GAAG,CAAC,GAAG,KAAK,CAAA;AAE3D,MAAM,WAAW,MAAM,CAAC,MAAM,EAAE,CAAC,SAAS,MAAM,MAAM;IAClD,IAAI,EAAE,CAAC,CAAA;IACP,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IACrF,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAChC,UAAU,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,qBAAa,gBAAgB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,SAAS,MAAM,MAAM,GAAG,MAAM,MAAM;aAChE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;gBAAvB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAE1D,IAAW,QAAQ,WATF,WAAW,qCAAqC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAWpF;IAED,IAAW,WAAW,WAErB;IAED,IAAW,IAAI,MAEd;IAEM,QAAQ,CAAC,MAAM,EAAE,WAAW;CACtC"} \ No newline at end of file diff --git a/dist/structures/base/BaseEventHandler.js b/dist/structures/base/BaseEventHandler.js index 6d59631811..993c75c4c2 100644 --- a/dist/structures/base/BaseEventHandler.js +++ b/dist/structures/base/BaseEventHandler.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseEventHandler = void 0; diff --git a/dist/structures/extended/DiscordEventHandler.js b/dist/structures/extended/DiscordEventHandler.js index 1985c9ba2e..e732c62758 100644 --- a/dist/structures/extended/DiscordEventHandler.js +++ b/dist/structures/extended/DiscordEventHandler.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DiscordEventHandler = void 0; diff --git a/dist/structures/forge/ForgeError.js b/dist/structures/forge/ForgeError.js index 974d3db078..0e25cc1508 100644 --- a/dist/structures/forge/ForgeError.js +++ b/dist/structures/forge/ForgeError.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ForgeError = exports.ErrorType = void 0; diff --git a/dist/structures/forge/ForgeExtension.js b/dist/structures/forge/ForgeExtension.js index 60f471bf45..c83d2bd680 100644 --- a/dist/structures/forge/ForgeExtension.js +++ b/dist/structures/forge/ForgeExtension.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/structures/forge/ForgeExtension.js.map b/dist/structures/forge/ForgeExtension.js.map index 84d1439a58..59958094eb 100644 --- a/dist/structures/forge/ForgeExtension.js.map +++ b/dist/structures/forge/ForgeExtension.js.map @@ -1 +1 @@ -{"version":3,"file":"ForgeExtension.js","sourceRoot":"","sources":["../../../src/structures/forge/ForgeExtension.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAGF,wFAA+D;AAC/D,6CAAoE;AACpE,gDAA4C;AAC5C,6CAAoD;AAEpD,MAAsB,cAAc;IACxB,SAAS,CAAqC;IAMtD;;OAEG;IACI,cAAc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I,EAAE,IAAI,CAAC,CAAA;IAChD,CAAC;IAED,iBAAiB;QACb,IAAI,IAAI,CAAC,SAAS,KAAK,IAAI;YACvB,OAAO,IAAI,CAAC,SAAS,CAAA;QAEzB,MAAM,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAA;QAC7C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,MAAM,EAAC,CAAC,GAAG,GAAG,EAAC,CAAC,EAAE,EAAE;YAC3C,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;YACnB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;YACpC,IAAI,KAAK,YAAY,6BAAkB;gBACnC,OAAO,IAAI,CAAC,SAAS,GAAG,KAAK,CAAA;SACpC;QAED,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,CAAA;IAChC,CAAC;CACJ;AAvED,wCAuEC"} \ No newline at end of file +{"version":3,"file":"ForgeExtension.js","sourceRoot":"","sources":["../../../src/structures/forge/ForgeExtension.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAGF,wFAA+D;AAC/D,6CAAoE;AACpE,gDAA4C;AAC5C,6CAAoD;AAEpD,MAAsB,cAAc;IACxB,SAAS,CAAqC;IAMtD;;OAEG;IACI,cAAc,CAAW;IAEhC;;OAEG;IACI,iBAAiB,CAAW;IAIzB,eAAe,CAAC,MAAmB;QACzC,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAA;QAC9B,MAAM,CAAC,GAAG,IAAA,0BAAgB,EAAC,OAAO,CAAC,CAAA;QAEnC,IAAI,IAAI,CAAC,cAAc,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,0BAAgB,EAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YAC3F,MAAM,IA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AC,EAAE,EAAE,CAAC;YAC5C,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;YACnB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;YACpC,IAAI,KAAK,YAAY,6BAAkB;gBACnC,OAAO,IAAI,CAAC,SAAS,GAAG,KAAK,CAAA;QACrC,CAAC;QAED,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,CAAA;IAChC,CAAC;CACJ;AAvED,wCAuEC"} \ No newline at end of file diff --git a/dist/structures/forge/ForgeFunction.d.ts b/dist/structures/forge/ForgeFunction.d.ts index 483190b238..42717e6a11 100644 --- a/dist/structures/forge/ForgeFunction.d.ts +++ b/dist/structures/forge/ForgeFunction.d.ts @@ -1,4 +1,4 @@ -import { ArgType, Context, IArg, NativeFunction } from ".."; +import { ArgType, CompiledFunction, Context, IArg, NativeFunction } from ".."; import { IExtendedCompilationResult } from "../../core"; import { Return, ReturnType } from "../@internal/Return"; export interface IForgeFunctionParam { @@ -6,11 +6,13 @@ export interface IForgeFunctionParam { type?: ArgType | keyof typeof ArgType; required?: boolean; rest?: boolean; + [x: PropertyKey]: unknown; } export interface IForgeFunction { name: string; params?: Array; firstParamCondition?: boolean; + [x: PropertyKey]: unknown; brackets?: boolean; code: string; path?: string; @@ -21,6 +23,6 @@ export declare class ForgeFunction { constructor(data: IForgeFunction); populate(): void; asNative(): NativeFunction>[], any>; - call(ctx: Context, args: string[]): Promise | Return>; + call(ctx: Context, fn: CompiledFunction, args: string[]): Promise | Return | Return>; } //# sourceMappingURL=ForgeFunction.d.ts.map \ No newline at end of file diff --git a/dist/structures/forge/ForgeFunction.d.ts.map b/dist/structures/forge/ForgeFunction.d.ts.map index 2cee160e10..af047cd122 100644 --- a/dist/structures/forge/ForgeFunction.d.ts.map +++ b/dist/structures/forge/ForgeFunction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ForgeFunction.d.ts","sourceRoot":"","sources":["../../../src/structures/forge/ForgeFunction.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAA2C,cAAc,EAAE,MAAM,IAAI,CAAA;AACpG,OAAO,EAAE,0BAA0B,EAAyB,MAAM,YAAY,CAAA;AAG9E,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAGxD,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,OAAO,OAAO,CAAA;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,mBAAmB,CAAC,CAAA;IAC5C,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,qBAAa,aAAa;aAGa,IAAI,EAAE,cAAc;IAFhD,QAAQ,CAAC,EAAE,0BAA0B,CAAA;gBAET,IAAI,EAAE,cAAc;IAKhD,QAAQ;IAIR,QAAQ;IAoCT,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;CA8B1C"} \ No newline at end of file +{"version":3,"file":"ForgeFunction.d.ts","sourceRoot":"","sources":["../../../src/structures/forge/ForgeFunction.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,IAAI,EAA2C,cAAc,EAAE,MAAM,IAAI,CAAA;AACtH,OAAO,EAAE,0BAA0B,EAAyB,MAAM,YAAY,CAAA;AAE9E,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAGxD,MAAM,WAAW,mBAAmB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,OAAO,OAAO,CAAA;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,CAAC,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;CAC5B;AAED,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,mBAAmB,CAAC,CAAA;IAC5C,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,CAAC,CAAC,EAAE,WAAW,GAAG,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,qBAAa,aAAa;aAGa,IAAI,EAAE,cAAc;IAFhD,QAAQ,CAAC,EAAE,0BAA0B,CAAA;gBAET,IAAI,EAAE,cAAc;IAKhD,QAAQ;IAIR,QAAQ;IAiCT,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,EAAE;CAiChE"} \ No newline at end of file diff --git a/dist/structures/forge/ForgeFunction.js b/dist/structures/forge/ForgeFunction.js index 1c8f153e38..d097931e81 100644 --- a/dist/structures/forge/ForgeFunction.js +++ b/dist/structures/forge/ForgeFunction.js @@ -1,16 +1,12 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", { value: true }); exports.ForgeFunction = void 0; const __1 = require(".."); const core_1 = require("../../core"); -const isTrue_1 = __importDefault(require("../../functions/isTrue")); const managers_1 = require("../../managers"); const Return_1 = require("../@internal/Return"); const ForgeError_1 = require("./ForgeError"); @@ -42,42 +38,40 @@ class ForgeFunction { async execute(ctx, args) { if (!this.fn.data.unwrap) { if (!this.data.fields || this.data.fields.length === 0) { - return outer.call(ctx, args ?? []); + return outer.call(ctx, this, args ?? []); } const condition = await this["resolveCondition"](ctx, this.data.fields[0]); if (!this["isValidReturnType"](condition)) return condition; - else if (!(0, isTrue_1.default)(condition)) - return this.stop(); - // eslint-disable-next-line no-unsafe-optional-chaining const params = await this["resolveMultipleArgs"](ctx, ...this.data.fields.slice(1).map((_, i) => i + 1)); if (!this["isValidReturnType"](params.return)) return params.return; - return outer.call(ctx, params.args); + return outer.call(ctx, this, [condition.value, ...params.args]); } else { - return outer.call(ctx, args ?? []); + return outer.call(ctx, this, args ?? []); } } }); } - async call(ctx, args) { + async call(ctx, fn, args) { this.compiled ??= core_1.Compiler.compile(this.data.code, this.data.path); const params = Array.isArray(this.data.params) ? this.data.params : []; const required = params.filter(param => typeof param === "string" || param.required !== false); if (args.length < required.length) return new Return_1.Return(Return_1.ReturnType.Error, new ForgeError_1.ForgeError(null, ForgeError_1.ErrorType.Custom, `Calling custom function ${this.data.name} requires ${required.length} argument${required.length > 1 ? "s" : ""}, received ${args.length}`)); + const functionCtx = ctx.clone({ + doNotSend: true, + allowTopLevelReturn: true, + data: this.compiled + }); for (let i = 0, len = params.length; i < len; i++) { const param = params[i]; const name = typeof param === "string" ? param : param.name; - ctx.setEnvironmentKey(name, args[i]); + functionCtx.setEnvironmentKey(name, args[i]); } - const result = await core_1.Interpreter.run(ctx.clone({ - doNotSend: true, - allowTopLevelReturn: true, - data: this.compiled - })); - return new Return_1.Return(result === null ? Return_1.ReturnType.Stop : Return_1.ReturnType.Success, result); + const result = await core_1.Interpreter.run(functionCtx); + return result === null ? fn.stop() : fn.success(result); } } exports.ForgeFunction = ForgeFunction; diff --git a/dist/structures/forge/ForgeFunction.js.map b/dist/structures/forge/ForgeFunction.js.map index 034bab5516..b6ae67576a 100644 --- a/dist/structures/forge/ForgeFunction.js.map +++ b/dist/structures/forge/ForgeFunction.js.map @@ -1 +1 @@ -{"version":3,"file":"ForgeFunction.js","sourceRoot":"","sources":["../../../src/structures/forge/ForgeFunction.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,0BAAoG;AACpG,qCAA8E;AAC9E,oEAA2C;AAC3C,6CAAgD;AAChD,gDAAwD;AACxD,6CAAoD;AAkBpD,MAAa,aAAa;IAGa;IAF5B,QAAQ,CAA6B;IAE5C,YAAmC,IAAoB;QAApB,SAAI,GAAJ,IAAI,CAAgB;QACnD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;YAC3B,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;IACxB,CAAC;IAEM,QAAQ;QACX,0BAAe,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;IACxC,CAAC;IAEM,QAAQ;QACX,MAAM,KAAK,GAAG,IAAI,CAAA;QAClB,OAAO,IAAI,kBAAc,CAAC;YACtB,IAAI,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YAC1B,WAAW,EAAE,iBAAiB;YAC9B,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAQ;YAC7E,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;gBAC7D,IAAI,EAAE,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;gBACxC,IAAI,EAAE,OAAO,C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IAAI,uBAAU,CACV,IAAI,EACJ,sBAAS,CAAC,MAAM,EAChB,2BAA2B,IAAI,CAAC,IAAI,CAAC,IAAI,aAAa,QAAQ,CAAC,MAAM,YAAY,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,cAAc,IAAI,CAAC,MAAM,EAAE,CAC7I,CACJ,CAAA;QAEL,MAAM,WAAW,GAAG,GAAG,CAAC,KAAK,CAAC;YAC1B,SAAS,EAAE,IAAI;YACf,mBAAmB,EAAE,IAAI;YACzB,IAAI,EAAE,IAAI,CAAC,QAAQ;SACtB,CAAC,CAAA;QAEF,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAChD,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;YACvB,MAAM,IAAI,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAA;YAE3D,WAAW,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;QAChD,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,kBAAW,CAAC,GAAG,CAAC,WAAW,CAAC,CAAA;QAEjD,OAAO,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IAC3D,CAAC;CACJ;AA9ED,sCA8EC"} \ No newline at end of file diff --git a/dist/structures/index.js b/dist/structures/index.js index 69e3531580..0e4d339cd9 100644 --- a/dist/structures/index.js +++ b/dist/structures/index.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; diff --git a/dist/structures/trackers/InviteTracker.d.ts b/dist/structures/trackers/InviteTracker.d.ts index 59c16a0d7e..f5bf127f43 100644 --- a/dist/structures/trackers/InviteTracker.d.ts +++ b/dist/structures/trackers/InviteTracker.d.ts @@ -1,4 +1,4 @@ -import { ClientEvents, Collection, Guild, GuildMember, Invite, PartialGuildMember } from "discord.js"; +import { ClientEvents, Collection, GatewayIntentsString, Guild, GuildMember, Invite, PartialGuildMember } from "discord.js"; import { ForgeClient } from "../../core"; export interface IGuildInviter { inviterId: string; @@ -11,7 +11,7 @@ export interface IGuildInvite { } export declare class InviteTracker { static readonly Invites: Collection; - static readonly RequiredIntents: ("Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls")[]; + static readonly RequiredIntents: GatewayIntentsString[]; static readonly RequiredEvents: (keyof ClientEvents)[]; /** * Guild => invited user => invited by diff --git a/dist/structures/trackers/InviteTracker.d.ts.map b/dist/structures/trackers/InviteTracker.d.ts.map index b5de894b77..95cb1e4105 100644 --- a/dist/structures/trackers/InviteTracker.d.ts.map +++ b/dist/structures/trackers/InviteTracker.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"InviteTracker.d.ts","sourceRoot":"","sources":["../../../src/structures/trackers/InviteTracker.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,YAAY,EACZ,UAAU,EAIV,KAAK,EACL,WAAW,EACX,MAAM,EACN,kBAAkB,EACrB,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAMxC,MAAM,WAAW,aAAa;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACf;AAED,qBAAa,aAAa;IACtB,gBAAuB,OAAO,qCAA2C;IAEzE,gBAAuB,eAAe,ifAAuE;IAE7G,gBAAuB,cAAc,yBAQV;IAE3B;;OAEG;IACH,gBAAuB,QAAQ,wDAA8D;IAE7F,OAAO,CAAC,MAAM,CAAC,IAAI;WAYL,cAAc,CAAC,KAAK,EAAE,KAAK;WAI3B,OAAO,CAAC,KAAK,EAAE,KAAK;WAKd,QAAQ,CAAC,MAAM,EAAE,WAAW;WAM5B,KAAK,CAAC,KAAK,EAAE,KAAK;WAuBlB,mBAAmB,CAAC,MAAM,EAAE,MAAM;WAgBlC,mBAAmB,CAAC,MAAM,EAAE,MAAM;WAOxC,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,kBAAkB;WAIhD,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,kBAAkB;CAsC3E"} \ No newline at end of file +{"version":3,"file":"InviteTracker.d.ts","sourceRoot":"","sources":["../../../src/structures/trackers/InviteTracker.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,YAAY,EACZ,UAAU,EAGV,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,MAAM,EACN,kBAAkB,EACrB,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAMxC,MAAM,WAAW,aAAa;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACf;AAED,qBAAa,aAAa;IACtB,gBAAuB,OAAO,qCAA2C;IAEzE,gBAAuB,eAAe,EAAiD,oBAAoB,EAAE,CAAA;IAE7G,gBAAuB,cAAc,EAQhC,CAAC,MAAM,YAAY,CAAC,EAAE,CAAA;IAE3B;;OAEG;IACH,gBAAuB,QAAQ,wDAA8D;IAE7F,OAAO,CAAC,MAAM,CAAC,IAAI;WAYL,cAAc,CAAC,KAAK,EAAE,KAAK;WAI3B,OAAO,CAAC,KAAK,EAAE,KAAK;WAKd,QAAQ,CAAC,MAAM,EAAE,WAAW;WAM5B,KAAK,CAAC,KAAK,EAAE,KAAK;WAuBlB,mBAAmB,CAAC,MAAM,EAAE,MAAM;WAgBlC,mBAAmB,CAAC,MAAM,EAAE,MAAM;WAOxC,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,kBAAkB;WAIhD,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,kBAAkB;CAsC3E"} \ No newline at end of file diff --git a/dist/structures/trackers/InviteTracker.js b/dist/structures/trackers/InviteTracker.js index cc5cc73540..3bda72ab41 100644 --- a/dist/structures/trackers/InviteTracker.js +++ b/dist/structures/trackers/InviteTracker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; diff --git a/dist/structures/trackers/InviteTracker.js.map b/dist/structures/trackers/InviteTracker.js.map index 4e4c993449..5b6d10f98b 100644 --- a/dist/structures/trackers/InviteTracker.js.map +++ b/dist/structures/trackers/InviteTracker.js.map @@ -1 +1 @@ -{"version":3,"file":"InviteTracker.js","sourceRoot":"","sources":["../../../src/structures/trackers/InviteTracker.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAUmB;AACn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AAwB,IAAI,CAAA;QAEpC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;YACnD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;YACzB,MAAM,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAEpC,8BAA8B;YAC9B,IAAI,CAAC,GAAG,EAAE;gBACN,SAAQ;aACX;YAED,IAAI,GAAG,CAAC,IAAI,KAAK,GAAG,CAAC,IAAI,EAAE;gBACvB,IAAI,GAAG,GAAG,CAAA;gBACV,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAK,CAAA;gBACpB,MAAK;aACR;SACJ;QAED,IAAI,IAAI,KAAK,IAAI,EAAE;YACf,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,IAAI,uBAAU,EAAE,CAAC,CAAA;YAE3E,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,EAAE;gBACxB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,SAAS,EAAE,IAAI,CAAC,MAAM;aACzB,CAAC,CAAA;SACL;;YAAM,eAAM,CAAC,IAAI,CAAC,4CAA4C,MAAM,CAAC,WAAW,KAAK,MAAM,CAAC,EAAE,IAAI,CAAC,CAAA;IACxG,CAAC;;AAtIL,sCAuIC"} \ No newline at end of file +{"version":3,"file":"InviteTracker.js","sourceRoot":"","sources":["../../../src/structures/trackers/InviteTracker.ts"],"names":[],"mappings":";AAAA;;;EAGE;;;;;;AAEF,2CAUmB;AACnB,gEAAuC;AAEvC,oDAA2D;AAE3D,6CAAgD;AAChD,gDAA4C;AAa5C,MAAa,aAAa;IACf,MAAM,CAAU,OAAO,GAAG,IAAI,uBAAU,EAA0B,CAAA;IAElE,MAAM,CAA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MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACpD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,CAAA;YACzB,MAAM,GAAG,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YAEpC,8BAA8B;YAC9B,IAAI,CAAC,GAAG,EAAE,CAAC;gBACP,SAAQ;YACZ,CAAC;YAED,IAAI,GAAG,CAAC,IAAI,KAAK,GAAG,CAAC,IAAI,EAAE,CAAC;gBACxB,IAAI,GAAG,GAAG,CAAA;gBACV,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAK,CAAA;gBACpB,MAAK;YACT,CAAC;QACL,CAAC;QAED,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAChB,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,IAAI,uBAAU,EAAE,CAAC,CAAA;YAE3E,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,EAAE;gBACxB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,SAAS,EAAE,IAAI,CAAC,MAAM;aACzB,CAAC,CAAA;QACN,CAAC;;YAAM,eAAM,CAAC,IAAI,CAAC,4CAA4C,MAAM,CAAC,WAAW,KAAK,MAAM,CAAC,EAAE,IAAI,CAAC,CAAA;IACxG,CAAC;;AAtIL,sCAuIC"} \ No newline at end of file diff --git a/dist/structures/trackers/VoiceTracker.js b/dist/structures/trackers/VoiceTracker.js index 503aa09bdd..9b6b1a4ee2 100644 --- a/dist/structures/trackers/VoiceTracker.js +++ b/dist/structures/trackers/VoiceTracker.js @@ -1,7 +1,7 @@ "use strict"; /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ Object.defineProperty(exports, "__esModule", { value: true }); exports.VoiceTracker = void 0; diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js new file mode 100644 index 0000000000..feab6f2d67 --- /dev/null +++ b/docs/assets/hierarchy.js @@ -0,0 +1 @@ +window.hierarchyData = "eJyVkMsKwjAQRf/lrlM1rRbN0ge40R8oXYQm2mCaQBK7Kf13Cd0ULdRuZmA4w9wzHZy1wYMVOaH0sCkJnHxoWQVljQfrkMdieCPBcORenmzTcCNu3PCndCB4KSPAaLoneDsNhkpz76Vf/9KrOjQaZCDAELxI4noyDAiqWmnhpAErUpqVPUFKs1GAOw+qXRBhip8J0RPER3xZX1ppwpUboeedx+wSY7rd5VE59tH5s/KVdeLfBBP4nHHffwCTeaxU" \ No newline at end of file diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css index b4a13122b0..7392fc52c4 100644 --- a/docs/assets/highlight.css +++ b/docs/assets/highlight.css @@ -89,4 +89,4 @@ .hl-7 { color: var(--hl-7); } .hl-8 { color: var(--hl-8); } .hl-9 { color: var(--hl-9); } -pre, code { background: var(--code-background); } +pre, code, math[display='block'] { background: var(--code-background); } diff --git a/docs/assets/icons.js b/docs/assets/icons.js new file mode 100644 index 0000000000..4fbadc5ade --- /dev/null +++ b/docs/assets/icons.js @@ -0,0 +1,18 @@ +(function() { + addIcons(); + function addIcons() { + if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); + const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); + svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; + svg.style.display = "none"; + if (location.protocol === "file:") updateUseElements(); + } + + function updateUseElements() { + document.querySelectorAll("use").forEach(el => { + if (el.getAttribute("href").includes("#icon-")) { + el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#")); + } + }); + } +})() \ No newline at end of file diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg new file mode 100644 index 0000000000..be7798fcda --- /dev/null +++ b/docs/assets/icons.svg @@ -0,0 +1 @@ +MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/docs/assets/main.js b/docs/assets/main.js index d0aa8d5f9a..b0eda9ed30 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -1,8 +1,9 @@ "use strict"; -"use strict";(()=>{var Pe=Object.create;var ne=Object.defineProperty;var Ie=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Ie(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Pe(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ne(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` - ${ce(l.parent,i)}.${d}`);let v=document.createElement("li");v.classList.value=l.classes??"";let f=document.createElement("a");f.href=r.base+l.url,f.innerHTML=u+d,v.append(f),e.appendChild(v)}}function ue(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var Be={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Be[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",B="mouseup",J={x:0,y:0},fe=!1,ee=!1,He=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(He=!0,F="touchstart",pe="touchmove",B="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(pe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){D||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!D&&this.active&&n.target.closest(".col-sidebar")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var Z=class extends C{constructor(n){super(n);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let r=Q.getItem(this.key);this.el.open=r?r==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let i=this.summary.querySelector("a");i&&i.addEventListener("click",()=>{location.assign(i.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.ensureActivePageVisible()}function we(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.href===r.href&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); +window.translations={"copy":"Copy","copied":"Copied!","normally_hidden":"This member is normally hidden due to your filter settings.","hierarchy_expand":"Expand","hierarchy_collapse":"Collapse","folder":"Folder","search_index_not_available":"The search index is not available","search_no_results_found_for_0":"No results found for {0}","kind_1":"Project","kind_2":"Module","kind_4":"Namespace","kind_8":"Enumeration","kind_16":"Enumeration Member","kind_32":"Variable","kind_64":"Function","kind_128":"Class","kind_256":"Interface","kind_512":"Constructor","kind_1024":"Property","kind_2048":"Method","kind_4096":"Call Signature","kind_8192":"Index Signature","kind_16384":"Constructor Signature","kind_32768":"Parameter","kind_65536":"Type Literal","kind_131072":"Type Parameter","kind_262144":"Accessor","kind_524288":"Get Signature","kind_1048576":"Set Signature","kind_2097152":"Type Alias","kind_4194304":"Reference","kind_8388608":"Document"}; +(()=>{var Ke=Object.create;var he=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Xe=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var et=(t,e)=>()=>{try{return e||t((e={exports:{}}).exports,e),e.exports}catch(n){throw e=0,n}};var tt=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ze(e))!Ye.call(t,i)&&i!==n&&he(t,i,{get:()=>e[i],enumerable:!(r=Ge(e,i))||r.enumerable});return t};var nt=(t,e,n)=>(n=t!=null?Ke(Xe(t)):{},tt(e||!t||!t.__esModule?he(n,"default",{value:t,enumerable:!0}):n,t));var ye=et((me,ge)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=(function(e){return function(n){e.console&&console.warn&&console.warn(n)}})(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,l],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(oc?d+=2:a==c&&(n+=r[l+1]*i[d+1],l+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var c=s.node.edges["*"];else{var c=new t.TokenSet;s.node.edges["*"]=c}if(s.str.length==0&&(c.final=!0),i.push({node:c,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),f=s.str.charAt(1),p;f in s.node.edges?p=s.node.edges[f]:(p=new t.TokenSet,s.node.edges[f]=p),s.str.length==1&&(p.final=!0),i.push({node:p,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),c=0;c1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}if(s.type===t.QueryLexer.TERM)return t.QueryParser.parseTerm;var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},(function(e,n){typeof define=="function"&&define.amd?define(n):typeof me=="object"?ge.exports=n():e.lunr=n()})(this,function(){return t})})()});var M,G={getItem(){return null},setItem(){}},K;try{K=localStorage,M=K}catch{K=G,M=G}var S={getItem:t=>M.getItem(t),setItem:(t,e)=>M.setItem(t,e),disableWritingLocalStorage(){M=G},disable(){localStorage.clear(),M=G},enable(){M=K}};window.TypeDoc||={disableWritingLocalStorage(){S.disableWritingLocalStorage()},disableLocalStorage:()=>{S.disable()},enableLocalStorage:()=>{S.enable()}};window.translations||={copy:"Copy",copied:"Copied!",normally_hidden:"This member is normally hidden due to your filter settings.",hierarchy_expand:"Expand",hierarchy_collapse:"Collapse",search_index_not_available:"The search index is not available",search_no_results_found_for_0:"No results found for {0}",folder:"Folder",kind_1:"Project",kind_2:"Module",kind_4:"Namespace",kind_8:"Enumeration",kind_16:"Enumeration Member",kind_32:"Variable",kind_64:"Function",kind_128:"Class",kind_256:"Interface",kind_512:"Constructor",kind_1024:"Property",kind_2048:"Method",kind_4096:"Call Signature",kind_8192:"Index Signature",kind_16384:"Constructor Signature",kind_32768:"Parameter",kind_65536:"Type Literal",kind_131072:"Type Parameter",kind_262144:"Accessor",kind_524288:"Get Signature",kind_1048576:"Set Signature",kind_2097152:"Type Alias",kind_4194304:"Reference",kind_8388608:"Document"};var pe=[];function X(t,e){pe.push({selector:e,constructor:t})}var Z=class{alwaysVisibleMember=null;constructor(){this.createComponents(document.body),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible()),document.body.style.display||(this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}createComponents(e){pe.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}showPage(){document.body.style.display&&(document.body.style.removeProperty("display"),this.ensureFocusedElementVisible(),this.updateIndexVisibility(),this.scrollToHash())}scrollToHash(){if(location.hash){let e=document.getElementById(location.hash.substring(1));if(!e)return;e.scrollIntoView({behavior:"instant",block:"start"})}}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e&&!rt(e)){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r,document.querySelector(".col-sidebar").scrollTop=r}}updateIndexVisibility(){let e=document.querySelector(".tsd-index-content"),n=e?.open;e&&(e.open=!0),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let i=Array.from(r.querySelectorAll(".tsd-index-link")).every(s=>s.offsetParent==null);r.style.display=i?"none":"block"}),e&&(e.open=n)}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(!n)return;let r=n.offsetParent==null,i=n;for(;i!==document.body;)i instanceof HTMLDetailsElement&&(i.open=!0),i=i.parentElement;if(n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let s=document.createElement("p");s.classList.add("warning"),s.textContent=window.translations.normally_hidden,n.prepend(s)}r&&e.scrollIntoView()}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent=window.translations.copied,e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent=window.translations.copy},100)},1e3)})})}};function rt(t){let e=t.getBoundingClientRect(),n=Math.max(document.documentElement.clientHeight,window.innerHeight);return!(e.bottom<0||e.top-n>=0)}var fe=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var Ie=nt(ye(),1);async function R(t){let e=Uint8Array.from(atob(t),s=>s.charCodeAt(0)),r=new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),i=await new Response(r).text();return JSON.parse(i)}var Y="closing",ae="tsd-overlay";function it(){let t=Math.abs(window.innerWidth-document.documentElement.clientWidth);document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`}function st(){document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right")}function Ee(t,e){t.addEventListener("animationend",()=>{t.classList.contains(Y)&&(t.classList.remove(Y),document.getElementById(ae)?.remove(),t.close(),st())}),t.addEventListener("cancel",n=>{n.preventDefault(),ve(t)}),e?.closeOnClick&&document.addEventListener("click",n=>{t.open&&!t.contains(n.target)&&ve(t)},!0)}function xe(t){if(t.open)return;let e=document.createElement("div");e.id=ae,document.body.appendChild(e),t.showModal(),it()}function ve(t){if(!t.open)return;document.getElementById(ae)?.classList.add(Y),t.classList.add(Y)}var I=class{el;app;constructor(e){this.el=e.el,this.app=e.app}};var be=document.head.appendChild(document.createElement("style"));be.dataset.for="filters";var le={};function Le(t){for(let e of t.split(/\s+/))if(le.hasOwnProperty(e)&&!le[e])return!0;return!1}var ee=class extends I{key;value;constructor(e){super(e),this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),be.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`,this.app.updateIndexVisibility()}fromLocalStorage(){let e=S.getItem(this.key);return e?e==="true":this.el.checked}setLocalStorage(e){S.setItem(this.key,e.toString()),this.value=e,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),le[`tsd-is-${this.el.name}`]=this.value,this.app.filterChanged(),this.app.updateIndexVisibility()}};var we=0;async function Se(t,e){if(!window.searchData)return;let n=await R(window.searchData);t.data=n,t.index=Ie.Index.load(n.index),e.innerHTML=""}function _e(){let t=document.getElementById("tsd-search-trigger"),e=document.getElementById("tsd-search"),n=document.getElementById("tsd-search-input"),r=document.getElementById("tsd-search-results"),i=document.getElementById("tsd-search-script"),s=document.getElementById("tsd-search-status");if(!(t&&e&&n&&r&&i&&s))throw new Error("Search controls missing");let o={base:document.documentElement.dataset.base};o.base.endsWith("/")||(o.base+="/"),i.addEventListener("error",()=>{let a=window.translations.search_index_not_available;Pe(s,a)}),i.addEventListener("load",()=>{Se(o,s)}),Se(o,s),ot({trigger:t,searchEl:e,results:r,field:n,status:s},o)}function ot(t,e){let{field:n,results:r,searchEl:i,status:s,trigger:o}=t;Ee(i,{closeOnClick:!0});function a(){xe(i),n.setSelectionRange(0,n.value.length)}o.addEventListener("click",a),n.addEventListener("input",fe(()=>{at(r,n,s,e)},200)),n.addEventListener("keydown",l=>{if(r.childElementCount===0||l.ctrlKey||l.metaKey||l.altKey)return;let d=n.getAttribute("aria-activedescendant"),f=d?document.getElementById(d):null;if(f){let p=!1,v=!1;switch(l.key){case"Home":case"End":case"ArrowLeft":case"ArrowRight":v=!0;break;case"ArrowDown":case"ArrowUp":p=l.shiftKey;break}(p||v)&&ke(n)}if(!l.shiftKey)switch(l.key){case"Enter":f?.querySelector("a")?.click();break;case"ArrowUp":Te(r,n,f,-1),l.preventDefault();break;case"ArrowDown":Te(r,n,f,1),l.preventDefault();break}});function c(){ke(n)}n.addEventListener("change",c),n.addEventListener("blur",c),n.addEventListener("click",c),document.body.addEventListener("keydown",l=>{if(l.altKey||l.metaKey||l.shiftKey)return;let d=l.ctrlKey&&l.key==="k",f=!l.ctrlKey&&!ut()&&l.key==="/";(d||f)&&(l.preventDefault(),a())})}function at(t,e,n,r){if(!r.index||!r.data)return;t.innerHTML="",n.innerHTML="",we+=1;let i=e.value.trim(),s;if(i){let a=i.split(" ").map(c=>c.length?`*${c}*`:"").join(" ");s=r.index.search(a).filter(({ref:c})=>{let l=r.data.rows[Number(c)].classes;return!l||!Le(l)})}else s=[];if(s.length===0&&i){let a=window.translations.search_no_results_found_for_0.replace("{0}",` "${te(i)}" `);Pe(n,a);return}for(let a=0;ac.score-a.score);let o=Math.min(10,s.length);for(let a=0;a`,f=Ce(c.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(f+=` (score: ${s[a].score.toFixed(2)})`),c.parent&&(f=` + ${Ce(c.parent,i)}.${f}`);let p=document.createElement("li");p.id=`tsd-search:${we}-${a}`,p.role="option",p.ariaSelected="false",p.classList.value=c.classes??"";let v=document.createElement("a");v.tabIndex=-1,v.href=r.base+c.url,v.innerHTML=d+`${f}`,p.append(v),t.appendChild(p)}}function Te(t,e,n,r){let i;if(r===1?i=n?.nextElementSibling||t.firstElementChild:i=n?.previousElementSibling||t.lastElementChild,i!==n){if(!i||i.role!=="option"){console.error("Option missing");return}i.ariaSelected="true",i.scrollIntoView({behavior:"smooth",block:"nearest"}),e.setAttribute("aria-activedescendant",i.id),n?.setAttribute("aria-selected","false")}}function ke(t){let e=t.getAttribute("aria-activedescendant");(e?document.getElementById(e):null)?.setAttribute("aria-selected","false"),t.setAttribute("aria-activedescendant","")}function Ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(te(t.substring(s,o)),`${te(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(te(t.substring(s))),i.join("")}var lt={"&":"&","<":"<",">":">","'":"'",'"':"""};function te(t){return t.replace(/[&<>"'"]/g,e=>lt[e])}function Pe(t,e){t.innerHTML=e?`
${e}
`:""}var ct=["button","checkbox","file","hidden","image","radio","range","reset","submit"];function ut(){let t=document.activeElement;return t?t.isContentEditable||t.tagName==="TEXTAREA"||t.tagName==="SEARCH"?!0:t.tagName==="INPUT"&&!ct.includes(t.type):!1}var D="mousedown",Me="mousemove",$="mouseup",ne={x:0,y:0},Qe=!1,ce=!1,dt=!1,F=!1,Oe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(Oe?"is-mobile":"not-mobile");Oe&&"ontouchstart"in document.documentElement&&(dt=!0,D="touchstart",Me="touchmove",$="touchend");document.addEventListener(D,t=>{ce=!0,F=!1;let e=D=="touchstart"?t.targetTouches[0]:t;ne.y=e.pageY||0,ne.x=e.pageX||0});document.addEventListener(Me,t=>{if(ce&&!F){let e=D=="touchstart"?t.targetTouches[0]:t,n=ne.x-(e.pageX||0),r=ne.y-(e.pageY||0);F=Math.sqrt(n*n+r*r)>10}});document.addEventListener($,()=>{ce=!1});document.addEventListener("click",t=>{Qe&&(t.preventDefault(),t.stopImmediatePropagation(),Qe=!1)});var re=class extends I{active;className;constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener($,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(D,n=>this.onDocumentPointerDown(n)),document.addEventListener($,n=>this.onDocumentPointerUp(n))}setActive(e){if(this.active==e)return;this.active=e,document.documentElement.classList.toggle("has-"+this.className,e),this.el.classList.toggle("active",e);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(e){F||(this.setActive(!0),e.preventDefault())}onDocumentPointerDown(e){if(this.active){if(e.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(e){if(!F&&this.active&&e.target.closest(".col-sidebar")){let n=e.target.closest("a");if(n){let r=window.location.href;r.indexOf("#")!=-1&&(r=r.substring(0,r.indexOf("#"))),n.href.substring(0,r.length)==r&&setTimeout(()=>this.setActive(!1),250)}}}};var ue=new Map,de=class{open;accordions=[];key;constructor(e,n){this.key=e,this.open=n}add(e){this.accordions.push(e),e.open=this.open,e.addEventListener("toggle",()=>{this.toggle(e.open)})}toggle(e){for(let n of this.accordions)n.open=e;S.setItem(this.key,e.toString())}},ie=class extends I{constructor(e){super(e);let n=this.el.querySelector("summary"),r=n.querySelector("a");r&&r.addEventListener("click",()=>{location.assign(r.href)});let i=`tsd-accordion-${n.dataset.key??n.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`,s;if(ue.has(i))s=ue.get(i);else{let o=S.getItem(i),a=o?o==="true":this.el.open;s=new de(i,a),ue.set(i,s)}s.add(this.el)}};function He(t){let e=S.getItem("tsd-theme")||"os";t.value=e,Ae(e),t.addEventListener("change",()=>{S.setItem("tsd-theme",t.value),Ae(t.value)})}function Ae(t){document.documentElement.dataset.theme=t}var se;function Ne(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",Re),Re())}async function Re(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let e=await R(window.navigationData);se=document.documentElement.dataset.base,se.endsWith("/")||(se+="/"),t.innerHTML="";for(let n of e)Ve(n,t,[]);window.app.createComponents(t),window.app.showPage(),window.app.ensureActivePageVisible()}function Ve(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-accordion`:"tsd-accordion";let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.dataset.key=i.join("$"),o.innerHTML='',De(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let c=a.appendChild(document.createElement("ul"));c.className="tsd-nested-navigation";for(let l of t.children)Ve(l,c,i)}else De(t,r,t.class)}function De(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));if(r.href=se+t.path,n&&(r.className=n),location.pathname===r.pathname&&!r.href.includes("#")&&(r.classList.add("current"),r.ariaCurrent="page"),t.kind){let i=window.translations[`kind_${t.kind}`].replaceAll('"',""");r.innerHTML=``}r.appendChild(Fe(t.text,document.createElement("span")))}else{let r=e.appendChild(document.createElement("span")),i=window.translations.folder.replaceAll('"',""");r.innerHTML=``,r.appendChild(Fe(t.text,document.createElement("span")))}}function Fe(t,e){let n=t.split(/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/);for(let r=0;r{let i=r.target;for(;i.parentElement&&i.parentElement.tagName!="LI";)i=i.parentElement;i.dataset.dropdown&&(i.dataset.dropdown=String(i.dataset.dropdown!=="true"))});let t=new Map,e=new Set;for(let r of document.querySelectorAll(".tsd-full-hierarchy [data-refl]")){let i=r.querySelector("ul");t.has(r.dataset.refl)?e.add(r.dataset.refl):i&&t.set(r.dataset.refl,i)}for(let r of e)n(r);function n(r){let i=t.get(r).cloneNode(!0);i.querySelectorAll("[id]").forEach(s=>{s.removeAttribute("id")}),i.querySelectorAll("[data-dropdown]").forEach(s=>{s.dataset.dropdown="false"});for(let s of document.querySelectorAll(`[data-refl="${r}"]`)){let o=gt(),a=s.querySelector("ul");s.insertBefore(o,a),o.dataset.dropdown=String(!!a),a||s.appendChild(i.cloneNode(!0))}}}function pt(){let t=document.getElementById("tsd-hierarchy-script");t&&(t.addEventListener("load",Be),Be())}async function Be(){let t=document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");if(!t||!window.hierarchyData)return;let e=+t.dataset.refl,n=await R(window.hierarchyData),r=t.querySelector("ul"),i=document.createElement("ul");if(i.classList.add("tsd-hierarchy"),ft(i,n,e),r.querySelectorAll("li").length==i.querySelectorAll("li").length)return;let s=document.createElement("span");s.classList.add("tsd-hierarchy-toggle"),s.textContent=window.translations.hierarchy_expand,t.querySelector("h4 a")?.insertAdjacentElement("afterend",s),s.insertAdjacentText("beforebegin",", "),s.addEventListener("click",()=>{s.textContent===window.translations.hierarchy_expand?(r.insertAdjacentElement("afterend",i),r.remove(),s.textContent=window.translations.hierarchy_collapse):(i.insertAdjacentElement("afterend",r),i.remove(),s.textContent=window.translations.hierarchy_expand)})}function ft(t,e,n){let r=e.roots.filter(i=>mt(e,i,n));for(let i of r)t.appendChild(je(e,i,n))}function je(t,e,n,r=new Set){if(r.has(e))return;r.add(e);let i=t.reflections[e],s=document.createElement("li");if(s.classList.add("tsd-hierarchy-item"),e===n){let o=s.appendChild(document.createElement("span"));o.textContent=i.name,o.classList.add("tsd-hierarchy-target")}else{for(let a of i.uniqueNameParents||[]){let c=t.reflections[a],l=s.appendChild(document.createElement("a"));l.textContent=c.name,l.href=oe+c.url,l.className=c.class+" tsd-signature-type",s.append(document.createTextNode("."))}let o=s.appendChild(document.createElement("a"));o.textContent=t.reflections[e].name,o.href=oe+i.url,o.className=i.class+" tsd-signature-type"}if(i.children){let o=s.appendChild(document.createElement("ul"));o.classList.add("tsd-hierarchy");for(let a of i.children){let c=je(t,a,n,r);c&&o.appendChild(c)}}return r.delete(e),s}function mt(t,e,n){if(e===n)return!0;let r=new Set,i=[t.reflections[e]];for(;i.length;){let s=i.pop();if(!r.has(s)){r.add(s);for(let o of s.children||[]){if(o===n)return!0;i.push(t.reflections[o])}}}return!1}function gt(){let t=document.createElementNS("http://www.w3.org/2000/svg","svg");return t.setAttribute("width","20"),t.setAttribute("height","20"),t.innerHTML='',t}X(re,"a[data-toggle]");X(ie,".tsd-accordion");X(ee,".tsd-filter-item input[type=checkbox]");var qe=document.getElementById("tsd-theme");qe&&He(qe);var yt=new Z;Object.defineProperty(window,"app",{value:yt});_e();Ne();$e();"virtualKeyboard"in navigator&&(navigator.virtualKeyboard.overlaysContent=!0);})(); /*! Bundled license information: lunr/lunr.js: diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 2fada802c9..686de83f06 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE52ZzW7jNhSF38XroOmknWmbneskkwHiJPC400XRxR3pRiZMkQJF2Q6KefeCkmWTInnJZGfwnPPxVyJF//PfTONBz65nc1WtXxucXcwa0JvZ9QxFV7eXx+KfNrrms4vZlolydv37j4tTbgEcRQkqFLa1OOFWKRmMn4R49n69fl5IoVHoEGEixzkPsnpWTCqmX6cMSyLzofqPxfHcU4MKdLj7thYnrLBirVagmRQhylSnSLpTEcaoxNPzpuGs6KtZyLoGUZ4pBYe2xfbS97i8D1c0cQkCKlQ54KOV5KsqQFIVlfkTWox2zxIzGdEO+Z4U8XaHQt+DKHmMZzso2kLWDeNY3nWiMCPq06aODFqgTaNCp4UGJsLxo5TKm1/BNB40nZW8lHsRnaSJgWLdsLaQqqQnKWCimL0v2jhbpSh3jOMKoQwxzhpJkKrCBWcoAuNsiUlG/76PIHotTThoFG1wzbp6khRf/I6czYnOU8hFUpPAfNYXoVE1CnWIY4k0Y8c0rhUU2zDFkinOg6yC3RnKqeQjaLZLvlFDrjQ1vgxcnSINu6dPGMqp5HqjEOJdcmSK802yIj5FtkrOtL/L3oCGM5CZFfMChZn2sNfFX3385ODt/dhhTffkabDTspblquP41Jga2wjH85HY4F5v86L7/QTkLrr+xRxpYciZQjeM98O8wrbjOsp1bRlQLMnOT0xZQP9pChHDz1QCuZCiZObHHUOeaHI486bq3lBLHlwKFJpcvVNXAtkfbxZQbDCGOzsSqOGUE8MMKonoF3I430t02OzZZb/QcpZ61P6GSlIrNeZ+VxU5Kzcv+67q31FrujLr1Eeuad+XxtJTQ5zOKNgzKKgziL2PxH7uGC+HU0+YZxlyQSpJUiTqXuuGnAfLQIIeZAF8HIv45u/ZktD4hI4qiVh2XLOG41xVK2wl30XG3veR2NgZ0EZS58AJbgV74mkb1SQi89kKWpNwsq+WIRfUd+kGX5hgWdyJP7eaJehik4T3LhqJrVasoIbVctCoTgj4ziMrcVRJxNdig2XHcbgSIGc7aKXhGjTGaL1GxoePD+9+xaY4lgwYta3bjgzUGtotBTI6jRm+hyLjM6oUYt62qPRcVRZDvzbmjvGkTPI///Hbh49X9hWU+UT7IloNosApxhGzSO7drkXxr3YDhOGg318LQDFeJ3udi9gy6cEWnqUU5VZ09QPbeoixPJk/NFjoBXD+HYqtR3HUFOuOcY3qWckGlWb+QE31FO8zau8/moF0VjIYZigCAFOckzbXcKE1bWspzhLU9rHj3H07Dhxby+GY13GIYcpTeXfrvj1g0Wn7AnKghV0p9tMO1V4xjc+oata6d5IDOGBJUVewHxpghmchS2/4PEOSiEWnWrbDuVLw6uEcNc0yF1rfgHd+u85SivLV/GUYWBljeTI/2deO6dCO5mX/EnsFjXMRNcRPQjbBa8FZSTH+VtA05rPLn19LyqYcPxFJnOVJv6mPZquHO1DMzE3/v8pRdTm/+A9ef1J5hBpDnImFgI1/kwabcxIJQIXCmHCJGkrnm+bl+NC3l1OPi/v0649//weCKGUqSh8AAA==" \ No newline at end of file +window.navigationData = "eJydmVFz4yYUhf+LnzNNN+1u27y5TrLZmTjxeL3bh04f7ko3MmMMGoRsZzr97x0kKwIBF5I3j845HyCuBMJ//zvTeNKz69lcVZuXGmcXsxr0dnY9Q9Hum8vz5Z+2es9nF7MdE+Xs+vf/Ll5zC+AoSlChsK3FCbdKyWD8VYhn7zeb1UIKjUKHCBM5znmQ1UoxqZh+mTIsicyH2j9fjueealSgw8O3tThhpf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hWra1lKcJajdY8u5+3bsObaWwzGv4xDDXE/l3aX79oRFq+0DyJ4WdqXYTwdUR8U0rlDtWeOeSfbggCVFjVdTfh2t4dgPwtzihfOvU4/yDEkiFq1q2AHnSsGLh3PUNMscin0H3vr9GqUU5av50zJQXcP1ZH6yNp7ToVXRy34TRwW1c5jVx1+FbILXg1FJMf5SUNfm082fX0vKppw/M0mc5Um/7c9ma4QHUMzMTfffzFl1Ob/4D2+323mEPYY4EwsBG/6oDXbnVSQA4Fb+8/lt0VyCX/SffrWCpdnqYui5HhlTD4GrUJjO4hI1lM732YibejzcP/8DYTgNIQ==" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index e2630f850a..c168e2e3fc 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE7y9XZPjuJGw+1+6Lk+7XcQXSd+Ne2a8ve/M2NEz9p6IiQ0HS2Kr6JZEmaKqu8/G/vcTBEgqkcwEQUr13tg1rQQSxGfiQSLxP2+a+sv5zZ9+/583n6vj9s2fjHr75lgcyjd/erMrj2VTtOXPZVtsi7Z48/bNpdm/+dObT5fjpq3q4/mPWOTdc3vYv3n7ZrMvzufy/OZPb97879sha6HNmPeH9/XhUBy3PxfHYlc2P7yUx/Y8KqiObdl8Kjbl+Y+kYFBN8iiu33A5bYu2XJbxw5gI5P/2zaloymPLlv1aAKO1vH7pP//ZfjutK8G7Me2CgrzrSw8qRGRjaf5cnEs/1ViyXscfpyLB6taJGHPf1Mdz21w2bR2d7YOfhv5QotRMe2+c1HmB+jHBVXd73v6hOv/h1FQvriOsKMmpaJ/jizFI37cMz8Vxuy+bX7r/ii2Jn+bm9thXXZLo1hjEb64H8aiuvb4pPzXl+Tm6GFf5Fd/vad7XxTZabS+8RqcRiYKj4LKk0nvpW791V8brdLK3aiy28ZXrZO+g8W9FG9+TrvL37dFt/V3TFN+iy3GVX1UDeZro6zT/sdxcmnP1Uvpl6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vD4A8lc583Cp9mcbuBVnGummEu+sW+nImToIFEdh/cbZtjiOJLVTjyEmB7eZdmnePzMDNbM6zMzH/to5oWamc8ntczgkeN+efpJ7GDVTO533H/ak7NPknMWefd/kvIrnWSTU1R4Y/G4L2RhxfbH9MEd96dkFXKkT1ytgxk+dtwP9VMD1ncyDpeVzPCk4344Hg7dtOU4xyCc1jvJI4wLffNmiuP+S18nq28T7wAdcwkWxBDub+JosYo5dZ0lkfIm8bGqTN/R8lgBGU/9av6SGGbMHXHzJkeCMq2i34HTdOLxzwx4Pk7JWr6w+m8TxU2/HIkVzIHp3GdG/H/JcYmzd2w+i93OKZ2OO4MMy+L0sZeMGQgWxJCarHHyKtOhOslZrvXiiYNJso4DyW+L3XaW6e0Jpx8Qg018E8x3OAuq99vlkRjxEQ/MBMbFt1jHaVXmXJbsYfZCzWVSq3n/WjEX82BOU3E4p54/j1rPQUtyNkEmfvvc9L/RWplxrWjmu+paki0YZ5xXzC2Cl9I8PTUbUtA5LrfKDKLxsoam/5yOXxN7aR0ziibIGoktmniicswgGi8KHNagZZLgy9ssfKlTGBXv7qu5gB4zTGGShc6dib/1TP8VoG3JobC8F/il+Th0m08N3e7FwYXMfeOXdny5nACQzm7xKpoJ1r/4YuHLuDkZB3sp5kph+rofpkwYkkMaD/OKaw+zrNMpakuhcaFWTtmdv314d2gPja9k/fUvf/uf//n/AbxxFLI="; \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css index 07a385b731..ec257d517a 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -1,99 +1,288 @@ -:root { - /* Light */ - --light-color-background: #f2f4f8; - --light-color-background-secondary: #eff0f1; - --light-color-warning-text: #222; - --light-color-background-warning: #e6e600; - --light-color-icon-background: var(--light-color-background); - --light-color-accent: #c5c7c9; - --light-color-active-menu-item: var(--light-color-accent); - --light-color-text: #222; - --light-color-text-aside: #6e6e6e; - --light-color-link: #1f70c2; - - --light-color-ts-keyword: #056bd6; - --light-color-ts-project: #b111c9; - --light-color-ts-module: var(--light-color-ts-project); - --light-color-ts-namespace: var(--light-color-ts-project); - --light-color-ts-enum: #7e6f15; - --light-color-ts-enum-member: var(--light-color-ts-enum); - --light-color-ts-variable: #4760ec; - --light-color-ts-function: #572be7; - --light-color-ts-class: #1f70c2; - --light-color-ts-interface: #108024; - --light-color-ts-constructor: var(--light-color-ts-class); - --light-color-ts-property: var(--light-color-ts-variable); - --light-color-ts-method: var(--light-color-ts-function); - --light-color-ts-call-signature: var(--light-color-ts-method); - --light-color-ts-index-signature: var(--light-color-ts-property); - --light-color-ts-constructor-signature: var(--light-color-ts-constructor); - --light-color-ts-parameter: var(--light-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --light-color-ts-type-parameter: var(--light-color-ts-type-alias); - --light-color-ts-accessor: var(--light-color-ts-property); - --light-color-ts-get-signature: var(--light-color-ts-accessor); - --light-color-ts-set-signature: var(--light-color-ts-accessor); - --light-color-ts-type-alias: #d51270; - /* reference not included as links will be colored with the kind that it points to */ - - --light-external-icon: url("data:image/svg+xml;utf8,"); - --light-color-scheme: light; - - /* Dark */ - --dark-color-background: #2b2e33; - --dark-color-background-secondary: #1e2024; - --dark-color-background-warning: #bebe00; - --dark-color-warning-text: #222; - --dark-color-icon-background: var(--dark-color-background-secondary); - --dark-color-accent: #9096a2; - --dark-color-active-menu-item: #5d5d6a; - --dark-color-text: #f5f5f5; - --dark-color-text-aside: #dddddd; - --dark-color-link: #00aff4; - - --dark-color-ts-keyword: #3399ff; - --dark-color-ts-project: #e358ff; - --dark-color-ts-module: var(--dark-color-ts-project); - --dark-color-ts-namespace: var(--dark-color-ts-project); - --dark-color-ts-enum: #f4d93e; - --dark-color-ts-enum-member: var(--dark-color-ts-enum); - --dark-color-ts-variable: #798dff; - --dark-color-ts-function: #a280ff; - --dark-color-ts-class: #8ac4ff; - --dark-color-ts-interface: #6cff87; - --dark-color-ts-constructor: var(--dark-color-ts-class); - --dark-color-ts-property: var(--dark-color-ts-variable); - --dark-color-ts-method: var(--dark-color-ts-function); - --dark-color-ts-call-signature: var(--dark-color-ts-method); - --dark-color-ts-index-signature: var(--dark-color-ts-property); - --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); - --dark-color-ts-parameter: var(--dark-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); - --dark-color-ts-accessor: var(--dark-color-ts-property); - --dark-color-ts-get-signature: var(--dark-color-ts-accessor); - --dark-color-ts-set-signature: var(--dark-color-ts-accessor); - --dark-color-ts-type-alias: #ff6492; - /* reference not included as links will be colored with the kind that it points to */ - - --dark-external-icon: url("data:image/svg+xml;utf8,"); - --dark-color-scheme: dark; -} +@layer typedoc { + :root { + --dim-toolbar-contents-height: 2.5rem; + --dim-toolbar-border-bottom-width: 1px; + --dim-header-height: calc( + var(--dim-toolbar-border-bottom-width) + + var(--dim-toolbar-contents-height) + ); + + /* 0rem For mobile; unit is required for calculation in `calc` */ + --dim-container-main-margin-y: 0rem; + + --dim-footer-height: 3.5rem; + + --modal-animation-duration: 0.2s; + } + + :root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ + --light-color-background-active: #d6d8da; + --light-color-background-warning: #e6e600; + --light-color-warning-text: #222; + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-background-active); + --light-color-text: #222; + --light-color-contrast-text: #000; + --light-color-text-aside: #5e5e5e; + + --light-color-icon-background: var(--light-color-background); + --light-color-icon-text: var(--light-color-text); + + --light-color-comment-tag-text: var(--light-color-text); + --light-color-comment-tag: var(--light-color-background); + + --light-color-link: #1f70c2; + --light-color-focus-outline: #3584e4; + + --light-color-ts-keyword: #056bd6; + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: #9f5f30; + --light-color-ts-method: #be3989; + --light-color-ts-reference: #ff4d82; + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var( + --light-color-ts-constructor + ); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: #a55c0e; + --light-color-ts-accessor: #c73c3c; + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + --light-color-document: #000000; + + --light-color-alert-note: #0969d9; + --light-color-alert-tip: #1a7f37; + --light-color-alert-important: #8250df; + --light-color-alert-warning: #9a6700; + --light-color-alert-caution: #cf222e; + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + } -@media (prefers-color-scheme: light) { :root { + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + /* Not to be confused with [:active](https://developer.mozilla.org/en-US/docs/Web/CSS/:active) */ + --dark-color-background-active: #5d5d6a; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: var(--dark-color-background-active); + --dark-color-text: #f5f5f5; + --dark-color-contrast-text: #ffffff; + --dark-color-text-aside: #dddddd; + + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-icon-text: var(--dark-color-text); + + --dark-color-comment-tag-text: var(--dark-color-text); + --dark-color-comment-tag: var(--dark-color-background); + + --dark-color-link: #00aff4; + --dark-color-focus-outline: #4c97f2; + + --dark-color-ts-keyword: #3399ff; + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: #ff984d; + --dark-color-ts-method: #ff4db8; + --dark-color-ts-reference: #ff4d82; + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: #e07d13; + --dark-color-ts-accessor: #ff6060; + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + --dark-color-document: #ffffff; + + --dark-color-alert-note: #0969d9; + --dark-color-alert-tip: #1a7f37; + --dark-color-alert-important: #8250df; + --dark-color-alert-warning: #9a6700; + --dark-color-alert-caution: #cf222e; + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; + } + + @media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var( + --light-color-background-secondary + ); + --color-background-active: var(--light-color-background-active); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-contrast-text: var(--light-color-contrast-text); + --color-text-aside: var(--light-color-text-aside); + + --color-icon-background: var(--light-color-icon-background); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); + + --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-reference: var(--light-color-ts-reference); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --color-alert-note: var(--light-color-alert-note); + --color-alert-tip: var(--light-color-alert-tip); + --color-alert-important: var(--light-color-alert-important); + --color-alert-warning: var(--light-color-alert-warning); + --color-alert-caution: var(--light-color-alert-caution); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } + } + + @media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var( + --dark-color-background-secondary + ); + --color-background-active: var(--dark-color-background-active); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-contrast-text: var(--dark-color-contrast-text); + --color-text-aside: var(--dark-color-text-aside); + + --color-icon-background: var(--dark-color-icon-background); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); + + --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-reference: var(--dark-color-ts-reference); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --color-alert-note: var(--dark-color-alert-note); + --color-alert-tip: var(--dark-color-alert-tip); + --color-alert-important: var(--dark-color-alert-important); + --color-alert-warning: var(--dark-color-alert-warning); + --color-alert-caution: var(--dark-color-alert-caution); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } + } + + :root[data-theme="light"] { --color-background: var(--light-color-background); --color-background-secondary: var(--light-color-background-secondary); + --color-background-active: var(--light-color-background-active); --color-background-warning: var(--light-color-background-warning); --color-warning-text: var(--light-color-warning-text); --color-icon-background: var(--light-color-icon-background); --color-accent: var(--light-color-accent); --color-active-menu-item: var(--light-color-active-menu-item); --color-text: var(--light-color-text); + --color-contrast-text: var(--light-color-contrast-text); --color-text-aside: var(--light-color-text-aside); + --color-icon-text: var(--light-color-icon-text); + + --color-comment-tag-text: var(--light-color-text); + --color-comment-tag: var(--light-color-background); + --color-link: var(--light-color-link); + --color-focus-outline: var(--light-color-focus-outline); --color-ts-keyword: var(--light-color-ts-keyword); + --color-ts-project: var(--light-color-ts-project); --color-ts-module: var(--light-color-ts-module); --color-ts-namespace: var(--light-color-ts-namespace); --color-ts-enum: var(--light-color-ts-enum); @@ -105,6 +294,7 @@ --color-ts-constructor: var(--light-color-ts-constructor); --color-ts-property: var(--light-color-ts-property); --color-ts-method: var(--light-color-ts-method); + --color-ts-reference: var(--light-color-ts-reference); --color-ts-call-signature: var(--light-color-ts-call-signature); --color-ts-index-signature: var(--light-color-ts-index-signature); --color-ts-constructor-signature: var( @@ -116,26 +306,40 @@ --color-ts-get-signature: var(--light-color-ts-get-signature); --color-ts-set-signature: var(--light-color-ts-set-signature); --color-ts-type-alias: var(--light-color-ts-type-alias); + --color-document: var(--light-color-document); + + --color-note: var(--light-color-note); + --color-tip: var(--light-color-tip); + --color-important: var(--light-color-important); + --color-warning: var(--light-color-warning); + --color-caution: var(--light-color-caution); --external-icon: var(--light-external-icon); --color-scheme: var(--light-color-scheme); } -} -@media (prefers-color-scheme: dark) { - :root { + :root[data-theme="dark"] { --color-background: var(--dark-color-background); --color-background-secondary: var(--dark-color-background-secondary); + --color-background-active: var(--dark-color-background-active); --color-background-warning: var(--dark-color-background-warning); --color-warning-text: var(--dark-color-warning-text); --color-icon-background: var(--dark-color-icon-background); --color-accent: var(--dark-color-accent); --color-active-menu-item: var(--dark-color-active-menu-item); --color-text: var(--dark-color-text); + --color-contrast-text: var(--dark-color-contrast-text); --color-text-aside: var(--dark-color-text-aside); + --color-icon-text: var(--dark-color-icon-text); + + --color-comment-tag-text: var(--dark-color-text); + --color-comment-tag: var(--dark-color-background); + --color-link: var(--dark-color-link); + --color-focus-outline: var(--dark-color-focus-outline); --color-ts-keyword: var(--dark-color-ts-keyword); + --color-ts-project: var(--dark-color-ts-project); --color-ts-module: var(--dark-color-ts-module); --color-ts-namespace: var(--dark-color-ts-namespace); --color-ts-enum: var(--dark-color-ts-enum); @@ -147,6 +351,7 @@ --color-ts-constructor: var(--dark-color-ts-constructor); --color-ts-property: var(--dark-color-ts-property); --color-ts-method: var(--dark-color-ts-method); + --color-ts-reference: var(--dark-color-ts-reference); --color-ts-call-signature: var(--dark-color-ts-call-signature); --color-ts-index-signature: var(--dark-color-ts-index-signature); --color-ts-constructor-signature: var( @@ -158,1237 +363,1286 @@ --color-ts-get-signature: var(--dark-color-ts-get-signature); --color-ts-set-signature: var(--dark-color-ts-set-signature); --color-ts-type-alias: var(--dark-color-ts-type-alias); + --color-document: var(--dark-color-document); + + --color-note: var(--dark-color-note); + --color-tip: var(--dark-color-tip); + --color-important: var(--dark-color-important); + --color-warning: var(--dark-color-warning); + --color-caution: var(--dark-color-caution); --external-icon: var(--dark-external-icon); --color-scheme: var(--dark-color-scheme); } -} - -html { - color-scheme: var(--color-scheme); -} -body { - margin: 0; -} + html { + color-scheme: var(--color-scheme); + @media (prefers-reduced-motion: no-preference) { + scroll-behavior: smooth; + } + } -:root[data-theme="light"] { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); - --color-accent: var(--light-color-accent); - --color-active-menu-item: var(--light-color-active-menu-item); - --color-text: var(--light-color-text); - --color-text-aside: var(--light-color-text-aside); - --color-link: var(--light-color-link); - - --color-ts-keyword: var(--light-color-ts-keyword); - --color-ts-module: var(--light-color-ts-module); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-enum-member: var(--light-color-ts-enum-member); - --color-ts-variable: var(--light-color-ts-variable); - --color-ts-function: var(--light-color-ts-function); - --color-ts-class: var(--light-color-ts-class); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-constructor: var(--light-color-ts-constructor); - --color-ts-property: var(--light-color-ts-property); - --color-ts-method: var(--light-color-ts-method); - --color-ts-call-signature: var(--light-color-ts-call-signature); - --color-ts-index-signature: var(--light-color-ts-index-signature); - --color-ts-constructor-signature: var( - --light-color-ts-constructor-signature - ); - --color-ts-parameter: var(--light-color-ts-parameter); - --color-ts-type-parameter: var(--light-color-ts-type-parameter); - --color-ts-accessor: var(--light-color-ts-accessor); - --color-ts-get-signature: var(--light-color-ts-get-signature); - --color-ts-set-signature: var(--light-color-ts-set-signature); - --color-ts-type-alias: var(--light-color-ts-type-alias); - - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); -} + *:focus-visible, + .tsd-accordion-summary:focus-visible svg { + outline: 2px solid var(--color-focus-outline); + } -:root[data-theme="dark"] { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); - --color-accent: var(--dark-color-accent); - --color-active-menu-item: var(--dark-color-active-menu-item); - --color-text: var(--dark-color-text); - --color-text-aside: var(--dark-color-text-aside); - --color-link: var(--dark-color-link); - - --color-ts-keyword: var(--dark-color-ts-keyword); - --color-ts-module: var(--dark-color-ts-module); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-enum-member: var(--dark-color-ts-enum-member); - --color-ts-variable: var(--dark-color-ts-variable); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-constructor: var(--dark-color-ts-constructor); - --color-ts-property: var(--dark-color-ts-property); - --color-ts-method: var(--dark-color-ts-method); - --color-ts-call-signature: var(--dark-color-ts-call-signature); - --color-ts-index-signature: var(--dark-color-ts-index-signature); - --color-ts-constructor-signature: var( - --dark-color-ts-constructor-signature - ); - --color-ts-parameter: var(--dark-color-ts-parameter); - --color-ts-type-parameter: var(--dark-color-ts-type-parameter); - --color-ts-accessor: var(--dark-color-ts-accessor); - --color-ts-get-signature: var(--dark-color-ts-get-signature); - --color-ts-set-signature: var(--dark-color-ts-set-signature); - --color-ts-type-alias: var(--dark-color-ts-type-alias); - - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); -} + .always-visible, + .always-visible .tsd-signatures { + display: inherit !important; + } -.always-visible, -.always-visible .tsd-signatures { - display: inherit !important; -} + h1, + h2, + h3, + h4, + h5, + h6 { + line-height: 1.2; + } -h1, -h2, -h3, -h4, -h5, -h6 { - line-height: 1.2; -} + h1 { + font-size: 1.875rem; + margin: 0.67rem 0; + } -h1 > a, -h2 > a, -h3 > a, -h4 > a, -h5 > a, -h6 > a { - text-decoration: none; - color: var(--color-text); -} + h2 { + font-size: 1.5rem; + margin: 0.83rem 0; + } -h1 { - font-size: 1.875rem; - margin: 0.67rem 0; -} + h3 { + font-size: 1.25rem; + margin: 1rem 0; + } -h2 { - font-size: 1.5rem; - margin: 0.83rem 0; -} + h4 { + font-size: 1.05rem; + margin: 1.33rem 0; + } -h3 { - font-size: 1.25rem; - margin: 1rem 0; -} + h5 { + font-size: 1rem; + margin: 1.5rem 0; + } -h4 { - font-size: 1.05rem; - margin: 1.33rem 0; -} + h6 { + font-size: 0.875rem; + margin: 2.33rem 0; + } -h5 { - font-size: 1rem; - margin: 1.5rem 0; -} + dl, + menu, + ol, + ul { + margin: 1em 0; + } -h6 { - font-size: 0.875rem; - margin: 2.33rem 0; -} + dd { + margin: 0 0 0 34px; + } -.uppercase { - text-transform: uppercase; -} + .container { + max-width: 1700px; + padding: 0 2rem; + } -dl, -menu, -ol, -ul { - margin: 1em 0; -} + /* Footer */ + footer { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: var(--dim-footer-height); + } + footer > p { + margin: 0 1em; + } -dd { - margin: 0 0 0 40px; -} + .container-main { + margin: var(--dim-container-main-margin-y) auto; + /* toolbar, footer, margin */ + min-height: calc( + 100svh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + } -.container { - max-width: 1700px; - padding: 0 2rem; -} + @keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } + } + @keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } + } + @keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } + } + @keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } + } + body { + background: var(--color-background); + font-family: + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + "Noto Sans", + Helvetica, + Arial, + sans-serif, + "Apple Color Emoji", + "Segoe UI Emoji"; + font-size: 16px; + color: var(--color-text); + margin: 0; + } -/* Footer */ -.tsd-generator { - border-top: 1px solid var(--color-accent); - padding-top: 1rem; - padding-bottom: 1rem; - max-height: 3.5rem; -} + a { + color: var(--color-link); + text-decoration: none; + } + a:hover { + text-decoration: underline; + } + a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; + } + a.tsd-anchor-link { + color: var(--color-text); + } + :target { + scroll-margin-block: calc(var(--dim-header-height) + 0.5rem); + } -.tsd-generator > p { - margin-top: 0; - margin-bottom: 0; - padding: 0 1rem; -} + math[display="block"] { + position: relative; + padding: 10px; + border: 1px solid var(--color-accent); + border-radius: 0.8em; + margin-bottom: 8px; + } -.container-main { - margin: 0 auto; - /* toolbar, footer, margin */ - min-height: calc(100vh - 41px - 56px - 4rem); -} + code, + pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; + } -@keyframes fade-in { - from { + pre { + position: relative; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); + margin-bottom: 8px; + } + pre code { + padding: 0; + font-size: 100%; + } + pre > button { + position: absolute; + top: 10px; + right: 10px; opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; } - to { + pre:hover > button, + pre > button.visible, + pre > button:focus-visible { opacity: 1; } -} -@keyframes fade-out { - from { - opacity: 1; - visibility: visible; + + blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; } - to { - opacity: 0; + + img { + max-width: 100%; } -} -@keyframes fade-in-delayed { - 0% { - opacity: 0; + + * { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); } - 33% { - opacity: 0; + + *::-webkit-scrollbar { + width: 0.75rem; } - 100% { - opacity: 1; + + *::-webkit-scrollbar-track { + background: var(--color-icon-background); } -} -@keyframes fade-out-delayed { - 0% { - opacity: 1; - visibility: visible; + + *::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); } - 66% { - opacity: 0; + + dialog { + border: none; + outline: none; + padding: 0; + background-color: var(--color-background); } - 100% { - opacity: 0; + dialog::backdrop { + display: none; } -} -@keyframes pop-in-from-right { - from { - transform: translate(100%, 0); + #tsd-overlay { + background-color: rgba(0, 0, 0, 0.5); + position: fixed; + z-index: 9999; + top: 0; + left: 0; + right: 0; + bottom: 0; + animation: fade-in var(--modal-animation-duration) forwards; } - to { - transform: translate(0, 0); + #tsd-overlay.closing { + animation-name: fade-out; } -} -@keyframes pop-out-to-right { - from { - transform: translate(0, 0); - visibility: visible; + + .tsd-typography { + line-height: 1.333em; } - to { - transform: translate(100%, 0); + .tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; + } + .tsd-typography .tsd-index-panel h3, + .tsd-index-panel .tsd-typography h3, + .tsd-typography h4, + .tsd-typography h5, + .tsd-typography h6 { + font-size: 1em; + } + .tsd-typography h5, + .tsd-typography h6 { + font-weight: normal; + } + .tsd-typography p, + .tsd-typography ul, + .tsd-typography ol { + margin: 1em 0; + } + .tsd-typography table { + border-collapse: collapse; + border: none; + } + .tsd-typography td, + .tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); + } + .tsd-typography thead, + .tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); } -} -body { - background: var(--color-background); - font-family: "Segoe UI", sans-serif; - font-size: 16px; - color: var(--color-text); -} -a { - color: var(--color-link); - text-decoration: none; -} -a:hover { - text-decoration: underline; -} -a.external[target="_blank"] { - background-image: var(--external-icon); - background-position: top 3px right; - background-repeat: no-repeat; - padding-right: 13px; -} + .tsd-alert { + padding: 8px 16px; + margin-bottom: 16px; + border-left: 0.25em solid var(--alert-color); + } + .tsd-alert blockquote > :last-child, + .tsd-alert > :last-child { + margin-bottom: 0; + } + .tsd-alert-title { + color: var(--alert-color); + display: inline-flex; + align-items: center; + } + .tsd-alert-title span { + margin-left: 4px; + } -code, -pre { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - padding: 0.2em; - margin: 0; - font-size: 0.875rem; - border-radius: 0.8em; -} + .tsd-alert-note { + --alert-color: var(--color-alert-note); + } + .tsd-alert-tip { + --alert-color: var(--color-alert-tip); + } + .tsd-alert-important { + --alert-color: var(--color-alert-important); + } + .tsd-alert-warning { + --alert-color: var(--color-alert-warning); + } + .tsd-alert-caution { + --alert-color: var(--color-alert-caution); + } -pre { - position: relative; - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; - padding: 10px; - border: 1px solid var(--color-accent); -} -pre code { - padding: 0; - font-size: 100%; -} -pre > button { - position: absolute; - top: 10px; - right: 10px; - opacity: 0; - transition: opacity 0.1s; - box-sizing: border-box; -} -pre:hover > button, -pre > button.visible { - opacity: 1; -} + .tsd-breadcrumb { + margin: 0; + margin-top: 1rem; + padding: 0; + color: var(--color-text-aside); + } + .tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; + } + .tsd-breadcrumb a:hover { + text-decoration: underline; + } + .tsd-breadcrumb li { + display: inline; + } + .tsd-breadcrumb li:after { + content: " / "; + } -blockquote { - margin: 1em 0; - padding-left: 1em; - border-left: 4px solid gray; -} + .tsd-comment-tags { + display: flex; + flex-direction: column; + } + dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; + } + dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; + } + dl.tsd-comment-tag-group dd { + margin: 0; + } + code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; + } + h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; + } -.tsd-typography { - line-height: 1.333em; -} -.tsd-typography ul { - list-style: square; - padding: 0 0 0 20px; - margin: 0; -} -.tsd-typography .tsd-index-panel h3, -.tsd-index-panel .tsd-typography h3, -.tsd-typography h4, -.tsd-typography h5, -.tsd-typography h6 { - font-size: 1em; -} -.tsd-typography h5, -.tsd-typography h6 { - font-weight: normal; -} -.tsd-typography p, -.tsd-typography ul, -.tsd-typography ol { - margin: 1em 0; -} -.tsd-typography table { - border-collapse: collapse; - border: none; -} -.tsd-typography td, -.tsd-typography th { - padding: 6px 13px; - border: 1px solid var(--color-accent); -} -.tsd-typography thead, -.tsd-typography tr:nth-child(even) { - background-color: var(--color-background-secondary); -} + dl.tsd-comment-tag-group dd:before, + dl.tsd-comment-tag-group dd:after { + content: " "; + } + dl.tsd-comment-tag-group dd pre, + dl.tsd-comment-tag-group dd:after { + clear: both; + } + dl.tsd-comment-tag-group p { + margin: 0; + } -.tsd-breadcrumb { - margin: 0; - padding: 0; - color: var(--color-text-aside); -} -.tsd-breadcrumb a { - color: var(--color-text-aside); - text-decoration: none; -} -.tsd-breadcrumb a:hover { - text-decoration: underline; -} -.tsd-breadcrumb li { - display: inline; -} -.tsd-breadcrumb li:after { - content: " / "; -} + .tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; + } + .tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; + } -.tsd-comment-tags { - display: flex; - flex-direction: column; -} -dl.tsd-comment-tag-group { - display: flex; - align-items: center; - overflow: hidden; - margin: 0.5em 0; -} -dl.tsd-comment-tag-group dt { - display: flex; - margin-right: 0.5em; - font-size: 0.875em; - font-weight: normal; -} -dl.tsd-comment-tag-group dd { - margin: 0; -} -code.tsd-tag { - padding: 0.25em 0.4em; - border: 0.1em solid var(--color-accent); - margin-right: 0.25em; - font-size: 70%; -} -h1 code.tsd-tag:first-of-type { - margin-left: 0.25em; -} + .tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; + } + .tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; + } + .tsd-filter-input { + display: flex; + width: -moz-fit-content; + width: fit-content; + align-items: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + } + .tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; + } + .tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; + } + .tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; + } + .tsd-filter-input input[type="checkbox"]:focus-visible + svg { + outline: 2px solid var(--color-focus-outline); + } + .tsd-checkbox-background { + fill: var(--color-accent); + } + input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); + } + .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; + } + .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); + } -dl.tsd-comment-tag-group dd:before, -dl.tsd-comment-tag-group dd:after { - content: " "; -} -dl.tsd-comment-tag-group dd pre, -dl.tsd-comment-tag-group dd:after { - clear: both; -} -dl.tsd-comment-tag-group p { - margin: 0; -} + .settings-label { + font-weight: bold; + text-transform: uppercase; + display: inline-block; + } -.tsd-panel.tsd-comment .lead { - font-size: 1.1em; - line-height: 1.333em; - margin-bottom: 2em; -} -.tsd-panel.tsd-comment .lead:last-child { - margin-bottom: 0; -} + .tsd-filter-visibility .settings-label { + margin: 0.75rem 0 0.5rem 0; + } -.tsd-filter-visibility h4 { - font-size: 1rem; - padding-top: 0.75rem; - padding-bottom: 0.5rem; - margin: 0; -} -.tsd-filter-item:not(:last-child) { - margin-bottom: 0.5rem; -} -.tsd-filter-input { - display: flex; - width: fit-content; - width: -moz-fit-content; - align-items: center; - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - cursor: pointer; -} -.tsd-filter-input input[type="checkbox"] { - cursor: pointer; - position: absolute; - width: 1.5em; - height: 1.5em; - opacity: 0; -} -.tsd-filter-input input[type="checkbox"]:disabled { - pointer-events: none; -} -.tsd-filter-input svg { - cursor: pointer; - width: 1.5em; - height: 1.5em; - margin-right: 0.5em; - border-radius: 0.33em; - /* Leaving this at full opacity breaks event listeners on Firefox. - Don't remove unless you know what you're doing. */ - opacity: 0.99; -} -.tsd-filter-input input[type="checkbox"]:focus + svg { - transform: scale(0.95); -} -.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { - transform: scale(1); -} -.tsd-checkbox-background { - fill: var(--color-accent); -} -input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { - stroke: var(--color-text); -} -.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { - fill: var(--color-background); - stroke: var(--color-accent); - stroke-width: 0.25rem; -} -.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { - stroke: var(--color-accent); -} + .tsd-theme-toggle .settings-label { + margin: 0.75rem 0.75rem 0 0; + } -.tsd-theme-toggle { - padding-top: 0.75rem; -} -.tsd-theme-toggle > h4 { - display: inline; - vertical-align: middle; - margin-right: 0.75rem; -} + .tsd-hierarchy h4 label:hover span { + text-decoration: underline; + } -.tsd-hierarchy { - list-style: square; - margin: 0; -} -.tsd-hierarchy .target { - font-weight: bold; -} + .tsd-hierarchy { + list-style: square; + margin: 0; + } + .tsd-hierarchy-target { + font-weight: bold; + } + .tsd-hierarchy-toggle { + color: var(--color-link); + cursor: pointer; + } -.tsd-panel-group.tsd-index-group { - margin-bottom: 0; -} -.tsd-index-panel .tsd-index-list { - list-style: none; - line-height: 1.333em; - margin: 0; - padding: 0.25rem 0 0 0; - overflow: hidden; - display: grid; - grid-template-columns: repeat(3, 1fr); - column-gap: 1rem; - grid-template-rows: auto; -} -@media (max-width: 1024px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(2, 1fr); + .tsd-full-hierarchy:not(:last-child) { + margin-bottom: 1em; + padding-bottom: 1em; + border-bottom: 1px solid var(--color-accent); + } + .tsd-full-hierarchy, + .tsd-full-hierarchy ul { + list-style: none; + margin: 0; + padding: 0; + } + .tsd-full-hierarchy ul { + padding-left: 1.5rem; + } + .tsd-full-hierarchy a { + padding: 0.25rem 0 !important; + font-size: 1rem; + display: inline-flex; + align-items: center; + color: var(--color-text); + } + .tsd-full-hierarchy svg[data-dropdown] { + cursor: pointer; + } + .tsd-full-hierarchy svg[data-dropdown="false"] { + transform: rotate(-90deg); + } + .tsd-full-hierarchy svg[data-dropdown="false"] ~ ul { + display: none; + } + + .tsd-panel-group.tsd-index-group { + margin-bottom: 0; } -} -@media (max-width: 768px) { .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(1, 1fr); + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; + } + @media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } + } + @media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } + } + .tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; } -} -.tsd-index-panel .tsd-index-list li { - -webkit-page-break-inside: avoid; - -moz-page-break-inside: avoid; - -ms-page-break-inside: avoid; - -o-page-break-inside: avoid; - page-break-inside: avoid; -} -.tsd-flag { - display: inline-block; - padding: 0.25em 0.4em; - border-radius: 4px; - color: var(--color-comment-tag-text); - background-color: var(--color-comment-tag); - text-indent: 0; - font-size: 75%; - line-height: 1; - font-weight: normal; -} + .tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; + } -.tsd-anchor { - position: relative; - top: -100px; -} + .tsd-anchor { + position: relative; + top: -100px; + } -.tsd-member { - position: relative; -} -.tsd-member .tsd-anchor + h3 { - display: flex; - align-items: center; - margin-top: 0; - margin-bottom: 0; - border-bottom: none; -} + .tsd-member { + position: relative; + } + .tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; + } -.tsd-navigation.settings { - margin: 1rem 0; -} -.tsd-navigation > a, -.tsd-navigation .tsd-accordion-summary { - width: calc(100% - 0.5rem); -} -.tsd-navigation a, -.tsd-navigation summary > span, -.tsd-page-navigation a { - display: inline-flex; - align-items: center; - padding: 0.25rem; - color: var(--color-text); - text-decoration: none; - box-sizing: border-box; -} -.tsd-navigation a.current, -.tsd-page-navigation a.current { - background: var(--color-active-menu-item); -} -.tsd-navigation a:hover, -.tsd-page-navigation a:hover { - text-decoration: underline; -} -.tsd-navigation ul, -.tsd-page-navigation ul { - margin-top: 0; - margin-bottom: 0; - padding: 0; - list-style: none; -} -.tsd-navigation li, -.tsd-page-navigation li { - padding: 0; - max-width: 100%; -} -.tsd-nested-navigation { - margin-left: 3rem; -} -.tsd-nested-navigation > li > details { - margin-left: -1.5rem; -} -.tsd-small-nested-navigation { - margin-left: 1.5rem; -} -.tsd-small-nested-navigation > li > details { - margin-left: -1.5rem; -} - -.tsd-nested-navigation > li > a, -.tsd-nested-navigation > li > span { - width: calc(100% - 1.75rem - 0.5rem); -} - -.tsd-page-navigation ul { - padding-left: 1.75rem; -} - -#tsd-sidebar-links a { - margin-top: 0; - margin-bottom: 0.5rem; - line-height: 1.25rem; -} -#tsd-sidebar-links a:last-of-type { - margin-bottom: 0; -} - -a.tsd-index-link { - padding: 0.25rem 0 !important; - font-size: 1rem; - line-height: 1.25rem; - display: inline-flex; - align-items: center; - color: var(--color-text); -} -.tsd-accordion-summary { - list-style-type: none; /* hide marker on non-safari */ - outline: none; /* broken on safari, so just hide it */ -} -.tsd-accordion-summary::-webkit-details-marker { - display: none; /* hide marker on safari */ -} -.tsd-accordion-summary, -.tsd-accordion-summary a { - user-select: none; - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - - cursor: pointer; -} -.tsd-accordion-summary a { - width: calc(100% - 1.5rem); -} -.tsd-accordion-summary > * { - margin-top: 0; - margin-bottom: 0; - padding-top: 0; - padding-bottom: 0; -} -.tsd-index-accordion .tsd-accordion-summary > svg { - margin-left: 0.25rem; -} -.tsd-index-content > :not(:first-child) { - margin-top: 0.75rem; -} -.tsd-index-heading { - margin-top: 1.5rem; - margin-bottom: 0.75rem; -} - -.tsd-kind-icon { - margin-right: 0.5rem; - width: 1.25rem; - height: 1.25rem; - min-width: 1.25rem; - min-height: 1.25rem; -} -.tsd-kind-icon path { - transform-origin: center; - transform: scale(1.1); -} -.tsd-signature > .tsd-kind-icon { - margin-right: 0.8rem; -} - -.tsd-panel { - margin-bottom: 2.5rem; -} -.tsd-panel.tsd-member { - margin-bottom: 4rem; -} -.tsd-panel:empty { - display: none; -} -.tsd-panel > h1, -.tsd-panel > h2, -.tsd-panel > h3 { - margin: 1.5rem -1.5rem 0.75rem -1.5rem; - padding: 0 1.5rem 0.75rem 1.5rem; -} -.tsd-panel > h1.tsd-before-signature, -.tsd-panel > h2.tsd-before-signature, -.tsd-panel > h3.tsd-before-signature { - margin-bottom: 0; - border-bottom: none; -} - -.tsd-panel-group { - margin: 4rem 0; -} -.tsd-panel-group.tsd-index-group { - margin: 2rem 0; -} -.tsd-panel-group.tsd-index-group details { - margin: 2rem 0; -} - -#tsd-search { - transition: background-color 0.2s; -} -#tsd-search .title { - position: relative; - z-index: 2; -} -#tsd-search .field { - position: absolute; - left: 0; - top: 0; - right: 2.5rem; - height: 100%; -} -#tsd-search .field input { - box-sizing: border-box; - position: relative; - top: -50px; - z-index: 1; - width: 100%; - padding: 0 10px; - opacity: 0; - outline: 0; - border: 0; - background: transparent; - color: var(--color-text); -} -#tsd-search .field label { - position: absolute; - overflow: hidden; - right: -40px; -} -#tsd-search .field input, -#tsd-search .title, -#tsd-toolbar-links a { - transition: opacity 0.2s; -} -#tsd-search .results { - position: absolute; - visibility: hidden; - top: 40px; - width: 100%; - margin: 0; - padding: 0; - list-style: none; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); -} -#tsd-search .results li { - background-color: var(--color-background); - line-height: initial; - padding: 4px; -} -#tsd-search .results li:nth-child(even) { - background-color: var(--color-background-secondary); -} -#tsd-search .results li.state { - display: none; -} -#tsd-search .results li.current:not(.no-results), -#tsd-search .results li:hover:not(.no-results) { - background-color: var(--color-accent); -} -#tsd-search .results a { - display: flex; - align-items: center; - padding: 0.25rem; - box-sizing: border-box; -} -#tsd-search .results a:before { - top: 10px; -} -#tsd-search .results span.parent { - color: var(--color-text-aside); - font-weight: normal; -} -#tsd-search.has-focus { - background-color: var(--color-accent); -} -#tsd-search.has-focus .field input { - top: 0; - opacity: 1; -} -#tsd-search.has-focus .title, -#tsd-search.has-focus #tsd-toolbar-links a { - z-index: 0; - opacity: 0; -} -#tsd-search.has-focus .results { - visibility: visible; -} -#tsd-search.loading .results li.state.loading { - display: block; -} -#tsd-search.failure .results li.state.failure { - display: block; -} - -#tsd-toolbar-links { - position: absolute; - top: 0; - right: 2rem; - height: 100%; - display: flex; - align-items: center; - justify-content: flex-end; -} -#tsd-toolbar-links a { - margin-left: 1.5rem; -} -#tsd-toolbar-links a:hover { - text-decoration: underline; -} - -.tsd-signature { - margin: 0 0 1rem 0; - padding: 1rem 0.5rem; - border: 1px solid var(--color-accent); - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 14px; - overflow-x: auto; -} - -.tsd-signature-keyword { - color: var(--color-ts-keyword); - font-weight: normal; -} - -.tsd-signature-symbol { - color: var(--color-text-aside); - font-weight: normal; -} - -.tsd-signature-type { - font-style: italic; - font-weight: normal; -} - -.tsd-signatures { - padding: 0; - margin: 0 0 1em 0; - list-style-type: none; -} -.tsd-signatures .tsd-signature { - margin: 0; - border-color: var(--color-accent); - border-width: 1px 0; - transition: background-color 0.1s; -} -.tsd-description .tsd-signatures .tsd-signature { - border-width: 1px; -} - -ul.tsd-parameter-list, -ul.tsd-type-parameter-list { - list-style: square; - margin: 0; - padding-left: 20px; -} -ul.tsd-parameter-list > li.tsd-parameter-signature, -ul.tsd-type-parameter-list > li.tsd-parameter-signature { - list-style: none; - margin-left: -20px; -} -ul.tsd-parameter-list h5, -ul.tsd-type-parameter-list h5 { - font-size: 16px; - margin: 1em 0 0.5em 0; -} -.tsd-sources { - margin-top: 1rem; - font-size: 0.875em; -} -.tsd-sources a { - color: var(--color-text-aside); - text-decoration: underline; -} -.tsd-sources ul { - list-style: none; - padding: 0; -} - -.tsd-page-toolbar { - position: sticky; - z-index: 1; - top: 0; - left: 0; - width: 100%; - color: var(--color-text); - background: var(--color-background-secondary); - border-bottom: 1px var(--color-accent) solid; - transition: transform 0.3s ease-in-out; -} -.tsd-page-toolbar a { - color: var(--color-text); - text-decoration: none; -} -.tsd-page-toolbar a.title { - font-weight: bold; -} -.tsd-page-toolbar a.title:hover { - text-decoration: underline; -} -.tsd-page-toolbar .tsd-toolbar-contents { - display: flex; - justify-content: space-between; - height: 2.5rem; - margin: 0 auto; -} -.tsd-page-toolbar .table-cell { - position: relative; - white-space: nowrap; - line-height: 40px; -} -.tsd-page-toolbar .table-cell:first-child { - width: 100%; -} -.tsd-page-toolbar .tsd-toolbar-icon { - box-sizing: border-box; - line-height: 0; - padding: 12px 0; -} - -.tsd-widget { - display: inline-block; - overflow: hidden; - opacity: 0.8; - height: 40px; - transition: - opacity 0.1s, - background-color 0.2s; - vertical-align: bottom; - cursor: pointer; -} -.tsd-widget:hover { - opacity: 0.9; -} -.tsd-widget.active { - opacity: 1; - background-color: var(--color-accent); -} -.tsd-widget.no-caption { - width: 40px; -} -.tsd-widget.no-caption:before { - margin: 0; -} - -.tsd-widget.options, -.tsd-widget.menu { - display: none; -} -input[type="checkbox"] + .tsd-widget:before { - background-position: -120px 0; -} -input[type="checkbox"]:checked + .tsd-widget:before { - background-position: -160px 0; -} - -img { - max-width: 100%; -} - -.tsd-anchor-icon { - display: inline-flex; - align-items: center; - margin-left: 0.5rem; - vertical-align: middle; - color: var(--color-text); -} - -.tsd-anchor-icon svg { - width: 1em; - height: 1em; - visibility: hidden; -} - -.tsd-anchor-link:hover > .tsd-anchor-icon svg { - visibility: visible; -} - -.deprecated { - text-decoration: line-through !important; -} - -.warning { - padding: 1rem; - color: var(--color-warning-text); - background: var(--color-background-warning); -} + .tsd-navigation.settings { + margin: 0; + margin-bottom: 1rem; + } + .tsd-navigation > a, + .tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.25rem); + display: flex; + align-items: center; + } + .tsd-navigation a, + .tsd-navigation summary > span, + .tsd-page-navigation a { + display: flex; + width: calc(100% - 0.25rem); + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; + } + .tsd-navigation a.current, + .tsd-page-navigation a.current { + background: var(--color-active-menu-item); + color: var(--color-contrast-text); + } + .tsd-navigation a:hover, + .tsd-page-navigation a:hover { + text-decoration: underline; + } + .tsd-navigation ul, + .tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; + } + .tsd-navigation li, + .tsd-page-navigation li { + padding: 0; + max-width: 100%; + } + .tsd-navigation .tsd-nav-link { + display: none; + } + .tsd-nested-navigation { + margin-left: 3rem; + } + .tsd-nested-navigation > li > details { + margin-left: -1.5rem; + } + .tsd-small-nested-navigation { + margin-left: 1.5rem; + } + .tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; + } -.tsd-kind-project { - color: var(--color-ts-project); -} -.tsd-kind-module { - color: var(--color-ts-module); -} -.tsd-kind-namespace { - color: var(--color-ts-namespace); -} -.tsd-kind-enum { - color: var(--color-ts-enum); -} -.tsd-kind-enum-member { - color: var(--color-ts-enum-member); -} -.tsd-kind-variable { - color: var(--color-ts-variable); -} -.tsd-kind-function { - color: var(--color-ts-function); -} -.tsd-kind-class { - color: var(--color-ts-class); -} -.tsd-kind-interface { - color: var(--color-ts-interface); -} -.tsd-kind-constructor { - color: var(--color-ts-constructor); -} -.tsd-kind-property { - color: var(--color-ts-property); -} -.tsd-kind-method { - color: var(--color-ts-method); -} -.tsd-kind-call-signature { - color: var(--color-ts-call-signature); -} -.tsd-kind-index-signature { - color: var(--color-ts-index-signature); -} -.tsd-kind-constructor-signature { - color: var(--color-ts-constructor-signature); -} -.tsd-kind-parameter { - color: var(--color-ts-parameter); -} -.tsd-kind-type-literal { - color: var(--color-ts-type-literal); -} -.tsd-kind-type-parameter { - color: var(--color-ts-type-parameter); -} -.tsd-kind-accessor { - color: var(--color-ts-accessor); -} -.tsd-kind-get-signature { - color: var(--color-ts-get-signature); -} -.tsd-kind-set-signature { - color: var(--color-ts-set-signature); -} -.tsd-kind-type-alias { - color: var(--color-ts-type-alias); -} + .tsd-page-navigation-section > summary { + padding: 0.25rem; + } + .tsd-page-navigation-section > summary > svg { + margin-right: 0.25rem; + } + .tsd-page-navigation-section > div { + margin-left: 30px; + } + .tsd-page-navigation ul { + padding-left: 1.75rem; + } -/* if we have a kind icon, don't color the text by kind */ -.tsd-kind-icon ~ span { - color: var(--color-text); -} + #tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; + } + #tsd-sidebar-links a:last-of-type { + margin-bottom: 0; + } -* { - scrollbar-width: thin; - scrollbar-color: var(--color-accent) var(--color-icon-background); -} + a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); + } + .tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ + display: flex; + align-items: center; + gap: 0.25rem; + box-sizing: border-box; + } + .tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ + } + .tsd-accordion-summary, + .tsd-accordion-summary a { + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + user-select: none; + + cursor: pointer; + } + .tsd-accordion-summary > a { + width: calc(100% - 1.5rem); + } + .tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; + } + /* + * We need to be careful to target the arrow indicating whether the accordion + * is open, but not any other SVGs included in the details element. + */ + .tsd-accordion:not([open]) > .tsd-accordion-summary > svg:first-child { + transform: rotate(-90deg); + } + .tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; + } + .tsd-index-summary { + margin-top: 1.5rem; + margin-bottom: 0.75rem; + display: flex; + align-content: center; + } -*::-webkit-scrollbar { - width: 0.75rem; -} + .tsd-no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + } + .tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + } + .tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; + } -*::-webkit-scrollbar-track { - background: var(--color-icon-background); -} + .tsd-panel { + margin-bottom: 2.5rem; + } + .tsd-panel.tsd-member { + margin-bottom: 4rem; + } + .tsd-panel:empty { + display: none; + } + .tsd-panel > h1, + .tsd-panel > h2, + .tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; + } + .tsd-panel > h1.tsd-before-signature, + .tsd-panel > h2.tsd-before-signature, + .tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; + } -*::-webkit-scrollbar-thumb { - background-color: var(--color-accent); - border-radius: 999rem; - border: 0.25rem solid var(--color-icon-background); -} + .tsd-panel-group { + margin: 2rem 0; + } + .tsd-panel-group.tsd-index-group { + margin: 2rem 0; + } + .tsd-panel-group.tsd-index-group details { + margin: 2rem 0; + } + .tsd-panel-group > .tsd-accordion-summary { + margin-bottom: 1rem; + } -/* mobile */ -@media (max-width: 769px) { - .tsd-widget.options, - .tsd-widget.menu { - display: inline-block; + #tsd-search[open] { + animation: fade-in var(--modal-animation-duration) ease-out forwards; + } + #tsd-search[open].closing { + animation-name: fade-out; } - .container-main { + /* Avoid setting `display` on closed dialog */ + #tsd-search[open] { display: flex; + flex-direction: column; + padding: 1rem; + width: 32rem; + max-width: 90vw; + max-height: calc(100vh - env(keyboard-inset-height, 0px) - 25vh); + /* Anchor dialog to top */ + margin-top: 10vh; + border-radius: 6px; + will-change: max-height; } - html .col-content { - float: none; - max-width: 100%; + #tsd-search-input { + box-sizing: border-box; width: 100%; + padding: 0 0.625rem; /* 10px */ + outline: 0; + border: 2px solid var(--color-accent); + background-color: transparent; + color: var(--color-text); + border-radius: 4px; + height: 2.5rem; + flex: 0 0 auto; + font-size: 0.875rem; + transition: border-color 0.2s, background-color 0.2s; + } + #tsd-search-input:focus-visible { + background-color: var(--color-background-active); + border-color: transparent; + color: var(--color-contrast-text); } - html .col-sidebar { - position: fixed !important; + #tsd-search-input::placeholder { + color: inherit; + opacity: 0.8; + } + #tsd-search-results { + margin: 0; + padding: 0; + list-style: none; + flex: 1 1 auto; + display: flex; + flex-direction: column; overflow-y: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - padding: 1.5rem 1.5rem 0 0; - width: 75vw; - visibility: hidden; + } + #tsd-search-results:not(:empty) { + margin-top: 0.5rem; + } + #tsd-search-results > li { background-color: var(--color-background); - transform: translate(100%, 0); + line-height: 1.5; + box-sizing: border-box; + border-radius: 4px; } - html .col-sidebar > *:last-child { - padding-bottom: 20px; + #tsd-search-results > li:nth-child(even) { + background-color: var(--color-background-secondary); } - html .overlay { - content: ""; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; + #tsd-search-results > li:is(:hover, [aria-selected="true"]) { + background-color: var(--color-background-active); + color: var(--color-contrast-text); + } + /* It's important that this takes full size of parent `li`, to capture a click on `li` */ + #tsd-search-results > li > a { + display: flex; + align-items: center; + padding: 0.5rem 0.25rem; + box-sizing: border-box; + width: 100%; + } + #tsd-search-results > li > a > .text { + flex: 1 1 auto; + min-width: 0; + overflow-wrap: anywhere; + } + #tsd-search-results > li > a .parent { + color: var(--color-text-aside); + } + #tsd-search-results > li > a mark { + color: inherit; + background-color: inherit; + font-weight: bold; + } + #tsd-search-status { + flex: 1; + display: grid; + place-content: center; + text-align: center; + overflow-wrap: anywhere; + } + #tsd-search-status:not(:empty) { + min-height: 6rem; } - .to-has-menu .overlay { - animation: fade-in 0.4s; + .tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; } - .to-has-menu .col-sidebar { - animation: pop-in-from-right 0.4s; + .tsd-signature-keyword { + color: var(--color-ts-keyword); + font-weight: normal; } - .from-has-menu .overlay { - animation: fade-out 0.4s; + .tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; } - .from-has-menu .col-sidebar { - animation: pop-out-to-right 0.4s; + .tsd-signature-type { + font-style: italic; + font-weight: normal; } - .has-menu body { - overflow: hidden; + .tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; } - .has-menu .overlay { - visibility: visible; + .tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; } - .has-menu .col-sidebar { - visibility: visible; - transform: translate(0, 0); + .tsd-signatures .tsd-index-signature:not(:last-child) { + margin-bottom: 1em; + } + .tsd-signatures .tsd-index-signature .tsd-signature { + border-width: 1px; + } + .tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; + } + + ul.tsd-parameter-list, + ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; + } + ul.tsd-parameter-list > li.tsd-parameter-signature, + ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; + } + ul.tsd-parameter-list h5, + ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; + } + .tsd-sources { + margin-top: 1rem; + font-size: 0.875em; + } + .tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; + } + .tsd-sources ul { + list-style: none; + padding: 0; + } + + .tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: var(--dim-toolbar-border-bottom-width) + var(--color-accent) solid; + transition: transform 0.3s ease-in-out; + } + .tsd-page-toolbar a { + color: var(--color-text); + } + .tsd-toolbar-contents { display: flex; - flex-direction: column; + align-items: center; + height: var(--dim-toolbar-contents-height); + margin: 0 auto; + } + .tsd-toolbar-contents > .title { + font-weight: bold; + margin-right: auto; + } + #tsd-toolbar-links { + display: flex; + align-items: center; gap: 1.5rem; - max-height: 100vh; - padding: 1rem 2rem; + margin-right: 1rem; } - .has-menu .tsd-navigation { - max-height: 100%; + + .tsd-widget { + box-sizing: border-box; + display: inline-block; + opacity: 0.8; + height: 2.5rem; + width: 2.5rem; + transition: opacity 0.1s, background-color 0.1s; + text-align: center; + cursor: pointer; + border: none; + background-color: transparent; + } + .tsd-widget:hover { + opacity: 0.9; + } + .tsd-widget:active { + opacity: 1; + background-color: var(--color-accent); + } + #tsd-toolbar-menu-trigger { + display: none; } -} -/* one sidebar */ -@media (min-width: 770px) { - .container-main { - display: grid; - grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); - grid-template-areas: "sidebar content"; - margin: 2rem auto; + .tsd-member-summary-name { + display: inline-flex; + align-items: center; + padding: 0.25rem; + text-decoration: none; } - .col-sidebar { - grid-area: sidebar; + .tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + color: var(--color-text); + vertical-align: middle; } - .col-content { - grid-area: content; - padding: 0 1rem; + + .tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; } -} -@media (min-width: 770px) and (max-width: 1399px) { - .col-sidebar { - max-height: calc(100vh - 2rem - 42px); - overflow: auto; - position: sticky; - top: 42px; - padding-top: 1rem; + + .tsd-member-summary-name:hover > .tsd-anchor-icon svg, + .tsd-anchor-link:hover > .tsd-anchor-icon svg, + .tsd-anchor-icon:focus-visible svg { + visibility: visible; } - .site-menu { - margin-top: 1rem; + + .deprecated { + text-decoration: line-through !important; } -} -/* two sidebars */ -@media (min-width: 1200px) { - .container-main { - grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); - grid-template-areas: "sidebar content toc"; + .warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); } - .col-sidebar { - display: contents; + .tsd-kind-project { + color: var(--color-ts-project); + } + .tsd-kind-module { + color: var(--color-ts-module); + } + .tsd-kind-namespace { + color: var(--color-ts-namespace); + } + .tsd-kind-enum { + color: var(--color-ts-enum); + } + .tsd-kind-enum-member { + color: var(--color-ts-enum-member); + } + .tsd-kind-variable { + color: var(--color-ts-variable); + } + .tsd-kind-function { + color: var(--color-ts-function); + } + .tsd-kind-class { + color: var(--color-ts-class); + } + .tsd-kind-interface { + color: var(--color-ts-interface); + } + .tsd-kind-constructor { + color: var(--color-ts-constructor); + } + .tsd-kind-property { + color: var(--color-ts-property); + } + .tsd-kind-method { + color: var(--color-ts-method); + } + .tsd-kind-reference { + color: var(--color-ts-reference); + } + .tsd-kind-call-signature { + color: var(--color-ts-call-signature); + } + .tsd-kind-index-signature { + color: var(--color-ts-index-signature); + } + .tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); + } + .tsd-kind-parameter { + color: var(--color-ts-parameter); + } + .tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); + } + .tsd-kind-accessor { + color: var(--color-ts-accessor); + } + .tsd-kind-get-signature { + color: var(--color-ts-get-signature); + } + .tsd-kind-set-signature { + color: var(--color-ts-set-signature); + } + .tsd-kind-type-alias { + color: var(--color-ts-type-alias); } - .page-menu { - grid-area: toc; - padding-left: 1rem; + /* if we have a kind icon, don't color the text by kind */ + .tsd-kind-icon ~ span { + color: var(--color-text); } - .site-menu { - grid-area: sidebar; + + /* mobile */ + @media (max-width: 769px) { + #tsd-toolbar-menu-trigger { + display: inline-block; + /* temporary fix to vertically align, for compatibility */ + line-height: 2.5; + } + #tsd-toolbar-links { + display: none; + } + + .container-main { + display: flex; + } + .col-content { + float: none; + max-width: 100%; + width: 100%; + } + .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + .col-sidebar > *:last-child { + padding-bottom: 20px; + } + .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } + .tsd-navigation .tsd-nav-link { + display: flex; + } } - .site-menu { - margin-top: 1rem 0; + /* one sidebar */ + @media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + --dim-container-main-margin-y: 2rem; + } + + .tsd-breadcrumb { + margin-top: 0; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } + } + @media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc( + 100vh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + overflow: auto; + position: sticky; + top: calc( + var(--dim-header-height) + var(--dim-container-main-margin-y) + ); + } + .site-menu { + margin-top: 1rem; + } } - .page-menu, - .site-menu { - max-height: calc(100vh - 2rem - 42px); - overflow: auto; - position: sticky; - top: 42px; + /* two sidebars */ + @media (min-width: 1200px) { + .container-main { + grid-template-columns: + minmax(0, 1fr) minmax(0, 2.5fr) minmax( + 0, + 20rem + ); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 0rem; + } + + .page-menu, + .site-menu { + max-height: calc( + 100vh - var(--dim-header-height) - var(--dim-footer-height) - + 2 * var(--dim-container-main-margin-y) + ); + overflow: auto; + position: sticky; + top: calc( + var(--dim-header-height) + var(--dim-container-main-margin-y) + ); + } } } diff --git a/docs/classes/ApplicationCommand.html b/docs/classes/ApplicationCommand.html index a71a0c1731..78d1ec1962 100644 --- a/docs/classes/ApplicationCommand.html +++ b/docs/classes/ApplicationCommand.html @@ -1,8 +1,142 @@ -ApplicationCommand | @tryforge/forgescript

Constructors

Properties

Accessors

Methods

Constructors

Properties

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file +ApplicationCommand | @tryforge/forgescript
+
@tryforge/forgescript + +
    +
    +
    Preparing search index...
    +
    +
    +
    + +

    Class ApplicationCommand

    +
    +
    +
    +
    Index
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    diff --git a/docs/classes/ApplicationCommandManager.html b/docs/classes/ApplicationCommandManager.html index 8a50b4cc7c..3d7ae0cfcf 100644 --- a/docs/classes/ApplicationCommandManager.html +++ b/docs/classes/ApplicationCommandManager.html @@ -1,25 +1,198 @@ -ApplicationCommandManager | @tryforge/forgescript

    Class ApplicationCommandManager

    Constructors

    Properties

    client: ForgeClient
    commands: Collection<string, ApplicationCommand | Collection<string, ApplicationCommand | Collection<string, ApplicationCommand>>> = ...

    If:

    -
      -
    • value is app command = slash command
    • -
    • value is collection:
    • -
    • value is slash command = subcommands
    • -
    • value is collection = group with subcommands
    • -
    -
    path: string

    Methods

    • Returns undefined | Promise<Collection<string, ApplicationCommand<{
          guild: GuildResolvable;
      }>>>

    • Parameters

      • g: Guild

      Returns undefined | Promise<Collection<string, ApplicationCommand<{}>>>

    Generated using TypeDoc

    \ No newline at end of file +ApplicationCommandManager | @tryforge/forgescript
    +
    @tryforge/forgescript + +
      +
      +
      Preparing search index...
      +
      +
      +
      + +

      Class ApplicationCommandManager

      +
      +
      +
      +
      Index
      +
      +
      + +
      +
      + +
      +
      + +
      +
      + +
      +
      + +
      +
      + +
      +
      + +
      client: ForgeClient
      +
      + +
      +
      + +
      +
      + +
      +
      + +
      +
      + +
      +
      + +
        +
      • + +
        +

        Returns
            | Promise<
                Collection<string, ApplicationCommand<{ guild: GuildResolvable }>>,
            >
            | undefined

      +
      + +
        +
      • + +
        +
        +

        Parameters

        +
          +
        • g: Guild
        +

        Returns Promise<Collection<string, ApplicationCommand<{}>>> | undefined

      +
      + +
      +
      + +
      +
      + +
      +
      diff --git a/docs/classes/Arg.html b/docs/classes/Arg.html index 63cb0a52ae..3b90e3cf9a 100644 --- a/docs/classes/Arg.html +++ b/docs/classes/Arg.html @@ -1,105 +1,1627 @@ -Arg | @tryforge/forgescript

      Constructors

      Methods

      create -optionalApplicationEmoji -optionalAttachment -optionalAutomodRule -optionalBigInt -optionalBoolean -optionalChannel -optionalColor -optionalDate -optionalEmoji -optionalEnum -optionalForumTag -optionalGuild -optionalGuildEmoji -optionalInvite -optionalJson -optionalMember -optionalMessage -optionalNumber -optionalOverwritePermission -optionalPermission -optionalReaction -optionalRole -optionalRoleOrUser -optionalScheduledEvent -optionalSoundboardSound -optionalStageInstance -optionalSticker -optionalString -optionalTemplate -optionalTextChannel -optionalTime -optionalURL -optionalUser -optionalWebhook -requiredApplicationEmoji -requiredAttachment -requiredAutomodRule -requiredBigInt -requiredBoolean -requiredChannel -requiredColor -requiredDate -requiredEmoji -requiredEnum -requiredForumTag -requiredGuild -requiredGuildEmoji -requiredInvite -requiredJson -requiredMember -requiredMessage -requiredNumber -requiredOverwritePermission -requiredPermission -requiredReaction -requiredRole -requiredRoleOrUser -requiredScheduledEvent -requiredSoundboardSound -requiredStageInstance -requiredSticker -requiredString -requiredTemplate -requiredTextChannel -requiredTime -requiredURL -requiredUser -requiredWebhook -restApplicationEmoji -restAttachment -restAutomodRule -restBigInt -restBoolean -restChannel -restColor -restDate -restEmoji -restEnum -restForumTag -restGuild -restGuildEmoji -restInvite -restJson -restMember -restMessage -restNumber -restOverwritePermission -restPermission -restReaction -restRole -restRoleOrUser -restScheduledEvent -restSoundboardSound -restStageInstance -restSticker -restString -restTemplate -restTextChannel -restTime -restURL -restUser -restWebhook -

      Constructors

      Methods

      Generated using TypeDoc

      \ No newline at end of file +Arg | @tryforge/forgescript
      +
      @tryforge/forgescript + +
        +
        +
        Preparing search index...
        +
        +
        +
        + +

        Class Arg

        +
        +
        +
        +
        Index
        +
        +
        + +
        optionalApplicationEmoji +optionalAttachment +optionalAutomodRule +optionalBigInt +optionalBoolean +optionalChannel +optionalColor +optionalDate +optionalEmoji +optionalEnum +optionalForumTag +optionalGuild +optionalGuildEmoji +optionalInvite +optionalJson +optionalMember +optionalMessage +optionalNumber +optionalOverwritePermission +optionalPermission +optionalReaction +optionalRole +optionalRoleOrUser +optionalScheduledEvent +optionalSoundboardSound +optionalStageInstance +optionalSticker +optionalString +optionalTemplate +optionalTextChannel +optionalTime +optionalURL +optionalUser +optionalWebhook +requiredApplicationEmoji +requiredAttachment +requiredAutomodRule +requiredBigInt +requiredBoolean +requiredChannel +requiredColor +requiredDate +requiredEmoji +requiredEnum +requiredForumTag +requiredGuild +requiredGuildEmoji +requiredInvite +requiredJson +requiredMember +requiredMessage +requiredNumber +requiredOverwritePermission +requiredPermission +requiredReaction +requiredRole +requiredRoleOrUser +requiredScheduledEvent +requiredSoundboardSound +requiredStageInstance +requiredSticker +requiredString +requiredTemplate +requiredTextChannel +requiredTime +requiredURL +requiredUser +requiredWebhook +restApplicationEmoji +restAttachment +restAutomodRule +restBigInt +restBoolean +restChannel +restColor +restDate +restEmoji +restEnum +restForumTag +restGuild +restGuildEmoji +restInvite +restJson +restMember +restMessage +restNumber +restOverwritePermission +restPermission +restReaction +restRole +restRoleOrUser +restScheduledEvent +restSoundboardSound +restStageInstance +restSticker +restString +restTemplate +restTextChannel +restTime +restURL +restUser +restWebhook +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
          +
        • + +
          +
          +

          Parameters

          +
            +
          • name: string = "timestamp/date"
          • +
          • desc: string = "The timestamp/date to use"
          • +
          • required: boolean = false
          +

          Returns IArg<Date, boolean, true, EnumLike>

        +
        + +
        +
        + +
          +
        • + +
          +
          +

          Type Parameters

          +
          +
          +

          Parameters

          +
            +
          • en: T
          • +
          • name: string = "enum values"
          • +
          • desc: string = "The enum values to use"
          • +
          • required: boolean = false
          +

          Returns IArg<Enum, boolean, true, T>

        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
          +
        • + +
          +
          +

          Parameters

          +
            +
          • name: string = "json datas"
          • +
          • desc: string = "The JSON valid values to use"
          • +
          • required: boolean = false
          +

          Returns IArg<Json, boolean, true, EnumLike>

        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        + +
          +
        • + +
          +
          +

          Parameters

          +
            +
          • name: string = "duration/time"
          • +
          • desc: string = "The duration/time to use"
          • +
          • required: boolean = false
          +

          Returns IArg<Time, boolean, true, EnumLike>

        +
        + +
        +
        + +
        +
        + +
        +
        + +
        +
        diff --git a/docs/classes/BaseCommand.html b/docs/classes/BaseCommand.html index 815230efca..79372b9297 100644 --- a/docs/classes/BaseCommand.html +++ b/docs/classes/BaseCommand.html @@ -1,12 +1,198 @@ -BaseCommand | @tryforge/forgescript

        Type Parameters

        • T

        Constructors

        Properties

        data: IBaseCommand<T>
        id: number = ++id

        Accessors

        Methods

        Generated using TypeDoc

        \ No newline at end of file +BaseCommand | @tryforge/forgescript
        +
        @tryforge/forgescript + +
          +
          +
          Preparing search index...
          +
          +
          +
          + +

          Class BaseCommand<T>

          +
          +

          Type Parameters

          +
            +
          • T
          +
          +
          +
          +
          Index
          +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          id: number = ++id
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          + +
          +
          diff --git a/docs/classes/BaseCommandManager.html b/docs/classes/BaseCommandManager.html index 28b32646b6..dae021c227 100644 --- a/docs/classes/BaseCommandManager.html +++ b/docs/classes/BaseCommandManager.html @@ -1,29 +1,458 @@ -BaseCommandManager | @tryforge/forgescript

          Class BaseCommandManager<T>Abstract

          Type Parameters

          • T

          Hierarchy

          Constructors

          Properties

          client: ForgeClient
          commands: Collection<T, BaseCommand<T>[]> = ...
          handlerName: string
          paths: string[] = ...
          defaultMaxListeners: number

          Accessors

          Methods

          • Type Parameters

            • U extends "update"

            Parameters

            Returns boolean

          • Type Parameters

            • U extends "update"

            Returns U[]

          • Returns number

          • Parameters

            • type: "update"

            Returns number

          • Type Parameters

            • U extends "update"

            Parameters

            • type: U

            Returns ICommandManagerEvents<T>[U][]

          • Type Parameters

            • U extends "update"

            Parameters

            Returns BaseCommandManager<T>

          • Type Parameters

            • U extends "update"

            Parameters

            • type: U

            Returns ICommandManagerEvents<T>[U][]

          • Parameters

            • Optional event: "update"

            Returns BaseCommandManager<T>

          • Parameters

            • n: number

            Returns BaseCommandManager<T>

          Generated using TypeDoc

          \ No newline at end of file +BaseCommandManager | @tryforge/forgescript
          +
          @tryforge/forgescript + +
            +
            +
            Preparing search index...
            +
            +
            +
            + +

            Class BaseCommandManager<T>Abstract

            +
            +

            Type Parameters

            +
              +
            • T
            +
            +

            Hierarchy (View Summary)

            +
            +
            +
            +
            +
            Index
            +
            +
            + +
            +
            + +
            +
            + +
            +
            + +
            handlerName: string
            +
            + +
            defaultMaxListeners: number
            +
            + +
            +
            + +
            +
            + +
            +
            + +
            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
              +

              Returns this

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
              +

              Returns boolean

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +

              Returns U[]

            +
            + +
            +
            + +
              +
            • + +
              +

              Returns number

            +
            + +
              +
            • + +
              +
              +

              Parameters

              +
                +
              • type: "update"
              +

              Returns number

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
                +
              • type: U
              +

              Returns ICommandManagerEvents<T>[U][]

            +
            + +
            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
              +

              Returns this

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
              +

              Returns this

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
              +

              Returns this

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
              +

              Returns this

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
              +

              Returns this

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
                +
              • type: U
              +

              Returns ICommandManagerEvents<T>[U][]

            +
            + +
            +
            + +
              +
            • + +
              +
              +

              Parameters

              +
                +
              • Optionalevent: "update"
              +

              Returns this

            +
            + +
              +
            • + +
              +
              +

              Type Parameters

              +
                +
              • U extends "update"
              +
              +

              Parameters

              +
              +

              Returns this

            +
            + +
              +
            • + +
              +
              +

              Parameters

              +
                +
              • n: number
              +

              Returns this

            +
            + +
            +
            + +
            +
            diff --git a/docs/classes/BaseEventHandler.html b/docs/classes/BaseEventHandler.html index 3fc6de13df..97ec37da11 100644 --- a/docs/classes/BaseEventHandler.html +++ b/docs/classes/BaseEventHandler.html @@ -1,7 +1,152 @@ -BaseEventHandler | @tryforge/forgescript

            Class BaseEventHandler<Events, T>

            Type Parameters

            • Events = Record<string, unknown[]>

            • T extends keyof Events = keyof Events

            Hierarchy

            Constructors

            Properties

            Accessors

            Methods

            Constructors

            Properties

            data: IEvent<Events, T>

            Accessors

            Methods

            Generated using TypeDoc

            \ No newline at end of file +BaseEventHandler | @tryforge/forgescript
            +
            @tryforge/forgescript + +
              +
              +
              Preparing search index...
              +
              +
              +
              + +

              Class BaseEventHandler<Events, T>

              +
              +

              Type Parameters

              +
                +
              • Events = Record<string, unknown[]>
              • +
              • T extends keyof Events = keyof Events
              +
              +

              Hierarchy (View Summary)

              +
              +
              +
              +
              +
              Index
              +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              data: IEvent<Events, T>
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              +
              diff --git a/docs/classes/CompiledFunction.html b/docs/classes/CompiledFunction.html index b657f168d6..a592c216cb 100644 --- a/docs/classes/CompiledFunction.html +++ b/docs/classes/CompiledFunction.html @@ -1,73 +1,381 @@ -CompiledFunction | @tryforge/forgescript

              Class CompiledFunction<T, Unwrap>

              Type Parameters

              • T extends [...IArg[]] = IArg[]

              • Unwrap extends boolean = boolean

              Constructors

              Properties

              fn: NativeFunction<T, Unwrap>
              CDNIdRegex: RegExp = ...
              IdRegex: RegExp = ...
              OverwriteSymbolMapping: {
                  +: boolean;
                  -: boolean;
                  /: null;
              } = ...

              Type declaration

              • +: boolean
              • -: boolean
              • /: null
              URLRegex: RegExp = ...

              Accessors

              Methods

              • Parameters

                Returns Promise<undefined | DMChannel | PartialDMChannel | PartialGroupDMChannel | NewsChannel | StageChannel | TextChannel | PublicThreadChannel<boolean> | PrivateThreadChannel | VoiceChannel>

              • Parameters

                Returns "resolveURL" | "resolveString" | "resolveBigInt" | "resolveUnknown" | "resolveTextChannel" | "resolveOverwritePermission" | "resolveNumber" | "resolveUser" | "resolveDate" | "resolveGuild" | "resolveRoleOrUser" | "resolveInvite" | "resolvePermission" | "resolveJson" | "resolveColor" | "resolveEnum" | "resolveForumTag" | "resolveEmoji" | "resolveGuildEmoji" | "resolveBoolean" | "resolveAttachment" | "resolveReaction" | "resolveMessage" | "resolveChannel" | "resolveRole" | "resolveWebhook" | "resolveSticker" | "resolveTime" | "resolveMember" | "resolveApplicationEmoji" | "resolveAutomodRule" | "resolveScheduledEvent" | "resolveStageInstance" | "resolveSoundboardSound" | "resolveTemplate"

              Generated using TypeDoc

              \ No newline at end of file +CompiledFunction | @tryforge/forgescript
              +
              @tryforge/forgescript + +
                +
                +
                Preparing search index...
                +
                +
                +
                + +

                Class CompiledFunction<T, Unwrap>

                +
                +

                Type Parameters

                +
                  +
                • T extends [...IArg[]] = IArg[]
                • +
                • Unwrap extends boolean = boolean
                +
                +
                +
                +
                Index
                +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                CDNIdRegex: RegExp = ...
                +
                + +
                IdRegex: RegExp = ...
                +
                + +
                OverwriteSymbolMapping: { "-": boolean; "/": null; "+": boolean } = ...
                +
                + +
                URLRegex: RegExp = ...
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                +
                + +
                  +
                • + +
                  +
                  +

                  Parameters

                  +
                  +

                  Returns
                      | "resolveURL"
                      | "resolveString"
                      | "resolveBigInt"
                      | "resolveUnknown"
                      | "resolveTextChannel"
                      | "resolveOverwritePermission"
                      | "resolveNumber"
                      | "resolveUser"
                      | "resolveDate"
                      | "resolveGuild"
                      | "resolveRoleOrUser"
                      | "resolveInvite"
                      | "resolvePermission"
                      | "resolveJson"
                      | "resolveColor"
                      | "resolveEnum"
                      | "resolveForumTag"
                      | "resolveEmoji"
                      | "resolveGuildEmoji"
                      | "resolveBoolean"
                      | "resolveAttachment"
                      | "resolveReaction"
                      | "resolveMessage"
                      | "resolveChannel"
                      | "resolveRole"
                      | "resolveWebhook"
                      | "resolveSticker"
                      | "resolveTime"
                      | "resolveMember"
                      | "resolveApplicationEmoji"
                      | "resolveAutomodRule"
                      | "resolveScheduledEvent"
                      | "resolveStageInstance"
                      | "resolveSoundboardSound"
                      | "resolveTemplate"

                +
                + +
                +
                diff --git a/docs/classes/Compiler.html b/docs/classes/Compiler.html index 8450d8c25c..e5c656b0db 100644 --- a/docs/classes/Compiler.html +++ b/docs/classes/Compiler.html @@ -1,43 +1,104 @@ -Compiler | @tryforge/forgescript

                REWRITE NEEDED

                -

                Constructors

                Properties

                code?: string
                id: number = 0
                index: number = 0
                matchIndex: number = 0
                outputCode: string = ""
                outputFunctions: ICompiledFunction[] = ...
                path?: null | string
                EscapeRegex: RegExp = ...
                Functions: Collection<string, IRawFunction> = ...
                InvalidCharRegex: RegExp = ...
                Regex: RegExp
                Syntax: {
                    Close: string;
                    Count: string;
                    Escape: string;
                    Negation: string;
                    Open: string;
                    Separator: string;
                    Silent: string;
                } = ...

                Type declaration

                • Close: string
                • Count: string
                • Escape: string
                • Negation: string
                • Open: string
                • Separator: string
                • Silent: string
                SystemRegex: RegExp = ...

                Accessors

                Methods

                • Parameters

                  • char: string

                  Returns {
                      isClosure: boolean;
                      isEscape: boolean;
                      isSeparator: boolean;
                  }

                  • isClosure: boolean
                  • isEscape: boolean
                  • isSeparator: boolean
                • Parameters

                  • syntax: {
                        Close: string;
                        Count: string;
                        Escape: string;
                        Negation: string;
                        Open: string;
                        Separator: string;
                        Silent: string;
                    }
                    • Close: string
                    • Count: string
                    • Escape: string
                    • Negation: string
                    • Open: string
                    • Separator: string
                    • Silent: string

                  Returns void

                Generated using TypeDoc

                \ No newline at end of file +Compiler | @tryforge/forgescript
                +
                @tryforge/forgescript + +
                  +
                  +
                  Preparing search index...
                  +
                  +
                  +
                  + +

                  Class Compiler

                  +
                  +

                  REWRITE NEEDED

                  +
                  +
                  +
                  +
                  +
                  Index
                  +
                  +
                  + +
                  +
                  + +
                  +
                  + +
                  +
                  + +
                  Syntax: {
                      Close: string;
                      Count: string;
                      Escape: string;
                      Negation: string;
                      Open: string;
                      Separator: string;
                      Silent: string;
                  } = ...
                  +
                  + +
                  +
                  + +
                  +
                  + +
                  +
                  + +
                    +
                  • + +
                    +
                    +

                    Parameters

                    +
                      +
                    • syntax: {
                          Close: string;
                          Count: string;
                          Escape: string;
                          Negation: string;
                          Open: string;
                          Separator: string;
                          Silent: string;
                      }
                    +

                    Returns void

                  +
                  + +
                  +
                  diff --git a/docs/classes/Container.html b/docs/classes/Container.html index d661dc3c6d..e3bb1c7f6a 100644 --- a/docs/classes/Container.html +++ b/docs/classes/Container.html @@ -1,41 +1,368 @@ -Container | @tryforge/forgescript

                  Constructors

                  Properties

                  actionRow?: ActionRowBuilder<MessageActionRowComponentBuilder>
                  allowedMentions: MessageMentionOptions = {}
                  appliedTags?: string[]
                  avatarURL?: string
                  channel?: Channel
                  choices: ApplicationCommandOptionChoiceData<string | number>[] = ...
                  components: (ContainerBuilder | ContainerComponentBuilder)[] = ...
                  content?: string
                  deleteIn?: number
                  edit: boolean = false
                  embeds: EmbedBuilder[] = ...
                  ephemeral: boolean = false
                  files: AttachmentBuilder[] = ...
                  followUp: boolean = false
                  inside: ComponentType[] = ...
                  isComponentsV2: boolean = false
                  modal?: ModalBuilder
                  poll?: PollData
                  reference?: string
                  reply: boolean = false
                  silent: boolean = false
                  stickers: StickerResolvable[] = ...
                  threadId?: ThreadChannelResolvable
                  threadName?: string
                  tts: boolean = false
                  update: boolean = false
                  username?: string
                  withComponents: boolean = false
                  withResponse: boolean = false

                  Methods

                  • Checks if current context is inside a component builder function.

                    -

                    Parameters

                    • type: ComponentType

                      The type of the component to check for.

                      -

                    Returns boolean

                  Generated using TypeDoc

                  \ No newline at end of file +Container | @tryforge/forgescript
                  +
                  @tryforge/forgescript + +
                    +
                    +
                    Preparing search index...
                    +
                    +
                    +
                    + +

                    Class Container

                    +
                    +
                    +
                    +
                    Index
                    +
                    +
                    + +
                    +
                    + +
                    +
                    + +
                    +
                    + +
                    actionRow?: ActionRowBuilder<MessageActionRowComponentBuilder>
                    +
                    + +
                    allowedMentions: MessageMentionOptions = {}
                    +
                    + +
                    appliedTags?: string[]
                    +
                    + +
                    avatarURL?: string
                    +
                    + +
                    channel?: Channel
                    +
                    + +
                    choices: ApplicationCommandOptionChoiceData<string | number>[] = ...
                    +
                    + +
                    components: (ContainerBuilder | ContainerComponentBuilder)[] = ...
                    +
                    + +
                    content?: string
                    +
                    + +
                    deleteIn?: number
                    +
                    + +
                    edit: boolean = false
                    +
                    + +
                    embeds: EmbedBuilder[] = ...
                    +
                    + +
                    ephemeral: boolean = false
                    +
                    + +
                    files: AttachmentBuilder[] = ...
                    +
                    + +
                    followUp: boolean = false
                    +
                    + +
                    inside: ComponentType[] = ...
                    +
                    + +
                    isComponentsV2: boolean = false
                    +
                    + +
                    modal?: ModalBuilder
                    +
                    + +
                    poll?: PollData
                    +
                    + +
                    reference?: string
                    +
                    + +
                    reply: boolean = false
                    +
                    + +
                    silent: boolean = false
                    +
                    + +
                    stickers: StickerResolvable[] = ...
                    +
                    + +
                    threadId?: ThreadChannelResolvable
                    +
                    + +
                    threadName?: string
                    +
                    + +
                    tts: boolean = false
                    +
                    + +
                    update: boolean = false
                    +
                    + +
                    username?: string
                    +
                    + +
                    withComponents: boolean = false
                    +
                    + +
                    withResponse: boolean = false
                    +
                    + +
                    +
                    + +
                    +
                    + +
                    +
                    + +
                      +
                    • + +
                      +

                      Checks if current context is inside a component builder function.

                      +
                      +
                      +

                      Parameters

                      +
                        +
                      • type: ComponentType +

                        The type of the component to check for.

                        +
                      +

                      Returns boolean

                    +
                    + +
                      +
                    • + +
                      +
                      +

                      Parameters

                      +
                        +
                      • options: MessageReplyOptions & InteractionReplyOptions & InteractionEditReplyOptions
                      +

                      Returns boolean

                    +
                    + +
                    +
                    + +
                    +
                    + +
                      +
                    • + +
                      +
                      +

                      Type Parameters

                      +
                        +
                      • T = unknown
                      +
                      +

                      Parameters

                      +
                        +
                      • obj: Sendable
                      • +
                      • Optionalcontent: string
                      • +
                      • OptionalmessageID: string
                      +

                      Returns Promise<T | null>

                    +
                    + +
                    +
                    +
                    diff --git a/docs/classes/Context.html b/docs/classes/Context.html index 8a71f4a0cb..871b90a76a 100644 --- a/docs/classes/Context.html +++ b/docs/classes/Context.html @@ -1,76 +1,849 @@ -Context | @tryforge/forgescript

                    Indexable

                    [props: PropertyKey]: unknown

                    Constructors

                    Properties

                    #cache: Partial<IContextCache> = {}
                    #environment: Record<string, unknown> = {}
                    #keywords: Record<string, unknown> = {}
                    #localFunctions: Record<string, ILocalFunctionData> = {}
                    _reason?: string
                    automodRule: Partial<IAutomodRuleOptions> = {}
                    calendar?: CalendarType
                    component: Partial<IComponentOptions> = {}
                    container: Container
                    executionTimestamp: number
                    http: Partial<IHttpOptions> = {}
                    runtime: IRunnable
                    scheduledEvent: Partial<IScheduledEventOptions> = {}
                    timezone: string = "UTC"

                    Accessors

                    • get channel(): null | BaseChannel | CategoryChannel | NewsChannel | StageChannel | TextChannel | PublicThreadChannel<boolean> | PrivateThreadChannel | VoiceChannel | ForumChannel | MediaChannel
                    • Returns null | BaseChannel | CategoryChannel | NewsChannel | StageChannel | TextChannel | PublicThreadChannel<boolean> | PrivateThreadChannel | VoiceChannel | ForumChannel | MediaChannel

                    Methods

                    • Fetches all emojis of the application.

                      -

                      Parameters

                      • Optional once: boolean

                        Whether to fetch only when the collection is empty.

                        -

                      Returns Promise<void | Collection<string, ApplicationEmoji>>

                    Generated using TypeDoc

                    \ No newline at end of file +Context | @tryforge/forgescript
                    +
                    @tryforge/forgescript + +
                      +
                      +
                      Preparing search index...
                      +
                      +
                      +
                      + +

                      Class Context

                      +
                      +

                      Indexable

                      +
                        +
                      • +
                        [props: string | number | symbol]: unknown
                      +
                      +
                      +
                      +
                      Index
                      +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      automodRule: Partial<IAutomodRuleOptions> = {}
                      +
                      + +
                      calendar?: CalendarType
                      +
                      + +
                      component: Partial<IComponentOptions> = {}
                      +
                      + +
                      container: Container
                      +
                      + +
                      executionTimestamp: number
                      +
                      + +
                      http: Partial<IHttpOptions> = {}
                      +
                      + +
                      permissionOverwrites?: OverwriteResolvable[]
                      +
                      + +
                      runtime: IRunnable
                      +
                      + +
                      scheduledEvent: Partial<IScheduledEventOptions> = {}
                      +
                      + +
                      timezone: string = "UTC"
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                        +
                      • +
                        get channel(): | BaseChannel
                        | CategoryChannel
                        | NewsChannel
                        | StageChannel
                        | TextChannel
                        | PublicThreadChannel<boolean>
                        | PrivateThreadChannel
                        | VoiceChannel
                        | ForumChannel
                        | MediaChannel
                        | null
                        +
                        +

                        Returns
                            | BaseChannel
                            | CategoryChannel
                            | NewsChannel
                            | StageChannel
                            | TextChannel
                            | PublicThreadChannel<boolean>
                            | PrivateThreadChannel
                            | VoiceChannel
                            | ForumChannel
                            | MediaChannel
                            | null

                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                        +
                      • + +
                        +

                        Fetches all emojis of the application.

                        +
                        +
                        +

                        Parameters

                        +
                          +
                        • Optionalonce: boolean +

                          Whether to fetch only when the collection is empty.

                          +
                        +

                        Returns Promise<void | Collection<string, ApplicationEmoji>>

                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                      +
                      + +
                        +
                      • + +
                        +
                        +

                        Parameters

                        +
                          +
                        • value: unknown
                        • +
                        • ...keys: string[]
                        +

                        Returns boolean

                      +
                      + +
                      +
                      + +
                        +
                      • + +
                        +
                        +

                        Parameters

                        +
                          +
                        • previous: object
                        • +
                        • ...args: string[]
                        +

                        Returns object | undefined

                      +
                      +
                      diff --git a/docs/classes/CooldownManager.html b/docs/classes/CooldownManager.html index 46b51d088f..0cc51240a8 100644 --- a/docs/classes/CooldownManager.html +++ b/docs/classes/CooldownManager.html @@ -1,9 +1,141 @@ -CooldownManager | @tryforge/forgescript

                      Constructors

                      Properties

                      Methods

                      Constructors

                      Properties

                      client: ForgeClient
                      cooldowns: Collection<string, ICooldown> = ...

                      Methods

                      Generated using TypeDoc

                      \ No newline at end of file +CooldownManager | @tryforge/forgescript
                      +
                      @tryforge/forgescript + +
                        +
                        +
                        Preparing search index...
                        +
                        +
                        +
                        + +

                        Class CooldownManager

                        +
                        +
                        +
                        +
                        Index
                        +
                        +
                        + +
                        +
                        + +
                        +
                        + +
                        +
                        + +
                        +
                        + +
                        +
                        + +
                        +
                        + +
                        +
                        + +
                        +
                        + +
                        +
                        + +
                          +
                        • + +
                          +
                          +

                          Type Parameters

                          +
                            +
                          • T extends any[]
                          +
                          +

                          Parameters

                          +
                            +
                          • ...values: [...T[]]
                          +

                          Returns string

                        +
                        + +
                        +
                        diff --git a/docs/classes/DiscordEventHandler.html b/docs/classes/DiscordEventHandler.html index d0f6c5ada7..4606ef84bf 100644 --- a/docs/classes/DiscordEventHandler.html +++ b/docs/classes/DiscordEventHandler.html @@ -1,7 +1,156 @@ -DiscordEventHandler | @tryforge/forgescript

                        Class DiscordEventHandler<T>

                        Type Parameters

                        • T extends keyof ClientEvents

                        Hierarchy

                        Constructors

                        Properties

                        Accessors

                        Methods

                        Constructors

                        Properties

                        data: IEvent<ClientEvents, T>

                        Accessors

                        • get listener(): ((this, ...args) => void | Promise<void>)
                        • Returns ((this, ...args) => void | Promise<void>)

                            • (this, ...args): void | Promise<void>
                            • Parameters

                              Returns void | Promise<void>

                        Methods

                        Generated using TypeDoc

                        \ No newline at end of file +DiscordEventHandler | @tryforge/forgescript
                        +
                        @tryforge/forgescript + +
                          +
                          +
                          Preparing search index...
                          +
                          +
                          +
                          + +

                          Class DiscordEventHandler<T>

                          +
                          +

                          Type Parameters

                          +
                            +
                          • T extends keyof ClientEvents
                          +
                          +

                          Hierarchy (View Summary)

                          +
                          +
                          +
                          +
                          +
                          Index
                          +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          data: IEvent<ClientEvents, T>
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          + +
                          +
                          diff --git a/docs/classes/EventManager.html b/docs/classes/EventManager.html index 4e9be50bf8..ba5eae1b6a 100644 --- a/docs/classes/EventManager.html +++ b/docs/classes/EventManager.html @@ -1,10 +1,153 @@ -EventManager | @tryforge/forgescript

                          Constructors

                          Properties

                          Methods

                          Constructors

                          Properties

                          client: ForgeClient
                          events: Collection<string, Collection<string, BaseEventHandler<Record<string, unknown[]>, string>>> = ...
                          Loaded: Partial<Record<string, Record<string, BaseEventHandler<Record<string, unknown[]>, string>>>> = {}

                          Methods

                          • Parameters

                            • name: string

                            Returns {
                                deprecated?: boolean;
                                description: string;
                                intents?: ("Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls")[];
                                listener: ((this, ...args) => void | Promise<void>);
                                name: string;
                                version?: string;
                            }[]

                          Generated using TypeDoc

                          \ No newline at end of file +EventManager | @tryforge/forgescript
                          +
                          @tryforge/forgescript + +
                            +
                            +
                            Preparing search index...
                            +
                            +
                            +
                            + +

                            Class EventManager

                            +
                            +
                            +
                            +
                            Index
                            +
                            +
                            + +
                            +
                            + +
                            +
                            + +
                            +
                            + +
                            +
                            + +
                            +
                            + +
                            +
                            + +
                            Loaded: Partial<Record<string, Record<string, BaseEventHandler>>> = {}
                            +
                            + +
                            +
                            + +
                            +
                            + +
                              +
                            • + +
                              +
                              +

                              Parameters

                              +
                                +
                              • name: string
                              • +
                              • ...events: (string | string[])[]
                              +

                              Returns void

                            +
                            + +
                            +
                            + +
                            +
                            + +
                              +
                            • + +
                              +
                              +

                              Parameters

                              +
                                +
                              • name: string
                              +

                              Returns {
                                  deprecated?: boolean;
                                  description: string;
                                  intents?: (
                                      | "Guilds"
                                      | "GuildMembers"
                                      | "GuildModeration"
                                      | "GuildBans"
                                      | "GuildExpressions"
                                      | "GuildEmojisAndStickers"
                                      | "GuildIntegrations"
                                      | "GuildWebhooks"
                                      | "GuildInvites"
                                      | "GuildVoiceStates"
                                      | "GuildPresences"
                                      | "GuildMessages"
                                      | "GuildMessageReactions"
                                      | "GuildMessageTyping"
                                      | "DirectMessages"
                                      | "DirectMessageReactions"
                                      | "DirectMessageTyping"
                                      | "MessageContent"
                                      | "GuildScheduledEvents"
                                      | "AutoModerationConfiguration"
                                      | "AutoModerationExecution"
                                      | "GuildMessagePolls"
                                      | "DirectMessagePolls"
                                  )[];
                                  listener: (this: ForgeClient, ...args: unknown[]) => void | Promise<void>;
                                  name: string;
                                  version?: string;
                              }[]

                            +
                            + +
                            +
                            diff --git a/docs/classes/FileReader.html b/docs/classes/FileReader.html index 11d59830a4..ccb3adb508 100644 --- a/docs/classes/FileReader.html +++ b/docs/classes/FileReader.html @@ -1,12 +1,110 @@ -FileReader | @tryforge/forgescript

                            Constructors

                            Properties

                            Methods

                            Constructors

                            Properties

                            code: string
                            index: number = 0
                            req: any
                            Syntax: {
                                Close: string;
                                Escape: string;
                                Open: string;
                            } = ...

                            Type declaration

                            • Close: string
                            • Escape: string
                            • Open: string

                            Methods

                            Generated using TypeDoc

                            \ No newline at end of file +FileReader | @tryforge/forgescript
                            +
                            @tryforge/forgescript + +
                              +
                              +
                              Preparing search index...
                              +
                              +
                              +
                              + +

                              Class FileReader

                              +
                              +
                              +
                              +
                              Index
                              +
                              +
                              + +
                              +
                              + +
                              +
                              + +
                              +
                              + +
                              +
                              + +
                              +
                              + +
                              +
                              + +
                              Syntax: { Close: string; Escape: string; Open: string } = ...
                              +
                              + +
                              +
                              + +
                              +
                              + +
                              +
                              + +
                              +
                              diff --git a/docs/classes/ForgeClient.html b/docs/classes/ForgeClient.html index 4f409365e6..07cc92af04 100644 --- a/docs/classes/ForgeClient.html +++ b/docs/classes/ForgeClient.html @@ -1,228 +1,1293 @@ -ForgeClient | @tryforge/forgescript

                              Hierarchy

                              • Client<true>
                                • ForgeClient

                              Indexable

                              [x: PropertyKey]: unknown

                              Constructors

                              Properties

                              application: ClientApplication
                              applicationCommands: ApplicationCommandManager = ...
                              channels: ChannelManager
                              commands: NativeCommandManager = ...
                              cooldowns: CooldownManager = ...
                              events: EventManager = ...
                              functions: ForgeFunctionManager = ...
                              globalVariables: Record<string, string> = {}
                              guilds: GuildManager
                              intervals: Map<string, Timeout> = ...
                              options: Omit<ClientOptions, "intents"> & {
                                  intents: IntentsBitField;
                              } & IForgeClientOptions

                              Type declaration

                              • intents: IntentsBitField
                              readyTimestamp: number
                              rest: REST
                              shard: null | ShardClientUtil
                              sweepers: Sweepers
                              threading: ThreadManager = ...
                              timeouts: Map<string, Timeout> = ...
                              token: string
                              user: ClientUser
                              users: UserManager
                              voice: ClientVoiceManager
                              websockets: Map<number, WebSocket> = ...
                              ws: WebSocketManager
                              captureRejectionSymbol: typeof captureRejectionSymbol

                              Value: Symbol.for('nodejs.rejection')

                              -

                              See how to write a custom rejection handler.

                              -

                              Since

                              v13.4.0, v12.16.0

                              -
                              captureRejections: boolean

                              Value: boolean

                              -

                              Change the default captureRejections option on all new EventEmitter objects.

                              -

                              Since

                              v13.4.0, v12.16.0

                              -
                              defaultMaxListeners: number

                              By default, a maximum of 10 listeners can be registered for any single -event. This limit can be changed for individual EventEmitter instances -using the emitter.setMaxListeners(n) method. To change the default -for allEventEmitter instances, the events.defaultMaxListenersproperty can be used. If this value is not a positive number, a RangeErroris thrown.

                              -

                              Take caution when setting the events.defaultMaxListeners because the -change affects allEventEmitter instances, including those created before -the change is made. However, calling emitter.setMaxListeners(n) still has -precedence over events.defaultMaxListeners.

                              -

                              This is not a hard limit. The EventEmitter instance will allow -more listeners to be added but will output a trace warning to stderr indicating -that a "possible EventEmitter memory leak" has been detected. For any singleEventEmitter, the emitter.getMaxListeners() and emitter.setMaxListeners()methods can be used to -temporarily avoid this warning:

                              -
                              import { EventEmitter } from 'node:events';
                              const emitter = new EventEmitter();
                              emitter.setMaxListeners(emitter.getMaxListeners() + 1);
                              emitter.once('event', () => {
                              // do stuff
                              emitter.setMaxListeners(Math.max(emitter.getMaxListeners() - 1, 0));
                              }); -
                              -

                              The --trace-warnings command-line flag can be used to display the -stack trace for such warnings.

                              -

                              The emitted warning can be inspected with process.on('warning') and will -have the additional emitter, type, and count properties, referring to -the event emitter instance, the event's name and the number of attached -listeners, respectively. -Its name property is set to 'MaxListenersExceededWarning'.

                              -

                              Since

                              v0.11.2

                              -
                              errorMonitor: typeof errorMonitor

                              This symbol shall be used to install a listener for only monitoring 'error'events. Listeners installed using this symbol are called before the regular'error' listeners are called.

                              -

                              Installing a listener using this symbol does not change the behavior once an'error' event is emitted. Therefore, the process will still crash if no -regular 'error' listener is installed.

                              -

                              Since

                              v13.6.0, v12.17.0

                              -

                              Accessors

                              • get _censoredToken(): null | string
                              • Returns null | string

                              • get emojis(): BaseGuildEmojiManager
                              • Returns BaseGuildEmojiManager

                              • get readyAt(): If<Ready, Date, null>
                              • Returns If<Ready, Date, null>

                              • get uptime(): If<Ready, number, null>
                              • Returns If<Ready, number, null>

                              Methods

                              • Returns Promise<void>

                              • Parameters

                                • error: Error
                                • event: string
                                • Rest ...args: any[]

                                Returns void

                              • Alias for emitter.on(eventName, listener).

                                -

                                Parameters

                                • eventName: string | symbol
                                • listener: ((...args) => void)
                                    • (...args): void
                                    • Parameters

                                      • Rest ...args: any[]

                                      Returns void

                                Returns ForgeClient

                                Since

                                v0.1.26

                                -
                              • Parameters

                                • id: string
                                • Optional options: WebhookDeleteOptions

                                Returns Promise<void>

                              • Returns Promise<void>

                              • Type Parameters

                                • Event extends keyof ClientEvents

                                Parameters

                                • event: Event
                                • Rest ...args: ClientEvents[Event]

                                Returns boolean

                              • Type Parameters

                                • Event extends string | symbol

                                Parameters

                                • event: Exclude<Event, keyof ClientEvents>
                                • Rest ...args: unknown[]

                                Returns boolean

                              • Returns an array listing the events for which the emitter has registered -listeners. The values in the array are strings or Symbols.

                                -
                                import { EventEmitter } from 'node:events';

                                const myEE = new EventEmitter();
                                myEE.on('foo', () => {});
                                myEE.on('bar', () => {});

                                const sym = Symbol('symbol');
                                myEE.on(sym, () => {});

                                console.log(myEE.eventNames());
                                // Prints: [ 'foo', 'bar', Symbol(symbol) ] -
                                -

                                Returns (string | symbol)[]

                                Since

                                v6.0.0

                                -
                              • Parameters

                                • guild: GuildResolvable

                                Returns Promise<GuildPreview>

                              • Parameters

                                • template: string

                                Returns Promise<GuildTemplate>

                              • Parameters

                                • guild: GuildResolvable

                                Returns Promise<Widget>

                              • Parameters

                                • invite: string
                                • Optional options: ClientFetchInviteOptions

                                Returns Promise<Invite>

                              • Returns Promise<Collection<string, StickerPack>>

                                Deprecated

                                Use Client.fetchStickerPacks instead.

                                -
                              • Parameters

                                • id: string

                                Returns Promise<Sticker>

                              • Parameters

                                • options: {
                                      packId: string;
                                  }
                                  • packId: string

                                Returns Promise<StickerPack>

                              • Parameters

                                • Optional options: StickerPackFetchOptions

                                Returns Promise<Collection<string, StickerPack>>

                              • Returns Promise<Collection<string, VoiceRegion>>

                              • Parameters

                                • id: string
                                • Optional token: string

                                Returns Promise<Webhook<WebhookType>>

                              • Parameters

                                • Optional options: InviteGenerationOptions

                                Returns string

                              • Returns the current max listener value for the EventEmitter which is either -set by emitter.setMaxListeners(n) or defaults to defaultMaxListeners.

                                -

                                Returns number

                                Since

                                v1.0.0

                                -
                              • Parameters

                                • msg: Message<boolean>

                                Returns Promise<null | string>

                              • Returns this is Client<true>

                              • Returns the number of listeners listening for the event named eventName. +ForgeClient | @tryforge/forgescript

                                +
                                @tryforge/forgescript + +
                                  +
                                  +
                                  Preparing search index...
                                  +
                                  +
                                  +
                                  + +

                                  Class ForgeClient

                                  +
                                  +

                                  Hierarchy

                                  +
                                    +
                                  • Client<true> +
                                      +
                                    • ForgeClient
                                  +
                                  +

                                  Indexable

                                  +
                                    +
                                  • +
                                    [x: string | number | symbol]: unknown
                                  +
                                  +
                                  +
                                  +
                                  Index
                                  +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  application: ClientApplication
                                  +
                                  + +
                                  applicationCommands: ApplicationCommandManager = ...
                                  +
                                  + +
                                  channels: ChannelManager
                                  +
                                  + +
                                  commands: NativeCommandManager = ...
                                  +
                                  + +
                                  cooldowns: CooldownManager = ...
                                  +
                                  + +
                                  events: EventManager = ...
                                  +
                                  + +
                                  functions: ForgeFunctionManager = ...
                                  +
                                  + +
                                  globalVariables: Record<string, string> = {}
                                  +
                                  + +
                                  guilds: GuildManager
                                  +
                                  + +
                                  intervals: Map<string, Timeout> = ...
                                  +
                                  + +
                                  options: Omit<ClientOptions, "intents"> & { intents: IntentsBitField } & IForgeClientOptions
                                  +
                                  + +
                                  readyTimestamp: number
                                  +
                                  + +
                                  rest: REST
                                  +
                                  + +
                                  shard: ShardClientUtil | null
                                  +
                                  + +
                                  sweepers: Sweepers
                                  +
                                  + +
                                  threading: ThreadManager = ...
                                  +
                                  + +
                                  timeouts: Map<string, Timeout> = ...
                                  +
                                  + +
                                  token: string
                                  +
                                  + +
                                  user: ClientUser
                                  +
                                  + +
                                  users: UserManager
                                  +
                                  + +
                                  voice: ClientVoiceManager
                                  +
                                  + +
                                  websockets: Map<number, WebSocket> = ...
                                  +
                                  + +
                                  ws: WebSocketManager
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                    +
                                  • +
                                    get emojis(): BaseGuildEmojiManager
                                    +
                                    +

                                    Returns BaseGuildEmojiManager

                                  +
                                  + +
                                    +
                                  • +
                                    get readyAt(): If<Ready, Date>
                                    +
                                    +

                                    Returns If<Ready, Date>

                                  +
                                  + +
                                    +
                                  • +
                                    get uptime(): If<Ready, number>
                                    +
                                    +

                                    Returns If<Ready, number>

                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Returns Promise<void>

                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    The Symbol.for('nodejs.rejection') method is called in case a +promise rejection happens when emitting an event and +captureRejections is enabled on the emitter. +It is possible to use events.captureRejectionSymbol in +place of Symbol.for('nodejs.rejection').

                                    +
                                    import { EventEmitter, captureRejectionSymbol } from 'node:events';

                                    class MyClass extends EventEmitter {
                                    constructor() {
                                    super({ captureRejections: true });
                                    }

                                    [captureRejectionSymbol](err, event, ...args) {
                                    console.log('rejection happened for', event, 'with', err, ...args);
                                    this.destroy(err);
                                    }

                                    destroy(err) {
                                    // Tear the resource down here.
                                    }
                                    } +
                                    + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • error: Error
                                    • +
                                    • event: string | symbol
                                    • +
                                    • ...args: any[]
                                    +

                                    Returns void

                                    +
                                    +
                                    +

                                    v13.4.0, v12.16.0

                                    +
                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Alias for emitter.on(eventName, listener).

                                    +
                                    +
                                    +

                                    Type Parameters

                                    +
                                      +
                                    • E extends string | symbol
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • eventName: string | symbol
                                    • +
                                    • listener: (...args: any[]) => void
                                    +

                                    Returns this

                                    +
                                    +
                                    +

                                    v0.1.26

                                    +
                                  +
                                  + +
                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • id: string
                                    • +
                                    • Optionaloptions: WebhookDeleteOptions
                                    +

                                    Returns Promise<void>

                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Returns Promise<void>

                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Synchronously calls each of the listeners registered for the event named +eventName, in the order they were registered, passing the supplied arguments +to each.

                                    +

                                    Returns true if the event had listeners, false otherwise.

                                    +
                                    import { EventEmitter } from 'node:events';
                                    const myEmitter = new EventEmitter();

                                    // First listener
                                    myEmitter.on('event', function firstListener() {
                                    console.log('Helloooo! first listener');
                                    });
                                    // Second listener
                                    myEmitter.on('event', function secondListener(arg1, arg2) {
                                    console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
                                    });
                                    // Third listener
                                    myEmitter.on('event', function thirdListener(...args) {
                                    const parameters = args.join(', ');
                                    console.log(`event with parameters ${parameters} in third listener`);
                                    });

                                    console.log(myEmitter.listeners('event'));

                                    myEmitter.emit('event', 1, 2, 3, 4, 5);

                                    // Prints:
                                    // [
                                    // [Function: firstListener],
                                    // [Function: secondListener],
                                    // [Function: thirdListener]
                                    // ]
                                    // Helloooo! first listener
                                    // event with parameters 1, 2 in second listener
                                    // event with parameters 1, 2, 3, 4, 5 in third listener +
                                    + +
                                    +
                                    +

                                    Type Parameters

                                    +
                                      +
                                    • Event extends keyof ClientEvents
                                    +
                                    +

                                    Parameters

                                    +
                                    +

                                    Returns boolean

                                    +
                                    +
                                    +

                                    v0.1.26

                                    +
                                  • +
                                  • + +
                                    +
                                    +

                                    Type Parameters

                                    +
                                      +
                                    • Event extends string | symbol
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • event: Exclude<Event, keyof ClientEvents>
                                    • +
                                    • ...args: unknown[]
                                    +

                                    Returns boolean

                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Returns an array listing the events for which the emitter has registered +listeners.

                                    +
                                    import { EventEmitter } from 'node:events';

                                    const myEE = new EventEmitter();
                                    myEE.on('foo', () => {});
                                    myEE.on('bar', () => {});

                                    const sym = Symbol('symbol');
                                    myEE.on(sym, () => {});

                                    console.log(myEE.eventNames());
                                    // Prints: [ 'foo', 'bar', Symbol(symbol) ] +
                                    + +
                                    +

                                    Returns (string | symbol)[]

                                    +
                                    +
                                    +

                                    v6.0.0

                                    +
                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • guild: GuildResolvable
                                    +

                                    Returns Promise<GuildPreview>

                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • template: string
                                    +

                                    Returns Promise<GuildTemplate>

                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • guild: GuildResolvable
                                    +

                                    Returns Promise<Widget>

                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • invite: string
                                    • +
                                    • Optionaloptions: ClientFetchInviteOptions
                                    +

                                    Returns Promise<Invite>

                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Returns Promise<Collection<string, StickerPack>>

                                    +
                                    +
                                    +

                                    Use Client.fetchStickerPacks instead.

                                    +
                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • id: string
                                    +

                                    Returns Promise<Sticker>

                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • options: { packId: string }
                                    +

                                    Returns Promise<StickerPack>

                                  • +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • Optionaloptions: StickerPackFetchOptions
                                    +

                                    Returns Promise<Collection<string, StickerPack>>

                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Returns Promise<Collection<string, VoiceRegion>>

                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • id: string
                                    • +
                                    • Optionaltoken: string
                                    +

                                    Returns Promise<Webhook<WebhookType>>

                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • Optionaloptions: InviteGenerationOptions
                                    +

                                    Returns string

                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Returns the current max listener value for the EventEmitter which is either +set by emitter.setMaxListeners(n) or defaults to +events.defaultMaxListeners.

                                    +
                                    +

                                    Returns number

                                    +
                                    +
                                    +

                                    v1.0.0

                                    +
                                  +
                                  + +
                                    +
                                  • + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • msg: Message
                                    +

                                    Returns Promise<string | null>

                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Returns this is Client<true>

                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Returns the number of listeners listening for the event named eventName. If listener is provided, it will return how many times the listener is found in the list of the listeners of the event.

                                    -

                                    Parameters

                                    • eventName: string | symbol

                                      The name of the event being listened for

                                      -
                                    • Optional listener: Function

                                      The event handler function

                                      -

                                    Returns number

                                    Since

                                    v3.2.0

                                    -
                                  • Returns a copy of the array of listeners for the event named eventName.

                                    -
                                    server.on('connection', (stream) => {
                                    console.log('someone connected!');
                                    });
                                    console.log(util.inspect(server.listeners('connection')));
                                    // Prints: [ [Function] ] -
                                    -

                                    Parameters

                                    • eventName: string | symbol

                                    Returns Function[]

                                    Since

                                    v0.1.26

                                    -
                                  • Parameters

                                    • Optional token: string

                                    Returns Promise<string>

                                  • Type Parameters

                                    • Event extends keyof ClientEvents

                                    Parameters

                                    • event: Event
                                    • listener: ((...args) => void)
                                        • (...args): void
                                        • Parameters

                                          • Rest ...args: ClientEvents[Event]

                                          Returns void

                                    Returns ForgeClient

                                  • Type Parameters

                                    • Event extends string | symbol

                                    Parameters

                                    • event: Exclude<Event, keyof ClientEvents>
                                    • listener: ((...args) => void)
                                        • (...args): void
                                        • Parameters

                                          • Rest ...args: any[]

                                          Returns void

                                    Returns ForgeClient

                                  • Type Parameters

                                    • Event extends keyof ClientEvents

                                    Parameters

                                    • event: Event
                                    • listener: ((...args) => void)
                                        • (...args): void
                                        • Parameters

                                          • Rest ...args: ClientEvents[Event]

                                          Returns void

                                    Returns ForgeClient

                                  • Type Parameters

                                    • Event extends string | symbol

                                    Parameters

                                    • event: Exclude<Event, keyof ClientEvents>
                                    • listener: ((...args) => void)
                                        • (...args): void
                                        • Parameters

                                          • Rest ...args: any[]

                                          Returns void

                                    Returns ForgeClient

                                  • Type Parameters

                                    • Event extends keyof ClientEvents

                                    Parameters

                                    • event: Event
                                    • listener: ((...args) => void)
                                        • (...args): void
                                        • Parameters

                                          • Rest ...args: ClientEvents[Event]

                                          Returns void

                                    Returns ForgeClient

                                  • Type Parameters

                                    • Event extends string | symbol

                                    Parameters

                                    • event: Exclude<Event, keyof ClientEvents>
                                    • listener: ((...args) => void)
                                        • (...args): void
                                        • Parameters

                                          • Rest ...args: any[]

                                          Returns void

                                    Returns ForgeClient

                                  • Adds the listener function to the beginning of the listeners array for the +

                                    +
                                    +

                                    Type Parameters

                                    +
                                      +
                                    • E extends string | symbol
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • eventName: string | symbol +

                                      The name of the event being listened for

                                      +
                                    • +
                                    • Optionallistener: (...args: any[]) => void +

                                      The event handler function

                                      +
                                    +

                                    Returns number

                                    +
                                    +
                                    +

                                    v3.2.0

                                    +
                                +
                                + +
                                  +
                                • + +
                                  +

                                  Returns a copy of the array of listeners for the event named eventName.

                                  +
                                  server.on('connection', (stream) => {
                                  console.log('someone connected!');
                                  });
                                  console.log(util.inspect(server.listeners('connection')));
                                  // Prints: [ [Function] ] +
                                  + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • E extends string | symbol
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • eventName: string | symbol
                                  +

                                  Returns ((...args: any[]) => void)[]

                                  +
                                  +
                                  +

                                  v0.1.26

                                  +
                                +
                                + +
                                  +
                                • + +
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • Optionaltoken: string
                                  +

                                  Returns Promise<string>

                                +
                                + +
                                  +
                                • + +
                                  +

                                  Alias for emitter.removeListener().

                                  +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Event extends keyof ClientEvents
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • event: Event
                                  • +
                                  • listener: (...args: ClientEvents[Event]) => void
                                  +

                                  Returns this

                                  +
                                  +
                                  +

                                  v10.0.0

                                  +
                                • +
                                • + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Event extends string | symbol
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • event: Exclude<Event, keyof ClientEvents>
                                  • +
                                  • listener: (...args: any[]) => void
                                  +

                                  Returns this

                                +
                                + +
                                  +
                                • + +
                                  +

                                  Adds the listener function to the end of the listeners array for the event named eventName. No checks are made to see if the listener has -already been added. Multiple calls passing the same combination of eventNameand listener will result in the listener being added, and called, multiple +already been added. Multiple calls passing the same combination of eventName +and listener will result in the listener being added, and called, multiple times.

                                  -
                                  server.prependListener('connection', (stream) => {
                                  console.log('someone connected!');
                                  }); -
                                  +
                                  server.on('connection', (stream) => {
                                  console.log('someone connected!');
                                  }); +
                                  +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  -

                                  Parameters

                                  • eventName: string | symbol

                                    The name of the event.

                                    -
                                  • listener: ((...args) => void)

                                    The callback function

                                    -
                                      • (...args): void
                                      • Parameters

                                        • Rest ...args: any[]

                                        Returns void

                                  Returns ForgeClient

                                  Since

                                  v6.0.0

                                  -
                                • Adds a one-timelistener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this +

                                  By default, event listeners are invoked in the order they are added. The +emitter.prependListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                  +
                                  import { EventEmitter } from 'node:events';
                                  const myEE = new EventEmitter();
                                  myEE.on('foo', () => console.log('a'));
                                  myEE.prependListener('foo', () => console.log('b'));
                                  myEE.emit('foo');
                                  // Prints:
                                  // b
                                  // a +
                                  + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Event extends keyof ClientEvents
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • event: Event
                                  • +
                                  • listener: (...args: ClientEvents[Event]) => void +

                                    The callback function

                                    +
                                  +

                                  Returns this

                                  +
                                  +
                                  +

                                  v0.1.101

                                  +
                                +
                              • + +
                                +
                                +

                                Type Parameters

                                +
                                  +
                                • Event extends string | symbol
                                +
                                +

                                Parameters

                                +
                                  +
                                • event: Exclude<Event, keyof ClientEvents>
                                • +
                                • listener: (...args: any[]) => void
                                +

                                Returns this

                              • +
                                + +
                                  +
                                • + +
                                  +

                                  Adds a one-time listener function for the event named eventName. The +next time eventName is triggered, this listener is removed and then invoked.

                                  +
                                  server.once('connection', (stream) => {
                                  console.log('Ah, we have our first user!');
                                  }); +
                                  + +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +

                                  By default, event listeners are invoked in the order they are added. The +emitter.prependOnceListener() method can be used as an alternative to add the +event listener to the beginning of the listeners array.

                                  +
                                  import { EventEmitter } from 'node:events';
                                  const myEE = new EventEmitter();
                                  myEE.once('foo', () => console.log('a'));
                                  myEE.prependOnceListener('foo', () => console.log('b'));
                                  myEE.emit('foo');
                                  // Prints:
                                  // b
                                  // a +
                                  + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Event extends keyof ClientEvents
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • event: Event
                                  • +
                                  • listener: (...args: ClientEvents[Event]) => void +

                                    The callback function

                                    +
                                  +

                                  Returns this

                                  +
                                  +
                                  +

                                  v0.3.0

                                  +
                                • +
                                • + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Event extends string | symbol
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • event: Exclude<Event, keyof ClientEvents>
                                  • +
                                  • listener: (...args: any[]) => void
                                  +

                                  Returns this

                                +
                                + +
                                  +
                                • + +
                                  +

                                  Adds the listener function to the beginning of the listeners array for the +event named eventName. No checks are made to see if the listener has +already been added. Multiple calls passing the same combination of eventName +and listener will result in the listener being added, and called, multiple +times.

                                  +
                                  server.prependListener('connection', (stream) => {
                                  console.log('someone connected!');
                                  }); +
                                  + +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • E extends string | symbol
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • eventName: string | symbol +

                                    The name of the event.

                                    +
                                  • +
                                  • listener: (...args: any[]) => void +

                                    The callback function

                                    +
                                  +

                                  Returns this

                                  +
                                  +
                                  +

                                  v6.0.0

                                  +
                                +
                                + +
                                  +
                                • + +
                                  +

                                  Adds a one-time listener function for the event named eventName to the +beginning of the listeners array. The next time eventName is triggered, this listener is removed, and then invoked.

                                  -
                                  server.prependOnceListener('connection', (stream) => {
                                  console.log('Ah, we have our first user!');
                                  }); -
                                  +
                                  server.prependOnceListener('connection', (stream) => {
                                  console.log('Ah, we have our first user!');
                                  }); +
                                  +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  -

                                  Parameters

                                  • eventName: string | symbol

                                    The name of the event.

                                    -
                                  • listener: ((...args) => void)

                                    The callback function

                                    -
                                      • (...args): void
                                      • Parameters

                                        • Rest ...args: any[]

                                        Returns void

                                  Returns ForgeClient

                                  Since

                                  v6.0.0

                                  -
                                • Returns a copy of the array of listeners for the event named eventName, +

                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • E extends string | symbol
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • eventName: string | symbol +

                                    The name of the event.

                                    +
                                  • +
                                  • listener: (...args: any[]) => void +

                                    The callback function

                                    +
                                  +

                                  Returns this

                                  +
                                  +
                                  +

                                  v6.0.0

                                  +
                                +
                                + +
                                  +
                                • + +
                                  +

                                  Returns a copy of the array of listeners for the event named eventName, including any wrappers (such as those created by .once()).

                                  -
                                  import { EventEmitter } from 'node:events';
                                  const emitter = new EventEmitter();
                                  emitter.once('log', () => console.log('log once'));

                                  // Returns a new Array with a function `onceWrapper` which has a property
                                  // `listener` which contains the original listener bound above
                                  const listeners = emitter.rawListeners('log');
                                  const logFnWrapper = listeners[0];

                                  // Logs "log once" to the console and does not unbind the `once` event
                                  logFnWrapper.listener();

                                  // Logs "log once" to the console and removes the listener
                                  logFnWrapper();

                                  emitter.on('log', () => console.log('log persistently'));
                                  // Will return a new Array with a single function bound by `.on()` above
                                  const newListeners = emitter.rawListeners('log');

                                  // Logs "log persistently" twice
                                  newListeners[0]();
                                  emitter.emit('log'); -
                                  -

                                  Parameters

                                  • eventName: string | symbol

                                  Returns Function[]

                                  Since

                                  v9.4.0

                                  -
                                • Type Parameters

                                  • Event extends keyof ClientEvents

                                  Parameters

                                  • Optional event: Event

                                  Returns ForgeClient

                                • Type Parameters

                                  • Event extends string | symbol

                                  Parameters

                                  • Optional event: Exclude<Event, keyof ClientEvents>

                                  Returns ForgeClient

                                • Removes the specified listener from the listener array for the event namedeventName.

                                  -
                                  const callback = (stream) => {
                                  console.log('someone connected!');
                                  };
                                  server.on('connection', callback);
                                  // ...
                                  server.removeListener('connection', callback); -
                                  +
                                  import { EventEmitter } from 'node:events';
                                  const emitter = new EventEmitter();
                                  emitter.once('log', () => console.log('log once'));

                                  // Returns a new Array with a function `onceWrapper` which has a property
                                  // `listener` which contains the original listener bound above
                                  const listeners = emitter.rawListeners('log');
                                  const logFnWrapper = listeners[0];

                                  // Logs "log once" to the console and does not unbind the `once` event
                                  logFnWrapper.listener();

                                  // Logs "log once" to the console and removes the listener
                                  logFnWrapper();

                                  emitter.on('log', () => console.log('log persistently'));
                                  // Will return a new Array with a single function bound by `.on()` above
                                  const newListeners = emitter.rawListeners('log');

                                  // Logs "log persistently" twice
                                  newListeners[0]();
                                  emitter.emit('log'); +
                                  + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • E extends string | symbol
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • eventName: string | symbol
                                  +

                                  Returns ((...args: any[]) => void)[]

                                  +
                                  +
                                  +

                                  v9.4.0

                                  +
                                +
                                + +
                                  +
                                • + +
                                  +

                                  Removes all listeners, or those of the specified eventName.

                                  +

                                  It is bad practice to remove listeners added elsewhere in the code, +particularly when the EventEmitter instance was created by some other +component or module (e.g. sockets or file streams).

                                  +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Event extends keyof ClientEvents
                                  +
                                  +

                                  Parameters

                                  +
                                  +

                                  Returns this

                                  +
                                  +
                                  +

                                  v0.1.26

                                  +
                                • +
                                • + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Event extends string | symbol
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • Optionalevent: Exclude<Event, keyof ClientEvents>
                                  +

                                  Returns this

                                +
                                + +
                                  +
                                • + +
                                  +

                                  Removes the specified listener from the listener array for the event named +eventName.

                                  +
                                  const callback = (stream) => {
                                  console.log('someone connected!');
                                  };
                                  server.on('connection', callback);
                                  // ...
                                  server.removeListener('connection', callback); +
                                  +

                                  removeListener() will remove, at most, one instance of a listener from the listener array. If any single listener has been added multiple times to the listener array for the specified eventName, then removeListener() must be called multiple times to remove each instance.

                                  Once an event is emitted, all listeners attached to it at the -time of emitting are called in order. This implies that anyremoveListener() or removeAllListeners() calls after emitting and before the last listener finishes execution -will not remove them fromemit() in progress. Subsequent events behave as expected.

                                  -
                                  import { EventEmitter } from 'node:events';
                                  class MyEmitter extends EventEmitter {}
                                  const myEmitter = new MyEmitter();

                                  const callbackA = () => {
                                  console.log('A');
                                  myEmitter.removeListener('event', callbackB);
                                  };

                                  const callbackB = () => {
                                  console.log('B');
                                  };

                                  myEmitter.on('event', callbackA);

                                  myEmitter.on('event', callbackB);

                                  // callbackA removes listener callbackB but it will still be called.
                                  // Internal listener array at time of emit [callbackA, callbackB]
                                  myEmitter.emit('event');
                                  // Prints:
                                  // A
                                  // B

                                  // callbackB is now removed.
                                  // Internal listener array [callbackA]
                                  myEmitter.emit('event');
                                  // Prints:
                                  // A -
                                  +time of emitting are called in order. This implies that any +removeListener() or removeAllListeners() calls after emitting and +before the last listener finishes execution will not remove them from +emit() in progress. Subsequent events behave as expected.

                                  +
                                  import { EventEmitter } from 'node:events';
                                  class MyEmitter extends EventEmitter {}
                                  const myEmitter = new MyEmitter();

                                  const callbackA = () => {
                                  console.log('A');
                                  myEmitter.removeListener('event', callbackB);
                                  };

                                  const callbackB = () => {
                                  console.log('B');
                                  };

                                  myEmitter.on('event', callbackA);

                                  myEmitter.on('event', callbackB);

                                  // callbackA removes listener callbackB but it will still be called.
                                  // Internal listener array at time of emit [callbackA, callbackB]
                                  myEmitter.emit('event');
                                  // Prints:
                                  // A
                                  // B

                                  // callbackB is now removed.
                                  // Internal listener array [callbackA]
                                  myEmitter.emit('event');
                                  // Prints:
                                  // A +
                                  +

                                  Because listeners are managed using an internal array, calling this will -change the position indices of any listener registered after the listener +change the position indexes of any listener registered after the listener being removed. This will not impact the order in which listeners are called, but it means that any copies of the listener array as returned by the emitter.listeners() method will need to be recreated.

                                  When a single function has been added as a handler multiple times for a single event (as in the example below), removeListener() will remove the most -recently added instance. In the example the once('ping')listener is removed:

                                  -
                                  import { EventEmitter } from 'node:events';
                                  const ee = new EventEmitter();

                                  function pong() {
                                  console.log('pong');
                                  }

                                  ee.on('ping', pong);
                                  ee.once('ping', pong);
                                  ee.removeListener('ping', pong);

                                  ee.emit('ping');
                                  ee.emit('ping'); -
                                  +recently added instance. In the example the once('ping') +listener is removed:

                                  +
                                  import { EventEmitter } from 'node:events';
                                  const ee = new EventEmitter();

                                  function pong() {
                                  console.log('pong');
                                  }

                                  ee.on('ping', pong);
                                  ee.once('ping', pong);
                                  ee.removeListener('ping', pong);

                                  ee.emit('ping');
                                  ee.emit('ping'); +
                                  +

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  -

                                  Parameters

                                  • eventName: string | symbol
                                  • listener: ((...args) => void)
                                      • (...args): void
                                      • Parameters

                                        • Rest ...args: any[]

                                        Returns void

                                  Returns ForgeClient

                                  Since

                                  v0.1.26

                                  -
                                • By default EventEmitters will print a warning if more than 10 listeners are +

                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • E extends string | symbol
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • eventName: string | symbol
                                  • +
                                  • listener: (...args: any[]) => void
                                  +

                                  Returns this

                                  +
                                  +
                                  +

                                  v0.1.26

                                  +
                                +
                                + +
                                  +
                                • + +
                                  +

                                  By default EventEmitters will print a warning if more than 10 listeners are added for a particular event. This is a useful default that helps finding memory leaks. The emitter.setMaxListeners() method allows the limit to be -modified for this specific EventEmitter instance. The value can be set toInfinity (or 0) to indicate an unlimited number of listeners.

                                  +modified for this specific EventEmitter instance. The value can be set to +Infinity (or 0) to indicate an unlimited number of listeners.

                                  Returns a reference to the EventEmitter, so that calls can be chained.

                                  -

                                  Parameters

                                  • n: number

                                  Returns ForgeClient

                                  Since

                                  v0.3.5

                                  -
                                • Returns unknown

                                • Experimental

                                  Listens once to the abort event on the provided signal.

                                  -

                                  Listening to the abort event on abort signals is unsafe and may -lead to resource leaks since another third party with the signal can -call e.stopImmediatePropagation(). Unfortunately Node.js cannot change -this since it would violate the web standard. Additionally, the original -API makes it easy to forget to remove listeners.

                                  -

                                  This API allows safely using AbortSignals in Node.js APIs by solving these -two issues by listening to the event such that stopImmediatePropagation does -not prevent the listener from running.

                                  -

                                  Returns a disposable so that it may be unsubscribed from more easily.

                                  -
                                  import { addAbortListener } from 'node:events';

                                  function example(signal) {
                                  let disposable;
                                  try {
                                  signal.addEventListener('abort', (e) => e.stopImmediatePropagation());
                                  disposable = addAbortListener(signal, (e) => {
                                  // Do something when signal is aborted.
                                  });
                                  } finally {
                                  disposable?.[Symbol.dispose]();
                                  }
                                  } -
                                  -

                                  Parameters

                                  • signal: AbortSignal
                                  • resource: ((event) => void)
                                      • (event): void
                                      • Parameters

                                        • event: Event

                                        Returns void

                                  Returns Disposable

                                  Disposable that removes the abort listener.

                                  -

                                  Since

                                  v20.5.0

                                  -
                                • Returns a copy of the array of listeners for the event named eventName.

                                  -

                                  For EventEmitters this behaves exactly the same as calling .listeners on -the emitter.

                                  -

                                  For EventTargets this is the only way to get the event listeners for the -event target. This is useful for debugging and diagnostic purposes.

                                  -
                                  import { getEventListeners, EventEmitter } from 'node:events';

                                  {
                                  const ee = new EventEmitter();
                                  const listener = () => console.log('Events are fun');
                                  ee.on('foo', listener);
                                  console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ]
                                  }
                                  {
                                  const et = new EventTarget();
                                  const listener = () => console.log('Events are fun');
                                  et.addEventListener('foo', listener);
                                  console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ]
                                  } -
                                  -

                                  Parameters

                                  • emitter: EventEmitter | _DOMEventTarget
                                  • name: string | symbol

                                  Returns Function[]

                                  Since

                                  v15.2.0, v14.17.0

                                  -
                                • Returns the currently set max amount of listeners.

                                  -

                                  For EventEmitters this behaves exactly the same as calling .getMaxListeners on -the emitter.

                                  -

                                  For EventTargets this is the only way to get the max event listeners for the -event target. If the number of event handlers on a single EventTarget exceeds -the max set, the EventTarget will print a warning.

                                  -
                                  import { getMaxListeners, setMaxListeners, EventEmitter } from 'node:events';

                                  {
                                  const ee = new EventEmitter();
                                  console.log(getMaxListeners(ee)); // 10
                                  setMaxListeners(11, ee);
                                  console.log(getMaxListeners(ee)); // 11
                                  }
                                  {
                                  const et = new EventTarget();
                                  console.log(getMaxListeners(et)); // 10
                                  setMaxListeners(11, et);
                                  console.log(getMaxListeners(et)); // 11
                                  } -
                                  -

                                  Parameters

                                  • emitter: EventEmitter | _DOMEventTarget

                                  Returns number

                                  Since

                                  v19.9.0

                                  -
                                • A class method that returns the number of listeners for the given eventNameregistered on the given emitter.

                                  -
                                  import { EventEmitter, listenerCount } from 'node:events';

                                  const myEmitter = new EventEmitter();
                                  myEmitter.on('event', () => {});
                                  myEmitter.on('event', () => {});
                                  console.log(listenerCount(myEmitter, 'event'));
                                  // Prints: 2 -
                                  -

                                  Parameters

                                  • emitter: EventEmitter

                                    The emitter to query

                                    -
                                  • eventName: string | symbol

                                    The event name

                                    -

                                  Returns number

                                  Since

                                  v0.9.12

                                  -

                                  Deprecated

                                  Since v3.2.0 - Use listenerCount instead.

                                  -
                                • Type Parameters

                                  • Emitter extends EventEmitter

                                  • Event extends keyof ClientEvents

                                  Parameters

                                  • eventEmitter: Emitter
                                  • eventName: Emitter extends Client<boolean>
                                        ? Event
                                        : string | symbol
                                  • Optional options: {
                                        signal?: AbortSignal;
                                    }
                                    • Optional signal?: AbortSignal

                                  Returns AsyncEventIterator<Emitter extends Client<boolean>
                                      ? ClientEvents[Event]
                                      : any[]>

                                • Type Parameters

                                  • Emitter extends EventEmitter

                                  • Event extends keyof ClientEvents

                                  Parameters

                                  • eventEmitter: Emitter
                                  • eventName: Emitter extends Client<boolean>
                                        ? Event
                                        : string | symbol
                                  • Optional options: {
                                        signal?: AbortSignal;
                                    }
                                    • Optional signal?: AbortSignal

                                  Returns Promise<Emitter extends Client<boolean>
                                      ? ClientEvents[Event]
                                      : any[]>

                                • import { setMaxListeners, EventEmitter } from 'node:events';

                                  const target = new EventTarget();
                                  const emitter = new EventEmitter();

                                  setMaxListeners(5, target, emitter); -
                                  -

                                  Parameters

                                  • Optional n: number

                                    A non-negative number. The maximum number of listeners per EventTarget event.

                                    -
                                  • Rest ...eventTargets: (EventEmitter | _DOMEventTarget)[]

                                  Returns void

                                  Since

                                  v15.4.0

                                  -

                                Generated using TypeDoc

                                \ No newline at end of file + +
                                +

                                Parameters

                                +
                                  +
                                • n: number
                                +

                                Returns this

                                +
                                +
                                +

                                v0.3.5

                                +
                                +
                                + +
                                  +
                                • + +
                                  +

                                  Returns unknown

                                +
                                + +
                                  +
                                • + +
                                  +
                                  import { on, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ee = new EventEmitter();

                                  // Emit later on
                                  process.nextTick(() => {
                                  ee.emit('foo', 'bar');
                                  ee.emit('foo', 42);
                                  });

                                  for await (const event of on(ee, 'foo')) {
                                  // The execution of this inner block is synchronous and it
                                  // processes one event at a time (even with await). Do not use
                                  // if concurrent execution is required.
                                  console.log(event); // prints ['bar'] [42]
                                  }
                                  // Unreachable here +
                                  + +

                                  Returns an AsyncIterator that iterates eventName events. It will throw +if the EventEmitter emits 'error'. It removes all listeners when +exiting the loop. The value returned by each iteration is an array +composed of the emitted event arguments.

                                  +

                                  An AbortSignal can be used to cancel waiting on events:

                                  +
                                  import { on, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ac = new AbortController();

                                  (async () => {
                                  const ee = new EventEmitter();

                                  // Emit later on
                                  process.nextTick(() => {
                                  ee.emit('foo', 'bar');
                                  ee.emit('foo', 42);
                                  });

                                  for await (const event of on(ee, 'foo', { signal: ac.signal })) {
                                  // The execution of this inner block is synchronous and it
                                  // processes one event at a time (even with await). Do not use
                                  // if concurrent execution is required.
                                  console.log(event); // prints ['bar'] [42]
                                  }
                                  // Unreachable here
                                  })();

                                  process.nextTick(() => ac.abort()); +
                                  + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Emitter extends EventEmitter<any>
                                  • +
                                  • Event extends keyof ClientEvents
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • eventEmitter: Emitter
                                  • +
                                  • eventName: Emitter extends Client<boolean> ? Event : string | symbol
                                  • +
                                  • Optionaloptions: { signal?: AbortSignal }
                                  +

                                  Returns AsyncEventIterator<
                                      Emitter extends Client<boolean> ? ClientEvents[Event] : any[],
                                  >

                                  AsyncIterator that iterates eventName events emitted by the emitter

                                  + +
                                  +
                                  +

                                  v13.6.0, v12.16.0

                                  +
                                +
                                + +
                                  +
                                • + +
                                  +

                                  Creates a Promise that is fulfilled when the EventEmitter emits the given +event or that is rejected if the EventEmitter emits 'error' while waiting. +The Promise will resolve with an array of all the arguments emitted to the +given event.

                                  +

                                  This method is intentionally generic and works with the web platform +[EventTarget][WHATWG-EventTarget] interface, which has no special +'error' event semantics and does not listen to the 'error' event.

                                  +
                                  import { once, EventEmitter } from 'node:events';
                                  import process from 'node:process';

                                  const ee = new EventEmitter();

                                  process.nextTick(() => {
                                  ee.emit('myevent', 42);
                                  });

                                  const [value] = await once(ee, 'myevent');
                                  console.log(value);

                                  const err = new Error('kaboom');
                                  process.nextTick(() => {
                                  ee.emit('error', err);
                                  });

                                  try {
                                  await once(ee, 'myevent');
                                  } catch (err) {
                                  console.error('error happened', err);
                                  } +
                                  + +

                                  The special handling of the 'error' event is only used when events.once() +is used to wait for another event. If events.once() is used to wait for the +'error' event itself, then it is treated as any other kind of event without +special handling:

                                  +
                                  import { EventEmitter, once } from 'node:events';

                                  const ee = new EventEmitter();

                                  once(ee, 'error')
                                  .then(([err]) => console.log('ok', err.message))
                                  .catch((err) => console.error('error', err.message));

                                  ee.emit('error', new Error('boom'));

                                  // Prints: ok boom +
                                  + +

                                  An AbortSignal can be used to cancel waiting for the event:

                                  +
                                  import { EventEmitter, once } from 'node:events';

                                  const ee = new EventEmitter();
                                  const ac = new AbortController();

                                  async function foo(emitter, event, signal) {
                                  try {
                                  await once(emitter, event, { signal });
                                  console.log('event emitted!');
                                  } catch (error) {
                                  if (error.name === 'AbortError') {
                                  console.error('Waiting for the event was canceled!');
                                  } else {
                                  console.error('There was an error', error.message);
                                  }
                                  }
                                  }

                                  foo(ee, 'foo', ac.signal);
                                  ac.abort(); // Prints: Waiting for the event was canceled! +
                                  + +
                                  +
                                  +

                                  Type Parameters

                                  +
                                    +
                                  • Emitter extends EventEmitter<any>
                                  • +
                                  • Event extends keyof ClientEvents
                                  +
                                  +

                                  Parameters

                                  +
                                    +
                                  • eventEmitter: Emitter
                                  • +
                                  • eventName: Emitter extends Client<boolean> ? Event : string | symbol
                                  • +
                                  • Optionaloptions: { signal?: AbortSignal }
                                  +

                                  Returns Promise<Emitter extends Client<boolean> ? ClientEvents[Event] : any[]>

                                  +
                                  +
                                  +

                                  v11.13.0, v10.16.0

                                  +
                                + +
                                diff --git a/docs/classes/ForgeError.html b/docs/classes/ForgeError.html index b9ddd75330..32b3bc2b0b 100644 --- a/docs/classes/ForgeError.html +++ b/docs/classes/ForgeError.html @@ -1,14 +1,213 @@ -ForgeError | @tryforge/forgescript

                                Type Parameters

                                Hierarchy

                                • Error
                                  • ForgeError

                                Constructors

                                Properties

                                cause?: unknown
                                message: string
                                name: string
                                stack?: string
                                Regex: RegExp = ...
                                prepareStackTrace?: ((err, stackTraces) => any)

                                Type declaration

                                stackTraceLimit: number

                                Methods

                                • Create .stack property on a target object

                                  -

                                  Parameters

                                  • targetObject: object
                                  • Optional constructorOpt: Function

                                  Returns void

                                Generated using TypeDoc

                                \ No newline at end of file +ForgeError | @tryforge/forgescript
                                +
                                @tryforge/forgescript + +
                                  +
                                  +
                                  Preparing search index...
                                  +
                                  +
                                  +
                                  + +

                                  Class ForgeError<T>

                                  +
                                  +

                                  Type Parameters

                                  +
                                  +
                                  +

                                  Hierarchy

                                  +
                                    +
                                  • Error +
                                      +
                                    • ForgeError
                                  +
                                  +
                                  +
                                  +
                                  Index
                                  +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  cause?: unknown
                                  +
                                  + +
                                  message: string
                                  +
                                  + +
                                  name: string
                                  +
                                  + +
                                  stack?: string
                                  +
                                  + +
                                  Regex: RegExp = ...
                                  +
                                  + +
                                  stackTraceLimit: number
                                  +

                                  The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                                  +

                                  The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                                  +

                                  If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                                  +
                                  +
                                  + +
                                  +
                                  + +
                                    +
                                  • + +
                                    +

                                    Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                                    +
                                    const myObject = {};
                                    Error.captureStackTrace(myObject);
                                    myObject.stack; // Similar to `new Error().stack` +
                                    + +

                                    The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                                    +

                                    The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                                    +

                                    The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                                    +
                                    function a() {
                                    b();
                                    }

                                    function b() {
                                    c();
                                    }

                                    function c() {
                                    // Create an error without stack trace to avoid calculating the stack trace twice.
                                    const { stackTraceLimit } = Error;
                                    Error.stackTraceLimit = 0;
                                    const error = new Error();
                                    Error.stackTraceLimit = stackTraceLimit;

                                    // Capture the stack trace above function b
                                    Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                                    throw error;
                                    }

                                    a(); +
                                    + +
                                    +
                                    +

                                    Parameters

                                    +
                                      +
                                    • targetObject: object
                                    • +
                                    • OptionalconstructorOpt: Function
                                    +

                                    Returns void

                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  + +
                                  +
                                  diff --git a/docs/classes/ForgeExtension.html b/docs/classes/ForgeExtension.html index 353815c345..ebf4a0d532 100644 --- a/docs/classes/ForgeExtension.html +++ b/docs/classes/ForgeExtension.html @@ -1,14 +1,158 @@ -ForgeExtension | @tryforge/forgescript

                                  Class ForgeExtensionAbstract

                                  Constructors

                                  Properties

                                  _commands?: null | BaseCommandManager<unknown>
                                  description: string
                                  name: string
                                  requireExtensions?: string[]

                                  A list of extension names this extension requires

                                  -
                                  targetVersions?: string[]

                                  Only the versions written here will be allowed

                                  -
                                  version: string

                                  Methods

                                  Generated using TypeDoc

                                  \ No newline at end of file +ForgeExtension | @tryforge/forgescript
                                  +
                                  @tryforge/forgescript + +
                                    +
                                    +
                                    Preparing search index...
                                    +
                                    +
                                    +
                                    + +

                                    Class ForgeExtensionAbstract

                                    +
                                    +
                                    +
                                    +
                                    Index
                                    +
                                    +
                                    + +
                                    +
                                    + +
                                    +
                                    + +
                                    +
                                    + +
                                    description: string
                                    +
                                    + +
                                    name: string
                                    +
                                    + +
                                    requireExtensions?: string[]
                                    +

                                    A list of extension names this extension requires

                                    +
                                    +
                                    + +
                                    targetVersions?: string[]
                                    +

                                    Only the versions written here will be allowed

                                    +
                                    +
                                    + +
                                    version: string
                                    +
                                    + +
                                    +
                                    + +
                                    +
                                    + +
                                    +
                                    + +
                                    +
                                    + +
                                    +
                                    + +
                                    +
                                    diff --git a/docs/classes/ForgeFunction.html b/docs/classes/ForgeFunction.html index 8c6bfec29f..c3d6d0e81f 100644 --- a/docs/classes/ForgeFunction.html +++ b/docs/classes/ForgeFunction.html @@ -1,7 +1,126 @@ -ForgeFunction | @tryforge/forgescript

                                    Constructors

                                    Properties

                                    Methods

                                    Constructors

                                    Properties

                                    Methods

                                    Generated using TypeDoc

                                    \ No newline at end of file +ForgeFunction | @tryforge/forgescript
                                    +
                                    @tryforge/forgescript + +
                                      +
                                      +
                                      Preparing search index...
                                      +
                                      +
                                      +
                                      + +

                                      Class ForgeFunction

                                      +
                                      +
                                      +
                                      +
                                      Index
                                      +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      + +
                                      +
                                      diff --git a/docs/classes/ForgeFunctionManager.html b/docs/classes/ForgeFunctionManager.html index 41d3882abe..43172df9d9 100644 --- a/docs/classes/ForgeFunctionManager.html +++ b/docs/classes/ForgeFunctionManager.html @@ -1,9 +1,136 @@ -ForgeFunctionManager | @tryforge/forgescript

                                      Constructors

                                      Properties

                                      Methods

                                      Constructors

                                      Properties

                                      client: ForgeClient
                                      functions: Map<string, ForgeFunction> = ...

                                      Methods

                                      Generated using TypeDoc

                                      \ No newline at end of file +ForgeFunctionManager | @tryforge/forgescript
                                      +
                                      @tryforge/forgescript + +
                                        +
                                        +
                                        Preparing search index...
                                        +
                                        +
                                        +
                                        + +

                                        Class ForgeFunctionManager

                                        +
                                        +
                                        +
                                        +
                                        Index
                                        +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        + +
                                        +
                                        diff --git a/docs/classes/FunctionManager.html b/docs/classes/FunctionManager.html index c4fd448781..89dde73af0 100644 --- a/docs/classes/FunctionManager.html +++ b/docs/classes/FunctionManager.html @@ -1,11 +1,179 @@ -FunctionManager | @tryforge/forgescript

                                        Constructors

                                        Properties

                                        Accessors

                                        raw -

                                        Methods

                                        Constructors

                                        Properties

                                        Functions: Map<string, NativeFunction<IArg<ArgType, boolean, boolean, EnumLike<any>>[], boolean>> = ...

                                        Accessors

                                        Methods

                                        Generated using TypeDoc

                                        \ No newline at end of file +FunctionManager | @tryforge/forgescript
                                        +
                                        @tryforge/forgescript + +
                                          +
                                          +
                                          Preparing search index...
                                          +
                                          +
                                          +
                                          + +

                                          Class FunctionManager

                                          +
                                          +
                                          +
                                          +
                                          Index
                                          +
                                          +
                                          + +
                                          +
                                          + +
                                          raw +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          + +
                                          +
                                          diff --git a/docs/classes/Interpreter.html b/docs/classes/Interpreter.html index f55dbecd20..264a469f25 100644 --- a/docs/classes/Interpreter.html +++ b/docs/classes/Interpreter.html @@ -1,3 +1,88 @@ -Interpreter | @tryforge/forgescript

                                          Constructors

                                          Methods

                                          run -

                                          Constructors

                                          Methods

                                          Generated using TypeDoc

                                          \ No newline at end of file +Interpreter | @tryforge/forgescript
                                          +
                                          @tryforge/forgescript + +
                                            +
                                            +
                                            Preparing search index...
                                            +
                                            +
                                            +
                                            + +

                                            Class Interpreter

                                            +
                                            +
                                            +
                                            +
                                            Index
                                            +
                                            +
                                            + +
                                            +
                                            + +
                                            run +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            + +
                                            +
                                            diff --git a/docs/classes/InviteTracker.html b/docs/classes/InviteTracker.html index 0dc95dfc41..1fff98f016 100644 --- a/docs/classes/InviteTracker.html +++ b/docs/classes/InviteTracker.html @@ -1,16 +1,210 @@ -InviteTracker | @tryforge/forgescript

                                            Constructors

                                            Properties

                                            Inviters: Collection<string, Collection<string, IGuildInviter>> = ...

                                            Guild => invited user => invited by

                                            -
                                            Invites: Collection<string, IGuildInvite[]> = ...
                                            RequiredEvents: (keyof ClientEvents)[] = ...
                                            RequiredIntents: ("Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls")[] = ...

                                            Methods

                                            Generated using TypeDoc

                                            \ No newline at end of file +InviteTracker | @tryforge/forgescript
                                            +
                                            @tryforge/forgescript + +
                                              +
                                              +
                                              Preparing search index...
                                              +
                                              +
                                              +
                                              + +

                                              Class InviteTracker

                                              +
                                              +
                                              +
                                              +
                                              Index
                                              +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              Inviters: Collection<string, Collection<string, IGuildInviter>> = ...
                                              +

                                              Guild => invited user => invited by

                                              +
                                              +
                                              + +
                                              Invites: Collection<string, IGuildInvite[]> = ...
                                              +
                                              + +
                                              RequiredEvents: (keyof ClientEvents)[] = ...
                                              +
                                              + +
                                              RequiredIntents: (
                                                  | "Guilds"
                                                  | "GuildMembers"
                                                  | "GuildModeration"
                                                  | "GuildBans"
                                                  | "GuildExpressions"
                                                  | "GuildEmojisAndStickers"
                                                  | "GuildIntegrations"
                                                  | "GuildWebhooks"
                                                  | "GuildInvites"
                                                  | "GuildVoiceStates"
                                                  | "GuildPresences"
                                                  | "GuildMessages"
                                                  | "GuildMessageReactions"
                                                  | "GuildMessageTyping"
                                                  | "DirectMessages"
                                                  | "DirectMessageReactions"
                                                  | "DirectMessageTyping"
                                                  | "MessageContent"
                                                  | "GuildScheduledEvents"
                                                  | "AutoModerationConfiguration"
                                                  | "AutoModerationExecution"
                                                  | "GuildMessagePolls"
                                                  | "DirectMessagePolls"
                                              )[] = ...
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              + +
                                              +
                                              diff --git a/docs/classes/Logger.html b/docs/classes/Logger.html index e800e8d7ac..ecb9aa031a 100644 --- a/docs/classes/Logger.html +++ b/docs/classes/Logger.html @@ -1,17 +1,230 @@ -Logger | @tryforge/forgescript

                                              Constructors

                                              Properties

                                              Colors: {
                                                  0: Chalk;
                                                  1: Chalk;
                                                  2: Chalk;
                                                  3: Chalk;
                                                  4: Chalk;
                                              } = ...

                                              Type declaration

                                              • 0: Chalk
                                              • 1: Chalk
                                              • 2: Chalk
                                              • 3: Chalk
                                              • 4: Chalk
                                              DateColor: Chalk = clc.green.bold
                                              Priority: LogPriority = LogPriority.Medium

                                              Methods

                                              Generated using TypeDoc

                                              \ No newline at end of file +Logger | @tryforge/forgescript
                                              +
                                              @tryforge/forgescript + +
                                                +
                                                +
                                                Preparing search index...
                                                +
                                                +
                                                +
                                                + +

                                                Class Logger

                                                +
                                                +
                                                +
                                                +
                                                Index
                                                +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                Colors: {
                                                    "0": ChalkInstance;
                                                    "1": ChalkInstance;
                                                    "2": ChalkInstance;
                                                    "3": ChalkInstance;
                                                    "4": ChalkInstance;
                                                } = ...
                                                +
                                                + +
                                                DateColor: ChalkInstance = clc.green.bold
                                                +
                                                + +
                                                Priority: LogPriority = LogPriority.Medium
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                + +
                                                +
                                                diff --git a/docs/classes/NativeCommandManager.html b/docs/classes/NativeCommandManager.html index f3aa161083..0a041417e8 100644 --- a/docs/classes/NativeCommandManager.html +++ b/docs/classes/NativeCommandManager.html @@ -1,25 +1,455 @@ -NativeCommandManager | @tryforge/forgescript

                                                Hierarchy

                                                Constructors

                                                Properties

                                                handlerName: string = NativeEventName
                                                defaultMaxListeners: number

                                                Accessors

                                                Methods

                                                • Type Parameters

                                                  • U extends "update"

                                                  Parameters

                                                  Returns boolean

                                                • Type Parameters

                                                  • U extends "update"

                                                  Returns U[]

                                                • Parameters

                                                  • type: "update"

                                                  Returns number

                                                Generated using TypeDoc

                                                \ No newline at end of file +NativeCommandManager | @tryforge/forgescript
                                                +
                                                @tryforge/forgescript + +
                                                  +
                                                  +
                                                  Preparing search index...
                                                  +
                                                  +
                                                  +
                                                  + +

                                                  Class NativeCommandManager

                                                  +
                                                  +

                                                  Hierarchy (View Summary)

                                                  +
                                                  +
                                                  +
                                                  +
                                                  +
                                                  Index
                                                  +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  handlerName: string = NativeEventName
                                                  +
                                                  + +
                                                  defaultMaxListeners: number
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    +
                                                  • + +
                                                    +
                                                    +

                                                    Type Parameters

                                                    +
                                                      +
                                                    • U extends "update"
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                    +

                                                    Returns boolean

                                                  +
                                                  + +
                                                    +
                                                  • + +
                                                    +
                                                    +

                                                    Type Parameters

                                                    +
                                                      +
                                                    • U extends "update"
                                                    +

                                                    Returns U[]

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    +
                                                  • + +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • type: "update"
                                                    +

                                                    Returns number

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    +
                                                  • + +
                                                    +
                                                    +

                                                    Type Parameters

                                                    +
                                                      +
                                                    • U extends "update"
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                    +

                                                    Returns this

                                                  +
                                                  + +
                                                    +
                                                  • + +
                                                    +
                                                    +

                                                    Type Parameters

                                                    +
                                                      +
                                                    • U extends "update"
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                    +

                                                    Returns this

                                                  +
                                                  + +
                                                    +
                                                  • + +
                                                    +
                                                    +

                                                    Type Parameters

                                                    +
                                                      +
                                                    • U extends "update"
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                    +

                                                    Returns this

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    +
                                                  • + +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • Optionalevent: "update"
                                                    +

                                                    Returns this

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                    +
                                                  • + +
                                                    +
                                                    +

                                                    Parameters

                                                    +
                                                      +
                                                    • n: number
                                                    +

                                                    Returns this

                                                  +
                                                  + +
                                                  +
                                                  + +
                                                  +
                                                  diff --git a/docs/classes/NativeFunction.html b/docs/classes/NativeFunction.html index 7d2ac445e6..f0762582c9 100644 --- a/docs/classes/NativeFunction.html +++ b/docs/classes/NativeFunction.html @@ -1,6 +1,116 @@ -NativeFunction | @tryforge/forgescript

                                                  Class NativeFunction<T, Unwrap>

                                                  Type Parameters

                                                  • T extends [...IArg[]] = IArg[]

                                                  • Unwrap extends boolean = boolean

                                                  Constructors

                                                  Properties

                                                  Accessors

                                                  Constructors

                                                  Properties

                                                  async: boolean
                                                  data: INativeFunction<T, Unwrap>
                                                  path: string

                                                  Accessors

                                                  Generated using TypeDoc

                                                  \ No newline at end of file +NativeFunction | @tryforge/forgescript
                                                  +
                                                  @tryforge/forgescript + +
                                                    +
                                                    +
                                                    Preparing search index...
                                                    +
                                                    +
                                                    +
                                                    + +

                                                    Class NativeFunction<T, Unwrap>

                                                    +
                                                    +

                                                    Type Parameters

                                                    +
                                                      +
                                                    • T extends [...IArg[]] = IArg[]
                                                    • +
                                                    • Unwrap extends boolean = boolean
                                                    +
                                                    +
                                                    +
                                                    +
                                                    Index
                                                    +
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    async: boolean
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    path: string
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    +
                                                    + +
                                                    +
                                                    diff --git a/docs/classes/Return.html b/docs/classes/Return.html index 1ee93cf9ce..85d53546fa 100644 --- a/docs/classes/Return.html +++ b/docs/classes/Return.html @@ -1,10 +1,159 @@ -Return | @tryforge/forgescript

                                                    Type Parameters

                                                    Constructors

                                                    Properties

                                                    Accessors

                                                    Constructors

                                                    Properties

                                                    type: T
                                                    value: ReturnValue<T>

                                                    Accessors

                                                    Generated using TypeDoc

                                                    \ No newline at end of file +Return | @tryforge/forgescript
                                                    +
                                                    @tryforge/forgescript + +
                                                      +
                                                      +
                                                      Preparing search index...
                                                      +
                                                      +
                                                      +
                                                      + +

                                                      Class Return<T>

                                                      +
                                                      +

                                                      Type Parameters

                                                      +
                                                      +
                                                      +
                                                      +
                                                      +
                                                      Index
                                                      +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      type: T
                                                      +
                                                      + +
                                                      value: ReturnValue<T>
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      + +
                                                      +
                                                      diff --git a/docs/classes/ThreadManager.html b/docs/classes/ThreadManager.html index 9a29f6c943..0d8d950576 100644 --- a/docs/classes/ThreadManager.html +++ b/docs/classes/ThreadManager.html @@ -1,20 +1,84 @@ -ThreadManager | @tryforge/forgescript

                                                      Constructors

                                                      Properties

                                                      available: Set<Worker> = ...
                                                      busy: Set<Worker> = ...
                                                      client: ForgeClient
                                                      executing: Map<number, IThreadTask> = ...
                                                      increment: number = 0
                                                      maxWorkerCount: number = 1
                                                      queue: Map<number, IThreadTask> = ...

                                                      Accessors

                                                      Methods

                                                      Generated using TypeDoc

                                                      \ No newline at end of file +ThreadManager | @tryforge/forgescript
                                                      +
                                                      @tryforge/forgescript + +
                                                        +
                                                        +
                                                        Preparing search index...
                                                        +
                                                        +
                                                        +
                                                        + +

                                                        Class ThreadManager

                                                        +
                                                        +
                                                        +
                                                        +
                                                        Index
                                                        +
                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        run +
                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        +
                                                        + +
                                                        +
                                                        diff --git a/docs/classes/VoiceTracker.html b/docs/classes/VoiceTracker.html index eda99c7915..59982cb75d 100644 --- a/docs/classes/VoiceTracker.html +++ b/docs/classes/VoiceTracker.html @@ -1,3 +1,32 @@ -VoiceTracker | @tryforge/forgescript

                                                        Generated using TypeDoc

                                                        \ No newline at end of file +VoiceTracker | @tryforge/forgescript
                                                        +
                                                        @tryforge/forgescript + +
                                                          +
                                                          +
                                                          Preparing search index...
                                                          +
                                                          +
                                                          +
                                                          + +

                                                          Class VoiceTracker

                                                          +
                                                          + +
                                                          +
                                                          diff --git a/docs/enums/ArgType.html b/docs/enums/ArgType.html index 74742c6565..bc50636108 100644 --- a/docs/enums/ArgType.html +++ b/docs/enums/ArgType.html @@ -1,36 +1,258 @@ -ArgType | @tryforge/forgescript

                                                          Enumeration ArgType

                                                          Enumeration Members

                                                          ApplicationEmoji: 29
                                                          Attachment: 20
                                                          AutomodRule: 30
                                                          BigInt: 2
                                                          Boolean: 19
                                                          Channel: 23
                                                          Color: 14
                                                          Date: 8
                                                          Emoji: 17
                                                          Enum: 15
                                                          ForumTag: 16
                                                          Guild: 9
                                                          GuildEmoji: 18
                                                          Invite: 11
                                                          Json: 13
                                                          Member: 28
                                                          Message: 22
                                                          Number: 6
                                                          OverwritePermission: 5
                                                          Permission: 12
                                                          Reaction: 21
                                                          Role: 24
                                                          RoleOrUser: 10
                                                          ScheduledEvent: 31
                                                          SoundboardSound: 33
                                                          StageInstance: 32
                                                          Sticker: 26
                                                          String: 1
                                                          Template: 34
                                                          TextChannel: 4
                                                          Time: 27
                                                          URL: 0
                                                          Unknown: 3
                                                          User: 7
                                                          Webhook: 25

                                                          Generated using TypeDoc

                                                          \ No newline at end of file +ArgType | @tryforge/forgescript
                                                          +
                                                          @tryforge/forgescript + +
                                                            +
                                                            +
                                                            Preparing search index...
                                                            +
                                                            +
                                                            +
                                                            + +

                                                            Enumeration ArgType

                                                            +
                                                            +
                                                            +
                                                            +
                                                            Index
                                                            +
                                                            +
                                                            + +
                                                            +
                                                            + +
                                                            ApplicationEmoji: 29
                                                            +
                                                            + +
                                                            Attachment: 20
                                                            +
                                                            + +
                                                            AutomodRule: 30
                                                            +
                                                            + +
                                                            BigInt: 2
                                                            +
                                                            + +
                                                            Boolean: 19
                                                            +
                                                            + +
                                                            Channel: 23
                                                            +
                                                            + +
                                                            Color: 14
                                                            +
                                                            + +
                                                            Date: 8
                                                            +
                                                            + +
                                                            Emoji: 17
                                                            +
                                                            + +
                                                            Enum: 15
                                                            +
                                                            + +
                                                            ForumTag: 16
                                                            +
                                                            + +
                                                            Guild: 9
                                                            +
                                                            + +
                                                            GuildEmoji: 18
                                                            +
                                                            + +
                                                            Invite: 11
                                                            +
                                                            + +
                                                            Json: 13
                                                            +
                                                            + +
                                                            Member: 28
                                                            +
                                                            + +
                                                            Message: 22
                                                            +
                                                            + +
                                                            Number: 6
                                                            +
                                                            + +
                                                            OverwritePermission: 5
                                                            +
                                                            + +
                                                            Permission: 12
                                                            +
                                                            + +
                                                            Reaction: 21
                                                            +
                                                            + +
                                                            Role: 24
                                                            +
                                                            + +
                                                            RoleOrUser: 10
                                                            +
                                                            + +
                                                            ScheduledEvent: 31
                                                            +
                                                            + +
                                                            SoundboardSound: 33
                                                            +
                                                            + +
                                                            StageInstance: 32
                                                            +
                                                            + +
                                                            Sticker: 26
                                                            +
                                                            + +
                                                            String: 1
                                                            +
                                                            + +
                                                            Template: 34
                                                            +
                                                            + +
                                                            TextChannel: 4
                                                            +
                                                            + +
                                                            Time: 27
                                                            +
                                                            + +
                                                            Unknown: 3
                                                            +
                                                            + +
                                                            URL: 0
                                                            +
                                                            + +
                                                            User: 7
                                                            +
                                                            + +
                                                            Webhook: 25
                                                            +
                                                            +
                                                            diff --git a/docs/enums/CalendarType.html b/docs/enums/CalendarType.html index af96a0fca8..46ced4820d 100644 --- a/docs/enums/CalendarType.html +++ b/docs/enums/CalendarType.html @@ -1,19 +1,156 @@ -CalendarType | @tryforge/forgescript

                                                            Enumeration CalendarType

                                                            Enumeration Members

                                                            Buddhist: "buddhist"
                                                            Chinese: "chinese"
                                                            Coptic: "coptic"
                                                            Dangi: "dangi"
                                                            Ethioaa: "ethioaa"
                                                            Ethiopic: "ethiopic"
                                                            Gregory: "gregory"
                                                            Hebrew: "hebrew"
                                                            Indian: "indian"
                                                            Islamic: "islamic"
                                                            IslamicCivil: "islamic-civil"
                                                            IslamicRgsa: "islamic-rgsa"
                                                            IslamicTbla: "islamic-tbla"
                                                            IslamicUmalqura: "islamic-umalqura"
                                                            Iso8601: "iso8601"
                                                            Japanese: "japanese"
                                                            Persian: "persian"
                                                            Roc: "roc"

                                                            Generated using TypeDoc

                                                            \ No newline at end of file +CalendarType | @tryforge/forgescript
                                                            +
                                                            @tryforge/forgescript + +
                                                              +
                                                              +
                                                              Preparing search index...
                                                              +
                                                              +
                                                              +
                                                              + +

                                                              Enumeration CalendarType

                                                              +
                                                              +
                                                              +
                                                              +
                                                              Index
                                                              +
                                                              +
                                                              + +
                                                              +
                                                              + +
                                                              Buddhist: "buddhist"
                                                              +
                                                              + +
                                                              Chinese: "chinese"
                                                              +
                                                              + +
                                                              Coptic: "coptic"
                                                              +
                                                              + +
                                                              Dangi: "dangi"
                                                              +
                                                              + +
                                                              Ethioaa: "ethioaa"
                                                              +
                                                              + +
                                                              Ethiopic: "ethiopic"
                                                              +
                                                              + +
                                                              Gregory: "gregory"
                                                              +
                                                              + +
                                                              Hebrew: "hebrew"
                                                              +
                                                              + +
                                                              Indian: "indian"
                                                              +
                                                              + +
                                                              Islamic: "islamic"
                                                              +
                                                              + +
                                                              IslamicCivil: "islamic-civil"
                                                              +
                                                              + +
                                                              IslamicRgsa: "islamic-rgsa"
                                                              +
                                                              + +
                                                              IslamicTbla: "islamic-tbla"
                                                              +
                                                              + +
                                                              IslamicUmalqura: "islamic-umalqura"
                                                              +
                                                              + +
                                                              Iso8601: "iso8601"
                                                              +
                                                              + +
                                                              Japanese: "japanese"
                                                              +
                                                              + +
                                                              Persian: "persian"
                                                              +
                                                              + +
                                                              Roc: "roc"
                                                              +
                                                              + +
                                                              +
                                                              diff --git a/docs/enums/ErrorType.html b/docs/enums/ErrorType.html index 7e578b2bdf..7f6ee8e682 100644 --- a/docs/enums/ErrorType.html +++ b/docs/enums/ErrorType.html @@ -1,12 +1,114 @@ -ErrorType | @tryforge/forgescript

                                                              Enumeration ErrorType

                                                              Enumeration Members

                                                              CompilerError: "$1 at $2:$3 ($4)"
                                                              Custom: "$1"
                                                              ExtensionNotFound: "Extension $1 does not seem to be loaded but is being used."
                                                              InvalidArgType: "Given value $1 for argument $2 is not of type $3"
                                                              MissingApplicationCommandData: "An application command is missing data property ($1)"
                                                              MissingArg: "Function $1 is missing argument $2"
                                                              MissingCommandType: "A command is missing its type ($1)"
                                                              MissingFields: "Function $1 requires brackets"
                                                              RequiredExtension: "Extension $1 requires the next extension: $2 loaded to work"
                                                              UnknownXName: "Unknown $1 with name $2"
                                                              UnsupportedExtensionVersion: "Extension $1 does not work for your ForgeScript version: $2"

                                                              Generated using TypeDoc

                                                              \ No newline at end of file +ErrorType | @tryforge/forgescript
                                                              +
                                                              @tryforge/forgescript + +
                                                                +
                                                                +
                                                                Preparing search index...
                                                                +
                                                                +
                                                                +
                                                                + +

                                                                Enumeration ErrorType

                                                                +
                                                                +
                                                                +
                                                                +
                                                                Index
                                                                +
                                                                +
                                                                + +
                                                                +
                                                                + +
                                                                CompilerError: "$1 at $2:$3 ($4)"
                                                                +
                                                                + +
                                                                Custom: "$1"
                                                                +
                                                                + +
                                                                ExtensionNotFound: "Extension $1 does not seem to be loaded but is being used."
                                                                +
                                                                + +
                                                                InvalidArgType: "Given value $1 for argument $2 is not of type $3"
                                                                +
                                                                + +
                                                                MissingApplicationCommandData: "An application command is missing data property ($1)"
                                                                +
                                                                + +
                                                                MissingArg: "Function $1 is missing argument $2"
                                                                +
                                                                + +
                                                                MissingCommandType: "A command is missing its type ($1)"
                                                                +
                                                                + +
                                                                MissingFields: "Function $1 requires brackets"
                                                                +
                                                                + +
                                                                RequiredExtension: "Extension $1 requires the next extension: $2 loaded to work"
                                                                +
                                                                + +
                                                                UnknownXName: "Unknown $1 with name $2"
                                                                +
                                                                + +
                                                                UnsupportedExtensionVersion: "Extension $1 does not work for your ForgeScript version: $2"
                                                                +
                                                                + +
                                                                +
                                                                diff --git a/docs/enums/HTTPContentType.html b/docs/enums/HTTPContentType.html index be9e088084..da31a77c24 100644 --- a/docs/enums/HTTPContentType.html +++ b/docs/enums/HTTPContentType.html @@ -1,3 +1,60 @@ -HTTPContentType | @tryforge/forgescript

                                                                Generated using TypeDoc

                                                                \ No newline at end of file +HTTPContentType | @tryforge/forgescript
                                                                +
                                                                @tryforge/forgescript + +
                                                                  +
                                                                  +
                                                                  Preparing search index...
                                                                  +
                                                                  +
                                                                  +
                                                                  + +

                                                                  Enumeration HTTPContentType

                                                                  +
                                                                  +
                                                                  +
                                                                  +
                                                                  Index
                                                                  +
                                                                  +
                                                                  + +
                                                                  +
                                                                  + +
                                                                  +
                                                                  + +
                                                                  Json: 0
                                                                  +
                                                                  + +
                                                                  Text: 1
                                                                  +
                                                                  + +
                                                                  +
                                                                  diff --git a/docs/enums/LogPriority.html b/docs/enums/LogPriority.html index cc67150346..e917f1a792 100644 --- a/docs/enums/LogPriority.html +++ b/docs/enums/LogPriority.html @@ -1,11 +1,88 @@ -LogPriority | @tryforge/forgescript

                                                                  Enumeration LogPriority

                                                                  Enumeration Members

                                                                  Enumeration Members

                                                                  High: 4

                                                                  Logs info, debug data, warnings and errors

                                                                  -
                                                                  Low: 2

                                                                  Logs only info and errors

                                                                  -
                                                                  Medium: 3

                                                                  Logs only info, warnings and errors

                                                                  -
                                                                  None: 0

                                                                  Does not log anything

                                                                  -
                                                                  VeryLow: 1

                                                                  Logs only info

                                                                  -

                                                                  Generated using TypeDoc

                                                                  \ No newline at end of file +LogPriority | @tryforge/forgescript
                                                                  +
                                                                  @tryforge/forgescript + +
                                                                    +
                                                                    +
                                                                    Preparing search index...
                                                                    +
                                                                    +
                                                                    +
                                                                    + +

                                                                    Enumeration LogPriority

                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    Index
                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    +
                                                                    + +
                                                                    High: 4
                                                                    +

                                                                    Logs info, debug data, warnings and errors

                                                                    +
                                                                    +
                                                                    + +
                                                                    Low: 2
                                                                    +

                                                                    Logs only info and errors

                                                                    +
                                                                    +
                                                                    + +
                                                                    Medium: 3
                                                                    +

                                                                    Logs only info, warnings and errors

                                                                    +
                                                                    +
                                                                    + +
                                                                    None: 0
                                                                    +

                                                                    Does not log anything

                                                                    +
                                                                    +
                                                                    + +
                                                                    VeryLow: 1
                                                                    +

                                                                    Logs only info

                                                                    +
                                                                    +
                                                                    + +
                                                                    +
                                                                    diff --git a/docs/enums/LogType.html b/docs/enums/LogType.html index ef76ff2070..b562860f49 100644 --- a/docs/enums/LogType.html +++ b/docs/enums/LogType.html @@ -1,6 +1,78 @@ -LogType | @tryforge/forgescript

                                                                    Generated using TypeDoc

                                                                    \ No newline at end of file +LogType | @tryforge/forgescript
                                                                    +
                                                                    @tryforge/forgescript + +
                                                                      +
                                                                      +
                                                                      Preparing search index...
                                                                      +
                                                                      +
                                                                      +
                                                                      + +

                                                                      Enumeration LogType

                                                                      +
                                                                      +
                                                                      +
                                                                      +
                                                                      Index
                                                                      +
                                                                      +
                                                                      + +
                                                                      +
                                                                      + +
                                                                      +
                                                                      + +
                                                                      Debug: 2
                                                                      +
                                                                      + +
                                                                      Deprecated: 1
                                                                      +
                                                                      + +
                                                                      Error: 4
                                                                      +
                                                                      + +
                                                                      Info: 3
                                                                      +
                                                                      + +
                                                                      Warn: 0
                                                                      +
                                                                      + +
                                                                      +
                                                                      diff --git a/docs/enums/OperatorType.html b/docs/enums/OperatorType.html index 646dec6ef4..23e54b8b74 100644 --- a/docs/enums/OperatorType.html +++ b/docs/enums/OperatorType.html @@ -1,8 +1,90 @@ -OperatorType | @tryforge/forgescript

                                                                      Generated using TypeDoc

                                                                      \ No newline at end of file +OperatorType | @tryforge/forgescript
                                                                      +
                                                                      @tryforge/forgescript + +
                                                                        +
                                                                        +
                                                                        Preparing search index...
                                                                        +
                                                                        +
                                                                        +
                                                                        + +

                                                                        Enumeration OperatorType

                                                                        +
                                                                        +
                                                                        +
                                                                        +
                                                                        Index
                                                                        +
                                                                        +
                                                                        + +
                                                                        Eq +Gt +Gte +Lt +Lte +None +NotEq +
                                                                        +
                                                                        + +
                                                                        +
                                                                        + +
                                                                        Eq: "=="
                                                                        +
                                                                        + +
                                                                        Gt: ">"
                                                                        +
                                                                        + +
                                                                        Gte: ">="
                                                                        +
                                                                        + +
                                                                        Lt: "<"
                                                                        +
                                                                        + +
                                                                        Lte: "<="
                                                                        +
                                                                        + +
                                                                        None: "unknown"
                                                                        +
                                                                        + +
                                                                        NotEq: "!="
                                                                        +
                                                                        + +
                                                                        +
                                                                        diff --git a/docs/enums/PrefixMode.html b/docs/enums/PrefixMode.html new file mode 100644 index 0000000000..e61ac97d19 --- /dev/null +++ b/docs/enums/PrefixMode.html @@ -0,0 +1,72 @@ +PrefixMode | @tryforge/forgescript
                                                                        +
                                                                        @tryforge/forgescript + +
                                                                          +
                                                                          +
                                                                          Preparing search index...
                                                                          +
                                                                          +
                                                                          +
                                                                          + +

                                                                          Enumeration PrefixMode

                                                                          +
                                                                          +
                                                                          +
                                                                          +
                                                                          Index
                                                                          +
                                                                          +
                                                                          + +
                                                                          +
                                                                          + +
                                                                          +
                                                                          + +
                                                                          None: 2
                                                                          +

                                                                          The command requires no prefix to be executed (unprefixed).

                                                                          +
                                                                          +
                                                                          + +
                                                                          Optional: 1
                                                                          +

                                                                          The command can be executed with or without a prefix.

                                                                          +
                                                                          +
                                                                          + +
                                                                          Required: 0
                                                                          +

                                                                          The command requires a prefix to be executed. This is the default mode.

                                                                          +
                                                                          +
                                                                          + +
                                                                          +
                                                                          diff --git a/docs/enums/RegistrationType.html b/docs/enums/RegistrationType.html index a44879eb91..367825b37d 100644 --- a/docs/enums/RegistrationType.html +++ b/docs/enums/RegistrationType.html @@ -1,4 +1,66 @@ -RegistrationType | @tryforge/forgescript

                                                                          Generated using TypeDoc

                                                                          \ No newline at end of file +RegistrationType | @tryforge/forgescript
                                                                          +
                                                                          @tryforge/forgescript + +
                                                                            +
                                                                            +
                                                                            Preparing search index...
                                                                            +
                                                                            +
                                                                            +
                                                                            + +

                                                                            Enumeration RegistrationType

                                                                            +
                                                                            +
                                                                            +
                                                                            +
                                                                            Index
                                                                            +
                                                                            +
                                                                            + +
                                                                            +
                                                                            + +
                                                                            +
                                                                            + +
                                                                            All: 2
                                                                            +
                                                                            + +
                                                                            Global: 0
                                                                            +
                                                                            + +
                                                                            Guild: 1
                                                                            +
                                                                            + +
                                                                            +
                                                                            diff --git a/docs/enums/ReturnType.html b/docs/enums/ReturnType.html index 4479488ede..21eec6577e 100644 --- a/docs/enums/ReturnType.html +++ b/docs/enums/ReturnType.html @@ -1,7 +1,84 @@ -ReturnType | @tryforge/forgescript

                                                                            Generated using TypeDoc

                                                                            \ No newline at end of file +ReturnType | @tryforge/forgescript
                                                                            +
                                                                            @tryforge/forgescript + +
                                                                              +
                                                                              +
                                                                              Preparing search index...
                                                                              +
                                                                              +
                                                                              +
                                                                              + +

                                                                              Enumeration ReturnType

                                                                              +
                                                                              +
                                                                              +
                                                                              +
                                                                              Index
                                                                              +
                                                                              +
                                                                              + +
                                                                              +
                                                                              + +
                                                                              +
                                                                              + +
                                                                              Break: 4
                                                                              +
                                                                              + +
                                                                              Continue: 5
                                                                              +
                                                                              + +
                                                                              Error: 0
                                                                              +
                                                                              + +
                                                                              Return: 3
                                                                              +
                                                                              + +
                                                                              Stop: 1
                                                                              +
                                                                              + +
                                                                              Success: 2
                                                                              +
                                                                              + +
                                                                              +
                                                                              diff --git a/docs/functions/array.html b/docs/functions/array.html new file mode 100644 index 0000000000..bff414c7c1 --- /dev/null +++ b/docs/functions/array.html @@ -0,0 +1,46 @@ +array | @tryforge/forgescript
                                                                              +
                                                                              @tryforge/forgescript + +
                                                                                +
                                                                                +
                                                                                Preparing search index...
                                                                                +
                                                                                +
                                                                                +
                                                                                + +

                                                                                Function array

                                                                                +
                                                                                +
                                                                                +
                                                                                + +
                                                                                +
                                                                                diff --git a/docs/functions/defineProperties.html b/docs/functions/defineProperties.html new file mode 100644 index 0000000000..a9f7e4842f --- /dev/null +++ b/docs/functions/defineProperties.html @@ -0,0 +1,47 @@ +defineProperties | @tryforge/forgescript
                                                                                +
                                                                                @tryforge/forgescript + +
                                                                                  +
                                                                                  +
                                                                                  Preparing search index...
                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  + +

                                                                                  Function defineProperties

                                                                                  +
                                                                                  +
                                                                                  +
                                                                                  + +
                                                                                  +
                                                                                  diff --git a/docs/functions/generateMetadata.html b/docs/functions/generateMetadata.html index 9fbcf59987..1d5a3d11e7 100644 --- a/docs/functions/generateMetadata.html +++ b/docs/functions/generateMetadata.html @@ -1 +1,52 @@ -generateMetadata | @tryforge/forgescript

                                                                                  Function generateMetadata

                                                                                  • Parameters

                                                                                    • functionsAbsolutePath: string
                                                                                    • Optional mainCategoryName: string
                                                                                    • Optional eventName: string
                                                                                    • warnOnNoOutput: boolean = false
                                                                                    • Optional expose: Record<string, EnumLike>
                                                                                    • Optional eventsAbsolutePath: string
                                                                                    • translate: string[] = []

                                                                                    Returns Promise<void>

                                                                                  Generated using TypeDoc

                                                                                  \ No newline at end of file +generateMetadata | @tryforge/forgescript
                                                                                  +
                                                                                  @tryforge/forgescript + +
                                                                                    +
                                                                                    +
                                                                                    Preparing search index...
                                                                                    +
                                                                                    +
                                                                                    +
                                                                                    + +

                                                                                    Function generateMetadata

                                                                                    +
                                                                                    +
                                                                                      +
                                                                                    • + +
                                                                                      +
                                                                                      +

                                                                                      Parameters

                                                                                      +
                                                                                        +
                                                                                      • functionsAbsolutePath: string
                                                                                      • +
                                                                                      • OptionalmainCategoryName: string
                                                                                      • +
                                                                                      • OptionaleventName: string
                                                                                      • +
                                                                                      • warnOnNoOutput: boolean = false
                                                                                      • +
                                                                                      • Optionalexpose: Record<string, EnumLike>
                                                                                      • +
                                                                                      • OptionaleventsAbsolutePath: string
                                                                                      • +
                                                                                      • translate: string[] = [] +
                                                                                        +
                                                                                        +

                                                                                        This parameter is no longer being used.

                                                                                        +
                                                                                      +

                                                                                      Returns Promise<void>

                                                                                    +
                                                                                    + +
                                                                                    +
                                                                                    diff --git a/docs/hierarchy.html b/docs/hierarchy.html new file mode 100644 index 0000000000..93eb4b03ea --- /dev/null +++ b/docs/hierarchy.html @@ -0,0 +1,37 @@ +@tryforge/forgescript
                                                                                    +
                                                                                    @tryforge/forgescript + +
                                                                                      +
                                                                                      +
                                                                                      Preparing search index...
                                                                                      +
                                                                                      +
                                                                                      +
                                                                                      +

                                                                                      @tryforge/forgescript

                                                                                      +

                                                                                      Hierarchy Summary

                                                                                      + +
                                                                                      +
                                                                                      + +
                                                                                      +
                                                                                      diff --git a/docs/index.html b/docs/index.html index b8b150287e..659a301c1a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,73 +1,123 @@ -@tryforge/forgescript

                                                                                      @tryforge/forgescript

                                                                                      ForgeScript

                                                                                      ForgeScript is a comprehensive package that empowers you to effortlessly interact with Discord's API. It ensures scripting remains easy to learn and consistently effective.

                                                                                      -

                                                                                      Index

                                                                                      - +@tryforge/forgescript
                                                                                      +
                                                                                      @tryforge/forgescript + +
                                                                                        +
                                                                                        +
                                                                                        Preparing search index...
                                                                                        +
                                                                                        +
                                                                                        +
                                                                                        +

                                                                                        @tryforge/forgescript

                                                                                        +

                                                                                        ForgeScript

                                                                                        +

                                                                                        ForgeScript is a comprehensive package that empowers you to effortlessly interact with Discord's API. It ensures scripting remains easy to learn and consistently effective.

                                                                                        + + +
                                                                                          +
                                                                                        1. Installation
                                                                                        2. +
                                                                                        3. Making your first bot +
                                                                                            +
                                                                                          1. Client Initialization
                                                                                          2. +
                                                                                          3. Registering Commands
                                                                                              -
                                                                                            1. Installation
                                                                                            2. -
                                                                                            3. Making your first bot
                                                                                                -
                                                                                              1. Client Initialization
                                                                                              2. -
                                                                                              3. Registering Commands
                                                                                                  -
                                                                                                1. Basic registering
                                                                                                2. -
                                                                                                3. Registering from a root folder
                                                                                                4. +
                                                                                                5. Basic registering
                                                                                                6. +
                                                                                                7. Registering from a root folder
                                                                                            4. -
                                                                                            5. Extensions
                                                                                            6. -
                                                                                            7. Limitations
                                                                                            8. -
                                                                                            9. Update Frequency
                                                                                            10. +
                                                                                            11. Extensions
                                                                                            12. +
                                                                                            13. Limitations
                                                                                            14. +
                                                                                            15. Update Frequency
                                                                                            16. Function Documentation
                                                                                            17. Library Documentation
                                                                                            -
                                                                                            - - -

                                                                                            Installation

                                                                                            - + +

                                                                                            Make sure you have node.js installed, and greater than version v16.11.0. Once done, run one of the following commands in a console (from any IDE or terminal):

                                                                                            Main

                                                                                            -
                                                                                            npm i https://github.com/tryforge/ForgeScript/tree/main
                                                                                            -
                                                                                            +
                                                                                            npm i https://github.com/tryforge/ForgeScript/tree/main
                                                                                            +
                                                                                            +

                                                                                            Dev

                                                                                            -
                                                                                            npm i https://github.com/tryforge/ForgeScript/tree/dev
                                                                                            -
                                                                                            -
                                                                                            +
                                                                                            npm i https://github.com/tryforge/ForgeScript/tree/dev
                                                                                            +
                                                                                            +
                                                                                            - - -

                                                                                            Making your first Bot

                                                                                            - + +

                                                                                            This section will guide you through initializing a client and loading commands from a folder, as well as logging your bot into discord.

                                                                                            -

                                                                                            Client Initialization

                                                                                            We will write the following for a basic bot initialization, in a index.js file:

                                                                                            -
                                                                                            const { ForgeClient } = require("@tryforge/forgescript")

                                                                                            const client = new ForgeClient({
                                                                                            intents: [
                                                                                            "GuildMessages",
                                                                                            "Guilds",
                                                                                            "MessageContent" // This intent is privileged, must be whitelisted in dev portal, in your application.
                                                                                            ],
                                                                                            events: [
                                                                                            "messageCreate",
                                                                                            "clientReady"
                                                                                            ], // Events our bot will act on
                                                                                            prefixes: [
                                                                                            "!",
                                                                                            "?"
                                                                                            ] // The prefixes to use for our bot!
                                                                                            })

                                                                                            client.login("token") -
                                                                                            + +

                                                                                            We will write the following for a basic bot initialization, in a index.js file:

                                                                                            +
                                                                                            const { ForgeClient } = require("@tryforge/forgescript")

                                                                                            const client = new ForgeClient({
                                                                                            intents: [
                                                                                            "GuildMessages",
                                                                                            "Guilds",
                                                                                            "MessageContent" // This intent is privileged, must be whitelisted in dev portal, in your application.
                                                                                            ],
                                                                                            events: [
                                                                                            "messageCreate",
                                                                                            "clientReady"
                                                                                            ], // Events our bot will act on
                                                                                            prefixes: [
                                                                                            "!",
                                                                                            "?"
                                                                                            ] // The prefixes to use for our bot!
                                                                                            })

                                                                                            client.login("token") +
                                                                                            +

                                                                                            This will be enough to put our bot on.

                                                                                            -

                                                                                            Registering commands

                                                                                            Registering commands is the way to go when we want something to happen on certain events.

                                                                                            -

                                                                                            Basic registering

                                                                                            Let's write this after our client initialization code:

                                                                                            -
                                                                                            client.commands.add({
                                                                                            name: "user", // Not defining this creates a command that will be executed for every event fired of given type
                                                                                            code: `Your name is $username!`,
                                                                                            type: "messageCreate" // The event to act on
                                                                                            }) -
                                                                                            + +

                                                                                            Registering commands is the way to go when we want something to happen on certain events.

                                                                                            + +

                                                                                            Let's write this after our client initialization code:

                                                                                            +
                                                                                            client.commands.add({
                                                                                            name: "user", // Not defining this creates a command that will be executed for every event fired of given type
                                                                                            code: `Your name is $username!`,
                                                                                            type: "messageCreate" // The event to act on
                                                                                            }) +
                                                                                            +

                                                                                            And this will register a command with name user that will return the name of the user that executed this command.

                                                                                            -

                                                                                            Registering from a root folder

                                                                                            The previous way to register commands can fill our index file with a lot of junk code, so there's a way to put files with commands in folders and load them from the index file.

                                                                                            + +

                                                                                            The previous way to register commands can fill our index file with a lot of junk code, so there's a way to put files with commands in folders and load them from the index file.

                                                                                              -
                                                                                            1. Create a folder, with any name, and a file inside it, name it whatever you want (must end with .js) and write the following in it:
                                                                                              module.exports = {
                                                                                              name: "user",
                                                                                              type: "messageCreate",
                                                                                              code: `Your name is $username!`
                                                                                              } -
                                                                                              - This is essentially the same as the previous command, but will be loaded from a folder!
                                                                                            2. -
                                                                                            3. Now, let's go back to our index file and write the following after client initialization (Make sure you've erased the code to register a command from index file):
                                                                                              client.commands.load("./<folder>")
                                                                                              -
                                                                                              - Replace <folder> with the folder name you used, and every file residing in the root folder (the tree doesn't matter as long as the file is in the folder) will be loaded into your bot!
                                                                                          4. +
                                                                                          5. Create a folder, with any name, and a file inside it, name it whatever you want (must end with .js) and write the following in it:
                                                                                            module.exports = {
                                                                                            name: "user",
                                                                                            type: "messageCreate",
                                                                                            code: `Your name is $username!`
                                                                                            } +
                                                                                            + +This is essentially the same as the previous command, but will be loaded from a folder!
                                                                                          6. +
                                                                                          7. Now, let's go back to our index file and write the following after client initialization (Make sure you've erased the code to register a command from index file):
                                                                                            client.commands.load("./<folder>")
                                                                                            +
                                                                                            + +Replace <folder> with the folder name you used, and every file residing in the root folder (the tree doesn't matter as long as the file is in the folder) will be loaded into your bot!
                                                                                          +
                                                                                          - - -

                                                                                          Limitations

                                                                                          - -

                                                                                          There's currently no known limitation.

                                                                                          + + +

                                                                                          There's currently no known limitation.

                                                                                          -

                                                                                          image Note this library reads codes from TOP to BOTTOM, and never the opposite.

                                                                                          +

                                                                                          ⚠️ Note this library reads codes from TOP to BOTTOM, and never the opposite.

                                                                                          -

                                                                                        Generated using TypeDoc

                                                                                        \ No newline at end of file +
                                                                                        +
                                                                                        + +
                                                                                        +
                                                                                        diff --git a/docs/interfaces/IApplicationCommandData.html b/docs/interfaces/IApplicationCommandData.html index 891f83f10a..935fcdc96b 100644 --- a/docs/interfaces/IApplicationCommandData.html +++ b/docs/interfaces/IApplicationCommandData.html @@ -1,6 +1,79 @@ -IApplicationCommandData | @tryforge/forgescript

                                                                                        Interface IApplicationCommandData

                                                                                        interface IApplicationCommandData {
                                                                                            code: string;
                                                                                            data: RESTPostAPIApplicationCommandsJSONBody | SlashCommandBuilder | ContextMenuCommandBuilder;
                                                                                            independent?: boolean;
                                                                                            path?: null | string;
                                                                                            type?: RegistrationType;
                                                                                        }

                                                                                        Properties

                                                                                        Properties

                                                                                        code: string
                                                                                        data: RESTPostAPIApplicationCommandsJSONBody | SlashCommandBuilder | ContextMenuCommandBuilder
                                                                                        independent?: boolean
                                                                                        path?: null | string

                                                                                        Generated using TypeDoc

                                                                                        \ No newline at end of file +IApplicationCommandData | @tryforge/forgescript
                                                                                        +
                                                                                        @tryforge/forgescript + +
                                                                                          +
                                                                                          +
                                                                                          Preparing search index...
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          + +

                                                                                          Interface IApplicationCommandData

                                                                                          +
                                                                                          interface IApplicationCommandData {
                                                                                              code: string;
                                                                                              data:
                                                                                                  | RESTPostAPIApplicationCommandsJSONBody
                                                                                                  | SlashCommandBuilder
                                                                                                  | ContextMenuCommandBuilder;
                                                                                              independent?: boolean;
                                                                                              path?: string
                                                                                              | null;
                                                                                              type?: RegistrationType;
                                                                                          }
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          +
                                                                                          Index
                                                                                          +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          code: string
                                                                                          +
                                                                                          + +
                                                                                          data:
                                                                                              | RESTPostAPIApplicationCommandsJSONBody
                                                                                              | SlashCommandBuilder
                                                                                              | ContextMenuCommandBuilder
                                                                                          +
                                                                                          + +
                                                                                          independent?: boolean
                                                                                          +
                                                                                          + +
                                                                                          path?: string | null
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          + +
                                                                                          +
                                                                                          diff --git a/docs/interfaces/IArg.html b/docs/interfaces/IArg.html index 463c5bfe13..7d3a3fc867 100644 --- a/docs/interfaces/IArg.html +++ b/docs/interfaces/IArg.html @@ -1,15 +1,128 @@ -IArg | @tryforge/forgescript

                                                                                          Interface IArg<Type, Required, Rest, Enum>

                                                                                          interface IArg {
                                                                                              check?: ((i) => boolean);
                                                                                              condition?: boolean;
                                                                                              delimiter?: string;
                                                                                              description: string;
                                                                                              enum?: Enum;
                                                                                              name: string;
                                                                                              pointer?: number;
                                                                                              pointerProperty?: string;
                                                                                              required?: Required;
                                                                                              rest: Rest;
                                                                                              type: Type;
                                                                                          }

                                                                                          Type Parameters

                                                                                          Properties

                                                                                          check?: ((i) => boolean)

                                                                                          Type declaration

                                                                                            • (i): boolean
                                                                                            • Parameters

                                                                                              Returns boolean

                                                                                          condition?: boolean
                                                                                          delimiter?: string
                                                                                          description: string
                                                                                          enum?: Enum
                                                                                          name: string
                                                                                          pointer?: number

                                                                                          Arg index to look at when a type requires a previously guild arg or depends on something.

                                                                                          -
                                                                                          pointerProperty?: string
                                                                                          required?: Required

                                                                                          Defaults to false.

                                                                                          -
                                                                                          rest: Rest

                                                                                          Whether this argument is an array of values.

                                                                                          -
                                                                                          type: Type

                                                                                          Generated using TypeDoc

                                                                                          \ No newline at end of file +IArg | @tryforge/forgescript
                                                                                          +
                                                                                          @tryforge/forgescript + +
                                                                                            +
                                                                                            +
                                                                                            Preparing search index...
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            + +

                                                                                            Interface IArg<Type, Required, Rest, Enum>

                                                                                            +
                                                                                            interface IArg<
                                                                                                Type extends ArgType = ArgType,
                                                                                                Required extends boolean = boolean,
                                                                                                Rest extends boolean = boolean,
                                                                                                Enum extends EnumLike = EnumLike,
                                                                                            > {
                                                                                                check?: (i: GetArgType<Type, Enum>) => boolean;
                                                                                                condition?: boolean;
                                                                                                delimiter?: string;
                                                                                                description: string;
                                                                                                enum?: Enum;
                                                                                                name: string;
                                                                                                pointer?: number;
                                                                                                pointerProperty?: string;
                                                                                                required?: Required;
                                                                                                rest: Rest;
                                                                                                type: Type;
                                                                                            }
                                                                                            +
                                                                                            +

                                                                                            Type Parameters

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            +
                                                                                            Index
                                                                                            +
                                                                                            +
                                                                                            + +
                                                                                            +
                                                                                            + +
                                                                                            check?: (i: GetArgType<Type, Enum>) => boolean
                                                                                            +
                                                                                            + +
                                                                                            condition?: boolean
                                                                                            +
                                                                                            + +
                                                                                            delimiter?: string
                                                                                            +
                                                                                            + +
                                                                                            description: string
                                                                                            +
                                                                                            + +
                                                                                            enum?: Enum
                                                                                            +
                                                                                            + +
                                                                                            name: string
                                                                                            +
                                                                                            + +
                                                                                            pointer?: number
                                                                                            +

                                                                                            Arg index to look at when a type requires a previously guild arg or depends on something.

                                                                                            +
                                                                                            +
                                                                                            + +
                                                                                            pointerProperty?: string
                                                                                            +
                                                                                            + +
                                                                                            required?: Required
                                                                                            +

                                                                                            Defaults to false.

                                                                                            +
                                                                                            +
                                                                                            + +
                                                                                            rest: Rest
                                                                                            +

                                                                                            Whether this argument is an array of values.

                                                                                            +
                                                                                            +
                                                                                            + +
                                                                                            type: Type
                                                                                            +
                                                                                            + +
                                                                                            +
                                                                                            diff --git a/docs/interfaces/IAutomodRuleOptions.html b/docs/interfaces/IAutomodRuleOptions.html index b3ba79d321..56b19fd7d4 100644 --- a/docs/interfaces/IAutomodRuleOptions.html +++ b/docs/interfaces/IAutomodRuleOptions.html @@ -1,5 +1,73 @@ -IAutomodRuleOptions | @tryforge/forgescript

                                                                                            Interface IAutomodRuleOptions

                                                                                            interface IAutomodRuleOptions {
                                                                                                actions: AutoModerationActionOptions[];
                                                                                                exemptChannels?: string[];
                                                                                                exemptRoles?: string[];
                                                                                                triggerMetadata?: AutoModerationTriggerMetadataOptions;
                                                                                            }

                                                                                            Properties

                                                                                            actions: AutoModerationActionOptions[]
                                                                                            exemptChannels?: string[]
                                                                                            exemptRoles?: string[]
                                                                                            triggerMetadata?: AutoModerationTriggerMetadataOptions

                                                                                            Generated using TypeDoc

                                                                                            \ No newline at end of file +IAutomodRuleOptions | @tryforge/forgescript
                                                                                            +
                                                                                            @tryforge/forgescript + +
                                                                                              +
                                                                                              +
                                                                                              Preparing search index...
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              + +

                                                                                              Interface IAutomodRuleOptions

                                                                                              +
                                                                                              interface IAutomodRuleOptions {
                                                                                                  actions: AutoModerationActionOptions[];
                                                                                                  exemptChannels?: string[];
                                                                                                  exemptRoles?: string[];
                                                                                                  triggerMetadata?: AutoModerationTriggerMetadataOptions;
                                                                                              }
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              +
                                                                                              Index
                                                                                              +
                                                                                              +
                                                                                              + +
                                                                                              +
                                                                                              + +
                                                                                              actions: AutoModerationActionOptions[]
                                                                                              +
                                                                                              + +
                                                                                              exemptChannels?: string[]
                                                                                              +
                                                                                              + +
                                                                                              exemptRoles?: string[]
                                                                                              +
                                                                                              + +
                                                                                              triggerMetadata?: AutoModerationTriggerMetadataOptions
                                                                                              +
                                                                                              + +
                                                                                              +
                                                                                              diff --git a/docs/interfaces/IBaseCommand.html b/docs/interfaces/IBaseCommand.html index 8c18aab127..673014f713 100644 --- a/docs/interfaces/IBaseCommand.html +++ b/docs/interfaces/IBaseCommand.html @@ -1,14 +1,185 @@ -IBaseCommand | @tryforge/forgescript

                                                                                              Interface IBaseCommand<T>

                                                                                              interface IBaseCommand {
                                                                                                  aliases?: string[];
                                                                                                  allowBots?: boolean;
                                                                                                  allowedInteractionTypes?: CommandInteractionTypes[];
                                                                                                  code: string;
                                                                                                  disableConsoleErrors?: boolean;
                                                                                                  guildOnly?: boolean;
                                                                                                  name?: string;
                                                                                                  path?: string;
                                                                                                  type: T;
                                                                                                  unloadable?: boolean;
                                                                                                  unprefixed?: boolean;
                                                                                                  [x: PropertyKey]: unknown;
                                                                                              }

                                                                                              Type Parameters

                                                                                              • T

                                                                                              Indexable

                                                                                              [x: PropertyKey]: unknown

                                                                                              Properties

                                                                                              aliases?: string[]
                                                                                              allowBots?: boolean
                                                                                              allowedInteractionTypes?: CommandInteractionTypes[]
                                                                                              code: string
                                                                                              disableConsoleErrors?: boolean
                                                                                              guildOnly?: boolean
                                                                                              name?: string
                                                                                              path?: string

                                                                                              Do not define

                                                                                              -
                                                                                              type: T
                                                                                              unloadable?: boolean

                                                                                              Do not define

                                                                                              -
                                                                                              unprefixed?: boolean

                                                                                              Generated using TypeDoc

                                                                                              \ No newline at end of file +IBaseCommand | @tryforge/forgescript
                                                                                              +
                                                                                              @tryforge/forgescript + +
                                                                                                +
                                                                                                +
                                                                                                Preparing search index...
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                + +

                                                                                                Interface IBaseCommand<T>

                                                                                                +
                                                                                                interface IBaseCommand<T> {
                                                                                                    aliases?: string[];
                                                                                                    allowBots?: boolean;
                                                                                                    allowedInteractionTypes?: CommandInteractionTypes[];
                                                                                                    code: string;
                                                                                                    disableConsoleErrors?: boolean;
                                                                                                    guildOnly?: boolean;
                                                                                                    name?: string;
                                                                                                    nameCaseInsensitive?: boolean;
                                                                                                    prefixMode?: PrefixMode;
                                                                                                    type: T;
                                                                                                    unprefixed?: boolean;
                                                                                                    [x: string | number | symbol]: unknown;
                                                                                                }
                                                                                                +
                                                                                                +

                                                                                                Type Parameters

                                                                                                +
                                                                                                  +
                                                                                                • T
                                                                                                +
                                                                                                +

                                                                                                Indexable

                                                                                                +
                                                                                                  +
                                                                                                • +
                                                                                                  [x: string | number | symbol]: unknown
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                Index
                                                                                                +
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + +
                                                                                                aliases?: string[]
                                                                                                +

                                                                                                The aliases for this command.

                                                                                                +
                                                                                                +
                                                                                                + +
                                                                                                allowBots?: boolean
                                                                                                +

                                                                                                Allows the bot to execute this event triggered by other bots (and itself).

                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                false
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + +
                                                                                                allowedInteractionTypes?: CommandInteractionTypes[]
                                                                                                +

                                                                                                The interaction types to restrict execution of the interactionCreate event to.

                                                                                                +
                                                                                                +
                                                                                                + +
                                                                                                code: string
                                                                                                +

                                                                                                The code to run when the event fired.

                                                                                                +
                                                                                                +
                                                                                                + +
                                                                                                disableConsoleErrors?: boolean
                                                                                                +

                                                                                                Whether to disable all possible console errors for this command.

                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                false
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + +
                                                                                                guildOnly?: boolean
                                                                                                +

                                                                                                Whether this command can only be executed on guilds.

                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                false
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + +
                                                                                                name?: string
                                                                                                +

                                                                                                The name for this command. Used as custom ID filter for interactionCreate events.

                                                                                                +
                                                                                                +
                                                                                                + +
                                                                                                nameCaseInsensitive?: boolean
                                                                                                +

                                                                                                Whether the command name and aliases should be case-insensitive, this only affects letters.

                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                true
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + +
                                                                                                prefixMode?: PrefixMode
                                                                                                +

                                                                                                The prefix mode to use for this command.

                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                PrefixMode.Required
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + +
                                                                                                type: T
                                                                                                +

                                                                                                The event type the bot will listen to.

                                                                                                +
                                                                                                +
                                                                                                + +
                                                                                                unprefixed?: boolean
                                                                                                +

                                                                                                Whether the command can be executed without a prefix.

                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                +

                                                                                                This property is considered legacy, prefixMode is preferred instead.

                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                false
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                diff --git a/docs/interfaces/ICommandManagerEvents.html b/docs/interfaces/ICommandManagerEvents.html index 602f687476..1b3d699122 100644 --- a/docs/interfaces/ICommandManagerEvents.html +++ b/docs/interfaces/ICommandManagerEvents.html @@ -1,2 +1,59 @@ -ICommandManagerEvents | @tryforge/forgescript

                                                                                                Interface ICommandManagerEvents<T>

                                                                                                interface ICommandManagerEvents {
                                                                                                    update: (() => void);
                                                                                                }

                                                                                                Type Parameters

                                                                                                • T

                                                                                                Properties

                                                                                                Properties

                                                                                                update: (() => void)

                                                                                                Type declaration

                                                                                                  • (): void
                                                                                                  • Returns void

                                                                                                Generated using TypeDoc

                                                                                                \ No newline at end of file +ICommandManagerEvents | @tryforge/forgescript
                                                                                                +
                                                                                                @tryforge/forgescript + +
                                                                                                  +
                                                                                                  +
                                                                                                  Preparing search index...
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  + +

                                                                                                  Interface ICommandManagerEvents<T>

                                                                                                  +
                                                                                                  interface ICommandManagerEvents<T> {
                                                                                                      update: () => void;
                                                                                                  }
                                                                                                  +
                                                                                                  +

                                                                                                  Type Parameters

                                                                                                  +
                                                                                                    +
                                                                                                  • T
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                  Index
                                                                                                  +
                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                  + +
                                                                                                  update: () => void
                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                  diff --git a/docs/interfaces/ICompilationResult.html b/docs/interfaces/ICompilationResult.html index d3af14cf25..76d2f5d787 100644 --- a/docs/interfaces/ICompilationResult.html +++ b/docs/interfaces/ICompilationResult.html @@ -1,4 +1,67 @@ -ICompilationResult | @tryforge/forgescript

                                                                                                  Generated using TypeDoc

                                                                                                  \ No newline at end of file +ICompilationResult | @tryforge/forgescript
                                                                                                  +
                                                                                                  @tryforge/forgescript + +
                                                                                                    +
                                                                                                    +
                                                                                                    Preparing search index...
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    + +

                                                                                                    Interface ICompilationResult

                                                                                                    +
                                                                                                    interface ICompilationResult {
                                                                                                        code: string;
                                                                                                        functions: ICompiledFunction[];
                                                                                                        resolve: WrappedCode;
                                                                                                    }
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                    Index
                                                                                                    +
                                                                                                    +
                                                                                                    + +
                                                                                                    +
                                                                                                    + +
                                                                                                    +
                                                                                                    + +
                                                                                                    code: string
                                                                                                    +
                                                                                                    + +
                                                                                                    functions: ICompiledFunction[]
                                                                                                    +
                                                                                                    + +
                                                                                                    resolve: WrappedCode
                                                                                                    +
                                                                                                    + +
                                                                                                    +
                                                                                                    diff --git a/docs/interfaces/ICompiledCommand.html b/docs/interfaces/ICompiledCommand.html index 78dc439efd..25dd1d6f7c 100644 --- a/docs/interfaces/ICompiledCommand.html +++ b/docs/interfaces/ICompiledCommand.html @@ -1,3 +1,61 @@ -ICompiledCommand | @tryforge/forgescript

                                                                                                    Generated using TypeDoc

                                                                                                    \ No newline at end of file +ICompiledCommand | @tryforge/forgescript
                                                                                                    +
                                                                                                    @tryforge/forgescript + +
                                                                                                      +
                                                                                                      +
                                                                                                      Preparing search index...
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      + +

                                                                                                      Interface ICompiledCommand

                                                                                                      +
                                                                                                      interface ICompiledCommand {
                                                                                                          code: IExtendedCompilationResult;
                                                                                                          name?: IExtendedCompilationResult;
                                                                                                      }
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                      Index
                                                                                                      +
                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                      diff --git a/docs/interfaces/ICompiledFunction.html b/docs/interfaces/ICompiledFunction.html index 83f79298d2..233b01d198 100644 --- a/docs/interfaces/ICompiledFunction.html +++ b/docs/interfaces/ICompiledFunction.html @@ -1,10 +1,95 @@ -ICompiledFunction | @tryforge/forgescript

                                                                                                      Interface ICompiledFunction

                                                                                                      interface ICompiledFunction {
                                                                                                          count: null | string;
                                                                                                          fields: null | (ICompiledFunctionField | ICompiledFunctionConditionField)[];
                                                                                                          id: string;
                                                                                                          index: number;
                                                                                                          name: string;
                                                                                                          negated: boolean;
                                                                                                          silent: boolean;
                                                                                                      }

                                                                                                      Properties

                                                                                                      Properties

                                                                                                      count: null | string
                                                                                                      id: string
                                                                                                      index: number
                                                                                                      name: string
                                                                                                      negated: boolean

                                                                                                      Whether output is not desirable

                                                                                                      -
                                                                                                      silent: boolean

                                                                                                      Whether error will be silenced and just exit execution

                                                                                                      -

                                                                                                      Generated using TypeDoc

                                                                                                      \ No newline at end of file +ICompiledFunction | @tryforge/forgescript
                                                                                                      +
                                                                                                      @tryforge/forgescript + +
                                                                                                        +
                                                                                                        +
                                                                                                        Preparing search index...
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        + +

                                                                                                        Interface ICompiledFunction

                                                                                                        +
                                                                                                        interface ICompiledFunction {
                                                                                                            count: string | null;
                                                                                                            fields: (ICompiledFunctionField | ICompiledFunctionConditionField)[] | null;
                                                                                                            id: string;
                                                                                                            index: number;
                                                                                                            name: string;
                                                                                                            negated: boolean;
                                                                                                            silent: boolean;
                                                                                                        }
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                        Index
                                                                                                        +
                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        + +
                                                                                                        count: string | null
                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        + +
                                                                                                        id: string
                                                                                                        +
                                                                                                        + +
                                                                                                        index: number
                                                                                                        +
                                                                                                        + +
                                                                                                        name: string
                                                                                                        +
                                                                                                        + +
                                                                                                        negated: boolean
                                                                                                        +

                                                                                                        Whether output is not desirable

                                                                                                        +
                                                                                                        +
                                                                                                        + +
                                                                                                        silent: boolean
                                                                                                        +

                                                                                                        Whether error will be silenced and just exit execution

                                                                                                        +
                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                        diff --git a/docs/interfaces/ICompiledFunctionConditionField.html b/docs/interfaces/ICompiledFunctionConditionField.html index dcf25fad7c..8caeea6de5 100644 --- a/docs/interfaces/ICompiledFunctionConditionField.html +++ b/docs/interfaces/ICompiledFunctionConditionField.html @@ -1,5 +1,73 @@ -ICompiledFunctionConditionField | @tryforge/forgescript

                                                                                                        Generated using TypeDoc

                                                                                                        \ No newline at end of file +ICompiledFunctionConditionField | @tryforge/forgescript
                                                                                                        +
                                                                                                        @tryforge/forgescript + +
                                                                                                          +
                                                                                                          +
                                                                                                          Preparing search index...
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          + +

                                                                                                          Interface ICompiledFunctionConditionField

                                                                                                          +
                                                                                                          interface ICompiledFunctionConditionField {
                                                                                                              lhs: ICompiledFunctionField;
                                                                                                              op: OperatorType;
                                                                                                              resolve: WrappedConditionCode;
                                                                                                              rhs?: ICompiledFunctionField;
                                                                                                          }
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                          Index
                                                                                                          +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                          diff --git a/docs/interfaces/ICompiledFunctionField.html b/docs/interfaces/ICompiledFunctionField.html index 4c3e592db9..53a5ff0552 100644 --- a/docs/interfaces/ICompiledFunctionField.html +++ b/docs/interfaces/ICompiledFunctionField.html @@ -1,4 +1,73 @@ -ICompiledFunctionField | @tryforge/forgescript

                                                                                                          Generated using TypeDoc

                                                                                                          \ No newline at end of file +ICompiledFunctionField | @tryforge/forgescript
                                                                                                          +
                                                                                                          @tryforge/forgescript + +
                                                                                                            +
                                                                                                            +
                                                                                                            Preparing search index...
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            + +

                                                                                                            Interface ICompiledFunctionField

                                                                                                            +
                                                                                                            interface ICompiledFunctionField {
                                                                                                                functions: ICompiledFunction[];
                                                                                                                rawValue: string;
                                                                                                                resolve: WrappedCode;
                                                                                                                value: string;
                                                                                                            }
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                            Index
                                                                                                            +
                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                            + +
                                                                                                            functions: ICompiledFunction[]
                                                                                                            +
                                                                                                            + +
                                                                                                            rawValue: string
                                                                                                            +
                                                                                                            + +
                                                                                                            resolve: WrappedCode
                                                                                                            +
                                                                                                            + +
                                                                                                            value: string
                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                            diff --git a/docs/interfaces/IComponentOptions.html b/docs/interfaces/IComponentOptions.html index 31101bcfc6..0fc9041bf1 100644 --- a/docs/interfaces/IComponentOptions.html +++ b/docs/interfaces/IComponentOptions.html @@ -1,5 +1,67 @@ -IComponentOptions | @tryforge/forgescript

                                                                                                            Interface IComponentOptions

                                                                                                            interface IComponentOptions {
                                                                                                                gallery: MediaGalleryBuilder;
                                                                                                                label: LabelBuilder;
                                                                                                                required?: boolean;
                                                                                                                section: SectionBuilder;
                                                                                                            }

                                                                                                            Properties

                                                                                                            gallery: MediaGalleryBuilder
                                                                                                            label: LabelBuilder
                                                                                                            required?: boolean
                                                                                                            section: SectionBuilder

                                                                                                            Generated using TypeDoc

                                                                                                            \ No newline at end of file +IComponentOptions | @tryforge/forgescript
                                                                                                            +
                                                                                                            @tryforge/forgescript + +
                                                                                                              +
                                                                                                              +
                                                                                                              Preparing search index...
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              + +

                                                                                                              Interface IComponentOptions

                                                                                                              +
                                                                                                              interface IComponentOptions {
                                                                                                                  gallery: MediaGalleryBuilder;
                                                                                                                  label: LabelBuilder;
                                                                                                                  section: SectionBuilder;
                                                                                                              }
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                              Index
                                                                                                              +
                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                              + +
                                                                                                              gallery: MediaGalleryBuilder
                                                                                                              +
                                                                                                              + +
                                                                                                              label: LabelBuilder
                                                                                                              +
                                                                                                              + +
                                                                                                              section: SectionBuilder
                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                              diff --git a/docs/interfaces/IContextCache.html b/docs/interfaces/IContextCache.html index 9eea204972..5b79e46aca 100644 --- a/docs/interfaces/IContextCache.html +++ b/docs/interfaces/IContextCache.html @@ -1,15 +1,133 @@ -IContextCache | @tryforge/forgescript

                                                                                                              Interface IContextCache

                                                                                                              interface IContextCache {
                                                                                                                  automod: null | AutoModerationActionExecution;
                                                                                                                  channel: null | BaseChannel;
                                                                                                                  emoji: null | Emoji;
                                                                                                                  entitlement: null | Entitlement;
                                                                                                                  guild: null | Guild;
                                                                                                                  interaction: null | Interaction;
                                                                                                                  member: null | GuildMember;
                                                                                                                  message: null | Message<boolean>;
                                                                                                                  reaction: null | MessageReaction;
                                                                                                                  role: null | Role;
                                                                                                                  sound: null | SoundboardSound;
                                                                                                                  sticker: null | Sticker;
                                                                                                                  subscription: null | Subscription;
                                                                                                                  user: null | User;
                                                                                                              }

                                                                                                              Properties

                                                                                                              automod: null | AutoModerationActionExecution
                                                                                                              channel: null | BaseChannel
                                                                                                              emoji: null | Emoji
                                                                                                              entitlement: null | Entitlement
                                                                                                              guild: null | Guild
                                                                                                              interaction: null | Interaction
                                                                                                              member: null | GuildMember
                                                                                                              message: null | Message<boolean>
                                                                                                              reaction: null | MessageReaction
                                                                                                              role: null | Role
                                                                                                              sound: null | SoundboardSound
                                                                                                              sticker: null | Sticker
                                                                                                              subscription: null | Subscription
                                                                                                              user: null | User

                                                                                                              Generated using TypeDoc

                                                                                                              \ No newline at end of file +IContextCache | @tryforge/forgescript
                                                                                                              +
                                                                                                              @tryforge/forgescript + +
                                                                                                                +
                                                                                                                +
                                                                                                                Preparing search index...
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                + +

                                                                                                                Interface IContextCache

                                                                                                                +
                                                                                                                interface IContextCache {
                                                                                                                    automod: AutoModerationActionExecution | null;
                                                                                                                    channel: BaseChannel | null;
                                                                                                                    emoji: Emoji | null;
                                                                                                                    entitlement: Entitlement | null;
                                                                                                                    guild: Guild | null;
                                                                                                                    interaction: Interaction | null;
                                                                                                                    member: GuildMember | null;
                                                                                                                    message: Message<boolean> | null;
                                                                                                                    reaction: MessageReaction | null;
                                                                                                                    role: Role | null;
                                                                                                                    sound: SoundboardSound | null;
                                                                                                                    sticker: Sticker | null;
                                                                                                                    subscription: Subscription | null;
                                                                                                                    user: User | null;
                                                                                                                }
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                Index
                                                                                                                +
                                                                                                                +
                                                                                                                + +
                                                                                                                +
                                                                                                                + +
                                                                                                                automod: AutoModerationActionExecution | null
                                                                                                                +
                                                                                                                + +
                                                                                                                channel: BaseChannel | null
                                                                                                                +
                                                                                                                + +
                                                                                                                emoji: Emoji | null
                                                                                                                +
                                                                                                                + +
                                                                                                                entitlement: Entitlement | null
                                                                                                                +
                                                                                                                + +
                                                                                                                guild: Guild | null
                                                                                                                +
                                                                                                                + +
                                                                                                                interaction: Interaction | null
                                                                                                                +
                                                                                                                + +
                                                                                                                member: GuildMember | null
                                                                                                                +
                                                                                                                + +
                                                                                                                message: Message<boolean> | null
                                                                                                                +
                                                                                                                + +
                                                                                                                reaction: MessageReaction | null
                                                                                                                +
                                                                                                                + +
                                                                                                                role: Role | null
                                                                                                                +
                                                                                                                + +
                                                                                                                sound: SoundboardSound | null
                                                                                                                +
                                                                                                                + +
                                                                                                                sticker: Sticker | null
                                                                                                                +
                                                                                                                + +
                                                                                                                subscription: Subscription | null
                                                                                                                +
                                                                                                                + +
                                                                                                                user: User | null
                                                                                                                +
                                                                                                                + +
                                                                                                                +
                                                                                                                diff --git a/docs/interfaces/ICooldown.html b/docs/interfaces/ICooldown.html index d68e56056b..6ba5d3bd01 100644 --- a/docs/interfaces/ICooldown.html +++ b/docs/interfaces/ICooldown.html @@ -1,3 +1,61 @@ -ICooldown | @tryforge/forgescript

                                                                                                                Generated using TypeDoc

                                                                                                                \ No newline at end of file +ICooldown | @tryforge/forgescript
                                                                                                                +
                                                                                                                @tryforge/forgescript + +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  Preparing search index...
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + +

                                                                                                                  Interface ICooldown

                                                                                                                  +
                                                                                                                  interface ICooldown {
                                                                                                                      duration: number;
                                                                                                                      startedAt: number;
                                                                                                                  }
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                  Index
                                                                                                                  +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  duration: number
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  startedAt: number
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                  diff --git a/docs/interfaces/IEvent.html b/docs/interfaces/IEvent.html index 1b3e4119e1..2c4fad8da5 100644 --- a/docs/interfaces/IEvent.html +++ b/docs/interfaces/IEvent.html @@ -1,7 +1,90 @@ -IEvent | @tryforge/forgescript

                                                                                                                  Interface IEvent<Events, T>

                                                                                                                  interface IEvent {
                                                                                                                      deprecated?: boolean;
                                                                                                                      description: string;
                                                                                                                      intents?: ("Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls")[];
                                                                                                                      listener: ((this, ...args) => void | Promise<void>);
                                                                                                                      name: T;
                                                                                                                      version?: string;
                                                                                                                  }

                                                                                                                  Type Parameters

                                                                                                                  • Events

                                                                                                                  • T extends keyof Events

                                                                                                                  Properties

                                                                                                                  deprecated?: boolean
                                                                                                                  description: string
                                                                                                                  intents?: ("Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls")[]
                                                                                                                  listener: ((this, ...args) => void | Promise<void>)

                                                                                                                  Type declaration

                                                                                                                    • (this, ...args): void | Promise<void>
                                                                                                                    • Parameters

                                                                                                                      Returns void | Promise<void>

                                                                                                                  name: T
                                                                                                                  version?: string

                                                                                                                  Generated using TypeDoc

                                                                                                                  \ No newline at end of file +IEvent | @tryforge/forgescript
                                                                                                                  +
                                                                                                                  @tryforge/forgescript + +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    Preparing search index...
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + +

                                                                                                                    Interface IEvent<Events, T>

                                                                                                                    +
                                                                                                                    interface IEvent<Events, T extends keyof Events> {
                                                                                                                        deprecated?: boolean;
                                                                                                                        description: string;
                                                                                                                        intents?: (
                                                                                                                            | "Guilds"
                                                                                                                            | "GuildMembers"
                                                                                                                            | "GuildModeration"
                                                                                                                            | "GuildBans"
                                                                                                                            | "GuildExpressions"
                                                                                                                            | "GuildEmojisAndStickers"
                                                                                                                            | "GuildIntegrations"
                                                                                                                            | "GuildWebhooks"
                                                                                                                            | "GuildInvites"
                                                                                                                            | "GuildVoiceStates"
                                                                                                                            | "GuildPresences"
                                                                                                                            | "GuildMessages"
                                                                                                                            | "GuildMessageReactions"
                                                                                                                            | "GuildMessageTyping"
                                                                                                                            | "DirectMessages"
                                                                                                                            | "DirectMessageReactions"
                                                                                                                            | "DirectMessageTyping"
                                                                                                                            | "MessageContent"
                                                                                                                            | "GuildScheduledEvents"
                                                                                                                            | "AutoModerationConfiguration"
                                                                                                                            | "AutoModerationExecution"
                                                                                                                            | "GuildMessagePolls"
                                                                                                                            | "DirectMessagePolls"
                                                                                                                        )[];
                                                                                                                        listener: (
                                                                                                                            this: ForgeClient,
                                                                                                                            ...args: AssertArgs<Events[T]>,
                                                                                                                        ) => void | Promise<void>;
                                                                                                                        name: T;
                                                                                                                        version?: string;
                                                                                                                    }
                                                                                                                    +
                                                                                                                    +

                                                                                                                    Type Parameters

                                                                                                                    +
                                                                                                                      +
                                                                                                                    • Events
                                                                                                                    • +
                                                                                                                    • T extends keyof Events
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                    Index
                                                                                                                    +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    deprecated?: boolean
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    description: string
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    intents?: (
                                                                                                                        | "Guilds"
                                                                                                                        | "GuildMembers"
                                                                                                                        | "GuildModeration"
                                                                                                                        | "GuildBans"
                                                                                                                        | "GuildExpressions"
                                                                                                                        | "GuildEmojisAndStickers"
                                                                                                                        | "GuildIntegrations"
                                                                                                                        | "GuildWebhooks"
                                                                                                                        | "GuildInvites"
                                                                                                                        | "GuildVoiceStates"
                                                                                                                        | "GuildPresences"
                                                                                                                        | "GuildMessages"
                                                                                                                        | "GuildMessageReactions"
                                                                                                                        | "GuildMessageTyping"
                                                                                                                        | "DirectMessages"
                                                                                                                        | "DirectMessageReactions"
                                                                                                                        | "DirectMessageTyping"
                                                                                                                        | "MessageContent"
                                                                                                                        | "GuildScheduledEvents"
                                                                                                                        | "AutoModerationConfiguration"
                                                                                                                        | "AutoModerationExecution"
                                                                                                                        | "GuildMessagePolls"
                                                                                                                        | "DirectMessagePolls"
                                                                                                                    )[]
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    listener: (
                                                                                                                        this: ForgeClient,
                                                                                                                        ...args: AssertArgs<Events[T]>,
                                                                                                                    ) => void | Promise<void>
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    name: T
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    version?: string
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                    diff --git a/docs/interfaces/IExtendedCompilationResult.html b/docs/interfaces/IExtendedCompilationResult.html index 796d0a58d5..6bc526a3c1 100644 --- a/docs/interfaces/IExtendedCompilationResult.html +++ b/docs/interfaces/IExtendedCompilationResult.html @@ -1,4 +1,75 @@ -IExtendedCompilationResult | @tryforge/forgescript

                                                                                                                    Interface IExtendedCompilationResult

                                                                                                                    interface IExtendedCompilationResult {
                                                                                                                        code: string;
                                                                                                                        functions: CompiledFunction<IArg<ArgType, boolean, boolean, EnumLike<any>>[], boolean>[];
                                                                                                                        resolve: WrappedCode;
                                                                                                                    }

                                                                                                                    Hierarchy

                                                                                                                    Properties

                                                                                                                    Properties

                                                                                                                    code: string
                                                                                                                    functions: CompiledFunction<IArg<ArgType, boolean, boolean, EnumLike<any>>[], boolean>[]
                                                                                                                    resolve: WrappedCode

                                                                                                                    Generated using TypeDoc

                                                                                                                    \ No newline at end of file +IExtendedCompilationResult | @tryforge/forgescript
                                                                                                                    +
                                                                                                                    @tryforge/forgescript + +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      Preparing search index...
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      + +

                                                                                                                      Interface IExtendedCompilationResult

                                                                                                                      +
                                                                                                                      interface IExtendedCompilationResult {
                                                                                                                          code: string;
                                                                                                                          functions: CompiledFunction<
                                                                                                                              IArg<ArgType, boolean, boolean, EnumLike<any>>[],
                                                                                                                              boolean,
                                                                                                                          >[];
                                                                                                                          resolve: WrappedCode;
                                                                                                                      }
                                                                                                                      +
                                                                                                                      +

                                                                                                                      Hierarchy

                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                      Index
                                                                                                                      +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      code: string
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      functions: CompiledFunction<
                                                                                                                          IArg<ArgType, boolean, boolean, EnumLike<any>>[],
                                                                                                                          boolean,
                                                                                                                      >[]
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      resolve: WrappedCode
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                      diff --git a/docs/interfaces/IExtendedCompiledFunction.html b/docs/interfaces/IExtendedCompiledFunction.html index cb74a05df5..3401a5747c 100644 --- a/docs/interfaces/IExtendedCompiledFunction.html +++ b/docs/interfaces/IExtendedCompiledFunction.html @@ -1,10 +1,107 @@ -IExtendedCompiledFunction | @tryforge/forgescript

                                                                                                                      Interface IExtendedCompiledFunction

                                                                                                                      interface IExtendedCompiledFunction {
                                                                                                                          count: null | string;
                                                                                                                          fields: null | (IExtendedCompiledFunctionField | IExtendedCompiledFunctionConditionField)[];
                                                                                                                          id: string;
                                                                                                                          index: number;
                                                                                                                          name: string;
                                                                                                                          negated: boolean;
                                                                                                                          silent: boolean;
                                                                                                                      }

                                                                                                                      Hierarchy

                                                                                                                      Properties

                                                                                                                      Properties

                                                                                                                      count: null | string
                                                                                                                      id: string
                                                                                                                      index: number
                                                                                                                      name: string
                                                                                                                      negated: boolean

                                                                                                                      Whether output is not desirable

                                                                                                                      -
                                                                                                                      silent: boolean

                                                                                                                      Whether error will be silenced and just exit execution

                                                                                                                      -

                                                                                                                      Generated using TypeDoc

                                                                                                                      \ No newline at end of file +IExtendedCompiledFunction | @tryforge/forgescript
                                                                                                                      +
                                                                                                                      @tryforge/forgescript + +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        Preparing search index...
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + +

                                                                                                                        Interface IExtendedCompiledFunction

                                                                                                                        +
                                                                                                                        interface IExtendedCompiledFunction {
                                                                                                                            count: string | null;
                                                                                                                            fields:
                                                                                                                                | (
                                                                                                                                    | IExtendedCompiledFunctionField
                                                                                                                                    | IExtendedCompiledFunctionConditionField
                                                                                                                                )[]
                                                                                                                                | null;
                                                                                                                            id: string;
                                                                                                                            index: number;
                                                                                                                            name: string;
                                                                                                                            negated: boolean;
                                                                                                                            silent: boolean;
                                                                                                                        }
                                                                                                                        +
                                                                                                                        +

                                                                                                                        Hierarchy

                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                        Index
                                                                                                                        +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        count: string | null
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        fields:
                                                                                                                            | (
                                                                                                                                | IExtendedCompiledFunctionField
                                                                                                                                | IExtendedCompiledFunctionConditionField
                                                                                                                            )[]
                                                                                                                            | null
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        id: string
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        index: number
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        name: string
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        negated: boolean
                                                                                                                        +

                                                                                                                        Whether output is not desirable

                                                                                                                        +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        silent: boolean
                                                                                                                        +

                                                                                                                        Whether error will be silenced and just exit execution

                                                                                                                        +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                        diff --git a/docs/interfaces/IExtendedCompiledFunctionConditionField.html b/docs/interfaces/IExtendedCompiledFunctionConditionField.html index 94c3f162a0..5ed4be91f8 100644 --- a/docs/interfaces/IExtendedCompiledFunctionConditionField.html +++ b/docs/interfaces/IExtendedCompiledFunctionConditionField.html @@ -1,5 +1,81 @@ -IExtendedCompiledFunctionConditionField | @tryforge/forgescript

                                                                                                                        Generated using TypeDoc

                                                                                                                        \ No newline at end of file +IExtendedCompiledFunctionConditionField | @tryforge/forgescript
                                                                                                                        +
                                                                                                                        @tryforge/forgescript + +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          Preparing search index...
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + +

                                                                                                                          Interface IExtendedCompiledFunctionConditionField

                                                                                                                          +
                                                                                                                          interface IExtendedCompiledFunctionConditionField {
                                                                                                                              lhs: IExtendedCompiledFunctionField;
                                                                                                                              op: OperatorType;
                                                                                                                              resolve: WrappedConditionCode;
                                                                                                                              rhs?: IExtendedCompiledFunctionField;
                                                                                                                          }
                                                                                                                          +
                                                                                                                          +

                                                                                                                          Hierarchy

                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                          Index
                                                                                                                          +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                          diff --git a/docs/interfaces/IExtendedCompiledFunctionField.html b/docs/interfaces/IExtendedCompiledFunctionField.html index 1c28c1895d..aded66f4c2 100644 --- a/docs/interfaces/IExtendedCompiledFunctionField.html +++ b/docs/interfaces/IExtendedCompiledFunctionField.html @@ -1,5 +1,88 @@ -IExtendedCompiledFunctionField | @tryforge/forgescript

                                                                                                                          Interface IExtendedCompiledFunctionField

                                                                                                                          interface IExtendedCompiledFunctionField {
                                                                                                                              functions: CompiledFunction<IArg<ArgType, boolean, boolean, EnumLike<any>>[], boolean>[];
                                                                                                                              resolve: WrappedCode;
                                                                                                                              resolveArg?: ((ctx, arg, value, ref) => unknown);
                                                                                                                              value: string;
                                                                                                                          }

                                                                                                                          Hierarchy

                                                                                                                          Properties

                                                                                                                          functions: CompiledFunction<IArg<ArgType, boolean, boolean, EnumLike<any>>[], boolean>[]
                                                                                                                          resolve: WrappedCode
                                                                                                                          resolveArg?: ((ctx, arg, value, ref) => unknown)

                                                                                                                          Type declaration

                                                                                                                            • (ctx, arg, value, ref): unknown
                                                                                                                            • Parameters

                                                                                                                              Returns unknown

                                                                                                                          value: string

                                                                                                                          Generated using TypeDoc

                                                                                                                          \ No newline at end of file +IExtendedCompiledFunctionField | @tryforge/forgescript
                                                                                                                          +
                                                                                                                          @tryforge/forgescript + +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            Preparing search index...
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            + +

                                                                                                                            Interface IExtendedCompiledFunctionField

                                                                                                                            +
                                                                                                                            interface IExtendedCompiledFunctionField {
                                                                                                                                functions: CompiledFunction<
                                                                                                                                    IArg<ArgType, boolean, boolean, EnumLike<any>>[],
                                                                                                                                    boolean,
                                                                                                                                >[];
                                                                                                                                rawValue: string;
                                                                                                                                resolve: WrappedCode;
                                                                                                                                resolveArg?: (
                                                                                                                                    ctx: Context,
                                                                                                                                    arg: IArg,
                                                                                                                                    value: string,
                                                                                                                                    ref: unknown[],
                                                                                                                                ) => unknown;
                                                                                                                                value: string;
                                                                                                                            }
                                                                                                                            +
                                                                                                                            +

                                                                                                                            Hierarchy

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                            Index
                                                                                                                            +
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            functions: CompiledFunction<
                                                                                                                                IArg<ArgType, boolean, boolean, EnumLike<any>>[],
                                                                                                                                boolean,
                                                                                                                            >[]
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            rawValue: string
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            resolve: WrappedCode
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            resolveArg?: (ctx: Context, arg: IArg, value: string, ref: unknown[]) => unknown
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            value: string
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            +
                                                                                                                            diff --git a/docs/interfaces/IForgeClientOptions.html b/docs/interfaces/IForgeClientOptions.html index 4bfbd39fd7..3ef8e9a35b 100644 --- a/docs/interfaces/IForgeClientOptions.html +++ b/docs/interfaces/IForgeClientOptions.html @@ -1,43 +1,327 @@ -IForgeClientOptions | @tryforge/forgescript

                                                                                                                            Interface IForgeClientOptions

                                                                                                                            interface IForgeClientOptions {
                                                                                                                                allowBots?: boolean;
                                                                                                                                allowedMentions?: MessageMentionOptions;
                                                                                                                                closeTimeout?: number;
                                                                                                                                commands?: string;
                                                                                                                                disableConsoleErrors?: boolean;
                                                                                                                                enforceNonce?: boolean;
                                                                                                                                events?: (keyof ClientEvents)[];
                                                                                                                                extensions?: ForgeExtension[];
                                                                                                                                failIfNotExists?: boolean;
                                                                                                                                functions?: string;
                                                                                                                                intents: BitFieldResolvable<"Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls", number>;
                                                                                                                                jsonTransformer?: ((obj) => unknown);
                                                                                                                                logLevel?: LogPriority;
                                                                                                                                makeCache?: CacheFactory;
                                                                                                                                mobile?: boolean;
                                                                                                                                optionalGuildID?: boolean;
                                                                                                                                partials?: readonly Partials[];
                                                                                                                                prefixCaseInsensitive?: boolean;
                                                                                                                                prefixes: IExtendedCompilationResult[];
                                                                                                                                presence?: PresenceData;
                                                                                                                                respondOnEdit?: number | boolean;
                                                                                                                                rest?: Partial<RESTOptions>;
                                                                                                                                restrictions?: IRestrictions;
                                                                                                                                shardCount?: number;
                                                                                                                                shards?: number | readonly number[] | "auto";
                                                                                                                                sweepers?: SweeperOptions;
                                                                                                                                token?: string;
                                                                                                                                trackers?: ITrackers;
                                                                                                                                useInviteSystem?: boolean;
                                                                                                                                waitGuildTimeout?: number;
                                                                                                                                ws?: WebSocketOptions;
                                                                                                                            }

                                                                                                                            Hierarchy

                                                                                                                            Properties

                                                                                                                            allowBots?: boolean

                                                                                                                            Allows the bot to execute events triggered by other bots (and itself)

                                                                                                                            -
                                                                                                                            allowedMentions?: MessageMentionOptions
                                                                                                                            closeTimeout?: number
                                                                                                                            commands?: string

                                                                                                                            Specifies a folder (path) to load all commands from it

                                                                                                                            -
                                                                                                                            disableConsoleErrors?: boolean
                                                                                                                            enforceNonce?: boolean
                                                                                                                            events?: (keyof ClientEvents)[]

                                                                                                                            The discord.js events our bot will use

                                                                                                                            -
                                                                                                                            extensions?: ForgeExtension[]
                                                                                                                            failIfNotExists?: boolean
                                                                                                                            functions?: string
                                                                                                                            intents: BitFieldResolvable<"Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls", number>
                                                                                                                            jsonTransformer?: ((obj) => unknown)

                                                                                                                            Type declaration

                                                                                                                              • (obj): unknown
                                                                                                                              • Parameters

                                                                                                                                • obj: unknown

                                                                                                                                Returns unknown

                                                                                                                            logLevel?: LogPriority

                                                                                                                            Specifies the logs to be received

                                                                                                                            -
                                                                                                                            makeCache?: CacheFactory
                                                                                                                            mobile?: boolean

                                                                                                                            This will connect the client to Discord with the mobile status

                                                                                                                            -
                                                                                                                            optionalGuildID?: boolean

                                                                                                                            Deprecated

                                                                                                                            Does not work

                                                                                                                            -
                                                                                                                            partials?: readonly Partials[]
                                                                                                                            prefixCaseInsensitive?: boolean

                                                                                                                            Whether prefixes should be case-insensitive, this only affects letters

                                                                                                                            -
                                                                                                                            presence?: PresenceData
                                                                                                                            respondOnEdit?: number | boolean

                                                                                                                            Allows the bot to re-use messages that were edited to find possibly command calls. -If a number is passed, it's treated as the amount of milliseconds that can pass before +IForgeClientOptions | @tryforge/forgescript

                                                                                                                            +
                                                                                                                            @tryforge/forgescript + +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              Preparing search index...
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + +

                                                                                                                              Interface IForgeClientOptions

                                                                                                                              +
                                                                                                                              interface IForgeClientOptions {
                                                                                                                                  allowBots?: boolean;
                                                                                                                                  allowedMentions?: MessageMentionOptions;
                                                                                                                                  closeTimeout?: number;
                                                                                                                                  commands?: string;
                                                                                                                                  disableConsoleErrors?: boolean;
                                                                                                                                  enforceNonce?: boolean;
                                                                                                                                  events?: (keyof ClientEvents)[];
                                                                                                                                  extensions?: ForgeExtension[];
                                                                                                                                  failIfNotExists?: boolean;
                                                                                                                                  functions?: string;
                                                                                                                                  intents: BitFieldResolvable<
                                                                                                                                      | "Guilds"
                                                                                                                                      | "GuildMembers"
                                                                                                                                      | "GuildModeration"
                                                                                                                                      | "GuildBans"
                                                                                                                                      | "GuildExpressions"
                                                                                                                                      | "GuildEmojisAndStickers"
                                                                                                                                      | "GuildIntegrations"
                                                                                                                                      | "GuildWebhooks"
                                                                                                                                      | "GuildInvites"
                                                                                                                                      | "GuildVoiceStates"
                                                                                                                                      | "GuildPresences"
                                                                                                                                      | "GuildMessages"
                                                                                                                                      | "GuildMessageReactions"
                                                                                                                                      | "GuildMessageTyping"
                                                                                                                                      | "DirectMessages"
                                                                                                                                      | "DirectMessageReactions"
                                                                                                                                      | "DirectMessageTyping"
                                                                                                                                      | "MessageContent"
                                                                                                                                      | "GuildScheduledEvents"
                                                                                                                                      | "AutoModerationConfiguration"
                                                                                                                                      | "AutoModerationExecution"
                                                                                                                                      | "GuildMessagePolls"
                                                                                                                                      | "DirectMessagePolls",
                                                                                                                                      number,
                                                                                                                                  >;
                                                                                                                                  jsonTransformer?: (obj: unknown) => unknown;
                                                                                                                                  logLevel?: LogPriority;
                                                                                                                                  makeCache?: CacheFactory;
                                                                                                                                  mobile?: boolean;
                                                                                                                                  optionalGuildID?: boolean;
                                                                                                                                  partials?: readonly Partials[];
                                                                                                                                  prefixCaseInsensitive?: boolean;
                                                                                                                                  prefixes: IExtendedCompilationResult[];
                                                                                                                                  presence?: PresenceData;
                                                                                                                                  respondOnEdit?: number | boolean;
                                                                                                                                  rest?: Partial<RESTOptions>;
                                                                                                                                  restrictions?: IRestrictions;
                                                                                                                                  shardCount?: number;
                                                                                                                                  shards?: number | readonly number[] | "auto";
                                                                                                                                  sweepers?: SweeperOptions;
                                                                                                                                  token?: string;
                                                                                                                                  trackers?: ITrackers;
                                                                                                                                  useInviteSystem?: boolean;
                                                                                                                                  waitGuildTimeout?: number;
                                                                                                                                  ws?: WebSocketOptions;
                                                                                                                              }
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Hierarchy

                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              Index
                                                                                                                              +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              allowBots?: boolean
                                                                                                                              +

                                                                                                                              Allows the bot to execute events triggered by other bots (and itself).

                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              false
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              allowedMentions?: MessageMentionOptions
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              closeTimeout?: number
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              commands?: string
                                                                                                                              +

                                                                                                                              Specifies a folder (path) to load all commands from it.

                                                                                                                              +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              disableConsoleErrors?: boolean
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              enforceNonce?: boolean
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              events?: (keyof ClientEvents)[]
                                                                                                                              +

                                                                                                                              The discord.js events the bot will listen to.

                                                                                                                              +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              extensions?: ForgeExtension[]
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              failIfNotExists?: boolean
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              functions?: string
                                                                                                                              +

                                                                                                                              Specifies a folder (path) to load all custom functions from it.

                                                                                                                              +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              intents: BitFieldResolvable<
                                                                                                                                  | "Guilds"
                                                                                                                                  | "GuildMembers"
                                                                                                                                  | "GuildModeration"
                                                                                                                                  | "GuildBans"
                                                                                                                                  | "GuildExpressions"
                                                                                                                                  | "GuildEmojisAndStickers"
                                                                                                                                  | "GuildIntegrations"
                                                                                                                                  | "GuildWebhooks"
                                                                                                                                  | "GuildInvites"
                                                                                                                                  | "GuildVoiceStates"
                                                                                                                                  | "GuildPresences"
                                                                                                                                  | "GuildMessages"
                                                                                                                                  | "GuildMessageReactions"
                                                                                                                                  | "GuildMessageTyping"
                                                                                                                                  | "DirectMessages"
                                                                                                                                  | "DirectMessageReactions"
                                                                                                                                  | "DirectMessageTyping"
                                                                                                                                  | "MessageContent"
                                                                                                                                  | "GuildScheduledEvents"
                                                                                                                                  | "AutoModerationConfiguration"
                                                                                                                                  | "AutoModerationExecution"
                                                                                                                                  | "GuildMessagePolls"
                                                                                                                                  | "DirectMessagePolls",
                                                                                                                                  number,
                                                                                                                              >
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              jsonTransformer?: (obj: unknown) => unknown
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              logLevel?: LogPriority
                                                                                                                              +

                                                                                                                              Specifies the logs to be received.

                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              LogPriority.Medium
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              makeCache?: CacheFactory
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              mobile?: boolean
                                                                                                                              +

                                                                                                                              This will connect the client to Discord with the mobile status.

                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              false
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              optionalGuildID?: boolean
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Does not work.

                                                                                                                              +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              partials?: readonly Partials[]
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              prefixCaseInsensitive?: boolean
                                                                                                                              +

                                                                                                                              Whether prefixes should be case-insensitive, this only affects letters.

                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              false
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              presence?: PresenceData
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              respondOnEdit?: number | boolean
                                                                                                                              +

                                                                                                                              Allows the bot to re-use messages that were edited to find possibly command calls. +If a number is passed, it's treated as the amount of milliseconds that can pass before the message becomes completely unusable.

                                                                                                                              -
                                                                                                                              rest?: Partial<RESTOptions>
                                                                                                                              restrictions?: IRestrictions
                                                                                                                              shardCount?: number
                                                                                                                              shards?: number | readonly number[] | "auto"
                                                                                                                              sweepers?: SweeperOptions
                                                                                                                              token?: string
                                                                                                                              trackers?: ITrackers
                                                                                                                              useInviteSystem?: boolean

                                                                                                                              Deprecated

                                                                                                                              use trackers: { invites: true } instead

                                                                                                                              -
                                                                                                                              waitGuildTimeout?: number
                                                                                                                              ws?: WebSocketOptions

                                                                                                                              Generated using TypeDoc

                                                                                                                              \ No newline at end of file +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                              false
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              rest?: Partial<RESTOptions>
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              restrictions?: IRestrictions
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              shardCount?: number
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              shards?: number | readonly number[] | "auto"
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              sweepers?: SweeperOptions
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              token?: string
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              trackers?: ITrackers
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              useInviteSystem?: boolean
                                                                                                                              +
                                                                                                                              +
                                                                                                                              +

                                                                                                                              Use trackers: { invites: true } instead.

                                                                                                                              +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              waitGuildTimeout?: number
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              ws?: WebSocketOptions
                                                                                                                              +
                                                                                                                              +
                                                                                                                              diff --git a/docs/interfaces/IForgeFunction.html b/docs/interfaces/IForgeFunction.html index 1210523808..9c241b68de 100644 --- a/docs/interfaces/IForgeFunction.html +++ b/docs/interfaces/IForgeFunction.html @@ -1,7 +1,90 @@ -IForgeFunction | @tryforge/forgescript

                                                                                                                              Interface IForgeFunction

                                                                                                                              interface IForgeFunction {
                                                                                                                                  brackets?: boolean;
                                                                                                                                  code: string;
                                                                                                                                  firstParamCondition?: boolean;
                                                                                                                                  name: string;
                                                                                                                                  params?: (string | IForgeFunctionParam)[];
                                                                                                                                  path?: string;
                                                                                                                              }

                                                                                                                              Properties

                                                                                                                              brackets?: boolean
                                                                                                                              code: string
                                                                                                                              firstParamCondition?: boolean
                                                                                                                              name: string
                                                                                                                              params?: (string | IForgeFunctionParam)[]
                                                                                                                              path?: string

                                                                                                                              Generated using TypeDoc

                                                                                                                              \ No newline at end of file +IForgeFunction | @tryforge/forgescript
                                                                                                                              +
                                                                                                                              @tryforge/forgescript + +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                Preparing search index...
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + +

                                                                                                                                Interface IForgeFunction

                                                                                                                                +
                                                                                                                                interface IForgeFunction {
                                                                                                                                    brackets?: boolean;
                                                                                                                                    code: string;
                                                                                                                                    firstParamCondition?: boolean;
                                                                                                                                    name: string;
                                                                                                                                    params?: (string | IForgeFunctionParam)[];
                                                                                                                                    path?: string;
                                                                                                                                    [x: string | number | symbol]: unknown;
                                                                                                                                }
                                                                                                                                +
                                                                                                                                +

                                                                                                                                Indexable

                                                                                                                                +
                                                                                                                                  +
                                                                                                                                • +
                                                                                                                                  [x: string | number | symbol]: unknown
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                Index
                                                                                                                                +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                brackets?: boolean
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                code: string
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                firstParamCondition?: boolean
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                name: string
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                params?: (string | IForgeFunctionParam)[]
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                path?: string
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                diff --git a/docs/interfaces/IForgeFunctionParam.html b/docs/interfaces/IForgeFunctionParam.html index 2ddb45c09c..9876b3e13c 100644 --- a/docs/interfaces/IForgeFunctionParam.html +++ b/docs/interfaces/IForgeFunctionParam.html @@ -1,5 +1,78 @@ -IForgeFunctionParam | @tryforge/forgescript

                                                                                                                                Interface IForgeFunctionParam

                                                                                                                                interface IForgeFunctionParam {
                                                                                                                                    name: string;
                                                                                                                                    required?: boolean;
                                                                                                                                    rest?: boolean;
                                                                                                                                    type?: ArgType | "URL" | "String" | "BigInt" | "Unknown" | "TextChannel" | "OverwritePermission" | "Number" | "User" | "Date" | "Guild" | "RoleOrUser" | "Invite" | "Permission" | "Json" | "Color" | "Enum" | "ForumTag" | "Emoji" | "GuildEmoji" | "Boolean" | "Attachment" | "Reaction" | "Message" | "Channel" | "Role" | "Webhook" | "Sticker" | "Time" | "Member" | "ApplicationEmoji" | "AutomodRule" | "ScheduledEvent" | "StageInstance" | "SoundboardSound" | "Template";
                                                                                                                                }

                                                                                                                                Properties

                                                                                                                                Properties

                                                                                                                                name: string
                                                                                                                                required?: boolean
                                                                                                                                rest?: boolean
                                                                                                                                type?: ArgType | "URL" | "String" | "BigInt" | "Unknown" | "TextChannel" | "OverwritePermission" | "Number" | "User" | "Date" | "Guild" | "RoleOrUser" | "Invite" | "Permission" | "Json" | "Color" | "Enum" | "ForumTag" | "Emoji" | "GuildEmoji" | "Boolean" | "Attachment" | "Reaction" | "Message" | "Channel" | "Role" | "Webhook" | "Sticker" | "Time" | "Member" | "ApplicationEmoji" | "AutomodRule" | "ScheduledEvent" | "StageInstance" | "SoundboardSound" | "Template"

                                                                                                                                Generated using TypeDoc

                                                                                                                                \ No newline at end of file +IForgeFunctionParam | @tryforge/forgescript
                                                                                                                                +
                                                                                                                                @tryforge/forgescript + +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  Preparing search index...
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + +

                                                                                                                                  Interface IForgeFunctionParam

                                                                                                                                  +
                                                                                                                                  interface IForgeFunctionParam {
                                                                                                                                      name: string;
                                                                                                                                      required?: boolean;
                                                                                                                                      rest?: boolean;
                                                                                                                                      type?:
                                                                                                                                          | ArgType
                                                                                                                                          | "URL"
                                                                                                                                          | "String"
                                                                                                                                          | "BigInt"
                                                                                                                                          | "Unknown"
                                                                                                                                          | "TextChannel"
                                                                                                                                          | "OverwritePermission"
                                                                                                                                          | "Number"
                                                                                                                                          | "User"
                                                                                                                                          | "Date"
                                                                                                                                          | "Guild"
                                                                                                                                          | "RoleOrUser"
                                                                                                                                          | "Invite"
                                                                                                                                          | "Permission"
                                                                                                                                          | "Json"
                                                                                                                                          | "Color"
                                                                                                                                          | "Enum"
                                                                                                                                          | "ForumTag"
                                                                                                                                          | "Emoji"
                                                                                                                                          | "GuildEmoji"
                                                                                                                                          | "Boolean"
                                                                                                                                          | "Attachment"
                                                                                                                                          | "Reaction"
                                                                                                                                          | "Message"
                                                                                                                                          | "Channel"
                                                                                                                                          | "Role"
                                                                                                                                          | "Webhook"
                                                                                                                                          | "Sticker"
                                                                                                                                          | "Time"
                                                                                                                                          | "Member"
                                                                                                                                          | "ApplicationEmoji"
                                                                                                                                          | "AutomodRule"
                                                                                                                                          | "ScheduledEvent"
                                                                                                                                          | "StageInstance"
                                                                                                                                          | "SoundboardSound"
                                                                                                                                          | "Template";
                                                                                                                                      [x: string
                                                                                                                                      | number
                                                                                                                                      | symbol]: unknown;
                                                                                                                                  }
                                                                                                                                  +
                                                                                                                                  +

                                                                                                                                  Indexable

                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                  • +
                                                                                                                                    [x: string | number | symbol]: unknown
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  Index
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  name: string
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  required?: boolean
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  rest?: boolean
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  type?:
                                                                                                                                      | ArgType
                                                                                                                                      | "URL"
                                                                                                                                      | "String"
                                                                                                                                      | "BigInt"
                                                                                                                                      | "Unknown"
                                                                                                                                      | "TextChannel"
                                                                                                                                      | "OverwritePermission"
                                                                                                                                      | "Number"
                                                                                                                                      | "User"
                                                                                                                                      | "Date"
                                                                                                                                      | "Guild"
                                                                                                                                      | "RoleOrUser"
                                                                                                                                      | "Invite"
                                                                                                                                      | "Permission"
                                                                                                                                      | "Json"
                                                                                                                                      | "Color"
                                                                                                                                      | "Enum"
                                                                                                                                      | "ForumTag"
                                                                                                                                      | "Emoji"
                                                                                                                                      | "GuildEmoji"
                                                                                                                                      | "Boolean"
                                                                                                                                      | "Attachment"
                                                                                                                                      | "Reaction"
                                                                                                                                      | "Message"
                                                                                                                                      | "Channel"
                                                                                                                                      | "Role"
                                                                                                                                      | "Webhook"
                                                                                                                                      | "Sticker"
                                                                                                                                      | "Time"
                                                                                                                                      | "Member"
                                                                                                                                      | "ApplicationEmoji"
                                                                                                                                      | "AutomodRule"
                                                                                                                                      | "ScheduledEvent"
                                                                                                                                      | "StageInstance"
                                                                                                                                      | "SoundboardSound"
                                                                                                                                      | "Template"
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                  diff --git a/docs/interfaces/IGuildInvite.html b/docs/interfaces/IGuildInvite.html index c6fbdeeb49..f77b7a20dc 100644 --- a/docs/interfaces/IGuildInvite.html +++ b/docs/interfaces/IGuildInvite.html @@ -1,4 +1,67 @@ -IGuildInvite | @tryforge/forgescript

                                                                                                                                  Generated using TypeDoc

                                                                                                                                  \ No newline at end of file +IGuildInvite | @tryforge/forgescript
                                                                                                                                  +
                                                                                                                                  @tryforge/forgescript + +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    Preparing search index...
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    + +

                                                                                                                                    Interface IGuildInvite

                                                                                                                                    +
                                                                                                                                    interface IGuildInvite {
                                                                                                                                        code: string;
                                                                                                                                        userId: string;
                                                                                                                                        uses: number;
                                                                                                                                    }
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    Index
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    code: string
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    userId: string
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    uses: number
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                    diff --git a/docs/interfaces/IGuildInviter.html b/docs/interfaces/IGuildInviter.html index 8df3b87e79..1fb2b282d0 100644 --- a/docs/interfaces/IGuildInviter.html +++ b/docs/interfaces/IGuildInviter.html @@ -1,3 +1,61 @@ -IGuildInviter | @tryforge/forgescript

                                                                                                                                    Generated using TypeDoc

                                                                                                                                    \ No newline at end of file +IGuildInviter | @tryforge/forgescript
                                                                                                                                    +
                                                                                                                                    @tryforge/forgescript + +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      Preparing search index...
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + +

                                                                                                                                      Interface IGuildInviter

                                                                                                                                      +
                                                                                                                                      interface IGuildInviter {
                                                                                                                                          code: string;
                                                                                                                                          inviterId: string;
                                                                                                                                      }
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      Index
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      code: string
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      inviterId: string
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                      diff --git a/docs/interfaces/IHttpOptions.html b/docs/interfaces/IHttpOptions.html index b0c0483a4b..7b366bc291 100644 --- a/docs/interfaces/IHttpOptions.html +++ b/docs/interfaces/IHttpOptions.html @@ -1,7 +1,85 @@ -IHttpOptions | @tryforge/forgescript

                                                                                                                                      Interface IHttpOptions

                                                                                                                                      interface IHttpOptions {
                                                                                                                                          body: string;
                                                                                                                                          contentType?: HTTPContentType;
                                                                                                                                          form?: FormData;
                                                                                                                                          headers: Record<string, string>;
                                                                                                                                          method: string;
                                                                                                                                          response?: {
                                                                                                                                              headers?: Headers;
                                                                                                                                              ping?: number;
                                                                                                                                          };
                                                                                                                                      }

                                                                                                                                      Properties

                                                                                                                                      body: string
                                                                                                                                      contentType?: HTTPContentType
                                                                                                                                      form?: FormData
                                                                                                                                      headers: Record<string, string>
                                                                                                                                      method: string
                                                                                                                                      response?: {
                                                                                                                                          headers?: Headers;
                                                                                                                                          ping?: number;
                                                                                                                                      }

                                                                                                                                      Type declaration

                                                                                                                                      • Optional headers?: Headers
                                                                                                                                      • Optional ping?: number

                                                                                                                                      Generated using TypeDoc

                                                                                                                                      \ No newline at end of file +IHttpOptions | @tryforge/forgescript
                                                                                                                                      +
                                                                                                                                      @tryforge/forgescript + +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        Preparing search index...
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + +

                                                                                                                                        Interface IHttpOptions

                                                                                                                                        +
                                                                                                                                        interface IHttpOptions {
                                                                                                                                            body: string;
                                                                                                                                            contentType?: HTTPContentType;
                                                                                                                                            form?: FormData;
                                                                                                                                            headers: Record<string, string>;
                                                                                                                                            method: string;
                                                                                                                                            response?: { headers?: Headers; ping?: number };
                                                                                                                                        }
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        Index
                                                                                                                                        +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        body: string
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        contentType?: HTTPContentType
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        form?: FormData
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        headers: Record<string, string>
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        method: string
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        response?: { headers?: Headers; ping?: number }
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        +
                                                                                                                                        diff --git a/docs/interfaces/ILocalFunctionData.html b/docs/interfaces/ILocalFunctionData.html index e13f471882..d44a7b435c 100644 --- a/docs/interfaces/ILocalFunctionData.html +++ b/docs/interfaces/ILocalFunctionData.html @@ -1,3 +1,61 @@ -ILocalFunctionData | @tryforge/forgescript

                                                                                                                                        Generated using TypeDoc

                                                                                                                                        \ No newline at end of file +ILocalFunctionData | @tryforge/forgescript
                                                                                                                                        +
                                                                                                                                        @tryforge/forgescript + +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          Preparing search index...
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + +

                                                                                                                                          Interface ILocalFunctionData

                                                                                                                                          +
                                                                                                                                          interface ILocalFunctionData {
                                                                                                                                              args: string[];
                                                                                                                                              code: IExtendedCompiledFunctionField;
                                                                                                                                          }
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          Index
                                                                                                                                          +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          args: string[]
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          + +
                                                                                                                                          +
                                                                                                                                          diff --git a/docs/interfaces/ILocation.html b/docs/interfaces/ILocation.html index b0b3e58b93..b16f0aee36 100644 --- a/docs/interfaces/ILocation.html +++ b/docs/interfaces/ILocation.html @@ -1,3 +1,61 @@ -ILocation | @tryforge/forgescript

                                                                                                                                          Generated using TypeDoc

                                                                                                                                          \ No newline at end of file +ILocation | @tryforge/forgescript
                                                                                                                                          +
                                                                                                                                          @tryforge/forgescript + +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            Preparing search index...
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + +

                                                                                                                                            Interface ILocation

                                                                                                                                            +
                                                                                                                                            interface ILocation {
                                                                                                                                                column: number;
                                                                                                                                                line: number;
                                                                                                                                            }
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            Index
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            column: number
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            line: number
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                            diff --git a/docs/interfaces/IMultipleArgResolve.html b/docs/interfaces/IMultipleArgResolve.html index 3c3ca734a9..542fcc5350 100644 --- a/docs/interfaces/IMultipleArgResolve.html +++ b/docs/interfaces/IMultipleArgResolve.html @@ -1,3 +1,66 @@ -IMultipleArgResolve | @tryforge/forgescript

                                                                                                                                            Interface IMultipleArgResolve<T, X>

                                                                                                                                            interface IMultipleArgResolve {
                                                                                                                                                args: {
                                                                                                                                                    [P in string | number | symbol]: UnwrapArgs<T>[X[P]]
                                                                                                                                                };
                                                                                                                                                return: Return<ReturnType>;
                                                                                                                                            }

                                                                                                                                            Type Parameters

                                                                                                                                            • T extends [...IArg[]]

                                                                                                                                            • X extends [...number[]]

                                                                                                                                            Properties

                                                                                                                                            Properties

                                                                                                                                            args: {
                                                                                                                                                [P in string | number | symbol]: UnwrapArgs<T>[X[P]]
                                                                                                                                            }

                                                                                                                                            Generated using TypeDoc

                                                                                                                                            \ No newline at end of file +IMultipleArgResolve | @tryforge/forgescript
                                                                                                                                            +
                                                                                                                                            @tryforge/forgescript + +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              Preparing search index...
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + +

                                                                                                                                              Interface IMultipleArgResolve<T, X>

                                                                                                                                              +
                                                                                                                                              interface IMultipleArgResolve<T extends [...IArg[]], X extends [...number[]]> {
                                                                                                                                                  args: { [P in string | number | symbol]: UnwrapArgs<T>[X[P]] };
                                                                                                                                                  return: Return;
                                                                                                                                              }
                                                                                                                                              +
                                                                                                                                              +

                                                                                                                                              Type Parameters

                                                                                                                                              +
                                                                                                                                                +
                                                                                                                                              • T extends [...IArg[]]
                                                                                                                                              • +
                                                                                                                                              • X extends [...number[]]
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              Index
                                                                                                                                              +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              args: { [P in string | number | symbol]: UnwrapArgs<T>[X[P]] }
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              return: Return
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              +
                                                                                                                                              diff --git a/docs/interfaces/INativeFunction.html b/docs/interfaces/INativeFunction.html index 0dfc03e3ca..333cd092dd 100644 --- a/docs/interfaces/INativeFunction.html +++ b/docs/interfaces/INativeFunction.html @@ -1,20 +1,140 @@ -INativeFunction | @tryforge/forgescript

                                                                                                                                              Interface INativeFunction<T, Unwrap>

                                                                                                                                              interface INativeFunction {
                                                                                                                                                  aliases?: `$${string}`[];
                                                                                                                                                  args?: [...T[]];
                                                                                                                                                  brackets?: boolean;
                                                                                                                                                  deprecated?: boolean;
                                                                                                                                                  description: string;
                                                                                                                                                  examples?: string[];
                                                                                                                                                  execute: NativeFunctionExecutor<T, Unwrap>;
                                                                                                                                                  experimental?: boolean;
                                                                                                                                                  name: `$${string}`;
                                                                                                                                                  output?: ArgType | EnumLike<any> | (ArgType | EnumLike<any>)[];
                                                                                                                                                  unwrap: Unwrap;
                                                                                                                                                  version?: string;
                                                                                                                                              }

                                                                                                                                              Type Parameters

                                                                                                                                              • T extends [...IArg[]]

                                                                                                                                              • Unwrap extends boolean = boolean

                                                                                                                                              Properties

                                                                                                                                              aliases?: `$${string}`[]

                                                                                                                                              Aliases this function has.

                                                                                                                                              -
                                                                                                                                              args?: [...T[]]
                                                                                                                                              brackets?: boolean

                                                                                                                                              If undefined, function has no brackets.

                                                                                                                                              +INativeFunction | @tryforge/forgescript
                                                                                                                                              +
                                                                                                                                              @tryforge/forgescript + +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                Preparing search index...
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + +

                                                                                                                                                Interface INativeFunction<T, Unwrap>

                                                                                                                                                +
                                                                                                                                                interface INativeFunction<
                                                                                                                                                    T extends [...IArg[]],
                                                                                                                                                    Unwrap extends boolean = boolean,
                                                                                                                                                > {
                                                                                                                                                    aliases?: `$${string}`[];
                                                                                                                                                    args?: [...T[]];
                                                                                                                                                    brackets?: boolean;
                                                                                                                                                    deprecated?: boolean;
                                                                                                                                                    description: string;
                                                                                                                                                    examples?: string[];
                                                                                                                                                    execute: NativeFunctionExecutor<T, Unwrap>;
                                                                                                                                                    experimental?: boolean;
                                                                                                                                                    name: `$${string}`;
                                                                                                                                                    output?: ArgType | EnumLike<any> | (ArgType | EnumLike<any>)[];
                                                                                                                                                    unwrap: Unwrap;
                                                                                                                                                    version?: string;
                                                                                                                                                }
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                Type Parameters

                                                                                                                                                +
                                                                                                                                                  +
                                                                                                                                                • T extends [...IArg[]]
                                                                                                                                                • +
                                                                                                                                                • Unwrap extends boolean = boolean
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                Index
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                aliases?: `$${string}`[]
                                                                                                                                                +

                                                                                                                                                Aliases this function has.

                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                args?: [...T[]]
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                brackets?: boolean
                                                                                                                                                +

                                                                                                                                                If undefined, function has no brackets.

                                                                                                                                                If false, function can have brackets.

                                                                                                                                                If true, function must have brackets.

                                                                                                                                                -
                                                                                                                                                deprecated?: boolean
                                                                                                                                                description: string
                                                                                                                                                examples?: string[]

                                                                                                                                                Deprecated

                                                                                                                                                Not being used.

                                                                                                                                                -
                                                                                                                                                execute: NativeFunctionExecutor<T, Unwrap>
                                                                                                                                                experimental?: boolean
                                                                                                                                                name: `$${string}`
                                                                                                                                                output?: ArgType | EnumLike<any> | (ArgType | EnumLike<any>)[]
                                                                                                                                                unwrap: Unwrap

                                                                                                                                                Resolves all arguments and are passed through execute params.

                                                                                                                                                -
                                                                                                                                                version?: string

                                                                                                                                                Do not provide this.

                                                                                                                                                -

                                                                                                                                                Generated using TypeDoc

                                                                                                                                                \ No newline at end of file +
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                deprecated?: boolean
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                description: string
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                examples?: string[]
                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                +

                                                                                                                                                Not being used.

                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                experimental?: boolean
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                name: `$${string}`
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                output?: ArgType | EnumLike<any> | (ArgType | EnumLike<any>)[]
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                unwrap: Unwrap
                                                                                                                                                +

                                                                                                                                                Resolves all arguments and are passed through execute params.

                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                version?: string
                                                                                                                                                +

                                                                                                                                                Do not provide this.

                                                                                                                                                +
                                                                                                                                                +
                                                                                                                                                + +
                                                                                                                                                +
                                                                                                                                                diff --git a/docs/interfaces/IRawField.html b/docs/interfaces/IRawField.html index eb8cafbcdf..fe06a15c82 100644 --- a/docs/interfaces/IRawField.html +++ b/docs/interfaces/IRawField.html @@ -1,3 +1,61 @@ -IRawField | @tryforge/forgescript
                                                                                                                                                interface IRawField {
                                                                                                                                                    condition?: boolean;
                                                                                                                                                    rest?: boolean;
                                                                                                                                                }

                                                                                                                                                Properties

                                                                                                                                                Properties

                                                                                                                                                condition?: boolean
                                                                                                                                                rest?: boolean

                                                                                                                                                Generated using TypeDoc

                                                                                                                                                \ No newline at end of file +IRawField | @tryforge/forgescript
                                                                                                                                                +
                                                                                                                                                @tryforge/forgescript + +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  Preparing search index...
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +

                                                                                                                                                  Interface IRawField

                                                                                                                                                  +
                                                                                                                                                  interface IRawField {
                                                                                                                                                      condition?: boolean;
                                                                                                                                                      rest?: boolean;
                                                                                                                                                  }
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  Index
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  condition?: boolean
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  rest?: boolean
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                  diff --git a/docs/interfaces/IRawForgeClientOptions.html b/docs/interfaces/IRawForgeClientOptions.html index 1158694453..8dfde252d2 100644 --- a/docs/interfaces/IRawForgeClientOptions.html +++ b/docs/interfaces/IRawForgeClientOptions.html @@ -1,44 +1,314 @@ -IRawForgeClientOptions | @tryforge/forgescript

                                                                                                                                                  Interface IRawForgeClientOptions

                                                                                                                                                  interface IRawForgeClientOptions {
                                                                                                                                                      allowBots?: boolean;
                                                                                                                                                      allowedMentions?: MessageMentionOptions;
                                                                                                                                                      closeTimeout?: number;
                                                                                                                                                      commands?: string;
                                                                                                                                                      disableConsoleErrors?: boolean;
                                                                                                                                                      enforceNonce?: boolean;
                                                                                                                                                      events?: (keyof ClientEvents)[];
                                                                                                                                                      extensions?: ForgeExtension[];
                                                                                                                                                      failIfNotExists?: boolean;
                                                                                                                                                      functions?: string;
                                                                                                                                                      intents: BitFieldResolvable<"Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls", number>;
                                                                                                                                                      jsonTransformer?: ((obj) => unknown);
                                                                                                                                                      logLevel?: LogPriority;
                                                                                                                                                      makeCache?: CacheFactory;
                                                                                                                                                      mobile?: boolean;
                                                                                                                                                      optionalGuildID?: boolean;
                                                                                                                                                      partials?: readonly Partials[];
                                                                                                                                                      prefixCaseInsensitive?: boolean;
                                                                                                                                                      prefixes?: string[];
                                                                                                                                                      presence?: PresenceData;
                                                                                                                                                      respondOnEdit?: number | boolean;
                                                                                                                                                      rest?: Partial<RESTOptions>;
                                                                                                                                                      restrictions?: IRestrictions;
                                                                                                                                                      shardCount?: number;
                                                                                                                                                      shards?: number | readonly number[] | "auto";
                                                                                                                                                      sweepers?: SweeperOptions;
                                                                                                                                                      token?: string;
                                                                                                                                                      trackers?: ITrackers;
                                                                                                                                                      useInviteSystem?: boolean;
                                                                                                                                                      waitGuildTimeout?: number;
                                                                                                                                                      ws?: WebSocketOptions;
                                                                                                                                                  }

                                                                                                                                                  Hierarchy

                                                                                                                                                  • ClientOptions
                                                                                                                                                    • IRawForgeClientOptions

                                                                                                                                                  Properties

                                                                                                                                                  allowBots?: boolean

                                                                                                                                                  Allows the bot to execute events triggered by other bots (and itself)

                                                                                                                                                  -
                                                                                                                                                  allowedMentions?: MessageMentionOptions
                                                                                                                                                  closeTimeout?: number
                                                                                                                                                  commands?: string

                                                                                                                                                  Specifies a folder (path) to load all commands from it

                                                                                                                                                  -
                                                                                                                                                  disableConsoleErrors?: boolean
                                                                                                                                                  enforceNonce?: boolean
                                                                                                                                                  events?: (keyof ClientEvents)[]

                                                                                                                                                  The discord.js events our bot will use

                                                                                                                                                  -
                                                                                                                                                  extensions?: ForgeExtension[]
                                                                                                                                                  failIfNotExists?: boolean
                                                                                                                                                  functions?: string
                                                                                                                                                  intents: BitFieldResolvable<"Guilds" | "GuildMembers" | "GuildModeration" | "GuildBans" | "GuildExpressions" | "GuildEmojisAndStickers" | "GuildIntegrations" | "GuildWebhooks" | "GuildInvites" | "GuildVoiceStates" | "GuildPresences" | "GuildMessages" | "GuildMessageReactions" | "GuildMessageTyping" | "DirectMessages" | "DirectMessageReactions" | "DirectMessageTyping" | "MessageContent" | "GuildScheduledEvents" | "AutoModerationConfiguration" | "AutoModerationExecution" | "GuildMessagePolls" | "DirectMessagePolls", number>
                                                                                                                                                  jsonTransformer?: ((obj) => unknown)

                                                                                                                                                  Type declaration

                                                                                                                                                    • (obj): unknown
                                                                                                                                                    • Parameters

                                                                                                                                                      • obj: unknown

                                                                                                                                                      Returns unknown

                                                                                                                                                  logLevel?: LogPriority

                                                                                                                                                  Specifies the logs to be received

                                                                                                                                                  -
                                                                                                                                                  makeCache?: CacheFactory
                                                                                                                                                  mobile?: boolean

                                                                                                                                                  This will connect the client to Discord with the mobile status

                                                                                                                                                  -
                                                                                                                                                  optionalGuildID?: boolean

                                                                                                                                                  Deprecated

                                                                                                                                                  Does not work

                                                                                                                                                  -
                                                                                                                                                  partials?: readonly Partials[]
                                                                                                                                                  prefixCaseInsensitive?: boolean

                                                                                                                                                  Whether prefixes should be case-insensitive, this only affects letters

                                                                                                                                                  -
                                                                                                                                                  prefixes?: string[]

                                                                                                                                                  The prefixes our bot will act upon for command messages

                                                                                                                                                  -
                                                                                                                                                  presence?: PresenceData
                                                                                                                                                  respondOnEdit?: number | boolean

                                                                                                                                                  Allows the bot to re-use messages that were edited to find possibly command calls. -If a number is passed, it's treated as the amount of milliseconds that can pass before +IRawForgeClientOptions | @tryforge/forgescript

                                                                                                                                                  +
                                                                                                                                                  @tryforge/forgescript + +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    Preparing search index...
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + +

                                                                                                                                                    Interface IRawForgeClientOptions

                                                                                                                                                    +
                                                                                                                                                    interface IRawForgeClientOptions {
                                                                                                                                                        allowBots?: boolean;
                                                                                                                                                        allowedMentions?: MessageMentionOptions;
                                                                                                                                                        closeTimeout?: number;
                                                                                                                                                        commands?: string;
                                                                                                                                                        disableConsoleErrors?: boolean;
                                                                                                                                                        enforceNonce?: boolean;
                                                                                                                                                        events?: (keyof ClientEvents)[];
                                                                                                                                                        extensions?: ForgeExtension[];
                                                                                                                                                        failIfNotExists?: boolean;
                                                                                                                                                        functions?: string;
                                                                                                                                                        intents: BitFieldResolvable<
                                                                                                                                                            | "Guilds"
                                                                                                                                                            | "GuildMembers"
                                                                                                                                                            | "GuildModeration"
                                                                                                                                                            | "GuildBans"
                                                                                                                                                            | "GuildExpressions"
                                                                                                                                                            | "GuildEmojisAndStickers"
                                                                                                                                                            | "GuildIntegrations"
                                                                                                                                                            | "GuildWebhooks"
                                                                                                                                                            | "GuildInvites"
                                                                                                                                                            | "GuildVoiceStates"
                                                                                                                                                            | "GuildPresences"
                                                                                                                                                            | "GuildMessages"
                                                                                                                                                            | "GuildMessageReactions"
                                                                                                                                                            | "GuildMessageTyping"
                                                                                                                                                            | "DirectMessages"
                                                                                                                                                            | "DirectMessageReactions"
                                                                                                                                                            | "DirectMessageTyping"
                                                                                                                                                            | "MessageContent"
                                                                                                                                                            | "GuildScheduledEvents"
                                                                                                                                                            | "AutoModerationConfiguration"
                                                                                                                                                            | "AutoModerationExecution"
                                                                                                                                                            | "GuildMessagePolls"
                                                                                                                                                            | "DirectMessagePolls",
                                                                                                                                                            number,
                                                                                                                                                        >;
                                                                                                                                                        jsonTransformer?: (obj: unknown) => unknown;
                                                                                                                                                        logLevel?: LogPriority;
                                                                                                                                                        makeCache?: CacheFactory;
                                                                                                                                                        mobile?: boolean;
                                                                                                                                                        optionalGuildID?: boolean;
                                                                                                                                                        partials?: readonly Partials[];
                                                                                                                                                        prefixCaseInsensitive?: boolean;
                                                                                                                                                        prefixes?: string[];
                                                                                                                                                        presence?: PresenceData;
                                                                                                                                                        respondOnEdit?: number | boolean;
                                                                                                                                                        rest?: Partial<RESTOptions>;
                                                                                                                                                        restrictions?: IRestrictions;
                                                                                                                                                        shardCount?: number;
                                                                                                                                                        shards?: number | readonly number[] | "auto";
                                                                                                                                                        sweepers?: SweeperOptions;
                                                                                                                                                        token?: string;
                                                                                                                                                        trackers?: ITrackers;
                                                                                                                                                        useInviteSystem?: boolean;
                                                                                                                                                        waitGuildTimeout?: number;
                                                                                                                                                        ws?: WebSocketOptions;
                                                                                                                                                    }
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    Hierarchy

                                                                                                                                                    +
                                                                                                                                                      +
                                                                                                                                                    • ClientOptions +
                                                                                                                                                        +
                                                                                                                                                      • IRawForgeClientOptions
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    Index
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    allowBots?: boolean
                                                                                                                                                    +

                                                                                                                                                    Allows the bot to execute events triggered by other bots (and itself).

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    false
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    allowedMentions?: MessageMentionOptions
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    closeTimeout?: number
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    commands?: string
                                                                                                                                                    +

                                                                                                                                                    Specifies a folder (path) to load all commands from it.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    disableConsoleErrors?: boolean
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    enforceNonce?: boolean
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    events?: (keyof ClientEvents)[]
                                                                                                                                                    +

                                                                                                                                                    The discord.js events the bot will listen to.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    extensions?: ForgeExtension[]
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    failIfNotExists?: boolean
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    functions?: string
                                                                                                                                                    +

                                                                                                                                                    Specifies a folder (path) to load all custom functions from it.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    intents: BitFieldResolvable<
                                                                                                                                                        | "Guilds"
                                                                                                                                                        | "GuildMembers"
                                                                                                                                                        | "GuildModeration"
                                                                                                                                                        | "GuildBans"
                                                                                                                                                        | "GuildExpressions"
                                                                                                                                                        | "GuildEmojisAndStickers"
                                                                                                                                                        | "GuildIntegrations"
                                                                                                                                                        | "GuildWebhooks"
                                                                                                                                                        | "GuildInvites"
                                                                                                                                                        | "GuildVoiceStates"
                                                                                                                                                        | "GuildPresences"
                                                                                                                                                        | "GuildMessages"
                                                                                                                                                        | "GuildMessageReactions"
                                                                                                                                                        | "GuildMessageTyping"
                                                                                                                                                        | "DirectMessages"
                                                                                                                                                        | "DirectMessageReactions"
                                                                                                                                                        | "DirectMessageTyping"
                                                                                                                                                        | "MessageContent"
                                                                                                                                                        | "GuildScheduledEvents"
                                                                                                                                                        | "AutoModerationConfiguration"
                                                                                                                                                        | "AutoModerationExecution"
                                                                                                                                                        | "GuildMessagePolls"
                                                                                                                                                        | "DirectMessagePolls",
                                                                                                                                                        number,
                                                                                                                                                    >
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    jsonTransformer?: (obj: unknown) => unknown
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    logLevel?: LogPriority
                                                                                                                                                    +

                                                                                                                                                    Specifies the logs to be received.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    LogPriority.Medium
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    makeCache?: CacheFactory
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    mobile?: boolean
                                                                                                                                                    +

                                                                                                                                                    This will connect the client to Discord with the mobile status.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    false
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    optionalGuildID?: boolean
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    Does not work.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    partials?: readonly Partials[]
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    prefixCaseInsensitive?: boolean
                                                                                                                                                    +

                                                                                                                                                    Whether prefixes should be case-insensitive, this only affects letters.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    false
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    prefixes?: string[]
                                                                                                                                                    +

                                                                                                                                                    The prefixes the bot will act upon for command messages.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    presence?: PresenceData
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    respondOnEdit?: number | boolean
                                                                                                                                                    +

                                                                                                                                                    Allows the bot to re-use messages that were edited to find possibly command calls. +If a number is passed, it's treated as the amount of milliseconds that can pass before the message becomes completely unusable.

                                                                                                                                                    -
                                                                                                                                                    rest?: Partial<RESTOptions>
                                                                                                                                                    restrictions?: IRestrictions
                                                                                                                                                    shardCount?: number
                                                                                                                                                    shards?: number | readonly number[] | "auto"
                                                                                                                                                    sweepers?: SweeperOptions
                                                                                                                                                    token?: string
                                                                                                                                                    trackers?: ITrackers
                                                                                                                                                    useInviteSystem?: boolean

                                                                                                                                                    Deprecated

                                                                                                                                                    use trackers: { invites: true } instead

                                                                                                                                                    -
                                                                                                                                                    waitGuildTimeout?: number
                                                                                                                                                    ws?: WebSocketOptions

                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                    \ No newline at end of file +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    false
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    rest?: Partial<RESTOptions>
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    restrictions?: IRestrictions
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    shardCount?: number
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    shards?: number | readonly number[] | "auto"
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    sweepers?: SweeperOptions
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    token?: string
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    trackers?: ITrackers
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    useInviteSystem?: boolean
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    +

                                                                                                                                                    Use trackers: { invites: true } instead.

                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    waitGuildTimeout?: number
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    ws?: WebSocketOptions
                                                                                                                                                    +
                                                                                                                                                    +
                                                                                                                                                    diff --git a/docs/interfaces/IRawFunction.html b/docs/interfaces/IRawFunction.html index d2b2caa61e..e501660e6f 100644 --- a/docs/interfaces/IRawFunction.html +++ b/docs/interfaces/IRawFunction.html @@ -1,7 +1,71 @@ -IRawFunction | @tryforge/forgescript

                                                                                                                                                    Interface IRawFunction

                                                                                                                                                    interface IRawFunction {
                                                                                                                                                        aliases: null | string[];
                                                                                                                                                        args: null | IRawFunctionFieldDefinition;
                                                                                                                                                        name: string;
                                                                                                                                                    }

                                                                                                                                                    Properties

                                                                                                                                                    Properties

                                                                                                                                                    aliases: null | string[]

                                                                                                                                                    If undefined, function has no fields. +IRawFunction | @tryforge/forgescript

                                                                                                                                                    +
                                                                                                                                                    @tryforge/forgescript + +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      Preparing search index...
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      + +

                                                                                                                                                      Interface IRawFunction

                                                                                                                                                      +
                                                                                                                                                      interface IRawFunction {
                                                                                                                                                          aliases: string[] | null;
                                                                                                                                                          args: IRawFunctionFieldDefinition | null;
                                                                                                                                                          name: string;
                                                                                                                                                      }
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      Index
                                                                                                                                                      +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      aliases: string[] | null
                                                                                                                                                      +
                                                                                                                                                      + + +

                                                                                                                                                      If undefined, function has no fields. If present and required true, fields are required. If false, fields are not required.

                                                                                                                                                      -
                                                                                                                                                      name: string

                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                      \ No newline at end of file +
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      name: string
                                                                                                                                                      +
                                                                                                                                                      + +
                                                                                                                                                      +
                                                                                                                                                      diff --git a/docs/interfaces/IRawFunctionFieldDefinition.html b/docs/interfaces/IRawFunctionFieldDefinition.html index 908167c519..d926110c3a 100644 --- a/docs/interfaces/IRawFunctionFieldDefinition.html +++ b/docs/interfaces/IRawFunctionFieldDefinition.html @@ -1,3 +1,61 @@ -IRawFunctionFieldDefinition | @tryforge/forgescript

                                                                                                                                                      Interface IRawFunctionFieldDefinition

                                                                                                                                                      interface IRawFunctionFieldDefinition {
                                                                                                                                                          fields: IRawField[];
                                                                                                                                                          required: boolean;
                                                                                                                                                      }

                                                                                                                                                      Properties

                                                                                                                                                      Properties

                                                                                                                                                      fields: IRawField[]
                                                                                                                                                      required: boolean

                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                      \ No newline at end of file +IRawFunctionFieldDefinition | @tryforge/forgescript
                                                                                                                                                      +
                                                                                                                                                      @tryforge/forgescript + +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        Preparing search index...
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        + +

                                                                                                                                                        Interface IRawFunctionFieldDefinition

                                                                                                                                                        +
                                                                                                                                                        interface IRawFunctionFieldDefinition {
                                                                                                                                                            fields: IRawField[];
                                                                                                                                                            required: boolean;
                                                                                                                                                        }
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        Index
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        fields: IRawField[]
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        required: boolean
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                        diff --git a/docs/interfaces/IRawFunctionMatch.html b/docs/interfaces/IRawFunctionMatch.html index 812bc78b00..04fd4e0cb3 100644 --- a/docs/interfaces/IRawFunctionMatch.html +++ b/docs/interfaces/IRawFunctionMatch.html @@ -1,7 +1,85 @@ -IRawFunctionMatch | @tryforge/forgescript

                                                                                                                                                        Interface IRawFunctionMatch

                                                                                                                                                        interface IRawFunctionMatch {
                                                                                                                                                            count: null | string;
                                                                                                                                                            fn: IRawFunction;
                                                                                                                                                            index: number;
                                                                                                                                                            length: number;
                                                                                                                                                            negated: boolean;
                                                                                                                                                            silent: boolean;
                                                                                                                                                        }

                                                                                                                                                        Properties

                                                                                                                                                        Properties

                                                                                                                                                        count: null | string
                                                                                                                                                        index: number
                                                                                                                                                        length: number
                                                                                                                                                        negated: boolean
                                                                                                                                                        silent: boolean

                                                                                                                                                        Generated using TypeDoc

                                                                                                                                                        \ No newline at end of file +IRawFunctionMatch | @tryforge/forgescript
                                                                                                                                                        +
                                                                                                                                                        @tryforge/forgescript + +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          Preparing search index...
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          + +

                                                                                                                                                          Interface IRawFunctionMatch

                                                                                                                                                          +
                                                                                                                                                          interface IRawFunctionMatch {
                                                                                                                                                              count: string | null;
                                                                                                                                                              fn: IRawFunction;
                                                                                                                                                              index: number;
                                                                                                                                                              length: number;
                                                                                                                                                              negated: boolean;
                                                                                                                                                              silent: boolean;
                                                                                                                                                          }
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          Index
                                                                                                                                                          +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          count: string | null
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          index: number
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          length: number
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          negated: boolean
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          silent: boolean
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          +
                                                                                                                                                          diff --git a/docs/interfaces/IRestrictions.html b/docs/interfaces/IRestrictions.html index 8fae4773de..f613b28abc 100644 --- a/docs/interfaces/IRestrictions.html +++ b/docs/interfaces/IRestrictions.html @@ -1,3 +1,61 @@ -IRestrictions | @tryforge/forgescript

                                                                                                                                                          Interface IRestrictions

                                                                                                                                                          interface IRestrictions {
                                                                                                                                                              guildIDs?: string[];
                                                                                                                                                              userIDs?: string[];
                                                                                                                                                          }

                                                                                                                                                          Properties

                                                                                                                                                          Properties

                                                                                                                                                          guildIDs?: string[]
                                                                                                                                                          userIDs?: string[]

                                                                                                                                                          Generated using TypeDoc

                                                                                                                                                          \ No newline at end of file +IRestrictions | @tryforge/forgescript
                                                                                                                                                          +
                                                                                                                                                          @tryforge/forgescript + +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            Preparing search index...
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + +

                                                                                                                                                            Interface IRestrictions

                                                                                                                                                            +
                                                                                                                                                            interface IRestrictions {
                                                                                                                                                                guildIDs?: string[];
                                                                                                                                                                userIDs?: string[];
                                                                                                                                                            }
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            Index
                                                                                                                                                            +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            guildIDs?: string[]
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            userIDs?: string[]
                                                                                                                                                            +
                                                                                                                                                            + +
                                                                                                                                                            +
                                                                                                                                                            diff --git a/docs/interfaces/IRunnable.html b/docs/interfaces/IRunnable.html index f8c04e8b86..9156eb18a9 100644 --- a/docs/interfaces/IRunnable.html +++ b/docs/interfaces/IRunnable.html @@ -1,30 +1,167 @@ -IRunnable | @tryforge/forgescript
                                                                                                                                                            interface IRunnable {
                                                                                                                                                                allowTopLevelReturn?: boolean;
                                                                                                                                                                args?: string[];
                                                                                                                                                                client: ForgeClient;
                                                                                                                                                                command: null | BaseCommand<unknown>;
                                                                                                                                                                container?: Container;
                                                                                                                                                                data: IExtendedCompilationResult;
                                                                                                                                                                disableConsoleErrors?: boolean;
                                                                                                                                                                doNotSend?: boolean;
                                                                                                                                                                environment?: Record<string, unknown>;
                                                                                                                                                                extras?: unknown;
                                                                                                                                                                keywords?: Record<string, unknown>;
                                                                                                                                                                localFunctions?: Record<string, ILocalFunctionData>;
                                                                                                                                                                obj: Sendable;
                                                                                                                                                                redirectErrorsToConsole?: boolean;
                                                                                                                                                                states?: States;
                                                                                                                                                            }

                                                                                                                                                            Properties

                                                                                                                                                            allowTopLevelReturn?: boolean
                                                                                                                                                            args?: string[]

                                                                                                                                                            The args used in the message command

                                                                                                                                                            -
                                                                                                                                                            client: ForgeClient

                                                                                                                                                            The available discord client

                                                                                                                                                            -
                                                                                                                                                            command: null | BaseCommand<unknown>

                                                                                                                                                            The command used for this execution

                                                                                                                                                            -
                                                                                                                                                            container?: Container

                                                                                                                                                            The container reference to use

                                                                                                                                                            -

                                                                                                                                                            The compiled data to execute

                                                                                                                                                            -
                                                                                                                                                            disableConsoleErrors?: boolean

                                                                                                                                                            Removes errors output to console

                                                                                                                                                            -
                                                                                                                                                            doNotSend?: boolean

                                                                                                                                                            Whether to suppress sending the response to discord.

                                                                                                                                                            -
                                                                                                                                                            environment?: Record<string, unknown>

                                                                                                                                                            The already existing env variables

                                                                                                                                                            -
                                                                                                                                                            extras?: unknown

                                                                                                                                                            Extras data

                                                                                                                                                            -
                                                                                                                                                            keywords?: Record<string, unknown>

                                                                                                                                                            The already existing variables defined with $let

                                                                                                                                                            -
                                                                                                                                                            localFunctions?: Record<string, ILocalFunctionData>

                                                                                                                                                            The already existing local functions

                                                                                                                                                            -

                                                                                                                                                            The context this code will run in

                                                                                                                                                            -
                                                                                                                                                            redirectErrorsToConsole?: boolean

                                                                                                                                                            Whether to suppress errors from being sent to discord, and be sent to console instead

                                                                                                                                                            -
                                                                                                                                                            states?: States

                                                                                                                                                            The old and new states of an event

                                                                                                                                                            -

                                                                                                                                                            Generated using TypeDoc

                                                                                                                                                            \ No newline at end of file +IRunnable | @tryforge/forgescript
                                                                                                                                                            +
                                                                                                                                                            @tryforge/forgescript + +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              Preparing search index...
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +

                                                                                                                                                              Interface IRunnable

                                                                                                                                                              +
                                                                                                                                                              interface IRunnable {
                                                                                                                                                                  allowTopLevelReturn?: boolean;
                                                                                                                                                                  args?: string[];
                                                                                                                                                                  client: ForgeClient;
                                                                                                                                                                  command: BaseCommand<unknown> | null;
                                                                                                                                                                  container?: Container;
                                                                                                                                                                  data: IExtendedCompilationResult;
                                                                                                                                                                  disableConsoleErrors?: boolean;
                                                                                                                                                                  doNotSend?: boolean;
                                                                                                                                                                  environment?: Record<string, unknown>;
                                                                                                                                                                  extras?: unknown;
                                                                                                                                                                  keywords?: Record<string, unknown>;
                                                                                                                                                                  localFunctions?: Record<string, ILocalFunctionData>;
                                                                                                                                                                  obj: Sendable;
                                                                                                                                                                  redirectErrorsToConsole?: boolean;
                                                                                                                                                                  states?: States;
                                                                                                                                                              }
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              Index
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              allowTopLevelReturn?: boolean
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              args?: string[]
                                                                                                                                                              +

                                                                                                                                                              The args used in the message command

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              client: ForgeClient
                                                                                                                                                              +

                                                                                                                                                              The available discord client

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              command: BaseCommand<unknown> | null
                                                                                                                                                              +

                                                                                                                                                              The command used for this execution

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              container?: Container
                                                                                                                                                              +

                                                                                                                                                              The container reference to use

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + + +

                                                                                                                                                              The compiled data to execute

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              disableConsoleErrors?: boolean
                                                                                                                                                              +

                                                                                                                                                              Removes errors output to console

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              doNotSend?: boolean
                                                                                                                                                              +

                                                                                                                                                              Whether to suppress sending the response to discord.

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              environment?: Record<string, unknown>
                                                                                                                                                              +

                                                                                                                                                              The already existing env variables

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              extras?: unknown
                                                                                                                                                              +

                                                                                                                                                              Extras data

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              keywords?: Record<string, unknown>
                                                                                                                                                              +

                                                                                                                                                              The already existing variables defined with $let

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              localFunctions?: Record<string, ILocalFunctionData>
                                                                                                                                                              +

                                                                                                                                                              The already existing local functions

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + + +

                                                                                                                                                              The context this code will run in

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              redirectErrorsToConsole?: boolean
                                                                                                                                                              +

                                                                                                                                                              Whether to suppress errors from being sent to discord, and be sent to console instead

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              states?: States
                                                                                                                                                              +

                                                                                                                                                              The old and new states of an event

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                              diff --git a/docs/interfaces/IScheduledEventOptions.html b/docs/interfaces/IScheduledEventOptions.html index d532b68c18..87333d4034 100644 --- a/docs/interfaces/IScheduledEventOptions.html +++ b/docs/interfaces/IScheduledEventOptions.html @@ -1,3 +1,61 @@ -IScheduledEventOptions | @tryforge/forgescript

                                                                                                                                                              Interface IScheduledEventOptions

                                                                                                                                                              interface IScheduledEventOptions {
                                                                                                                                                                  channel?: VoiceBasedChannel;
                                                                                                                                                                  entityMetadata?: GuildScheduledEventEntityMetadataOptions;
                                                                                                                                                              }

                                                                                                                                                              Properties

                                                                                                                                                              channel?: VoiceBasedChannel
                                                                                                                                                              entityMetadata?: GuildScheduledEventEntityMetadataOptions

                                                                                                                                                              Generated using TypeDoc

                                                                                                                                                              \ No newline at end of file +IScheduledEventOptions | @tryforge/forgescript
                                                                                                                                                              +
                                                                                                                                                              @tryforge/forgescript + +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                Preparing search index...
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + +

                                                                                                                                                                Interface IScheduledEventOptions

                                                                                                                                                                +
                                                                                                                                                                interface IScheduledEventOptions {
                                                                                                                                                                    channel?: VoiceBasedChannel;
                                                                                                                                                                    entityMetadata?: GuildScheduledEventEntityMetadataOptions;
                                                                                                                                                                }
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                Index
                                                                                                                                                                +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                channel?: VoiceBasedChannel
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                entityMetadata?: GuildScheduledEventEntityMetadataOptions
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                +
                                                                                                                                                                diff --git a/docs/interfaces/IStates.html b/docs/interfaces/IStates.html index 7d63f05a0d..df63aaf878 100644 --- a/docs/interfaces/IStates.html +++ b/docs/interfaces/IStates.html @@ -1,23 +1,187 @@ -IStates | @tryforge/forgescript
                                                                                                                                                                interface IStates {
                                                                                                                                                                    audit: GuildAuditLogsEntry<AuditLogEvent, "Update" | "Create" | "Delete" | "All", "Unknown" | "User" | "Guild" | "Invite" | "Emoji" | "Message" | "Channel" | "Role" | "Webhook" | "Sticker" | "StageInstance" | "SoundboardSound" | "Integration" | "GuildScheduledEvent" | "Thread" | "ApplicationCommand" | "AutoModeration" | "GuildOnboardingPrompt" | "GuildOnboarding">;
                                                                                                                                                                    automodRule: AutoModerationRule;
                                                                                                                                                                    ban: GuildBan;
                                                                                                                                                                    bulk: (Message<boolean> | PartialMessage<boolean>)[];
                                                                                                                                                                    channel: Channel;
                                                                                                                                                                    emoji: GuildEmoji;
                                                                                                                                                                    entitlement: Entitlement;
                                                                                                                                                                    guild: Guild;
                                                                                                                                                                    invite: Invite;
                                                                                                                                                                    member: GuildMember;
                                                                                                                                                                    message: Message<boolean>;
                                                                                                                                                                    poll: PollAnswer | PartialPollAnswer;
                                                                                                                                                                    presence: Presence;
                                                                                                                                                                    role: Role;
                                                                                                                                                                    scheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>;
                                                                                                                                                                    soundboardSound: SoundboardSound | PartialSoundboardSound;
                                                                                                                                                                    stage: StageInstance;
                                                                                                                                                                    sticker: Sticker;
                                                                                                                                                                    subscription: Subscription;
                                                                                                                                                                    user: User;
                                                                                                                                                                    voiceEffect: VoiceChannelEffect;
                                                                                                                                                                    voiceState: VoiceState;
                                                                                                                                                                }

                                                                                                                                                                Properties

                                                                                                                                                                audit: GuildAuditLogsEntry<AuditLogEvent, "Update" | "Create" | "Delete" | "All", "Unknown" | "User" | "Guild" | "Invite" | "Emoji" | "Message" | "Channel" | "Role" | "Webhook" | "Sticker" | "StageInstance" | "SoundboardSound" | "Integration" | "GuildScheduledEvent" | "Thread" | "ApplicationCommand" | "AutoModeration" | "GuildOnboardingPrompt" | "GuildOnboarding">
                                                                                                                                                                automodRule: AutoModerationRule
                                                                                                                                                                ban: GuildBan
                                                                                                                                                                bulk: (Message<boolean> | PartialMessage<boolean>)[]
                                                                                                                                                                channel: Channel
                                                                                                                                                                emoji: GuildEmoji
                                                                                                                                                                entitlement: Entitlement
                                                                                                                                                                guild: Guild
                                                                                                                                                                invite: Invite
                                                                                                                                                                member: GuildMember
                                                                                                                                                                message: Message<boolean>
                                                                                                                                                                poll: PollAnswer | PartialPollAnswer
                                                                                                                                                                presence: Presence
                                                                                                                                                                role: Role
                                                                                                                                                                scheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>
                                                                                                                                                                soundboardSound: SoundboardSound | PartialSoundboardSound
                                                                                                                                                                stage: StageInstance
                                                                                                                                                                sticker: Sticker
                                                                                                                                                                subscription: Subscription
                                                                                                                                                                user: User
                                                                                                                                                                voiceEffect: VoiceChannelEffect
                                                                                                                                                                voiceState: VoiceState

                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                \ No newline at end of file +IStates | @tryforge/forgescript
                                                                                                                                                                +
                                                                                                                                                                @tryforge/forgescript + +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  Preparing search index...
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + +

                                                                                                                                                                  Interface IStates

                                                                                                                                                                  +
                                                                                                                                                                  interface IStates {
                                                                                                                                                                      audit: GuildAuditLogsEntry;
                                                                                                                                                                      automodRule: AutoModerationRule;
                                                                                                                                                                      ban: GuildBan;
                                                                                                                                                                      bulk: (Message<boolean> | PartialMessage<boolean>)[];
                                                                                                                                                                      channel: Channel;
                                                                                                                                                                      emoji: GuildEmoji;
                                                                                                                                                                      entitlement: Entitlement;
                                                                                                                                                                      guild: Guild;
                                                                                                                                                                      invite: Invite;
                                                                                                                                                                      member: GuildMember;
                                                                                                                                                                      message: Message;
                                                                                                                                                                      poll: PollAnswer | PartialPollAnswer;
                                                                                                                                                                      presence: Presence;
                                                                                                                                                                      role: Role;
                                                                                                                                                                      scheduledEvent: GuildScheduledEvent;
                                                                                                                                                                      soundboardSound: SoundboardSound | PartialSoundboardSound;
                                                                                                                                                                      stage: StageInstance;
                                                                                                                                                                      sticker: Sticker;
                                                                                                                                                                      subscription: Subscription;
                                                                                                                                                                      user: User;
                                                                                                                                                                      voiceEffect: VoiceChannelEffect;
                                                                                                                                                                      voiceServer: VoiceServerUpdateData;
                                                                                                                                                                      voiceState: VoiceState;
                                                                                                                                                                  }
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  Index
                                                                                                                                                                  +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  audit: GuildAuditLogsEntry
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  automodRule: AutoModerationRule
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  ban: GuildBan
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  bulk: (Message<boolean> | PartialMessage<boolean>)[]
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  channel: Channel
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  emoji: GuildEmoji
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  entitlement: Entitlement
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  guild: Guild
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  invite: Invite
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  member: GuildMember
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  message: Message
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  poll: PollAnswer | PartialPollAnswer
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  presence: Presence
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  role: Role
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  scheduledEvent: GuildScheduledEvent
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  soundboardSound: SoundboardSound | PartialSoundboardSound
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  stage: StageInstance
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  sticker: Sticker
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  subscription: Subscription
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  user: User
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  voiceEffect: VoiceChannelEffect
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  voiceServer: VoiceServerUpdateData
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  voiceState: VoiceState
                                                                                                                                                                  +
                                                                                                                                                                  + +
                                                                                                                                                                  +
                                                                                                                                                                  diff --git a/docs/interfaces/IThreadContext.html b/docs/interfaces/IThreadContext.html index 6472f1190a..357aaf9c6b 100644 --- a/docs/interfaces/IThreadContext.html +++ b/docs/interfaces/IThreadContext.html @@ -1,4 +1,67 @@ -IThreadContext | @tryforge/forgescript

                                                                                                                                                                  Interface IThreadContext

                                                                                                                                                                  interface IThreadContext {
                                                                                                                                                                      code: string;
                                                                                                                                                                      environment?: Record<string, unknown>;
                                                                                                                                                                      keywords?: Record<string, unknown>;
                                                                                                                                                                  }

                                                                                                                                                                  Properties

                                                                                                                                                                  code: string
                                                                                                                                                                  environment?: Record<string, unknown>
                                                                                                                                                                  keywords?: Record<string, unknown>

                                                                                                                                                                  Generated using TypeDoc

                                                                                                                                                                  \ No newline at end of file +IThreadContext | @tryforge/forgescript
                                                                                                                                                                  +
                                                                                                                                                                  @tryforge/forgescript + +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    Preparing search index...
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    + +

                                                                                                                                                                    Interface IThreadContext

                                                                                                                                                                    +
                                                                                                                                                                    interface IThreadContext {
                                                                                                                                                                        code: string;
                                                                                                                                                                        environment?: Record<string, unknown>;
                                                                                                                                                                        keywords?: Record<string, unknown>;
                                                                                                                                                                    }
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    Index
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    code: string
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    environment?: Record<string, unknown>
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    keywords?: Record<string, unknown>
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                    diff --git a/docs/interfaces/IThreadResult.html b/docs/interfaces/IThreadResult.html index 068cc64347..20a6fc6c3a 100644 --- a/docs/interfaces/IThreadResult.html +++ b/docs/interfaces/IThreadResult.html @@ -1,3 +1,61 @@ -IThreadResult | @tryforge/forgescript

                                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                                    \ No newline at end of file +IThreadResult | @tryforge/forgescript
                                                                                                                                                                    +
                                                                                                                                                                    @tryforge/forgescript + +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      Preparing search index...
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + +

                                                                                                                                                                      Interface IThreadResult

                                                                                                                                                                      +
                                                                                                                                                                      interface IThreadResult {
                                                                                                                                                                          taskId: number;
                                                                                                                                                                          value: string | null;
                                                                                                                                                                      }
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      Index
                                                                                                                                                                      +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      taskId: number
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      value: string | null
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      +
                                                                                                                                                                      diff --git a/docs/interfaces/IThreadTask.html b/docs/interfaces/IThreadTask.html index b7d08be806..13beb3bb10 100644 --- a/docs/interfaces/IThreadTask.html +++ b/docs/interfaces/IThreadTask.html @@ -1,4 +1,67 @@ -IThreadTask | @tryforge/forgescript
                                                                                                                                                                      interface IThreadTask {
                                                                                                                                                                          context: IThreadContext;
                                                                                                                                                                          id: number;
                                                                                                                                                                          resolve: ((res) => void);
                                                                                                                                                                      }

                                                                                                                                                                      Properties

                                                                                                                                                                      Properties

                                                                                                                                                                      id: number
                                                                                                                                                                      resolve: ((res) => void)

                                                                                                                                                                      Type declaration

                                                                                                                                                                        • (res): void
                                                                                                                                                                        • Parameters

                                                                                                                                                                          • res: null | string

                                                                                                                                                                          Returns void

                                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                                      \ No newline at end of file +IThreadTask | @tryforge/forgescript
                                                                                                                                                                      +
                                                                                                                                                                      @tryforge/forgescript + +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        Preparing search index...
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + +

                                                                                                                                                                        Interface IThreadTask

                                                                                                                                                                        +
                                                                                                                                                                        interface IThreadTask {
                                                                                                                                                                            context: IThreadContext;
                                                                                                                                                                            id: number;
                                                                                                                                                                            resolve: (res: string | null) => void;
                                                                                                                                                                        }
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        Index
                                                                                                                                                                        +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        id: number
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        resolve: (res: string | null) => void
                                                                                                                                                                        +
                                                                                                                                                                        + +
                                                                                                                                                                        +
                                                                                                                                                                        diff --git a/docs/interfaces/ITrackers.html b/docs/interfaces/ITrackers.html index 470699040d..71729a2422 100644 --- a/docs/interfaces/ITrackers.html +++ b/docs/interfaces/ITrackers.html @@ -1,3 +1,61 @@ -ITrackers | @tryforge/forgescript
                                                                                                                                                                        interface ITrackers {
                                                                                                                                                                            invites?: boolean;
                                                                                                                                                                            voice?: boolean;
                                                                                                                                                                        }

                                                                                                                                                                        Properties

                                                                                                                                                                        Properties

                                                                                                                                                                        invites?: boolean
                                                                                                                                                                        voice?: boolean

                                                                                                                                                                        Generated using TypeDoc

                                                                                                                                                                        \ No newline at end of file +ITrackers | @tryforge/forgescript
                                                                                                                                                                        +
                                                                                                                                                                        @tryforge/forgescript + +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          Preparing search index...
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + +

                                                                                                                                                                          Interface ITrackers

                                                                                                                                                                          +
                                                                                                                                                                          interface ITrackers {
                                                                                                                                                                              invites?: boolean;
                                                                                                                                                                              voice?: boolean;
                                                                                                                                                                          }
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          Index
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          invites?: boolean
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          voice?: boolean
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                          diff --git a/docs/modules.html b/docs/modules.html index 7a07b6d7f1..34f7da6beb 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,107 +1,56 @@ -@tryforge/forgescript

                                                                                                                                                                          @tryforge/forgescript

                                                                                                                                                                          Index

                                                                                                                                                                          Enumerations

                                                                                                                                                                          Classes

                                                                                                                                                                          Interfaces

                                                                                                                                                                          Type Aliases

                                                                                                                                                                          Variables

                                                                                                                                                                          Functions

                                                                                                                                                                          Generated using TypeDoc

                                                                                                                                                                          \ No newline at end of file +@tryforge/forgescript
                                                                                                                                                                          +
                                                                                                                                                                          @tryforge/forgescript + +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            Preparing search index...
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                            +
                                                                                                                                                                              +

                                                                                                                                                                              @tryforge/forgescript

                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              ArgType
                                                                                                                                                                              CalendarType
                                                                                                                                                                              ErrorType
                                                                                                                                                                              HTTPContentType
                                                                                                                                                                              LogPriority
                                                                                                                                                                              LogType
                                                                                                                                                                              OperatorType
                                                                                                                                                                              PrefixMode
                                                                                                                                                                              RegistrationType
                                                                                                                                                                              ReturnType
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              ApplicationCommand
                                                                                                                                                                              ApplicationCommandManager
                                                                                                                                                                              Arg
                                                                                                                                                                              BaseCommand
                                                                                                                                                                              BaseCommandManager
                                                                                                                                                                              BaseEventHandler
                                                                                                                                                                              CompiledFunction
                                                                                                                                                                              Compiler
                                                                                                                                                                              Container
                                                                                                                                                                              Context
                                                                                                                                                                              CooldownManager
                                                                                                                                                                              DiscordEventHandler
                                                                                                                                                                              EventManager
                                                                                                                                                                              FileReader
                                                                                                                                                                              ForgeClient
                                                                                                                                                                              ForgeError
                                                                                                                                                                              ForgeExtension
                                                                                                                                                                              ForgeFunction
                                                                                                                                                                              ForgeFunctionManager
                                                                                                                                                                              FunctionManager
                                                                                                                                                                              Interpreter
                                                                                                                                                                              InviteTracker
                                                                                                                                                                              Logger
                                                                                                                                                                              NativeCommandManager
                                                                                                                                                                              NativeFunction
                                                                                                                                                                              Return
                                                                                                                                                                              ThreadManager
                                                                                                                                                                              VoiceTracker
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              IApplicationCommandData
                                                                                                                                                                              IArg
                                                                                                                                                                              IAutomodRuleOptions
                                                                                                                                                                              IBaseCommand
                                                                                                                                                                              ICommandManagerEvents
                                                                                                                                                                              ICompilationResult
                                                                                                                                                                              ICompiledCommand
                                                                                                                                                                              ICompiledFunction
                                                                                                                                                                              ICompiledFunctionConditionField
                                                                                                                                                                              ICompiledFunctionField
                                                                                                                                                                              IComponentOptions
                                                                                                                                                                              IContextCache
                                                                                                                                                                              ICooldown
                                                                                                                                                                              IEvent
                                                                                                                                                                              IExtendedCompilationResult
                                                                                                                                                                              IExtendedCompiledFunction
                                                                                                                                                                              IExtendedCompiledFunctionConditionField
                                                                                                                                                                              IExtendedCompiledFunctionField
                                                                                                                                                                              IForgeClientOptions
                                                                                                                                                                              IForgeFunction
                                                                                                                                                                              IForgeFunctionParam
                                                                                                                                                                              IGuildInvite
                                                                                                                                                                              IGuildInviter
                                                                                                                                                                              IHttpOptions
                                                                                                                                                                              ILocalFunctionData
                                                                                                                                                                              ILocation
                                                                                                                                                                              IMultipleArgResolve
                                                                                                                                                                              INativeFunction
                                                                                                                                                                              IRawField
                                                                                                                                                                              IRawForgeClientOptions
                                                                                                                                                                              IRawFunction
                                                                                                                                                                              IRawFunctionFieldDefinition
                                                                                                                                                                              IRawFunctionMatch
                                                                                                                                                                              IRestrictions
                                                                                                                                                                              IRunnable
                                                                                                                                                                              IScheduledEventOptions
                                                                                                                                                                              IStates
                                                                                                                                                                              IThreadContext
                                                                                                                                                                              IThreadResult
                                                                                                                                                                              IThreadTask
                                                                                                                                                                              ITrackers
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              AssertArgs
                                                                                                                                                                              ClassInstance
                                                                                                                                                                              ClassType
                                                                                                                                                                              CommandInteractionTypes
                                                                                                                                                                              CommandType
                                                                                                                                                                              EnumLike
                                                                                                                                                                              ExpectCallback
                                                                                                                                                                              FilterProperties
                                                                                                                                                                              GetArgType
                                                                                                                                                                              GetEnum
                                                                                                                                                                              GetErrorArgs
                                                                                                                                                                              MarkNullable
                                                                                                                                                                              MarkRest
                                                                                                                                                                              NativeFunctionExecutor
                                                                                                                                                                              OverwritePermission
                                                                                                                                                                              Properties
                                                                                                                                                                              RawExecutableCode
                                                                                                                                                                              RecursiveArray
                                                                                                                                                                              ReturnValue
                                                                                                                                                                              Sendable
                                                                                                                                                                              States
                                                                                                                                                                              UnwrapArg
                                                                                                                                                                              UnwrapArgs
                                                                                                                                                                              WrappedCode
                                                                                                                                                                              WrappedConditionCode
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              Conditions
                                                                                                                                                                              NativeEventName
                                                                                                                                                                              Operators
                                                                                                                                                                              +
                                                                                                                                                                              +
                                                                                                                                                                              array
                                                                                                                                                                              defineProperties
                                                                                                                                                                              generateMetadata
                                                                                                                                                                              +
                                                                                                                                                                              + +
                                                                                                                                                                              +
                                                                                                                                                                              diff --git a/docs/types/AssertArgs.html b/docs/types/AssertArgs.html index 79847e1b30..652203605f 100644 --- a/docs/types/AssertArgs.html +++ b/docs/types/AssertArgs.html @@ -1 +1,37 @@ -AssertArgs | @tryforge/forgescript

                                                                                                                                                                              Generated using TypeDoc

                                                                                                                                                                              \ No newline at end of file +AssertArgs | @tryforge/forgescript
                                                                                                                                                                              +
                                                                                                                                                                              @tryforge/forgescript + +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                + +

                                                                                                                                                                                Type Alias AssertArgs<T>

                                                                                                                                                                                +
                                                                                                                                                                                AssertArgs: T extends unknown[] ? T : never
                                                                                                                                                                                +
                                                                                                                                                                                +

                                                                                                                                                                                Type Parameters

                                                                                                                                                                                +
                                                                                                                                                                                  +
                                                                                                                                                                                • T
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                diff --git a/docs/types/ClassInstance.html b/docs/types/ClassInstance.html index 99e179dbcf..b9cdd7adc0 100644 --- a/docs/types/ClassInstance.html +++ b/docs/types/ClassInstance.html @@ -1 +1,37 @@ -ClassInstance | @tryforge/forgescript

                                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                                \ No newline at end of file +ClassInstance | @tryforge/forgescript
                                                                                                                                                                                +
                                                                                                                                                                                @tryforge/forgescript + +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +

                                                                                                                                                                                  Type Alias ClassInstance<T>

                                                                                                                                                                                  +
                                                                                                                                                                                  ClassInstance: T extends new (...args: any[]) => infer T ? T : never
                                                                                                                                                                                  +
                                                                                                                                                                                  +

                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                  +
                                                                                                                                                                                    +
                                                                                                                                                                                  • T
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  +
                                                                                                                                                                                  diff --git a/docs/types/ClassType.html b/docs/types/ClassType.html index 54bbd81740..8018be21ff 100644 --- a/docs/types/ClassType.html +++ b/docs/types/ClassType.html @@ -1 +1,33 @@ -ClassType | @tryforge/forgescript

                                                                                                                                                                                  Generated using TypeDoc

                                                                                                                                                                                  \ No newline at end of file +ClassType | @tryforge/forgescript
                                                                                                                                                                                  +
                                                                                                                                                                                  @tryforge/forgescript + +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    +
                                                                                                                                                                                    + +

                                                                                                                                                                                    Type Alias ClassType

                                                                                                                                                                                    +
                                                                                                                                                                                    ClassType: new (...args: any[]) => any
                                                                                                                                                                                    +
                                                                                                                                                                                    + +
                                                                                                                                                                                    +
                                                                                                                                                                                    diff --git a/docs/types/CommandInteractionTypes.html b/docs/types/CommandInteractionTypes.html index a312bcec29..78b8fefcdc 100644 --- a/docs/types/CommandInteractionTypes.html +++ b/docs/types/CommandInteractionTypes.html @@ -1 +1,33 @@ -CommandInteractionTypes | @tryforge/forgescript

                                                                                                                                                                                    Type alias CommandInteractionTypes

                                                                                                                                                                                    CommandInteractionTypes: "button" | "modal" | "slashCommand" | "autocomplete" | "contextMenu" | "selectMenu" | "activityCommand"

                                                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                                                    \ No newline at end of file +CommandInteractionTypes | @tryforge/forgescript
                                                                                                                                                                                    +
                                                                                                                                                                                    @tryforge/forgescript + +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +

                                                                                                                                                                                      Type Alias CommandInteractionTypes

                                                                                                                                                                                      +
                                                                                                                                                                                      CommandInteractionTypes:
                                                                                                                                                                                          | "button"
                                                                                                                                                                                          | "modal"
                                                                                                                                                                                          | "slashCommand"
                                                                                                                                                                                          | "autocomplete"
                                                                                                                                                                                          | "contextMenu"
                                                                                                                                                                                          | "userContextMenu"
                                                                                                                                                                                          | "messageContextMenu"
                                                                                                                                                                                          | "selectMenu"
                                                                                                                                                                                          | "userSelectMenu"
                                                                                                                                                                                          | "roleSelectMenu"
                                                                                                                                                                                          | "channelSelectMenu"
                                                                                                                                                                                          | "mentionableSelectMenu"
                                                                                                                                                                                          | "activityCommand"
                                                                                                                                                                                          | "messageComponent"
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                      diff --git a/docs/types/CommandType.html b/docs/types/CommandType.html index 14a850f781..c15ffd0bc0 100644 --- a/docs/types/CommandType.html +++ b/docs/types/CommandType.html @@ -1 +1,33 @@ -CommandType | @tryforge/forgescript

                                                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                                                      \ No newline at end of file +CommandType | @tryforge/forgescript
                                                                                                                                                                                      +
                                                                                                                                                                                      @tryforge/forgescript + +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +

                                                                                                                                                                                        Type Alias CommandType

                                                                                                                                                                                        +
                                                                                                                                                                                        CommandType: keyof ClientEvents
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        +
                                                                                                                                                                                        diff --git a/docs/types/EnumLike.html b/docs/types/EnumLike.html index b90157e48e..b8f129416c 100644 --- a/docs/types/EnumLike.html +++ b/docs/types/EnumLike.html @@ -1 +1,44 @@ -EnumLike | @tryforge/forgescript

                                                                                                                                                                                        Generated using TypeDoc

                                                                                                                                                                                        \ No newline at end of file +EnumLike | @tryforge/forgescript
                                                                                                                                                                                        +
                                                                                                                                                                                        @tryforge/forgescript + +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          +
                                                                                                                                                                                          + +

                                                                                                                                                                                          Type Alias EnumLike<T>

                                                                                                                                                                                          +
                                                                                                                                                                                          EnumLike: { [id: string]: string | T; [nu: number]: string }
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                          +
                                                                                                                                                                                            +
                                                                                                                                                                                          • T = any
                                                                                                                                                                                          +
                                                                                                                                                                                          +

                                                                                                                                                                                          Type Declaration

                                                                                                                                                                                          +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                            [id: string]: string | T
                                                                                                                                                                                          • +
                                                                                                                                                                                          • +
                                                                                                                                                                                            [nu: number]: string
                                                                                                                                                                                          +
                                                                                                                                                                                          + +
                                                                                                                                                                                          +
                                                                                                                                                                                          diff --git a/docs/types/ExpectCallback.html b/docs/types/ExpectCallback.html index ed9c3e698a..886ffc8d24 100644 --- a/docs/types/ExpectCallback.html +++ b/docs/types/ExpectCallback.html @@ -1 +1,50 @@ -ExpectCallback | @tryforge/forgescript

                                                                                                                                                                                          Type alias ExpectCallback<T, Unwrap>

                                                                                                                                                                                          ExpectCallback<T, Unwrap>: ((args) => Promise<Return> | Return)

                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                          • T extends [...IArg[]]

                                                                                                                                                                                          • Unwrap extends boolean

                                                                                                                                                                                          Type declaration

                                                                                                                                                                                          Generated using TypeDoc

                                                                                                                                                                                          \ No newline at end of file +ExpectCallback | @tryforge/forgescript
                                                                                                                                                                                          +
                                                                                                                                                                                          @tryforge/forgescript + +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +

                                                                                                                                                                                            Type Alias ExpectCallback<T, Unwrap>

                                                                                                                                                                                            +
                                                                                                                                                                                            ExpectCallback: (args: UnwrapArgs<T>) => Promise<Return> | Return
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                            +
                                                                                                                                                                                              +
                                                                                                                                                                                            • T extends [...IArg[]]
                                                                                                                                                                                            • +
                                                                                                                                                                                            • Unwrap extends boolean
                                                                                                                                                                                            +
                                                                                                                                                                                            +

                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                            diff --git a/docs/types/FilterProperties.html b/docs/types/FilterProperties.html index b650067e7e..5d39f60477 100644 --- a/docs/types/FilterProperties.html +++ b/docs/types/FilterProperties.html @@ -1 +1,37 @@ -FilterProperties | @tryforge/forgescript

                                                                                                                                                                                            Type alias FilterProperties<T>

                                                                                                                                                                                            FilterProperties<T>: {
                                                                                                                                                                                                [P in keyof T as T[P] extends ((...args) => any)
                                                                                                                                                                                                    ? never
                                                                                                                                                                                                    : P]: T[P]
                                                                                                                                                                                            }

                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                            • T

                                                                                                                                                                                            Generated using TypeDoc

                                                                                                                                                                                            \ No newline at end of file +FilterProperties | @tryforge/forgescript
                                                                                                                                                                                            +
                                                                                                                                                                                            @tryforge/forgescript + +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +

                                                                                                                                                                                              Type Alias FilterProperties<T>

                                                                                                                                                                                              +
                                                                                                                                                                                              FilterProperties: {
                                                                                                                                                                                                  [P in keyof T as T[P] extends (...args: any[]) => any ? never : P]: T[P]
                                                                                                                                                                                              }
                                                                                                                                                                                              +
                                                                                                                                                                                              +

                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                              +
                                                                                                                                                                                                +
                                                                                                                                                                                              • T
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              +
                                                                                                                                                                                              diff --git a/docs/types/GetArgType.html b/docs/types/GetArgType.html index fb5795d4ee..ee74e51edc 100644 --- a/docs/types/GetArgType.html +++ b/docs/types/GetArgType.html @@ -1 +1,38 @@ -GetArgType | @tryforge/forgescript

                                                                                                                                                                                              Type alias GetArgType<T, Enum>

                                                                                                                                                                                              GetArgType<T, Enum>: T extends Number
                                                                                                                                                                                                  ? number
                                                                                                                                                                                                  : T extends String
                                                                                                                                                                                                      ? string
                                                                                                                                                                                                      : T extends User
                                                                                                                                                                                                          ? User
                                                                                                                                                                                                          : T extends URL
                                                                                                                                                                                                              ? string
                                                                                                                                                                                                              : T extends Json
                                                                                                                                                                                                                  ? Record<string, unknown>
                                                                                                                                                                                                                  : T extends RoleOrUser
                                                                                                                                                                                                                      ? Role | User
                                                                                                                                                                                                                      : T extends Guild
                                                                                                                                                                                                                          ? Guild
                                                                                                                                                                                                                          : T extends Color
                                                                                                                                                                                                                              ? number
                                                                                                                                                                                                                              : T extends Role
                                                                                                                                                                                                                                  ? Role
                                                                                                                                                                                                                                  : T extends TextChannel
                                                                                                                                                                                                                                      ? TextBasedChannel
                                                                                                                                                                                                                                      : T extends Attachment
                                                                                                                                                                                                                                          ? AttachmentBuilder
                                                                                                                                                                                                                                          : T extends BigInt
                                                                                                                                                                                                                                              ? bigint
                                                                                                                                                                                                                                              : T extends Unknown
                                                                                                                                                                                                                                                  ? unknown
                                                                                                                                                                                                                                                  : T extends Boolean
                                                                                                                                                                                                                                                      ? boolean
                                                                                                                                                                                                                                                      : T extends Date
                                                                                                                                                                                                                                                          ? Date
                                                                                                                                                                                                                                                          : T extends Enum
                                                                                                                                                                                                                                                              ? GetEnum<Enum>
                                                                                                                                                                                                                                                              : T extends Channel
                                                                                                                                                                                                                                                                  ? BaseChannel
                                                                                                                                                                                                                                                                  : T extends Message
                                                                                                                                                                                                                                                                      ? Message<true>
                                                                                                                                                                                                                                                                      : T extends Member
                                                                                                                                                                                                                                                                          ? GuildMember
                                                                                                                                                                                                                                                                          : T extends GuildEmoji
                                                                                                                                                                                                                                                                              ? GuildEmoji
                                                                                                                                                                                                                                                                              : T extends ApplicationEmoji
                                                                                                                                                                                                                                                                                  ? ApplicationEmoji
                                                                                                                                                                                                                                                                                  : T extends OverwritePermission
                                                                                                                                                                                                                                                                                      ? OverwritePermission
                                                                                                                                                                                                                                                                                      : T extends Sticker
                                                                                                                                                                                                                                                                                          ? Sticker
                                                                                                                                                                                                                                                                                          : T extends Reaction
                                                                                                                                                                                                                                                                                              ? MessageReaction
                                                                                                                                                                                                                                                                                              : T extends Webhook
                                                                                                                                                                                                                                                                                                  ? Webhook
                                                                                                                                                                                                                                                                                                  : T extends Invite
                                                                                                                                                                                                                                                                                                      ? Invite
                                                                                                                                                                                                                                                                                                      : T extends ForumTag
                                                                                                                                                                                                                                                                                                          ? GuildForumTag
                                                                                                                                                                                                                                                                                                          : T extends Time
                                                                                                                                                                                                                                                                                                              ? number
                                                                                                                                                                                                                                                                                                              : T extends Permission
                                                                                                                                                                                                                                                                                                                  ? PermissionsString
                                                                                                                                                                                                                                                                                                                  : T extends Emoji
                                                                                                                                                                                                                                                                                                                      ? Emoji
                                                                                                                                                                                                                                                                                                                      : T extends AutomodRule
                                                                                                                                                                                                                                                                                                                          ? AutoModerationRule
                                                                                                                                                                                                                                                                                                                          : T extends ScheduledEvent
                                                                                                                                                                                                                                                                                                                              ? GuildScheduledEvent
                                                                                                                                                                                                                                                                                                                              : T extends StageInstance
                                                                                                                                                                                                                                                                                                                                  ? StageInstance
                                                                                                                                                                                                                                                                                                                                  : T extends SoundboardSound
                                                                                                                                                                                                                                                                                                                                      ? SoundboardSound
                                                                                                                                                                                                                                                                                                                                      : T extends Template
                                                                                                                                                                                                                                                                                                                                          ? GuildTemplate
                                                                                                                                                                                                                                                                                                                                          : null

                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                              Generated using TypeDoc

                                                                                                                                                                                              \ No newline at end of file +GetArgType | @tryforge/forgescript
                                                                                                                                                                                              +
                                                                                                                                                                                              @tryforge/forgescript + +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +

                                                                                                                                                                                                Type Alias GetArgType<T, Enum>

                                                                                                                                                                                                +
                                                                                                                                                                                                GetArgType: T extends Number
                                                                                                                                                                                                    ? number
                                                                                                                                                                                                    : T extends String
                                                                                                                                                                                                        ? string
                                                                                                                                                                                                        : T extends User
                                                                                                                                                                                                            ? User
                                                                                                                                                                                                            : T extends URL
                                                                                                                                                                                                                ? string
                                                                                                                                                                                                                : T extends Json
                                                                                                                                                                                                                    ? Record<string, unknown>
                                                                                                                                                                                                                    : T extends RoleOrUser
                                                                                                                                                                                                                        ? Role
                                                                                                                                                                                                                        | User
                                                                                                                                                                                                                        : T extends Guild
                                                                                                                                                                                                                            ? Guild
                                                                                                                                                                                                                            : T extends Color
                                                                                                                                                                                                                                ? number
                                                                                                                                                                                                                                : T extends Role
                                                                                                                                                                                                                                    ? Role
                                                                                                                                                                                                                                    : T extends TextChannel
                                                                                                                                                                                                                                        ? TextBasedChannel
                                                                                                                                                                                                                                        : (...) extends (...) ? (...) : (...)
                                                                                                                                                                                                +
                                                                                                                                                                                                +

                                                                                                                                                                                                Type Parameters

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                diff --git a/docs/types/GetEnum.html b/docs/types/GetEnum.html index f93bb64b6b..9f6ef309c7 100644 --- a/docs/types/GetEnum.html +++ b/docs/types/GetEnum.html @@ -1 +1,37 @@ -GetEnum | @tryforge/forgescript

                                                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                                                \ No newline at end of file +GetEnum | @tryforge/forgescript
                                                                                                                                                                                                +
                                                                                                                                                                                                @tryforge/forgescript + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +

                                                                                                                                                                                                  Type Alias GetEnum<T>

                                                                                                                                                                                                  +
                                                                                                                                                                                                  GetEnum: T extends EnumLike<infer P> ? P : never
                                                                                                                                                                                                  +
                                                                                                                                                                                                  +

                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                  +
                                                                                                                                                                                                    +
                                                                                                                                                                                                  • T
                                                                                                                                                                                                  +
                                                                                                                                                                                                  + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                  diff --git a/docs/types/GetErrorArgs.html b/docs/types/GetErrorArgs.html index 9e45618d36..dc4f9fe269 100644 --- a/docs/types/GetErrorArgs.html +++ b/docs/types/GetErrorArgs.html @@ -1 +1,37 @@ -GetErrorArgs | @tryforge/forgescript

                                                                                                                                                                                                  Generated using TypeDoc

                                                                                                                                                                                                  \ No newline at end of file +GetErrorArgs | @tryforge/forgescript
                                                                                                                                                                                                  +
                                                                                                                                                                                                  @tryforge/forgescript + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    Type Alias GetErrorArgs<T>

                                                                                                                                                                                                    +
                                                                                                                                                                                                    GetErrorArgs: T extends `${infer L}$${infer R}`
                                                                                                                                                                                                        ? [unknown, ...GetErrorArgs<R>]
                                                                                                                                                                                                        : []
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +

                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                    +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • T extends string
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    diff --git a/docs/types/MarkNullable.html b/docs/types/MarkNullable.html index 088fd0966b..a9e63f677c 100644 --- a/docs/types/MarkNullable.html +++ b/docs/types/MarkNullable.html @@ -1 +1,39 @@ -MarkNullable | @tryforge/forgescript

                                                                                                                                                                                                    Type alias MarkNullable<T, Req, Rest>

                                                                                                                                                                                                    MarkNullable<T, Req, Rest>: Rest extends true
                                                                                                                                                                                                        ? T
                                                                                                                                                                                                        : Req extends true
                                                                                                                                                                                                            ? T
                                                                                                                                                                                                            : T | null

                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                    • T

                                                                                                                                                                                                    • Req extends boolean

                                                                                                                                                                                                    • Rest extends boolean = boolean

                                                                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                                                                    \ No newline at end of file +MarkNullable | @tryforge/forgescript
                                                                                                                                                                                                    +
                                                                                                                                                                                                    @tryforge/forgescript + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +

                                                                                                                                                                                                      Type Alias MarkNullable<T, Req, Rest>

                                                                                                                                                                                                      +
                                                                                                                                                                                                      MarkNullable: Rest extends true ? T : Req extends true ? T : T | null
                                                                                                                                                                                                      +
                                                                                                                                                                                                      +

                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                      +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • T
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • Req extends boolean
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • Rest extends boolean = boolean
                                                                                                                                                                                                      +
                                                                                                                                                                                                      + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                      diff --git a/docs/types/MarkRest.html b/docs/types/MarkRest.html index b48dcf648b..6e862f7fd2 100644 --- a/docs/types/MarkRest.html +++ b/docs/types/MarkRest.html @@ -1 +1,38 @@ -MarkRest | @tryforge/forgescript

                                                                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                                                                      \ No newline at end of file +MarkRest | @tryforge/forgescript
                                                                                                                                                                                                      +
                                                                                                                                                                                                      @tryforge/forgescript + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        Type Alias MarkRest<T, B>

                                                                                                                                                                                                        +
                                                                                                                                                                                                        MarkRest: B extends true ? T[] : T
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +

                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                        • T
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • B extends boolean
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        diff --git a/docs/types/NativeFunctionExecutor.html b/docs/types/NativeFunctionExecutor.html index b7179cb86c..a2ad8f1372 100644 --- a/docs/types/NativeFunctionExecutor.html +++ b/docs/types/NativeFunctionExecutor.html @@ -1 +1,38 @@ -NativeFunctionExecutor | @tryforge/forgescript

                                                                                                                                                                                                        Type alias NativeFunctionExecutor<T, Unwrap>

                                                                                                                                                                                                        NativeFunctionExecutor<T, Unwrap>: Unwrap extends true
                                                                                                                                                                                                            ? ((this, ctx, args) => Promise<Return> | Return)
                                                                                                                                                                                                            : ((this, ctx) => Promise<Return> | Return)

                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                        • T extends [...IArg[]]

                                                                                                                                                                                                        • Unwrap extends boolean = boolean

                                                                                                                                                                                                        Generated using TypeDoc

                                                                                                                                                                                                        \ No newline at end of file +NativeFunctionExecutor | @tryforge/forgescript
                                                                                                                                                                                                        +
                                                                                                                                                                                                        @tryforge/forgescript + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +

                                                                                                                                                                                                          Type Alias NativeFunctionExecutor<T, Unwrap>

                                                                                                                                                                                                          +
                                                                                                                                                                                                          NativeFunctionExecutor: Unwrap extends true
                                                                                                                                                                                                              ? (
                                                                                                                                                                                                                  this: CompiledFunction<T, Unwrap>,
                                                                                                                                                                                                                  ctx: Context,
                                                                                                                                                                                                                  args: UnwrapArgs<T>,
                                                                                                                                                                                                              ) => Promise<Return> | Return
                                                                                                                                                                                                              : (
                                                                                                                                                                                                                  this: CompiledFunction<T, Unwrap>,
                                                                                                                                                                                                                  ctx: Context,
                                                                                                                                                                                                              ) => Promise<Return> | Return
                                                                                                                                                                                                          +
                                                                                                                                                                                                          +

                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                          +
                                                                                                                                                                                                            +
                                                                                                                                                                                                          • T extends [...IArg[]]
                                                                                                                                                                                                          • +
                                                                                                                                                                                                          • Unwrap extends boolean = boolean
                                                                                                                                                                                                          +
                                                                                                                                                                                                          + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                          diff --git a/docs/types/OverwritePermission.html b/docs/types/OverwritePermission.html index c7c10923b7..def7debb49 100644 --- a/docs/types/OverwritePermission.html +++ b/docs/types/OverwritePermission.html @@ -1 +1,61 @@ -OverwritePermission | @tryforge/forgescript

                                                                                                                                                                                                          Type alias OverwritePermission

                                                                                                                                                                                                          OverwritePermission: {
                                                                                                                                                                                                              permission: PermissionsString;
                                                                                                                                                                                                              value: null | boolean;
                                                                                                                                                                                                          }

                                                                                                                                                                                                          Type declaration

                                                                                                                                                                                                          • permission: PermissionsString
                                                                                                                                                                                                          • value: null | boolean

                                                                                                                                                                                                          Generated using TypeDoc

                                                                                                                                                                                                          \ No newline at end of file +OverwritePermission | @tryforge/forgescript
                                                                                                                                                                                                          +
                                                                                                                                                                                                          @tryforge/forgescript + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            Type Alias OverwritePermission

                                                                                                                                                                                                            +
                                                                                                                                                                                                            type OverwritePermission = {
                                                                                                                                                                                                                permission: PermissionsString;
                                                                                                                                                                                                                value: null | boolean;
                                                                                                                                                                                                            }
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            Index
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            permission: PermissionsString
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            value: null | boolean
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            diff --git a/docs/types/Properties.html b/docs/types/Properties.html new file mode 100644 index 0000000000..fa8b054989 --- /dev/null +++ b/docs/types/Properties.html @@ -0,0 +1,38 @@ +Properties | @tryforge/forgescript
                                                                                                                                                                                                            +
                                                                                                                                                                                                            @tryforge/forgescript + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +

                                                                                                                                                                                                              Type Alias Properties<Enum, Type>

                                                                                                                                                                                                              +
                                                                                                                                                                                                              Properties: {
                                                                                                                                                                                                                  [P in keyof Enum]: (
                                                                                                                                                                                                                      v?: Type | null,
                                                                                                                                                                                                                      sep?: string | null,
                                                                                                                                                                                                                      index?: number | null,
                                                                                                                                                                                                                  ) => null | undefined | string | number | boolean
                                                                                                                                                                                                              }
                                                                                                                                                                                                              +
                                                                                                                                                                                                              +

                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                              +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              diff --git a/docs/types/RawExecutableCode.html b/docs/types/RawExecutableCode.html index 6364c471b3..afa059551a 100644 --- a/docs/types/RawExecutableCode.html +++ b/docs/types/RawExecutableCode.html @@ -1 +1,45 @@ -RawExecutableCode | @tryforge/forgescript

                                                                                                                                                                                                              Type alias RawExecutableCode

                                                                                                                                                                                                              RawExecutableCode: ((ctx) => Promise<unknown[] | null>)

                                                                                                                                                                                                              Type declaration

                                                                                                                                                                                                                • (ctx): Promise<unknown[] | null>
                                                                                                                                                                                                                • Parameters

                                                                                                                                                                                                                  Returns Promise<unknown[] | null>

                                                                                                                                                                                                              Generated using TypeDoc

                                                                                                                                                                                                              \ No newline at end of file +RawExecutableCode | @tryforge/forgescript
                                                                                                                                                                                                              +
                                                                                                                                                                                                              @tryforge/forgescript + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +

                                                                                                                                                                                                                Type Alias RawExecutableCode

                                                                                                                                                                                                                +
                                                                                                                                                                                                                RawExecutableCode: (ctx: Context) => Promise<unknown[] | null>
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +

                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                  • (ctx: Context): Promise<unknown[] | null>
                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Returns Promise<unknown[] | null>

                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                diff --git a/docs/types/RecursiveArray.html b/docs/types/RecursiveArray.html index 67506b7ae3..c4fc0d5099 100644 --- a/docs/types/RecursiveArray.html +++ b/docs/types/RecursiveArray.html @@ -1 +1,37 @@ -RecursiveArray | @tryforge/forgescript

                                                                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                                                                \ No newline at end of file +RecursiveArray | @tryforge/forgescript
                                                                                                                                                                                                                +
                                                                                                                                                                                                                @tryforge/forgescript + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                  Type Alias RecursiveArray<T>

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  RecursiveArray: T | T[]
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                  • T
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  diff --git a/docs/types/ReturnValue.html b/docs/types/ReturnValue.html index afa8196ff5..4e35113e02 100644 --- a/docs/types/ReturnValue.html +++ b/docs/types/ReturnValue.html @@ -1 +1,37 @@ -ReturnValue | @tryforge/forgescript

                                                                                                                                                                                                                  Type alias ReturnValue<T>

                                                                                                                                                                                                                  ReturnValue<T>: T extends Error
                                                                                                                                                                                                                      ? ForgeError
                                                                                                                                                                                                                      : T extends Return
                                                                                                                                                                                                                          ? string
                                                                                                                                                                                                                          : T extends Success
                                                                                                                                                                                                                              ? unknown
                                                                                                                                                                                                                              : T extends Stop | Break | Continue
                                                                                                                                                                                                                                  ? null
                                                                                                                                                                                                                                  : never

                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                  Generated using TypeDoc

                                                                                                                                                                                                                  \ No newline at end of file +ReturnValue | @tryforge/forgescript
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  @tryforge/forgescript + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                    Type Alias ReturnValue<T>

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    ReturnValue: T extends Error
                                                                                                                                                                                                                        ? ForgeError
                                                                                                                                                                                                                        : T extends Return
                                                                                                                                                                                                                            ? string
                                                                                                                                                                                                                            : T extends Success
                                                                                                                                                                                                                                ? unknown
                                                                                                                                                                                                                                : T extends Stop | Break | Continue ? null : never
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +

                                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    diff --git a/docs/types/Sendable.html b/docs/types/Sendable.html index 7795c2e323..352e3dc920 100644 --- a/docs/types/Sendable.html +++ b/docs/types/Sendable.html @@ -1 +1,33 @@ -Sendable | @tryforge/forgescript
                                                                                                                                                                                                                    Sendable: {} | Sticker | GuildScheduledEvent | Role | Presence | Message | User | GuildMember | BaseChannel | Interaction | VoiceState | WebhookClient | GuildEmoji | Guild | MessageReaction | Invite | AutoModerationActionExecution | SoundboardSound | Emoji | ApplicationEmoji

                                                                                                                                                                                                                    Type declaration

                                                                                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                                                                                      \ No newline at end of file +Sendable | @tryforge/forgescript
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      @tryforge/forgescript + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        Type Alias Sendable

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        Sendable:
                                                                                                                                                                                                                            | {}
                                                                                                                                                                                                                            | Sticker
                                                                                                                                                                                                                            | GuildScheduledEvent
                                                                                                                                                                                                                            | Role
                                                                                                                                                                                                                            | Presence
                                                                                                                                                                                                                            | Message
                                                                                                                                                                                                                            | User
                                                                                                                                                                                                                            | GuildMember
                                                                                                                                                                                                                            | BaseChannel
                                                                                                                                                                                                                            | Interaction
                                                                                                                                                                                                                            | VoiceState
                                                                                                                                                                                                                            | WebhookClient
                                                                                                                                                                                                                            | GuildEmoji
                                                                                                                                                                                                                            | Guild
                                                                                                                                                                                                                            | MessageReaction
                                                                                                                                                                                                                            | Invite
                                                                                                                                                                                                                            | AutoModerationActionExecution
                                                                                                                                                                                                                            | SoundboardSound
                                                                                                                                                                                                                            | Emoji
                                                                                                                                                                                                                            | ApplicationEmoji
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        diff --git a/docs/types/States.html b/docs/types/States.html index 9506f0233c..41e35a8086 100644 --- a/docs/types/States.html +++ b/docs/types/States.html @@ -1 +1,33 @@ -States | @tryforge/forgescript

                                                                                                                                                                                                                        Generated using TypeDoc

                                                                                                                                                                                                                        \ No newline at end of file +States | @tryforge/forgescript
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        @tryforge/forgescript + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                          Type Alias States

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          States: {
                                                                                                                                                                                                                              [K in keyof IStates]?: {
                                                                                                                                                                                                                                  new?: IStates[K] | null;
                                                                                                                                                                                                                                  old?: IStates[K] | null;
                                                                                                                                                                                                                              }
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          diff --git a/docs/types/UnwrapArg.html b/docs/types/UnwrapArg.html index 9a54359718..19d85d5a3e 100644 --- a/docs/types/UnwrapArg.html +++ b/docs/types/UnwrapArg.html @@ -1 +1,37 @@ -UnwrapArg | @tryforge/forgescript

                                                                                                                                                                                                                          Type alias UnwrapArg<T>

                                                                                                                                                                                                                          UnwrapArg<T>: T extends IArg<infer Type, infer Required, infer Rest, infer Enum>
                                                                                                                                                                                                                              ? MarkRest<MarkNullable<GetArgType<Type, Enum>, Required, Rest>, Rest>
                                                                                                                                                                                                                              : never

                                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                                          • T

                                                                                                                                                                                                                          Generated using TypeDoc

                                                                                                                                                                                                                          \ No newline at end of file +UnwrapArg | @tryforge/forgescript
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          @tryforge/forgescript + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            Type Alias UnwrapArg<T>

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            UnwrapArg: T extends IArg<infer Type, infer Required, infer Rest, infer Enum>
                                                                                                                                                                                                                                ? MarkRest<MarkNullable<GetArgType<Type, Enum>, Required, Rest>, Rest>
                                                                                                                                                                                                                                : never
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +

                                                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • T
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            diff --git a/docs/types/UnwrapArgs.html b/docs/types/UnwrapArgs.html index 0e7e041a2e..b63d109ffa 100644 --- a/docs/types/UnwrapArgs.html +++ b/docs/types/UnwrapArgs.html @@ -1 +1,37 @@ -UnwrapArgs | @tryforge/forgescript

                                                                                                                                                                                                                            Generated using TypeDoc

                                                                                                                                                                                                                            \ No newline at end of file +UnwrapArgs | @tryforge/forgescript
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            @tryforge/forgescript + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                              Type Alias UnwrapArgs<T>

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              UnwrapArgs: T extends [infer L, ...(infer R)]
                                                                                                                                                                                                                                  ? [UnwrapArg<L>, ...UnwrapArgs<R>]
                                                                                                                                                                                                                                  : []
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              Type Parameters

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                              • T
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              diff --git a/docs/types/WrappedCode.html b/docs/types/WrappedCode.html index 76511bba64..68bf34b26c 100644 --- a/docs/types/WrappedCode.html +++ b/docs/types/WrappedCode.html @@ -1 +1,45 @@ -WrappedCode | @tryforge/forgescript

                                                                                                                                                                                                                              Generated using TypeDoc

                                                                                                                                                                                                                              \ No newline at end of file +WrappedCode | @tryforge/forgescript
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              @tryforge/forgescript + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                Type Alias WrappedCode

                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                WrappedCode: (args: unknown[]) => string
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                  • (args: unknown[]): string
                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    Parameters

                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • args: unknown[]
                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                    Returns string

                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                diff --git a/docs/types/WrappedConditionCode.html b/docs/types/WrappedConditionCode.html index bfb4796376..a86fb386e4 100644 --- a/docs/types/WrappedConditionCode.html +++ b/docs/types/WrappedConditionCode.html @@ -1 +1,46 @@ -WrappedConditionCode | @tryforge/forgescript

                                                                                                                                                                                                                                Type alias WrappedConditionCode

                                                                                                                                                                                                                                WrappedConditionCode: ((lhs, rhs) => boolean)

                                                                                                                                                                                                                                Type declaration

                                                                                                                                                                                                                                  • (lhs, rhs): boolean
                                                                                                                                                                                                                                  • Parameters

                                                                                                                                                                                                                                    • lhs: unknown
                                                                                                                                                                                                                                    • rhs: unknown

                                                                                                                                                                                                                                    Returns boolean

                                                                                                                                                                                                                                Generated using TypeDoc

                                                                                                                                                                                                                                \ No newline at end of file +WrappedConditionCode | @tryforge/forgescript
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                @tryforge/forgescript + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                  Type Alias WrappedConditionCode

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  WrappedConditionCode: (lhs: unknown, rhs: unknown) => boolean
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • (lhs: unknown, rhs: unknown): boolean
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                      • lhs: unknown
                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                      • rhs: unknown
                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Returns boolean

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  diff --git a/docs/variables/Conditions.html b/docs/variables/Conditions.html index 50cdf7bd81..523da0b330 100644 --- a/docs/variables/Conditions.html +++ b/docs/variables/Conditions.html @@ -1 +1,33 @@ -Conditions | @tryforge/forgescript

                                                                                                                                                                                                                                  Generated using TypeDoc

                                                                                                                                                                                                                                  \ No newline at end of file +Conditions | @tryforge/forgescript
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  @tryforge/forgescript + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                    Variable ConditionsConst

                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    Conditions: Record<OperatorType, WrappedConditionCode> = ...
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    diff --git a/docs/variables/NativeEventName.html b/docs/variables/NativeEventName.html index e19b6ab874..cdcc117a9c 100644 --- a/docs/variables/NativeEventName.html +++ b/docs/variables/NativeEventName.html @@ -1 +1,33 @@ -NativeEventName | @tryforge/forgescript

                                                                                                                                                                                                                                    Generated using TypeDoc

                                                                                                                                                                                                                                    \ No newline at end of file +NativeEventName | @tryforge/forgescript
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    @tryforge/forgescript + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                      Variable NativeEventNameConst

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      NativeEventName: "native"
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      diff --git a/docs/variables/Operators.html b/docs/variables/Operators.html index 355688491b..d0e991b8a7 100644 --- a/docs/variables/Operators.html +++ b/docs/variables/Operators.html @@ -1 +1,33 @@ -Operators | @tryforge/forgescript

                                                                                                                                                                                                                                      Generated using TypeDoc

                                                                                                                                                                                                                                      \ No newline at end of file +Operators | @tryforge/forgescript
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      @tryforge/forgescript + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                        Variable OperatorsConst

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        Operators: Set<OperatorType> = ...
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000000..7aecc21a43 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,45 @@ +const js = require("@eslint/js") +const tsParser = require("@typescript-eslint/parser") +const tsPlugin = require("@typescript-eslint/eslint-plugin") +const globals = require("globals") + +module.exports = [ + { + ignores: ["./.github", "./dist"], + }, + + js.configs.recommended, + + { + languageOptions: { + ecmaVersion: 2021, + globals: { + ...globals.node, + }, + }, + }, + + { + files: ["**/*.ts", "**/*.tsx"], + languageOptions: { + parser: tsParser, + }, + plugins: { + "@typescript-eslint": tsPlugin, + }, + rules: { + "no-unused-vars": "off", + "no-undef": "off", + "@typescript-eslint/no-unused-vars": "off", + "no-dupe-class-members": "off", + }, + }, + + { + rules: { + indent: ["error", 4, { SwitchCase: 1 }], + quotes: ["error", "double"], + semi: ["error", "never"], + }, + }, +] \ No newline at end of file diff --git a/metadata/changelogs.json b/metadata/changelogs.json index 13a40fe694..d335b69c6b 100644 --- a/metadata/changelogs.json +++ b/metadata/changelogs.json @@ -1 +1 @@ -{"1.2.0":[{"message":"Added URL arg type"},{"message":"Fixed updateApplicationCommands partially working"},{"message":"Added updateApplicationCommands"},{"message":"Changed all functions internally to adapt to the new negation operator"},{"message":"Move negation operator to the beginning of function"},{"message":"make executionTime more accurate"},{"message":"added parseInt"},{"message":"Fixed findUser crash"},{"message":"Fixed some grammar errors in docs by Nicky"},{"message":"added ifx function allows blocks of statements"},{"message":"Fixed lastMessageID returning content instead of id"},{"message":"Return no longer requires brackets"},{"message":"Fixed commandInfo"},{"message":"Added allowedInteractionTypes property to commands and the name property now works for interactions"},{"message":"Speeded up interpreter performance"},{"message":"Added negation operator to cancel output of functions"},{"message":"Added deleteCommand"},{"message":"Fixed successJSON and successFormatted"},{"message":"Add line:column to parser errors"},{"message":"Deleted changelogs folder"},{"message":"Moved json files to metadata folder"},{"message":"Added color strings back"},{"message":"Renamed loadJSON = jsonLoad"},{"message":"Added jsonSet"},{"message":"Reordered fields in botOwnerID default to the owner id"},{"message":"Added reason field to createInvite"},{"message":"Fixed botOwnerID and extended its functionality"},{"message":"Added missing reference to ThreadManager.ts"},{"message":"Make httpRequest last field optional and added httpResult [shortcut for env]"},{"message":"Fixed small typo in a log given by FunctionManager#load"},{"message":"Added color functions and new arg type"},{"message":"Added autoModerationActionExecution event and a few functions for it"},{"message":"Added titleURL to embed properties"},{"message":"Added hasExtension"},{"message":"Fixed embed properties and added color and authorURL to it"},{"message":"Added a handful of functions"},{"message":"Renamed runInThread => coroutine"},{"message":"Added lastMessageID"},{"message":"Fix docgen not generating functions"},{"message":"Added interactionFollowUp"},{"message":"Implemented feature for code threading (experimental)"},{"message":"Add error for invalid flags in changelog gen"},{"message":"Make json instead of txt for changelogs"}],"1.3.0":[{"message":"Added mobile option to client"},{"message":"Added $addRoleSelectMenu"},{"message":"added $sliceText and $messageSlice"},{"message":"Added a lot of missing guild and role functions"},{"message":"added $arrayPushJSON and unshift variants"},{"message":"Added $guildChannelIDs and $guildRoleIDs"},{"message":"Added $hyperlink"},{"message":"Added $mentionedXCount"},{"message":"Added command path to compilation errors, fixed some path joins"},{"message":"Added ability to disable unneccesary functions"},{"message":"Improved description of $isValidHex and $isValidLink"},{"message":"Added 2 new properties to extension class (requireExtensions and targetVersions)"},{"message":"Added $isValidHex"},{"message":"Some interpreter optimizations were applied, attempt to fix stickers issue with $editMessage and added $deferUpdate"},{"message":"Added formatting functions"},{"message":"Fixed $stickers indexing and added $sticker (sticker support for responses)"},{"message":"Added $ordinal"},{"message":"Added $enableUserMentions, $enableRoleMentions, $disableEveryoneMention and $disableAllMentions"},{"message":"Added $disableUserMentions, $disableRoleMentions, $nomention and a new field to $reply"},{"message":"Added $disableUserMentions, $disableRoleMentions, $nomention and a new field to $reply"},{"message":"Added bigint functions, and some shorthand functions for $let"},{"message":"Added better logging to ForgeScript core, also implemented api as a function"},{"message":"Fixed negation operator for functions with fields"},{"message":"Functions are now case insensitive, improved commit.ts"},{"message":"Added case insensitive functions, improved commit.ts"},{"message":"Please write the commit message:"},{"message":"Please write the commit message:"},{"message":"Bump ForgeScript version"}],"1.4.0":[{"message":"$arrayLoad now allows loading without values"},{"message":"Fixed $isSlashCommand and slashCommand int type"},{"message":"Fixed guild functions"},{"message":"$option now returns attachment urls"},{"message":"interactionCreate events now forward app commands, might become a breaking change for some (?),"},{"message":"Fixed $guildRulesChannelID"},{"message":"Added more time units"},{"message":"Added $discordTimestamp"},{"message":"Fixed some component functions, added $isJSON"},{"message":"Added $userIDs"},{"message":"Added some more funcs"},{"message":"Added some funcs"},{"message":"Added $voiceMove"},{"message":"Added some new functions"},{"message":"Nothing much"},{"message":"Tried a fix for ephemeral messages not being recognized"},{"message":"Added emoji property to component"},{"message":"Added some aliases and functions"},{"message":"Added $transcript, $guildChannelID, $getComponent and $loadComponent"},{"message":"Removed old compiler."},{"message":"Added $splitTextJoin and $reply now mentions by default"},{"message":"Added registration type to application commands"},{"message":"Added $findMembers"},{"message":"Added $hasAnyPerms"},{"message":"Fixed $guildNSFWLevel"},{"message":"Change $commandInfo's last field."},{"message":"Prefixes no longer sensitive"},{"message":"Fixed no ping behavior"},{"message":"Small typo"},{"message":"Added Arg class for ease of arg creation"},{"message":"Fixed $awaitComponent throwing error regardless of error disabled"},{"message":"Fixed interactionReply 2nd field, fixed $disableConsoleErrors"},{"message":"Added index to parsed functions"},{"message":"Added event emitter to command manager"},{"message":"Added new option to client and command to disable errors"},{"message":"feat: add $userID as alias to $authorID"},{"message":"Added more await functions, added $showModal"},{"message":"Fixed some file funcs"},{"message":"Added more file functions"},{"message":"Added more file functions"},{"message":"Added form data support to http"},{"message":"Added BaseCommandManager#toArray"},{"message":"Added a lot of sticker functions, changed $sticker fields."},{"message":"Removed content argument from $createThread"},{"message":"Setting Context#obj now clears cache, cache was moved to a property, added context loaders."},{"message":"FunctionManager#add is now a shorthand for addMany"},{"message":"$scope now allows syncing vars, adapted paths to work with other operating systems"},{"message":"Prefixes are no longer required"},{"message":"dollar custom functions now allow recursion"},{"message":"Custom functions are now populated as actual functions, made several changes, backwards compatibility to FunctionManager#load, fixed $messageCreatedAt, and some other stuff"},{"message":"Reenabled outer escaping in experimental compiler, functions are properly escaped"},{"message":"Fixed experimental compiler skipping functions"},{"message":"Fixed experimental compiler again"},{"message":"Added docs translations, fixed compiler again, fixed $thumbnail and some other embed functions causing errors with empty field values, array functions can now return output, $eval now shares context container"},{"message":"Fixed condition fields not working in experimental compiler"},{"message":"Added alloc field to resolveCode"},{"message":"fixed some imports"},{"message":"Another fix to experimental compiler, fixed types in the json"},{"message":"Added $interactionDelete and translations"},{"message":"Added translations.json"},{"message":"Added ForgeClient#commandManagers"},{"message":"I promise this is the last row of events"},{"message":"Another row of events."},{"message":"Added a few more events!"},{"message":"Added $usertag and $discriminator"},{"message":"Changed $jsonSet fields"},{"message":"$arrayMap now allows json, fixed $cloneChannel, $jsonDelete and added error when missing data to app commands"},{"message":"Fixed $cloneChannel, $arrayMap now allows json returned, fixed $jsonDelete"},{"message":"whoops forgot to install deps"},{"message":"Fixed command load crash"},{"message":"Exported generateMetadata again"},{"message":"Fixed circular imports (pain)"},{"message":"Fixed docgen"},{"message":"Added eventabsolutepath option to generateMetadata"},{"message":"Added intents enum, added alias to $hasChannelPerms"},{"message":"Added $cloneChannel, $channelHas(Any)Perms, fixed no perms issue with attach files perm"},{"message":"Added more events"},{"message":"Redone dist"},{"message":"Added $messageSticker and $messageStickerCount, renamed $stickers"},{"message":"Added $fetchResponse"},{"message":"Added $editField"},{"message":"Added $guildHas(Any)Features"},{"message":"Added more aliases"},{"message":"Added $fetchEmbeds, added more functionality to $getEmbed, added $loadEmbeds"},{"message":"Added id to all commands"},{"message":"Renamed $markdown to $inlineCode"},{"message":"Fixed $markdown"},{"message":"Redone errors a bit"},{"message":"Added ForgeClient#getExtension and Context#getExtension"},{"message":"Fixed $argCount, fixed $updateApplicationCommands description, fixed $fetchAuditLog/$fetchUserAuditLog fields"},{"message":"Added $jsonDelete"},{"message":"Swapped $jsonSet fields, now made work"},{"message":"Added output type to functions"},{"message":"Removed message validation from $deleteMessage"},{"message":"Added infinite loop possibility to $loop"},{"message":"Fixed $arrayEvery"},{"message":"Fixed $httpResult with no args"},{"message":"Fixed $arraySome"},{"message":"Fixed $httpRequest ignoring $httpSetContentType"},{"message":"Added $httpSetContentType"},{"message":"Added path to app commans"},{"message":"Added $guildEmojis"},{"message":"Added fields to $applicationCommandDisplay"},{"message":"Added $loop"},{"message":"Added $editStringSelectMenu, $editOption and replaced separator field $getEmbed in favor of field index."},{"message":"Added $applicationCommandDisplay"},{"message":"I trimmed twice"},{"message":"Fixed $argCount returning 1 for empty values"},{"message":"Added $locale"},{"message":"Added roleCount to member properties"},{"message":"Added some functions for audit log management"},{"message":"Added $guildBannedMembers and $guildBanReason"},{"message":"Added enums.json to metadata, added enumName to args in metadata"},{"message":"Added aliases to all $bot functions and $server"},{"message":"Added $memberIDs"},{"message":"added $messageContent"},{"message":"Commented all runnable properties"},{"message":"Added function support to prefixes"},{"message":"Added $modifyChannelPerms and modified internal code"},{"message":"Added $channelPermissionsfor"},{"message":"Fix slashes not working with independent mode"},{"message":"Added independent prop to app commands"},{"message":"Fixed $messageAttachment"},{"message":"Added $replaceText as alias to $replace"},{"message":"Added alias to $sendMessage and added $messageAttachment"},{"message":"Fixed compiler breaking on negation op"},{"message":"$isValidHex no longer accepts hexes like ff#ff00"},{"message":"Small touch on compiler"},{"message":"Added aliases to functions (experimental)"},{"message":"Changed extension loadup message"},{"message":"Removed category property from functions"},{"message":"Added respondOnEdit as client option"},{"message":"Rearranged functions in categories"},{"message":"Fixed path again"},{"message":"Fixed empty files being used"},{"message":"Fixed command path"},{"message":"Categorized all functions"},{"message":"Added category to functions.json, deleted generateFunctionDoc"},{"message":"Added $arrayRandomIndex, $arrayRandomValue, fixed $platform user arg, deleted $attachments in favor of $messageAttachments"},{"message":"Fixed $guildChannelCount"},{"message":"(Might fix invite system?) Added deprecation warning to ForgeClient#useInviteSystem, implemented ForgeClient#trackers."},{"message":"Introduced breaking change to extensions, added extra command checks and minor improvements"},{"message":"Reorganized structures folder"},{"message":"Fixed version on newer functions"},{"message":"Fixed package.json version"},{"message":"Added few channel, voice, select menu and option functions"},{"message":"Bump 1.4.0"}],"1.5.0":[{"message":"Fixed $memberCustomStatus"},{"message":"Added prefixCaseInsensitive client option"},{"message":"Fixed $deleteMessage always returns 0 for one single deleted message"},{"message":"Added deprecation warning logger to $interactionRequirePremium"},{"message":"Added filters to $clearMessages and $clearUserMessages"},{"message":"Fixed $emojiID not working with app emojis"},{"message":"Added $botDescription, $setBotDescription and $setBotTags"},{"message":"Added $unparseDigital, renamed $isBool to $isBoolean"},{"message":"Fixed $deleteComponent functions can cause empty action rows"},{"message":"Fixed successJSON can't handle BigInts"},{"message":"Fixed automod rule options not being cleared after execution"},{"message":"Fixed $guildMemberCount offline presence not working properly"},{"message":"Added new params to $bar, fixed negative input"},{"message":"Added $arrayFindLastIndex"},{"message":"Updated $arraySplice to now return deleted elements"},{"message":"Added $guildEmojiLimit, $guildStickerLimit and $arrayLastIndexOf"},{"message":"Added optional arg to $guildMemberCount"},{"message":"Added $parseDigital"},{"message":"Added $firstMessageID and $channelPinnedMessages"},{"message":"Added optional direction arg to $loop and fixed iteration count for infinite times"},{"message":"Added $deleteIn"},{"message":"Added optional arg to $authorizingIntegrationOwners"},{"message":"Fixed reactions of messages not properly cached, fixes reaction functions"},{"message":"Added optional reason param to $timeout"},{"message":"Fixed $randomGuildChannelID"},{"message":"Added support for nullable and optional custom func params"},{"message":"Added $interactionRawData"},{"message":"Added $channelPermissionsOf"},{"message":"Added various raw data functions"},{"message":"Added $cloneChannelPerms, small changes and additions"},{"message":"Added some new functions"},{"message":"Added new functions, aliases and parameters"},{"message":"Added more flag functions and $setGuildPausedInvites"},{"message":"Added $isPinned"},{"message":"Added args to $messageType, fixed $messageWebhookID"},{"message":"Added more voice state properties"},{"message":"Fixed emoji functions, added support for app emojis, small changes"},{"message":"Added some new functions and properties"},{"message":"Added $editEmoji, update djs to v14.16.3"},{"message":"Updated invite functions"},{"message":"Fix for previous commit"},{"message":"Added new application command functions"},{"message":"Fixed application command functions"},{"message":"Allowed strings as input for $isInteger and $isFloat"},{"message":"Added $authorizingIntegrationOwners and $context"},{"message":"Added $targetMessageEmbeds, new msg properties and updated $djsEval"},{"message":"Added $targetMessage and more message properties"},{"message":"Added $httpPing"},{"message":"Deprecated $interactionRequirePremium in favor of new premium buttons"},{"message":"Added $httpGetHeader"},{"message":"Added $isRepliable"},{"message":"Added $memberActivity"},{"message":"Added $threadStarterMessageID and fixed thread functions"},{"message":"Added new automod rule events and state functions"},{"message":"Added $tts"},{"message":"Fixed $editButton not allowing empty labels"},{"message":"Added new functions, fixed $editButton, update djs to v14.16.2"},{"message":"Added support for more application command customization"},{"message":"Added $editGuildTemplate"},{"message":"Moved prev wrongly added aliases from $loadEmbeds to $fetchEmbeds"},{"message":"Added $messageEditedAt"},{"message":"Added optional separator arg to $selectMenuValues"},{"message":"Added bunch of new automod rule functions"},{"message":"Renamed func to $setGuildBoostProgressBar"},{"message":"Updated deprecated Emoji#url getter"},{"message":"Added $getApplicationEmojis and small improvements"},{"message":"Update $createInvite to always create unique invites"},{"message":"Optimized $guildBoosterIDs, final commit"},{"message":"Revert prev change"},{"message":"Small change"},{"message":"Fixed $guildBoosterIDs again"},{"message":"Fixed $guildBoosterIDs"},{"message":"Added $threadTotalMessagesSent and small fixes"},{"message":"Added more guild boost functions"},{"message":"Fixed $title doesn't allow empty values"},{"message":"Fixed $guildID and $channelID not working with user installable apps"},{"message":"Added $guildHighestRoleID and $guildLowestRoleID"},{"message":"Fixed prev $ fix caused no note on docs?"},{"message":"Fixed $ sign not escaped properly for GitHub commits"},{"message":"Added $$userReferenceID"},{"message":"Added randomRoleID and optional reason arg to voiceMove"},{"message":"'Added $memberLowestRoleID'"},{"message":"Added guild template funcs and fixed typo"},{"message":"Added \\$lastPinTimestamp and aliases to \\$loadEmbeds"},{"message":"Added optional type param to emoji count funcs"},{"message":"Fixed guild funcs not working within ban events"},{"message":"Added optional asc param to \\$rolePosition"},{"message":"Fixed $arrayAdvancedSort"},{"message":"Added support for SKUIds in addButton funcs"},{"message":"Fixed typo in $decrypt desc"},{"message":"Added new functions and userinstall app support, update djs to v14.16.1"},{"message":"Added $encrypt, $decrypt and $randomBytes"},{"message":"Fi"},{"message":"Added $week"},{"message":"Added $deleteThread"},{"message":"Fix channel id being optional in some funcs"},{"message":"Added $setChannelArchiveDuration"},{"message":"Added another function"},{"message":"New functions some new fields for other functions"},{"message":"Idk"},{"message":"Added modifyforumtag"},{"message":"Fixed fetching messages giving partial ones"},{"message":"Added $isArchived and fix threads no cached"},{"message":"Added hasPoll"},{"message":"More poll functionality"},{"message":"Fixed $pollAnswers emojis not showing up"},{"message":"Added some poll functionality"},{"message":"Skill issue"},{"message":"Updated $createInvite with more parameters"},{"message":"Fixed $applicationCommandOptions and new param"},{"message":"Added new param to $cropText"},{"message":"Added $applicationCommandOptions"},{"message":"Added 2 new fields to $webhookSend"},{"message":"Added entitlement support, updated djs to v14.5"},{"message":"Added @private to some command props"},{"message":"Fixed $escapeCode"},{"message":"Added many new cooldown function utilities"},{"message":"Added new field to $bar, added $advancedBar for complex bars."},{"message":"Introduced count and silent operators"},{"message":"Added $average"},{"message":"fixed parseJSON for numbers"},{"message":"Remove old attachments when editing"},{"message":"Added $reverseText"},{"message":"Fixed $bar again"},{"message":"Fixed $bar not working with multi char strings"},{"message":"Added $gc"},{"message":"Small changes"},{"message":"Added $bar"},{"message":"Fixed compiler attempting to read fields for functions that dont have args"},{"message":"Added new workflow"},{"message":"workflow test | 3#"},{"message":"workflow test | #2"},{"message":"dev workflow | #1"},{"message":"Fixed $editButton and $editButtonOf attempting to set empty fields"},{"message":"Added websocket support"},{"message":"Added many functions to edit components and rows from different messages"},{"message":"Some functions did not allow negation operator, this has been fixed."},{"message":"Added $channelIsChildrenOf"},{"message":"Added $djs and $js aliases to $djsEval"},{"message":"Added $discordAPI as alias to $api"},{"message":"Quick change to $api"},{"message":"Added $api"},{"message":"Updated readme"},{"message":"Bump version"}],"2.1.0":[{"message":"Added $deleteField, updated some descriptions"},{"message":"Removed deprecated djs stuff"},{"message":"Added bunch of new guild functions"},{"message":"Added some shard functions, updated $userBadges"},{"message":"Added $memberBanner, bump versions"}],"2.2.0":[{"message":"Added $djsVersion"},{"message":"Added $forward and new guild functions, djs v14.18"},{"message":"Added more forum functions"},{"message":"Added $jsonHas, fixed other json functions"},{"message":"Added $subtext"},{"message":"Fixed $loadComponents"},{"message":"Added $fetchMessage"},{"message":"Added optional guild arg to $applicationCommands"},{"message":"Added optional param to $applicationCommandCount"},{"message":"Added $pathJoin and $pathResolve"},{"message":"Added $fetchRoles, $fetchChannels and new arg to $fetchMembers"},{"message":"Added new functions and more support for app emojis, fixed some functions"},{"message":"Added bunch of new edit select menu functions"},{"message":"Added $getMessageReactions and new arg to $getMessageReactionCount"},{"message":"Added $getInvite and $getGuildInvite, updated $deleteInvite, added more invite properties"},{"message":"Added sort type to $arraySort"},{"message":"Added functions to enable all buttons and components"},{"message":"Added $disableComponents and $disableComponentsOf"},{"message":"Added $disableButtons and $disableButtonsOf"},{"message":"Added support for return statement in $loop"},{"message":"Added $sign and $pi"},{"message":"Fixed $XExists funcs throw errors in console"},{"message":"Added client webhook event functions"},{"message":"Allowed time changing functions to affect $parseDate locales"},{"message":"Added $ramTotal and some aliases"}],"2.3.0":[{"message":"Small changes, fixed ArgType.Date"},{"message":"Added more stage instance support"},{"message":"Marked affected guild functions as deprecated"},{"message":"Added embed support to $webhookEditMessage"},{"message":"Fixed custom function loader"},{"message":"Comited updates"},{"message":"Bumped to main depency Sucessfully"},{"message":"added $chalkLog"},{"message":"Added alias $weekday to $dayOfWeek"},{"message":"Fixed $poll and $pollAnswer"},{"message":"breaking change: changed behavior of $day, Added $dayOfWeek"},{"message":"Added $clearTimeout and $clearInterval"},{"message":"Added local functions"},{"message":"Added optional type property to custom function params"},{"message":"Fixed $isBanned throws error"},{"message":"Added more interaction member support and new functions, fixed $nickname"},{"message":"Added $stickerURL and new arg to $messageStickers"},{"message":"Small changes and fixes"},{"message":"Required param now affects rest arguments, fixed $advancedBar"},{"message":"Added voiceChannelEffectSend event and $effect"},{"message":"Fixed $hasPerms and $hasAnyPerms"},{"message":"Added more webhook funcs and $followChannel, bump versions"}],"2.4.0":[{"message":"Fixed various component functions","timestamp":"2025-08-22T16:57:22.559Z","author":"xNickyDev"},{"message":"Fixed $getComponents (cv2 support)","timestamp":"2025-08-18T14:03:27.129Z","author":"xNickyDev"},{"message":"Fixed buffers and generating enums","timestamp":"2025-08-15T02:49:33.018Z","author":"xNickyDev"},{"message":"Fixed generating paths","timestamp":"2025-07-29T14:29:25.750Z","author":"xNickyDev"},{"message":"Fixed some time functions","timestamp":"2025-07-20T15:32:18.766Z","author":"xNickyDev"},{"message":"Removed deprecated reason args of thread member functions","timestamp":"2025-07-11T13:54:55.163Z","author":"xNickyDev"},{"message":"Small fixes","timestamp":"2025-07-11T13:19:13.998Z","author":"xNickyDev"},{"message":"Support editing select menus in cv2","timestamp":"2025-07-04T10:42:32.634Z","author":"xNickyDev"},{"message":"Fixed $httpRequest causes crash on error, small other fixes","timestamp":"2025-06-30T14:16:37.284Z","author":"xNickyDev"},{"message":"Added new functions, bump djs","timestamp":"2025-06-26T12:35:03.061Z","author":"xNickyDev"},{"message":"Added $isActivityCommand and \"activityCommand\" type","timestamp":"2025-06-23T13:58:14.934Z","author":"xNickyDev"},{"message":"Allowed components for webhook messages, added threadID to $webhookEditMessage","timestamp":"2025-06-23T01:43:23.580Z","author":"xNickyDev"},{"message":"Added new functions","timestamp":"2025-06-21T23:46:13.433Z","author":"xNickyDev"},{"message":"Added activity support, small fixes","timestamp":"2025-06-17T23:56:50.402Z","author":"xNickyDev"},{"message":"Small changes, bump djs","timestamp":"2025-06-16T16:46:48.122Z","author":"xNickyDev"},{"message":"Added rest option to custom function params","timestamp":"2025-06-11T15:44:19.305Z","author":"xNickyDev"},{"message":"Fixed stacking action rows in containers","timestamp":"2025-06-08T14:45:00.185Z","author":"xNickyDev"},{"message":"Fixed prev change on component builders","timestamp":"2025-06-08T07:54:39.212Z","author":"xNickyDev"},{"message":"Fixed $arrayCreate not defaulting to empty array","timestamp":"2025-06-08T06:55:40.602Z","author":"xNickyDev"},{"message":"Added $messageEmojis","timestamp":"2025-06-07T13:17:03.415Z","author":"xNickyDev"},{"message":"Fixed $guildVanityCode, optimized $unparseDigital","timestamp":"2025-06-06T22:12:53.498Z","author":"xNickyDev"},{"message":"Added $cloneRole, $guildInviteExists and new metadata","timestamp":"2025-06-03T21:24:10.034Z","author":"xNickyDev"},{"message":"Added $guildTemplateCode","timestamp":"2025-05-28T18:33:45.595Z","author":"xNickyDev"},{"message":"Added $typeof, $syncGuildTemplate and new arg to $createGuild","timestamp":"2025-05-28T00:45:57.765Z","author":"xNickyDev"},{"message":"Added $getSnapshots","timestamp":"2025-05-27T17:53:35.939Z","author":"xNickyDev"},{"message":"Restructured changelogs.json","timestamp":"2025-05-24T20:07:12.496Z","author":"xNickyDev"},{"message":"Fixed count operator for empty strings"},{"message":"Added desc arg to $attachment, deleted $test"},{"message":"Fixed $memberAvatar and $memberBanner"},{"message":"Fixed $loadComponents, $fetchResponse, $fetchComponents"},{"message":"Added team functions, changed $loop last arg"},{"message":"Fixed edit component functions, bump djs"},{"message":"Added components v2 support"},{"message":"Added soundboard support, bump versions"}],"2.4.1":[{"message":"Fixed broken legacy component functions","timestamp":"2025-08-22T18:55:42.916Z","author":"xNickyDev"}],"2.5.0":[{"message":"Renamed $fetchGuildPreview to $getGuildPreview","timestamp":"2025-09-26T12:56:54.443Z","author":"xNickyDev"},{"message":"Added new events, optimized fetching app emojis","timestamp":"2025-09-23T13:21:24.285Z","author":"xNickyDev"},{"message":"Added new functions and made small adjustments","timestamp":"2025-09-19T17:28:13.859Z","author":"xNickyDev"},{"message":"Added $channelThreadIDs and $fetchThreads","timestamp":"2025-09-06T10:45:31.870Z","author":"xNickyDev"},{"message":"Added int param to $rolePerms and $memberPerms","timestamp":"2025-09-05T16:33:00.998Z","author":"xNickyDev"},{"message":"better fix of commit command","timestamp":"2025-09-05T13:48:51.528Z","author":"aggelos-007"},{"message":"fix $ issue on commits and fixed generateMetadata","timestamp":"2025-09-05T13:35:48.449Z","author":"aggelos-007"},{"message":"Remove ready event in favor of clientReady","timestamp":"2025-09-05T13:26:40.023Z","author":"xNickyDev"},{"message":"Added $getTextSplitIndex","timestamp":"2025-09-04T16:33:13.538Z","author":"aggelos-007"},{"message":"fix $async","timestamp":"2025-09-02T15:42:45.022Z","author":"aggelos-007"},{"message":"fix $setTimeout & $setInterval","timestamp":"2025-09-02T15:21:04.589Z","author":"aggelos-007"},{"message":"Forum tags overhall and addition","timestamp":"2025-08-30T00:33:32.463Z","author":"xNickyDev"},{"message":"Added $setAuditLogReason","timestamp":"2025-08-29T14:45:48.188Z","author":"xNickyDev"},{"message":"Fixed disabling mentions","timestamp":"2025-08-28T21:14:32.470Z","author":"xNickyDev"},{"message":"Added $getPoll, fixed $botMutualGuilds","timestamp":"2025-08-27T22:27:38.926Z","author":"xNickyDev"},{"message":"fix $eval not fetching enviroment variables on escaped code.","timestamp":"2025-08-26T21:38:30.272Z","author":"aggelos-007"},{"message":"Added $guildInvites and many missing properties","timestamp":"2025-08-24T14:13:51.216Z","author":"xNickyDev"},{"message":"Added $arrayUnique and $hasComponents","timestamp":"2025-08-23T14:12:11.269Z","author":"xNickyDev"},{"message":"Added new features, bump djs","timestamp":"2025-08-23T12:15:35.045Z","author":"xNickyDev"}],"2.6.0":[{"message":"Marked $setCalendar as experimental for now","timestamp":"2026-01-12T09:02:22.657Z","author":"xNickyDev"},{"message":"Clone and revamp local functions","timestamp":"2026-01-12T00:56:50.310Z","author":"xNickyDev"},{"message":"Removed alias $addItem from $addMediaItem","timestamp":"2026-01-10T00:43:09.608Z","author":"xNickyDev"},{"message":"Added $setGuildInvitesDisabled and $setGuildDmsDisabled","timestamp":"2026-01-10T00:04:55.105Z","author":"xNickyDev"},{"message":"Allowed enabling mentions without ids, added $enableAllMentions","timestamp":"2025-12-13T12:41:35.921Z","author":"xNickyDev"},{"message":"Added $silent","timestamp":"2025-12-09T14:28:43.505Z","author":"xNickyDev"},{"message":"Support setting client guild avatar, banner and bio","timestamp":"2025-12-08T22:49:02.585Z","author":"xNickyDev"},{"message":"Fixed $separateNumber and $separateBigint replace minus with sep","timestamp":"2025-11-21T23:58:23.327Z","author":"xNickyDev"},{"message":"Added $emojiAuthorID","timestamp":"2025-11-21T23:41:43.017Z","author":"xNickyDev"},{"message":"Bump djs","timestamp":"2025-11-18T15:13:25.396Z","author":"xNickyDev"},{"message":"Added $roleHasPerms and $roleHasAnyPerms","timestamp":"2025-11-14T22:29:44.291Z","author":"xNickyDev"},{"message":"Added $jsonAssign","timestamp":"2025-11-07T14:09:22.225Z","author":"xNickyDev"},{"message":"Added $getWebhook, small webhook overhall","timestamp":"2025-10-28T22:31:50.048Z","author":"xNickyDev"},{"message":"Added $addFileUpload","timestamp":"2025-10-28T15:35:10.523Z","author":"xNickyDev"},{"message":"Fixed $arrayUnique not working with objects","timestamp":"2025-10-15T13:20:37.754Z","author":"xNickyDev"},{"message":"Added $getAutomodRuleActions","timestamp":"2025-10-15T13:02:15.431Z","author":"xNickyDev"},{"message":"Fixed prev change caused default spoiler on containers","timestamp":"2025-10-15T12:36:37.192Z","author":"xNickyDev"},{"message":"Added $memberBotRoleID","timestamp":"2025-10-14T21:05:28.183Z","author":"xNickyDev"},{"message":"Added scheduled event support","timestamp":"2025-10-14T15:54:00.747Z","author":"xNickyDev"},{"message":"Fixed partySize activity property","timestamp":"2025-10-14T11:13:16.446Z","author":"xNickyDev"},{"message":"Small fixes and improvements","timestamp":"2025-10-13T11:51:33.025Z","author":"xNickyDev"},{"message":"Added new modal components, bump djs","timestamp":"2025-10-10T17:08:57.912Z","author":"xNickyDev"},{"message":"Made some arguments optional when editing buttons/options","timestamp":"2025-09-29T22:31:27.505Z","author":"xNickyDev"},{"message":"added license comments for the files","timestamp":"2025-09-28T19:41:45.883Z","author":"aggelos-007"},{"message":"Fixed $addActionRowTo","timestamp":"2025-09-26T14:47:17.112Z","author":"xNickyDev"}]} \ No newline at end of file +{"1.2.0":[{"message":"Added URL arg type"},{"message":"Fixed updateApplicationCommands partially working"},{"message":"Added updateApplicationCommands"},{"message":"Changed all functions internally to adapt to the new negation operator"},{"message":"Move negation operator to the beginning of function"},{"message":"make executionTime more accurate"},{"message":"added parseInt"},{"message":"Fixed findUser crash"},{"message":"Fixed some grammar errors in docs by Nicky"},{"message":"added ifx function allows blocks of statements"},{"message":"Fixed lastMessageID returning content instead of id"},{"message":"Return no longer requires brackets"},{"message":"Fixed commandInfo"},{"message":"Added allowedInteractionTypes property to commands and the name property now works for interactions"},{"message":"Speeded up interpreter performance"},{"message":"Added negation operator to cancel output of functions"},{"message":"Added deleteCommand"},{"message":"Fixed successJSON and successFormatted"},{"message":"Add line:column to parser errors"},{"message":"Deleted changelogs folder"},{"message":"Moved json files to metadata folder"},{"message":"Added color strings back"},{"message":"Renamed loadJSON = jsonLoad"},{"message":"Added jsonSet"},{"message":"Reordered fields in botOwnerID default to the owner id"},{"message":"Added reason field to createInvite"},{"message":"Fixed botOwnerID and extended its functionality"},{"message":"Added missing reference to ThreadManager.ts"},{"message":"Make httpRequest last field optional and added httpResult [shortcut for env]"},{"message":"Fixed small typo in a log given by FunctionManager#load"},{"message":"Added color functions and new arg type"},{"message":"Added autoModerationActionExecution event and a few functions for it"},{"message":"Added titleURL to embed properties"},{"message":"Added hasExtension"},{"message":"Fixed embed properties and added color and authorURL to it"},{"message":"Added a handful of functions"},{"message":"Renamed runInThread => coroutine"},{"message":"Added lastMessageID"},{"message":"Fix docgen not generating functions"},{"message":"Added interactionFollowUp"},{"message":"Implemented feature for code threading (experimental)"},{"message":"Add error for invalid flags in changelog gen"},{"message":"Make json instead of txt for changelogs"}],"1.3.0":[{"message":"Added mobile option to client"},{"message":"Added $addRoleSelectMenu"},{"message":"added $sliceText and $messageSlice"},{"message":"Added a lot of missing guild and role functions"},{"message":"added $arrayPushJSON and unshift variants"},{"message":"Added $guildChannelIDs and $guildRoleIDs"},{"message":"Added $hyperlink"},{"message":"Added $mentionedXCount"},{"message":"Added command path to compilation errors, fixed some path joins"},{"message":"Added ability to disable unneccesary functions"},{"message":"Improved description of $isValidHex and $isValidLink"},{"message":"Added 2 new properties to extension class (requireExtensions and targetVersions)"},{"message":"Added $isValidHex"},{"message":"Some interpreter optimizations were applied, attempt to fix stickers issue with $editMessage and added $deferUpdate"},{"message":"Added formatting functions"},{"message":"Fixed $stickers indexing and added $sticker (sticker support for responses)"},{"message":"Added $ordinal"},{"message":"Added $enableUserMentions, $enableRoleMentions, $disableEveryoneMention and $disableAllMentions"},{"message":"Added $disableUserMentions, $disableRoleMentions, $nomention and a new field to $reply"},{"message":"Added $disableUserMentions, $disableRoleMentions, $nomention and a new field to $reply"},{"message":"Added bigint functions, and some shorthand functions for $let"},{"message":"Added better logging to ForgeScript core, also implemented api as a function"},{"message":"Fixed negation operator for functions with fields"},{"message":"Functions are now case insensitive, improved commit.ts"},{"message":"Added case insensitive functions, improved commit.ts"},{"message":"Please write the commit message:"},{"message":"Please write the commit message:"},{"message":"Bump ForgeScript version"}],"1.4.0":[{"message":"$arrayLoad now allows loading without values"},{"message":"Fixed $isSlashCommand and slashCommand int type"},{"message":"Fixed guild functions"},{"message":"$option now returns attachment urls"},{"message":"interactionCreate events now forward app commands, might become a breaking change for some (?),"},{"message":"Fixed $guildRulesChannelID"},{"message":"Added more time units"},{"message":"Added $discordTimestamp"},{"message":"Fixed some component functions, added $isJSON"},{"message":"Added $userIDs"},{"message":"Added some more funcs"},{"message":"Added some funcs"},{"message":"Added $voiceMove"},{"message":"Added some new functions"},{"message":"Nothing much"},{"message":"Tried a fix for ephemeral messages not being recognized"},{"message":"Added emoji property to component"},{"message":"Added some aliases and functions"},{"message":"Added $transcript, $guildChannelID, $getComponent and $loadComponent"},{"message":"Removed old compiler."},{"message":"Added $splitTextJoin and $reply now mentions by default"},{"message":"Added registration type to application commands"},{"message":"Added $findMembers"},{"message":"Added $hasAnyPerms"},{"message":"Fixed $guildNSFWLevel"},{"message":"Change $commandInfo's last field."},{"message":"Prefixes no longer sensitive"},{"message":"Fixed no ping behavior"},{"message":"Small typo"},{"message":"Added Arg class for ease of arg creation"},{"message":"Fixed $awaitComponent throwing error regardless of error disabled"},{"message":"Fixed interactionReply 2nd field, fixed $disableConsoleErrors"},{"message":"Added index to parsed functions"},{"message":"Added event emitter to command manager"},{"message":"Added new option to client and command to disable errors"},{"message":"feat: add $userID as alias to $authorID"},{"message":"Added more await functions, added $showModal"},{"message":"Fixed some file funcs"},{"message":"Added more file functions"},{"message":"Added more file functions"},{"message":"Added form data support to http"},{"message":"Added BaseCommandManager#toArray"},{"message":"Added a lot of sticker functions, changed $sticker fields."},{"message":"Removed content argument from $createThread"},{"message":"Setting Context#obj now clears cache, cache was moved to a property, added context loaders."},{"message":"FunctionManager#add is now a shorthand for addMany"},{"message":"$scope now allows syncing vars, adapted paths to work with other operating systems"},{"message":"Prefixes are no longer required"},{"message":"dollar custom functions now allow recursion"},{"message":"Custom functions are now populated as actual functions, made several changes, backwards compatibility to FunctionManager#load, fixed $messageCreatedAt, and some other stuff"},{"message":"Reenabled outer escaping in experimental compiler, functions are properly escaped"},{"message":"Fixed experimental compiler skipping functions"},{"message":"Fixed experimental compiler again"},{"message":"Added docs translations, fixed compiler again, fixed $thumbnail and some other embed functions causing errors with empty field values, array functions can now return output, $eval now shares context container"},{"message":"Fixed condition fields not working in experimental compiler"},{"message":"Added alloc field to resolveCode"},{"message":"fixed some imports"},{"message":"Another fix to experimental compiler, fixed types in the json"},{"message":"Added $interactionDelete and translations"},{"message":"Added translations.json"},{"message":"Added ForgeClient#commandManagers"},{"message":"I promise this is the last row of events"},{"message":"Another row of events."},{"message":"Added a few more events!"},{"message":"Added $usertag and $discriminator"},{"message":"Changed $jsonSet fields"},{"message":"$arrayMap now allows json, fixed $cloneChannel, $jsonDelete and added error when missing data to app commands"},{"message":"Fixed $cloneChannel, $arrayMap now allows json returned, fixed $jsonDelete"},{"message":"whoops forgot to install deps"},{"message":"Fixed command load crash"},{"message":"Exported generateMetadata again"},{"message":"Fixed circular imports (pain)"},{"message":"Fixed docgen"},{"message":"Added eventabsolutepath option to generateMetadata"},{"message":"Added intents enum, added alias to $hasChannelPerms"},{"message":"Added $cloneChannel, $channelHas(Any)Perms, fixed no perms issue with attach files perm"},{"message":"Added more events"},{"message":"Redone dist"},{"message":"Added $messageSticker and $messageStickerCount, renamed $stickers"},{"message":"Added $fetchResponse"},{"message":"Added $editField"},{"message":"Added $guildHas(Any)Features"},{"message":"Added more aliases"},{"message":"Added $fetchEmbeds, added more functionality to $getEmbed, added $loadEmbeds"},{"message":"Added id to all commands"},{"message":"Renamed $markdown to $inlineCode"},{"message":"Fixed $markdown"},{"message":"Redone errors a bit"},{"message":"Added ForgeClient#getExtension and Context#getExtension"},{"message":"Fixed $argCount, fixed $updateApplicationCommands description, fixed $fetchAuditLog/$fetchUserAuditLog fields"},{"message":"Added $jsonDelete"},{"message":"Swapped $jsonSet fields, now made work"},{"message":"Added output type to functions"},{"message":"Removed message validation from $deleteMessage"},{"message":"Added infinite loop possibility to $loop"},{"message":"Fixed $arrayEvery"},{"message":"Fixed $httpResult with no args"},{"message":"Fixed $arraySome"},{"message":"Fixed $httpRequest ignoring $httpSetContentType"},{"message":"Added $httpSetContentType"},{"message":"Added path to app commans"},{"message":"Added $guildEmojis"},{"message":"Added fields to $applicationCommandDisplay"},{"message":"Added $loop"},{"message":"Added $editStringSelectMenu, $editOption and replaced separator field $getEmbed in favor of field index."},{"message":"Added $applicationCommandDisplay"},{"message":"I trimmed twice"},{"message":"Fixed $argCount returning 1 for empty values"},{"message":"Added $locale"},{"message":"Added roleCount to member properties"},{"message":"Added some functions for audit log management"},{"message":"Added $guildBannedMembers and $guildBanReason"},{"message":"Added enums.json to metadata, added enumName to args in metadata"},{"message":"Added aliases to all $bot functions and $server"},{"message":"Added $memberIDs"},{"message":"added $messageContent"},{"message":"Commented all runnable properties"},{"message":"Added function support to prefixes"},{"message":"Added $modifyChannelPerms and modified internal code"},{"message":"Added $channelPermissionsfor"},{"message":"Fix slashes not working with independent mode"},{"message":"Added independent prop to app commands"},{"message":"Fixed $messageAttachment"},{"message":"Added $replaceText as alias to $replace"},{"message":"Added alias to $sendMessage and added $messageAttachment"},{"message":"Fixed compiler breaking on negation op"},{"message":"$isValidHex no longer accepts hexes like ff#ff00"},{"message":"Small touch on compiler"},{"message":"Added aliases to functions (experimental)"},{"message":"Changed extension loadup message"},{"message":"Removed category property from functions"},{"message":"Added respondOnEdit as client option"},{"message":"Rearranged functions in categories"},{"message":"Fixed path again"},{"message":"Fixed empty files being used"},{"message":"Fixed command path"},{"message":"Categorized all functions"},{"message":"Added category to functions.json, deleted generateFunctionDoc"},{"message":"Added $arrayRandomIndex, $arrayRandomValue, fixed $platform user arg, deleted $attachments in favor of $messageAttachments"},{"message":"Fixed $guildChannelCount"},{"message":"(Might fix invite system?) Added deprecation warning to ForgeClient#useInviteSystem, implemented ForgeClient#trackers."},{"message":"Introduced breaking change to extensions, added extra command checks and minor improvements"},{"message":"Reorganized structures folder"},{"message":"Fixed version on newer functions"},{"message":"Fixed package.json version"},{"message":"Added few channel, voice, select menu and option functions"},{"message":"Bump 1.4.0"}],"1.5.0":[{"message":"Fixed $memberCustomStatus"},{"message":"Added prefixCaseInsensitive client option"},{"message":"Fixed $deleteMessage always returns 0 for one single deleted message"},{"message":"Added deprecation warning logger to $interactionRequirePremium"},{"message":"Added filters to $clearMessages and $clearUserMessages"},{"message":"Fixed $emojiID not working with app emojis"},{"message":"Added $botDescription, $setBotDescription and $setBotTags"},{"message":"Added $unparseDigital, renamed $isBool to $isBoolean"},{"message":"Fixed $deleteComponent functions can cause empty action rows"},{"message":"Fixed successJSON can't handle BigInts"},{"message":"Fixed automod rule options not being cleared after execution"},{"message":"Fixed $guildMemberCount offline presence not working properly"},{"message":"Added new params to $bar, fixed negative input"},{"message":"Added $arrayFindLastIndex"},{"message":"Updated $arraySplice to now return deleted elements"},{"message":"Added $guildEmojiLimit, $guildStickerLimit and $arrayLastIndexOf"},{"message":"Added optional arg to $guildMemberCount"},{"message":"Added $parseDigital"},{"message":"Added $firstMessageID and $channelPinnedMessages"},{"message":"Added optional direction arg to $loop and fixed iteration count for infinite times"},{"message":"Added $deleteIn"},{"message":"Added optional arg to $authorizingIntegrationOwners"},{"message":"Fixed reactions of messages not properly cached, fixes reaction functions"},{"message":"Added optional reason param to $timeout"},{"message":"Fixed $randomGuildChannelID"},{"message":"Added support for nullable and optional custom func params"},{"message":"Added $interactionRawData"},{"message":"Added $channelPermissionsOf"},{"message":"Added various raw data functions"},{"message":"Added $cloneChannelPerms, small changes and additions"},{"message":"Added some new functions"},{"message":"Added new functions, aliases and parameters"},{"message":"Added more flag functions and $setGuildPausedInvites"},{"message":"Added $isPinned"},{"message":"Added args to $messageType, fixed $messageWebhookID"},{"message":"Added more voice state properties"},{"message":"Fixed emoji functions, added support for app emojis, small changes"},{"message":"Added some new functions and properties"},{"message":"Added $editEmoji, update djs to v14.16.3"},{"message":"Updated invite functions"},{"message":"Fix for previous commit"},{"message":"Added new application command functions"},{"message":"Fixed application command functions"},{"message":"Allowed strings as input for $isInteger and $isFloat"},{"message":"Added $authorizingIntegrationOwners and $context"},{"message":"Added $targetMessageEmbeds, new msg properties and updated $djsEval"},{"message":"Added $targetMessage and more message properties"},{"message":"Added $httpPing"},{"message":"Deprecated $interactionRequirePremium in favor of new premium buttons"},{"message":"Added $httpGetHeader"},{"message":"Added $isRepliable"},{"message":"Added $memberActivity"},{"message":"Added $threadStarterMessageID and fixed thread functions"},{"message":"Added new automod rule events and state functions"},{"message":"Added $tts"},{"message":"Fixed $editButton not allowing empty labels"},{"message":"Added new functions, fixed $editButton, update djs to v14.16.2"},{"message":"Added support for more application command customization"},{"message":"Added $editGuildTemplate"},{"message":"Moved prev wrongly added aliases from $loadEmbeds to $fetchEmbeds"},{"message":"Added $messageEditedAt"},{"message":"Added optional separator arg to $selectMenuValues"},{"message":"Added bunch of new automod rule functions"},{"message":"Renamed func to $setGuildBoostProgressBar"},{"message":"Updated deprecated Emoji#url getter"},{"message":"Added $getApplicationEmojis and small improvements"},{"message":"Update $createInvite to always create unique invites"},{"message":"Optimized $guildBoosterIDs, final commit"},{"message":"Revert prev change"},{"message":"Small change"},{"message":"Fixed $guildBoosterIDs again"},{"message":"Fixed $guildBoosterIDs"},{"message":"Added $threadTotalMessagesSent and small fixes"},{"message":"Added more guild boost functions"},{"message":"Fixed $title doesn't allow empty values"},{"message":"Fixed $guildID and $channelID not working with user installable apps"},{"message":"Added $guildHighestRoleID and $guildLowestRoleID"},{"message":"Fixed prev $ fix caused no note on docs?"},{"message":"Fixed $ sign not escaped properly for GitHub commits"},{"message":"Added $$userReferenceID"},{"message":"Added randomRoleID and optional reason arg to voiceMove"},{"message":"'Added $memberLowestRoleID'"},{"message":"Added guild template funcs and fixed typo"},{"message":"Added \\$lastPinTimestamp and aliases to \\$loadEmbeds"},{"message":"Added optional type param to emoji count funcs"},{"message":"Fixed guild funcs not working within ban events"},{"message":"Added optional asc param to \\$rolePosition"},{"message":"Fixed $arrayAdvancedSort"},{"message":"Added support for SKUIds in addButton funcs"},{"message":"Fixed typo in $decrypt desc"},{"message":"Added new functions and userinstall app support, update djs to v14.16.1"},{"message":"Added $encrypt, $decrypt and $randomBytes"},{"message":"Fi"},{"message":"Added $week"},{"message":"Added $deleteThread"},{"message":"Fix channel id being optional in some funcs"},{"message":"Added $setChannelArchiveDuration"},{"message":"Added another function"},{"message":"New functions some new fields for other functions"},{"message":"Idk"},{"message":"Added modifyforumtag"},{"message":"Fixed fetching messages giving partial ones"},{"message":"Added $isArchived and fix threads no cached"},{"message":"Added hasPoll"},{"message":"More poll functionality"},{"message":"Fixed $pollAnswers emojis not showing up"},{"message":"Added some poll functionality"},{"message":"Skill issue"},{"message":"Updated $createInvite with more parameters"},{"message":"Fixed $applicationCommandOptions and new param"},{"message":"Added new param to $cropText"},{"message":"Added $applicationCommandOptions"},{"message":"Added 2 new fields to $webhookSend"},{"message":"Added entitlement support, updated djs to v14.5"},{"message":"Added @private to some command props"},{"message":"Fixed $escapeCode"},{"message":"Added many new cooldown function utilities"},{"message":"Added new field to $bar, added $advancedBar for complex bars."},{"message":"Introduced count and silent operators"},{"message":"Added $average"},{"message":"fixed parseJSON for numbers"},{"message":"Remove old attachments when editing"},{"message":"Added $reverseText"},{"message":"Fixed $bar again"},{"message":"Fixed $bar not working with multi char strings"},{"message":"Added $gc"},{"message":"Small changes"},{"message":"Added $bar"},{"message":"Fixed compiler attempting to read fields for functions that dont have args"},{"message":"Added new workflow"},{"message":"workflow test | 3#"},{"message":"workflow test | #2"},{"message":"dev workflow | #1"},{"message":"Fixed $editButton and $editButtonOf attempting to set empty fields"},{"message":"Added websocket support"},{"message":"Added many functions to edit components and rows from different messages"},{"message":"Some functions did not allow negation operator, this has been fixed."},{"message":"Added $channelIsChildrenOf"},{"message":"Added $djs and $js aliases to $djsEval"},{"message":"Added $discordAPI as alias to $api"},{"message":"Quick change to $api"},{"message":"Added $api"},{"message":"Updated readme"},{"message":"Bump version"}],"2.1.0":[{"message":"Added $deleteField, updated some descriptions"},{"message":"Removed deprecated djs stuff"},{"message":"Added bunch of new guild functions"},{"message":"Added some shard functions, updated $userBadges"},{"message":"Added $memberBanner, bump versions"}],"2.2.0":[{"message":"Added $djsVersion"},{"message":"Added $forward and new guild functions, djs v14.18"},{"message":"Added more forum functions"},{"message":"Added $jsonHas, fixed other json functions"},{"message":"Added $subtext"},{"message":"Fixed $loadComponents"},{"message":"Added $fetchMessage"},{"message":"Added optional guild arg to $applicationCommands"},{"message":"Added optional param to $applicationCommandCount"},{"message":"Added $pathJoin and $pathResolve"},{"message":"Added $fetchRoles, $fetchChannels and new arg to $fetchMembers"},{"message":"Added new functions and more support for app emojis, fixed some functions"},{"message":"Added bunch of new edit select menu functions"},{"message":"Added $getMessageReactions and new arg to $getMessageReactionCount"},{"message":"Added $getInvite and $getGuildInvite, updated $deleteInvite, added more invite properties"},{"message":"Added sort type to $arraySort"},{"message":"Added functions to enable all buttons and components"},{"message":"Added $disableComponents and $disableComponentsOf"},{"message":"Added $disableButtons and $disableButtonsOf"},{"message":"Added support for return statement in $loop"},{"message":"Added $sign and $pi"},{"message":"Fixed $XExists funcs throw errors in console"},{"message":"Added client webhook event functions"},{"message":"Allowed time changing functions to affect $parseDate locales"},{"message":"Added $ramTotal and some aliases"}],"2.3.0":[{"message":"Small changes, fixed ArgType.Date"},{"message":"Added more stage instance support"},{"message":"Marked affected guild functions as deprecated"},{"message":"Added embed support to $webhookEditMessage"},{"message":"Fixed custom function loader"},{"message":"Comited updates"},{"message":"Bumped to main depency Sucessfully"},{"message":"added $chalkLog"},{"message":"Added alias $weekday to $dayOfWeek"},{"message":"Fixed $poll and $pollAnswer"},{"message":"breaking change: changed behavior of $day, Added $dayOfWeek"},{"message":"Added $clearTimeout and $clearInterval"},{"message":"Added local functions"},{"message":"Added optional type property to custom function params"},{"message":"Fixed $isBanned throws error"},{"message":"Added more interaction member support and new functions, fixed $nickname"},{"message":"Added $stickerURL and new arg to $messageStickers"},{"message":"Small changes and fixes"},{"message":"Required param now affects rest arguments, fixed $advancedBar"},{"message":"Added voiceChannelEffectSend event and $effect"},{"message":"Fixed $hasPerms and $hasAnyPerms"},{"message":"Added more webhook funcs and $followChannel, bump versions"}],"2.4.0":[{"message":"Fixed various component functions","timestamp":"2025-08-22T16:57:22.559Z","author":"xNickyDev"},{"message":"Fixed $getComponents (cv2 support)","timestamp":"2025-08-18T14:03:27.129Z","author":"xNickyDev"},{"message":"Fixed buffers and generating enums","timestamp":"2025-08-15T02:49:33.018Z","author":"xNickyDev"},{"message":"Fixed generating paths","timestamp":"2025-07-29T14:29:25.750Z","author":"xNickyDev"},{"message":"Fixed some time functions","timestamp":"2025-07-20T15:32:18.766Z","author":"xNickyDev"},{"message":"Removed deprecated reason args of thread member functions","timestamp":"2025-07-11T13:54:55.163Z","author":"xNickyDev"},{"message":"Small fixes","timestamp":"2025-07-11T13:19:13.998Z","author":"xNickyDev"},{"message":"Support editing select menus in cv2","timestamp":"2025-07-04T10:42:32.634Z","author":"xNickyDev"},{"message":"Fixed $httpRequest causes crash on error, small other fixes","timestamp":"2025-06-30T14:16:37.284Z","author":"xNickyDev"},{"message":"Added new functions, bump djs","timestamp":"2025-06-26T12:35:03.061Z","author":"xNickyDev"},{"message":"Added $isActivityCommand and \"activityCommand\" type","timestamp":"2025-06-23T13:58:14.934Z","author":"xNickyDev"},{"message":"Allowed components for webhook messages, added threadID to $webhookEditMessage","timestamp":"2025-06-23T01:43:23.580Z","author":"xNickyDev"},{"message":"Added new functions","timestamp":"2025-06-21T23:46:13.433Z","author":"xNickyDev"},{"message":"Added activity support, small fixes","timestamp":"2025-06-17T23:56:50.402Z","author":"xNickyDev"},{"message":"Small changes, bump djs","timestamp":"2025-06-16T16:46:48.122Z","author":"xNickyDev"},{"message":"Added rest option to custom function params","timestamp":"2025-06-11T15:44:19.305Z","author":"xNickyDev"},{"message":"Fixed stacking action rows in containers","timestamp":"2025-06-08T14:45:00.185Z","author":"xNickyDev"},{"message":"Fixed prev change on component builders","timestamp":"2025-06-08T07:54:39.212Z","author":"xNickyDev"},{"message":"Fixed $arrayCreate not defaulting to empty array","timestamp":"2025-06-08T06:55:40.602Z","author":"xNickyDev"},{"message":"Added $messageEmojis","timestamp":"2025-06-07T13:17:03.415Z","author":"xNickyDev"},{"message":"Fixed $guildVanityCode, optimized $unparseDigital","timestamp":"2025-06-06T22:12:53.498Z","author":"xNickyDev"},{"message":"Added $cloneRole, $guildInviteExists and new metadata","timestamp":"2025-06-03T21:24:10.034Z","author":"xNickyDev"},{"message":"Added $guildTemplateCode","timestamp":"2025-05-28T18:33:45.595Z","author":"xNickyDev"},{"message":"Added $typeof, $syncGuildTemplate and new arg to $createGuild","timestamp":"2025-05-28T00:45:57.765Z","author":"xNickyDev"},{"message":"Added $getSnapshots","timestamp":"2025-05-27T17:53:35.939Z","author":"xNickyDev"},{"message":"Restructured changelogs.json","timestamp":"2025-05-24T20:07:12.496Z","author":"xNickyDev"},{"message":"Fixed count operator for empty strings"},{"message":"Added desc arg to $attachment, deleted $test"},{"message":"Fixed $memberAvatar and $memberBanner"},{"message":"Fixed $loadComponents, $fetchResponse, $fetchComponents"},{"message":"Added team functions, changed $loop last arg"},{"message":"Fixed edit component functions, bump djs"},{"message":"Added components v2 support"},{"message":"Added soundboard support, bump versions"}],"2.4.1":[{"message":"Fixed broken legacy component functions","timestamp":"2025-08-22T18:55:42.916Z","author":"xNickyDev"}],"2.5.0":[{"message":"Renamed $fetchGuildPreview to $getGuildPreview","timestamp":"2025-09-26T12:56:54.443Z","author":"xNickyDev"},{"message":"Added new events, optimized fetching app emojis","timestamp":"2025-09-23T13:21:24.285Z","author":"xNickyDev"},{"message":"Added new functions and made small adjustments","timestamp":"2025-09-19T17:28:13.859Z","author":"xNickyDev"},{"message":"Added $channelThreadIDs and $fetchThreads","timestamp":"2025-09-06T10:45:31.870Z","author":"xNickyDev"},{"message":"Added int param to $rolePerms and $memberPerms","timestamp":"2025-09-05T16:33:00.998Z","author":"xNickyDev"},{"message":"better fix of commit command","timestamp":"2025-09-05T13:48:51.528Z","author":"aggelos-007"},{"message":"fix $ issue on commits and fixed generateMetadata","timestamp":"2025-09-05T13:35:48.449Z","author":"aggelos-007"},{"message":"Remove ready event in favor of clientReady","timestamp":"2025-09-05T13:26:40.023Z","author":"xNickyDev"},{"message":"Added $getTextSplitIndex","timestamp":"2025-09-04T16:33:13.538Z","author":"aggelos-007"},{"message":"fix $async","timestamp":"2025-09-02T15:42:45.022Z","author":"aggelos-007"},{"message":"fix $setTimeout & $setInterval","timestamp":"2025-09-02T15:21:04.589Z","author":"aggelos-007"},{"message":"Forum tags overhall and addition","timestamp":"2025-08-30T00:33:32.463Z","author":"xNickyDev"},{"message":"Added $setAuditLogReason","timestamp":"2025-08-29T14:45:48.188Z","author":"xNickyDev"},{"message":"Fixed disabling mentions","timestamp":"2025-08-28T21:14:32.470Z","author":"xNickyDev"},{"message":"Added $getPoll, fixed $botMutualGuilds","timestamp":"2025-08-27T22:27:38.926Z","author":"xNickyDev"},{"message":"fix $eval not fetching enviroment variables on escaped code.","timestamp":"2025-08-26T21:38:30.272Z","author":"aggelos-007"},{"message":"Added $guildInvites and many missing properties","timestamp":"2025-08-24T14:13:51.216Z","author":"xNickyDev"},{"message":"Added $arrayUnique and $hasComponents","timestamp":"2025-08-23T14:12:11.269Z","author":"xNickyDev"},{"message":"Added new features, bump djs","timestamp":"2025-08-23T12:15:35.045Z","author":"xNickyDev"}],"2.6.0":[{"message":"Marked $setCalendar as experimental for now","timestamp":"2026-01-12T09:02:22.657Z","author":"xNickyDev"},{"message":"Clone and revamp local functions","timestamp":"2026-01-12T00:56:50.310Z","author":"xNickyDev"},{"message":"Removed alias $addItem from $addMediaItem","timestamp":"2026-01-10T00:43:09.608Z","author":"xNickyDev"},{"message":"Added $setGuildInvitesDisabled and $setGuildDmsDisabled","timestamp":"2026-01-10T00:04:55.105Z","author":"xNickyDev"},{"message":"Allowed enabling mentions without ids, added $enableAllMentions","timestamp":"2025-12-13T12:41:35.921Z","author":"xNickyDev"},{"message":"Added $silent","timestamp":"2025-12-09T14:28:43.505Z","author":"xNickyDev"},{"message":"Support setting client guild avatar, banner and bio","timestamp":"2025-12-08T22:49:02.585Z","author":"xNickyDev"},{"message":"Fixed $separateNumber and $separateBigint replace minus with sep","timestamp":"2025-11-21T23:58:23.327Z","author":"xNickyDev"},{"message":"Added $emojiAuthorID","timestamp":"2025-11-21T23:41:43.017Z","author":"xNickyDev"},{"message":"Bump djs","timestamp":"2025-11-18T15:13:25.396Z","author":"xNickyDev"},{"message":"Added $roleHasPerms and $roleHasAnyPerms","timestamp":"2025-11-14T22:29:44.291Z","author":"xNickyDev"},{"message":"Added $jsonAssign","timestamp":"2025-11-07T14:09:22.225Z","author":"xNickyDev"},{"message":"Added $getWebhook, small webhook overhall","timestamp":"2025-10-28T22:31:50.048Z","author":"xNickyDev"},{"message":"Added $addFileUpload","timestamp":"2025-10-28T15:35:10.523Z","author":"xNickyDev"},{"message":"Fixed $arrayUnique not working with objects","timestamp":"2025-10-15T13:20:37.754Z","author":"xNickyDev"},{"message":"Added $getAutomodRuleActions","timestamp":"2025-10-15T13:02:15.431Z","author":"xNickyDev"},{"message":"Fixed prev change caused default spoiler on containers","timestamp":"2025-10-15T12:36:37.192Z","author":"xNickyDev"},{"message":"Added $memberBotRoleID","timestamp":"2025-10-14T21:05:28.183Z","author":"xNickyDev"},{"message":"Added scheduled event support","timestamp":"2025-10-14T15:54:00.747Z","author":"xNickyDev"},{"message":"Fixed partySize activity property","timestamp":"2025-10-14T11:13:16.446Z","author":"xNickyDev"},{"message":"Small fixes and improvements","timestamp":"2025-10-13T11:51:33.025Z","author":"xNickyDev"},{"message":"Added new modal components, bump djs","timestamp":"2025-10-10T17:08:57.912Z","author":"xNickyDev"},{"message":"Made some arguments optional when editing buttons/options","timestamp":"2025-09-29T22:31:27.505Z","author":"xNickyDev"},{"message":"added license comments for the files","timestamp":"2025-09-28T19:41:45.883Z","author":"aggelos-007"},{"message":"Fixed $addActionRowTo","timestamp":"2025-09-26T14:47:17.112Z","author":"xNickyDev"}],"2.7.0":[{"message":"Updated commit file, $test","timestamp":"2026-09-05T14:08:48.520Z","author":"xNickyDev"},{"message":"Refactored unprefixed property, added new properties to IBaseCommand","timestamp":"2026-09-04T11:53:11.796Z","author":"xNickyDev"},{"message":"Refactor typingStart event to include all provided data objects","timestamp":"2026-08-23T08:14:14.954Z","author":"xNickyDev"},{"message":"Fixed $botMutualGuilds incorrect filtering","timestamp":"2026-08-23T06:58:43.986Z","author":"xNickyDev"},{"message":"Added many missing properties","timestamp":"2026-08-22T21:31:54.689Z","author":"xNickyDev"},{"message":"Added $fetchSnapshot and $hasSnapshots","timestamp":"2026-08-22T20:21:37.859Z","author":"xNickyDev"},{"message":"Added $getForumTag","timestamp":"2026-08-22T12:07:26.981Z","author":"xNickyDev"},{"message":"Added $guildSystemChannelFlags, $deleteDM, $userURL","timestamp":"2026-08-20T17:24:16.497Z","author":"xNickyDev"},{"message":"Added $threadIsLocked","timestamp":"2026-08-16T11:43:02.350Z","author":"xNickyDev"},{"message":"Restructured condition parameter behavior for custom functions","timestamp":"2026-08-15T14:37:19.650Z","author":"xNickyDev"},{"message":"Added $fetchApplication and $addPermissionOverwrite","timestamp":"2026-08-09T07:48:50.970Z","author":"xNickyDev"},{"message":"Added new features, bump djs","timestamp":"2026-07-15T16:49:25.794Z","author":"xNickyDev"},{"message":"Added new boolean functions and interaction types","timestamp":"2026-07-14T12:47:46.679Z","author":"xNickyDev"},{"message":"Extend ForgeFunction interfaces to support custom properties","timestamp":"2026-06-30T17:06:57.897Z","author":"xNickyDev"},{"message":"Extend Compiler to return raw field value","timestamp":"2026-06-28T09:24:36.171Z","author":"xNickyDev"},{"message":"Added translation metadata","timestamp":"2026-06-14T15:17:10.303Z","author":"xNickyDev"},{"message":"Updated some functions","timestamp":"2026-06-13T16:35:45.771Z","author":"xNickyDev"},{"message":"Rename $kickMember to $kick","timestamp":"2026-05-16T21:59:49.882Z","author":"xNickyDev"},{"message":"Fixed $typeof for NaN input","timestamp":"2026-05-03T21:35:34.791Z","author":"xNickyDev"},{"message":"Fixed $input (issue caused by djs)","timestamp":"2026-04-28T15:33:35.492Z","author":"xNickyDev"},{"message":"Fixed $isUserDMEnabled","timestamp":"2026-04-20T20:45:21.554Z","author":"xNickyDev"},{"message":"Added $localeCompare and $jsonFromEntries","timestamp":"2026-04-16T11:57:08.046Z","author":"xNickyDev"},{"message":"Fixed some file functions","timestamp":"2026-04-16T10:38:38.343Z","author":"xNickyDev"},{"message":"Added new modal components, small refactor","timestamp":"2026-04-03T19:21:23.453Z","author":"xNickyDev"},{"message":"Fixed boolean args of $editRole","timestamp":"2026-03-16T13:33:22.111Z","author":"xNickyDev"},{"message":"Added $arrayFilter, bump versions","timestamp":"2026-02-08T14:00:06.243Z","author":"xNickyDev"},{"message":"Fixed negation and count operator for custom functions","timestamp":"2026-02-07T00:59:23.933Z","author":"xNickyDev"},{"message":"Added $pathExtensionName and $loadEmojiContext","timestamp":"2026-02-06T15:37:22.625Z","author":"xNickyDev"},{"message":"Export more functions for extensions","timestamp":"2026-01-31T13:48:16.904Z","author":"xNickyDev"},{"message":"Added $arrayFind and $arrayFindLast","timestamp":"2026-01-23T15:45:22.430Z","author":"xNickyDev"},{"message":"Fixed $setTimeout and $setInterval cause crash on error","timestamp":"2026-01-16T17:44:02.467Z","author":"xNickyDev"},{"message":"Added $isArray, adjusted parsing of JSON input","timestamp":"2026-01-16T17:12:30.150Z","author":"xNickyDev"}]} \ No newline at end of file diff --git a/metadata/enums.json b/metadata/enums.json index 6c9047d832..7598356618 100644 --- a/metadata/enums.json +++ b/metadata/enums.json @@ -1 +1 @@ -{"SortType":["asc","desc"],"AuditLogEvent":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate"],"AuditProperty":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"AutoModerationActionType":["BlockMessage","SendAlertMessage","Timeout","BlockMemberInteraction"],"AutoModerationRuleTriggerType":["Keyword","Spam","KeywordPreset","MentionSpam","MemberProfile"],"AutoModerationRuleEventType":["MessageSend","MemberUpdate"],"AutomodRuleProperty":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"AutomodRuleActionProperty":["type","channelID","durationSeconds","customMessage"],"AutoModerationRuleKeywordPresetType":["Profanity","SexualContent","Slurs"],"TeamMemberProperty":["id","role","membership"],"ApplicationWebhookEventType":["ApplicationAuthorized","ApplicationDeauthorized","EntitlementCreate","EntitlementUpdate","EntitlementDelete","QuestUserEnrollment"],"ApplicationWebhookEventStatus":["Disabled","Enabled","DisabledByDiscord"],"ActivityType":["Playing","Streaming","Listening","Watching","Custom","Competing"],"Status":["Ready","Connecting","Reconnecting","Idle","Nearly","Disconnected","WaitingForGuilds","Identifying","Resuming"],"PermissionFlagsBits":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"ChannelType":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"ChannelFlags":["GuildFeedRemoved","Pinned","ActiveChannelsRemoved","RequireTag","IsSpam","IsGuildResourceChannel","ClydeAI","IsScheduledForDeletion","HideMediaDownloadOptions"],"PermissionOverwritesProperty":["id","type","allow","deny"],"PermissionsStateType":["allow","deny"],"VoiceRegionType":["brazil","hongkong","india","japan","rotterdam","russia","singapore","south-korea","southafrica","sydney","us-central","us-east","us-south","us-west"],"WebhookProperty":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"StageInstancePrivacyLevel":["Public","GuildOnly"],"ForumLayoutType":["NotSet","ListView","GalleryView"],"SortOrderType":["LatestActivity","CreationDate"],"ThreadAutoArchiveDuration":["OneHour","OneDay","ThreeDays","OneWeek"],"ForumTagProperty":["emoji","id","moderated","name"],"StageProperty":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"VideoQualityMode":["Auto","Full"],"ButtonStyle":["Primary","Secondary","Success","Danger","Link","Premium"],"SeparatorSpacingSize":["Small","Large"],"TextInputStyle":["Short","Paragraph"],"Colors":["Default","White","Aqua","Green","Blue","Yellow","Purple","LuminousVividPink","Fuchsia","Gold","Orange","Red","Grey","Navy","DarkAqua","DarkGreen","DarkBlue","DarkPurple","DarkVividPink","DarkGold","DarkOrange","DarkRed","DarkGrey","DarkerGrey","LightGrey","DarkNavy","Blurple","Greyple","DarkButNotBlack","NotQuiteBlack"],"EmojiType":["normal","animated"],"ApplicationEmojiProperty":["authorID","name","id","identifier","requiresColons","managed","timestamp","animated","url","format"],"EntitlementType":["Purchase","PremiumSubscription","DeveloperGift","TestModePurchase","FreePurchase","UserGift","PremiumPurchase","ApplicationSubscription"],"GuildScheduledEventEntityType":["StageInstance","Voice","External"],"ScheduledEventProperty":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"InviteProperty":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"GuildPreviewProperty":["id","name","description","features","timestamp","icon","splash","emojis","stickers","discoverySplash","approximateMemberCount","approximatePresenceCount"],"TemplateProperty":["code","name","description","guildID","authorID","timestamp","updatedTimestamp","url","usageCount","unSynced"],"GuildDefaultMessageNotifications":["AllMessages","OnlyMentions"],"GuildExplicitContentFilter":["Disabled","MembersWithoutRoles","AllMembers"],"GuildFeature":["AnimatedBanner","AnimatedIcon","ApplicationCommandPermissionsV2","AutoModeration","Banner","Community","CreatorMonetizableProvisional","CreatorStorePage","DeveloperSupportServer","Discoverable","Featurable","HasDirectoryEntry","Hub","InvitesDisabled","InviteSplash","LinkedToHub","MemberVerificationGateEnabled","MoreSoundboard","MonetizationEnabled","MoreStickers","News","Partnered","PreviewEnabled","PrivateThreads","RaidAlertsDisabled","RelayEnabled","RoleIcons","RoleSubscriptionsAvailableForPurchase","RoleSubscriptionsEnabled","Soundboard","TicketedEventsEnabled","VanityURL","Verified","VIPRegions","WelcomeScreenEnabled","GuildTags","EnhancedRoleColors","GuestsEnabled","PinPermissionMigrationComplete"],"GuildMFALevel":["None","Elevated"],"PresenceStatus":["online","idle","dnd","offline"],"GuildNSFWLevel":["Default","Explicit","Safe","AgeRestricted"],"Locale":["Indonesian","EnglishUS","EnglishGB","Bulgarian","ChineseCN","ChineseTW","Croatian","Czech","Danish","Dutch","Finnish","French","German","Greek","Hindi","Hungarian","Italian","Japanese","Korean","Lithuanian","Norwegian","Polish","PortugueseBR","Romanian","Russian","SpanishES","SpanishLATAM","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"SoundboardSoundProperty":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"GuildVerificationLevel":["None","Low","Medium","High","VeryHigh"],"HTTPContentType":["Json","Text"],"AuthorizingIntegrationOwnersType":["Guild","User"],"InteractionContextType":["Guild","BotDM","PrivateChannel"],"MemberProperty":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"MessageProperty":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"EmbedProperty":["title","titleURL","authorName","authorIcon","footerText","image","thumbnail","footerIcon","description","timestamp","authorURL","color","fieldName","fieldInline","fieldValue"],"LogType":["Warn","Deprecated","Debug","Info","Error"],"ChannelProperty":["id","name","type","topic","bitrate","members","timestamp","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked"],"SearchMethodType":["startsWith","endsWith","includes"],"RoleProperty":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"ActivityProperty":["name","type","details","buttons","flags","timestamp","endTimestamp","startTimestamp","partyID","partySize","syncID","url","largeText","largeImage","smallText","smallImage"],"CustomStatusType":["state","emoji"],"GuildMemberFlags":["DidRejoin","CompletedOnboarding","BypassesVerification","StartedOnboarding","IsGuest","StartedHomeActions","CompletedHomeActions","AutomodQuarantinedUsernameOrGuildNickname","AutomodQuarantinedBio","DmSettingsUpsellAcknowledged","AutoModQuarantinedGuildTag"],"ComponentProperty":["id","type","customID","label","style","url","disabled","maxValues","minValues","optionCount","options","optionNames","emoji","optionDescriptions","optionValues","content","accentColor","spoiler","divider","spacing","items","itemUrls","fileUrl","accessory","components","thumbnailUrl"],"ReactionType":["normal","burst"],"ReactionProperty":["emoji","count","burstCount","normalCount","me","meBurst","burstColors"],"PollProperty":["question","layoutType","answers","answerCount","totalVotes","expiresTimestamp","allowMultiselect","resultsFinalized"],"AttachmentFlags":["IsRemix"],"MessageFlags":["Crossposted","IsCrosspost","SuppressEmbeds","SourceMessageDeleted","Urgent","HasThread","Ephemeral","Loading","FailedToMentionSomeRolesInThread","ShouldShowLinkNotDiscordWarning","SuppressNotifications","IsVoiceMessage","HasSnapshot","IsComponentsV2"],"StickerReturnType":["id","url"],"MessageType":["Default","RecipientAdd","RecipientRemove","Call","ChannelNameChange","ChannelIconChange","ChannelPinnedMessage","UserJoin","GuildBoost","GuildBoostTier1","GuildBoostTier2","GuildBoostTier3","ChannelFollowAdd","GuildDiscoveryDisqualified","GuildDiscoveryRequalified","GuildDiscoveryGracePeriodInitialWarning","GuildDiscoveryGracePeriodFinalWarning","ThreadCreated","Reply","ChatInputCommand","ThreadStarterMessage","GuildInviteReminder","ContextMenuCommand","AutoModerationAction","RoleSubscriptionPurchase","InteractionPremiumUpsell","StageStart","StageEnd","StageSpeaker","StageRaiseHand","StageTopic","GuildApplicationPremiumSubscription","GuildIncidentAlertModeEnabled","GuildIncidentAlertModeDisabled","GuildIncidentReportRaid","GuildIncidentReportFalseAlarm","PurchaseNotification","PollResult"],"PollLayoutType":["Default"],"RoleColor":["Primary","Secondary","Tertiary"],"RoleFlags":["InPrompt"],"BulkProperty":["messages","contents","timestamps","attachments","stickers","users","count"],"VoiceEffectProperty":["emoji","channelID","guildID","userID","soundID","soundVolume","animationID","animationType"],"EmojiProperty":["guildID","name","id","authorID","identifier","requiresColons","roles","managed","timestamp","animated","url","format"],"EntitlementProperty":["userID","consumed","guildId","id","skuID","type","endTimestamp","startTimestamp","active","test","guildSubscription","userSubscription"],"GuildProperty":["id","ownerID","name","description","features","afkChannelID","maximumMembers","systemChannelID","afkTimeout","memberCount","boostCount","timestamp","icon","splash","banner","roles","emojis","stickers","boostLevel","discoverySplash","approximateMemberCount","approximatePresenceCount"],"PresenceProperty":["id","guildID","status","platform"],"VoiceStateProperty":["channelID","guildID","authorID","deaf","selfDeaf","guildDeaf","muted","selfMuted","guildMuted","timestamp","selfVideo","streaming","suppressed"],"StickerProperty":["id","name","guildID","authorID","timestamp","url","format","available","tags","sortValue","packID","description"],"SubscriptionProperty":["id","userID","status","country","skuIDs","renewalSkuIDs","entitlementIDs","canceledTimestamp","periodEndTimestamp","periodStartTimestamp"],"UserProperty":["id","username","displayName","globalName","badges","avatar","accentColor","banner","timestamp","dmChannelID","avatarDecoration","primaryGuildTag","primaryGuildBadge","primaryGuildEnabled","primaryGuildID"],"StickerFormatType":["PNG","APNG","Lottie","GIF"],"StickerType":["Standard","Guild"],"BasicTimeFormat":["Numeric","TwoDigit"],"TimestampStyles":["ShortTime","MediumTime","LongTime","ShortDate","LongDate","LongDateShortTime","ShortDateTime","FullDateShortTime","LongDateTime","ShortDateShortTime","ShortDateMediumTime","RelativeTime"],"ExtendedTimeFormat":["Numeric","TwoDigit","Long","Short","Narrow"],"DateType":["LocaleDate","LocaleTime","Locale","Date","ISO","UTC","Time"],"CalendarType":["Buddhist","Chinese","Coptic","Dangi","Ethioaa","Ethiopic","Gregory","Hebrew","Indian","Islamic","IslamicUmalqura","IslamicTbla","IslamicCivil","IslamicRgsa","Iso8601","Japanese","Persian","Roc"],"UserFlags":["Staff","Partner","Hypesquad","BugHunterLevel1","MFASMS","PremiumPromoDismissed","HypeSquadOnlineHouse1","HypeSquadOnlineHouse2","HypeSquadOnlineHouse3","PremiumEarlySupporter","TeamPseudoUser","HasUnreadUrgentMessages","BugHunterLevel2","VerifiedBot","VerifiedDeveloper","CertifiedModerator","BotHTTPInteractions","Spammer","DisablePremium","ActiveDeveloper","Quarantined","Collaborator","RestrictedCollaborator"],"WebhookType":["Incoming","ChannelFollower","Application"],"ConnectionState":["Connecting","Closed","Closing","Open"]} \ No newline at end of file +{"SortType":["asc","desc"],"AuditLogEvent":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate","VoiceChannelStatusCreate","VoiceChannelStatusDelete"],"AuditProperty":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"AutoModerationActionType":["BlockMessage","SendAlertMessage","Timeout","BlockMemberInteraction"],"AutoModerationRuleTriggerType":["Keyword","Spam","KeywordPreset","MentionSpam","MemberProfile"],"AutoModerationRuleEventType":["MessageSend","MemberUpdate"],"AutomodRuleProperty":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"AutomodRuleActionProperty":["type","channelID","durationSeconds","customMessage"],"AutoModerationRuleKeywordPresetType":["Profanity","SexualContent","Slurs"],"TeamMemberProperty":["id","role","membership"],"ApplicationWebhookEventType":["ApplicationAuthorized","ApplicationDeauthorized","EntitlementCreate","EntitlementUpdate","EntitlementDelete","QuestUserEnrollment"],"ApplicationWebhookEventStatus":["Disabled","Enabled","DisabledByDiscord"],"ActivityType":["Playing","Streaming","Listening","Watching","Custom","Competing"],"Status":["Ready","Connecting","Reconnecting","Idle","Nearly","Disconnected","WaitingForGuilds","Identifying","Resuming"],"PermissionFlagsBits":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"ChannelType":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"ChannelFlags":["GuildFeedRemoved","Pinned","ActiveChannelsRemoved","RequireTag","IsSpam","IsGuildResourceChannel","ClydeAI","IsScheduledForDeletion","HideMediaDownloadOptions"],"PermissionOverwritesProperty":["id","type","allow","deny"],"PermissionsStateType":["allow","deny"],"VoiceRegionType":["brazil","hongkong","india","japan","rotterdam","russia","singapore","south-korea","southafrica","sydney","us-central","us-east","us-south","us-west"],"WebhookProperty":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"StageInstancePrivacyLevel":["Public","GuildOnly"],"ForumLayoutType":["NotSet","ListView","GalleryView"],"SortOrderType":["LatestActivity","CreationDate"],"ThreadAutoArchiveDuration":["OneHour","OneDay","ThreeDays","OneWeek"],"ForumTagProperty":["emoji","id","moderated","name"],"StageProperty":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"VideoQualityMode":["Auto","Full"],"ButtonStyle":["Primary","Secondary","Success","Danger","Link","Premium"],"SeparatorSpacingSize":["Small","Large"],"TextInputStyle":["Short","Paragraph"],"Colors":["Default","White","Aqua","Green","Blue","Yellow","Purple","LuminousVividPink","Fuchsia","Gold","Orange","Red","Grey","Navy","DarkAqua","DarkGreen","DarkBlue","DarkPurple","DarkVividPink","DarkGold","DarkOrange","DarkRed","DarkGrey","DarkerGrey","LightGrey","DarkNavy","Blurple","Greyple","DarkButNotBlack","NotQuiteBlack"],"EmojiType":["normal","animated"],"ApplicationEmojiProperty":["authorID","name","id","identifier","requiresColons","managed","timestamp","animated","url","format"],"EntitlementType":["Purchase","PremiumSubscription","DeveloperGift","TestModePurchase","FreePurchase","UserGift","PremiumPurchase","ApplicationSubscription"],"GuildScheduledEventEntityType":["StageInstance","Voice","External"],"ScheduledEventProperty":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"InviteProperty":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"GuildPreviewProperty":["id","name","description","features","timestamp","icon","splash","emojis","stickers","discoverySplash","approximateMemberCount","approximatePresenceCount"],"TemplateProperty":["code","name","description","guildID","authorID","timestamp","updatedTimestamp","url","usageCount","unSynced"],"GuildDefaultMessageNotifications":["AllMessages","OnlyMentions"],"GuildExplicitContentFilter":["Disabled","MembersWithoutRoles","AllMembers"],"GuildFeature":["AnimatedBanner","AnimatedIcon","ApplicationCommandPermissionsV2","AutoModeration","Banner","Community","CreatorMonetizableProvisional","CreatorStorePage","DeveloperSupportServer","Discoverable","Featurable","HasDirectoryEntry","Hub","InvitesDisabled","InviteSplash","LinkedToHub","MemberVerificationGateEnabled","MoreSoundboard","MonetizationEnabled","MoreStickers","News","Partnered","PreviewEnabled","PrivateThreads","RaidAlertsDisabled","RelayEnabled","RoleIcons","RoleSubscriptionsAvailableForPurchase","RoleSubscriptionsEnabled","Soundboard","TicketedEventsEnabled","VanityURL","Verified","VIPRegions","WelcomeScreenEnabled","GuildTags","EnhancedRoleColors","GuestsEnabled","PinPermissionMigrationComplete"],"GuildMFALevel":["None","Elevated"],"PresenceStatus":["online","idle","dnd","offline"],"GuildNSFWLevel":["Default","Explicit","Safe","AgeRestricted"],"Locale":["Indonesian","EnglishUS","EnglishGB","Bulgarian","ChineseCN","ChineseTW","Croatian","Czech","Danish","Dutch","Finnish","French","German","Greek","Hindi","Hungarian","Italian","Japanese","Korean","Lithuanian","Norwegian","Polish","PortugueseBR","Romanian","Russian","SpanishES","SpanishLATAM","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"SoundboardSoundProperty":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"GuildSystemChannelFlags":["SuppressJoinNotifications","SuppressPremiumSubscriptions","SuppressGuildReminderNotifications","SuppressJoinNotificationReplies","SuppressRoleSubscriptionPurchaseNotifications","SuppressRoleSubscriptionPurchaseNotificationReplies"],"GuildVerificationLevel":["None","Low","Medium","High","VeryHigh"],"HTTPContentType":["Json","Text"],"AuthorizingIntegrationOwnersType":["Guild","User"],"InteractionContextType":["Guild","BotDM","PrivateChannel"],"MemberProperty":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","moderatable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"MessageProperty":["id","content","type","flags","username","authorID","channelID","threadID","guildID","webhookID","interactionID","interactionType","timestamp","editTimestamp","hasSnapshots","hasThread","hasPoll","system","pinned","tts","url","attachments","stickers","embeds","crosspostable","deletable","editable","pinnable"],"EmbedProperty":["title","titleURL","authorName","authorIcon","footerText","image","thumbnail","footerIcon","description","timestamp","authorURL","color","fieldName","fieldInline","fieldValue"],"LogType":["Warn","Deprecated","Debug","Info","Error"],"ChannelProperty":["id","name","type","topic","bitrate","members","timestamp","url","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked","deletable","manageable","lastMessageID","lastPinTimestamp"],"SearchMethodType":["startsWith","endsWith","includes"],"RoleProperty":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"ActivityProperty":["name","type","details","buttons","flags","timestamp","endTimestamp","startTimestamp","partyID","partySize","syncID","url","largeText","largeImage","smallText","smallImage"],"CustomStatusType":["state","emoji"],"GuildMemberFlags":["DidRejoin","CompletedOnboarding","BypassesVerification","StartedOnboarding","IsGuest","StartedHomeActions","CompletedHomeActions","AutomodQuarantinedUsernameOrGuildNickname","AutomodQuarantinedBio","DmSettingsUpsellAcknowledged","AutoModQuarantinedGuildTag"],"ComponentProperty":["id","type","customID","label","style","url","disabled","maxValues","minValues","optionCount","options","optionNames","emoji","optionDescriptions","optionValues","content","accentColor","spoiler","divider","spacing","items","itemUrls","fileUrl","accessory","components","thumbnailUrl"],"ClientThemeProperty":["baseMix","baseTheme","gradientAngle","colors"],"ReactionType":["normal","burst"],"ReactionProperty":["emoji","count","burstCount","normalCount","me","meBurst","burstColors"],"PollProperty":["question","layoutType","answers","answerCount","totalVotes","expiresTimestamp","allowMultiselect","resultsFinalized"],"AttachmentFlags":["IsClip","IsThumbnail","IsRemix","IsSpoiler","IsAnimated"],"MessageFlags":["Crossposted","IsCrosspost","SuppressEmbeds","SourceMessageDeleted","Urgent","HasThread","Ephemeral","Loading","FailedToMentionSomeRolesInThread","ShouldShowLinkNotDiscordWarning","SuppressNotifications","IsVoiceMessage","HasSnapshot","IsComponentsV2"],"StickerReturnType":["id","url"],"MessageType":["Default","RecipientAdd","RecipientRemove","Call","ChannelNameChange","ChannelIconChange","ChannelPinnedMessage","UserJoin","GuildBoost","GuildBoostTier1","GuildBoostTier2","GuildBoostTier3","ChannelFollowAdd","GuildDiscoveryDisqualified","GuildDiscoveryRequalified","GuildDiscoveryGracePeriodInitialWarning","GuildDiscoveryGracePeriodFinalWarning","ThreadCreated","Reply","ChatInputCommand","ThreadStarterMessage","GuildInviteReminder","ContextMenuCommand","AutoModerationAction","RoleSubscriptionPurchase","InteractionPremiumUpsell","StageStart","StageEnd","StageSpeaker","StageRaiseHand","StageTopic","GuildApplicationPremiumSubscription","GuildIncidentAlertModeEnabled","GuildIncidentAlertModeDisabled","GuildIncidentReportRaid","GuildIncidentReportFalseAlarm","PurchaseNotification","PollResult"],"PollLayoutType":["Default"],"RoleColor":["Primary","Secondary","Tertiary"],"RoleFlags":["InPrompt"],"BulkProperty":["messages","contents","timestamps","attachments","stickers","users","count"],"VoiceEffectProperty":["emoji","channelID","guildID","userID","soundID","soundVolume","animationID","animationType"],"EmojiProperty":["guildID","name","id","authorID","identifier","requiresColons","roles","managed","timestamp","animated","url","format"],"EntitlementProperty":["userID","consumed","guildId","id","skuID","type","endTimestamp","startTimestamp","active","test","guildSubscription","userSubscription"],"GuildProperty":["id","ownerID","name","nameAcronym","description","timestamp","features","icon","banner","splash","discoverySplash","afkTimeout","afkChannelID","systemChannelID","systemChannelFlags","publicUpdatesChannelID","safetyAlertsChannelID","rulesChannelID","widgetChannelID","widgetEnabled","bans","roles","emojis","stickers","channels","soundboardSounds","autoModerationRules","memberCount","boostCount","boostLevel","mfaLevel","nsfwLevel","verificationLevel","preferredLocale","large","verified","partnered","maximumMembers","maximumStageBitrate","approximateMemberCount","approximatePresenceCount"],"PresenceProperty":["id","guildID","status","platform"],"VoiceStateProperty":["channelID","guildID","authorID","deaf","selfDeaf","guildDeaf","muted","selfMuted","guildMuted","timestamp","selfVideo","streaming","suppressed"],"StickerProperty":["id","name","guildID","authorID","timestamp","url","format","available","tags","sortValue","packID","description"],"SubscriptionProperty":["id","userID","status","country","skuIDs","renewalSkuIDs","entitlementIDs","canceledTimestamp","periodEndTimestamp","periodStartTimestamp"],"UserProperty":["id","tag","username","displayName","globalName","discriminator","timestamp","bot","badges","banner","avatar","avatarDecoration","defaultAvatar","accentColor","dmChannelID","primaryGuildTag","primaryGuildBadge","primaryGuildEnabled","primaryGuildID"],"VoiceServerProperty":["guildID","endpoint","token"],"StickerFormatType":["PNG","APNG","Lottie","GIF"],"StickerType":["Standard","Guild"],"BasicTimeFormat":["Numeric","TwoDigit"],"TimestampStyles":["ShortTime","MediumTime","LongTime","ShortDate","LongDate","LongDateShortTime","ShortDateTime","FullDateShortTime","LongDateTime","ShortDateShortTime","ShortDateMediumTime","RelativeTime"],"ExtendedTimeFormat":["Numeric","TwoDigit","Long","Short","Narrow"],"DateType":["LocaleDate","LocaleTime","Locale","Date","ISO","UTC","Time"],"CalendarType":["Buddhist","Chinese","Coptic","Dangi","Ethioaa","Ethiopic","Gregory","Hebrew","Indian","Islamic","IslamicUmalqura","IslamicTbla","IslamicCivil","IslamicRgsa","Iso8601","Japanese","Persian","Roc"],"UserFlags":["Staff","Partner","Hypesquad","BugHunterLevel1","MFASMS","PremiumPromoDismissed","HypeSquadOnlineHouse1","HypeSquadOnlineHouse2","HypeSquadOnlineHouse3","PremiumEarlySupporter","TeamPseudoUser","HasUnreadUrgentMessages","BugHunterLevel2","VerifiedBot","VerifiedDeveloper","CertifiedModerator","BotHTTPInteractions","Spammer","DisablePremium","ActiveDeveloper","Quarantined","Collaborator","RestrictedCollaborator"],"WebhookType":["Incoming","ChannelFollower","Application"],"ConnectionState":["Connecting","Closed","Closing","Open"]} \ No newline at end of file diff --git a/metadata/events.json b/metadata/events.json index 2c4d1d75f2..48b5656826 100644 --- a/metadata/events.json +++ b/metadata/events.json @@ -1 +1 @@ -[{"name":"autoModerationActionExecution","version":"1.2.0","description":"This event is fired when an automod is fired under a message","intents":["Guilds","AutoModerationExecution"]},{"name":"autoModerationRuleCreate","version":"1.5.0","description":"This event is fired when an automod rule is created","intents":["Guilds","AutoModerationConfiguration"]},{"name":"autoModerationRuleDelete","version":"1.5.0","description":"This event is fired when an automod rule is deleted","intents":["Guilds","AutoModerationConfiguration"]},{"name":"autoModerationRuleUpdate","version":"1.5.0","description":"This event is fired when an automod rule is updated","intents":["Guilds","AutoModerationConfiguration"]},{"name":"channelCreate","version":"1.0.1","description":"This event is fired when a channel is created","intents":["Guilds"]},{"name":"channelDelete","version":"1.0.1","description":"This event is fired when a channel is deleted","intents":["Guilds"]},{"name":"channelPinsUpdate","version":"1.4.0","description":"This event is fired when a channel's pins are updated","intents":["Guilds","DirectMessages"]},{"name":"channelUpdate","version":"1.0.1","intents":["Guilds"],"description":"This event is fired when a channel is updated"},{"name":"clientReady","version":"1.0.1","description":"This event is fired when the bot becomes ready"},{"name":"debug","version":"1.0.1","description":"This event is fired when discord.js sends out debug info"},{"name":"emojiCreate","version":"1.0.1","description":"This event is fired when an emoji is created","intents":["GuildExpressions"]},{"name":"emojiDelete","version":"1.0.1","description":"This event is fired when an emoji is deleted","intents":["GuildExpressions"]},{"name":"emojiUpdate","version":"1.0.1","intents":["GuildExpressions"],"description":"This event is fired when an emoji is updated"},{"name":"entitlementCreate","version":"1.5.0","description":"This event is fired when an entitlement is created"},{"name":"entitlementDelete","version":"1.5.0","description":"This event is fired when an entitlement is deleted"},{"name":"entitlementUpdate","version":"1.5.0","description":"This event is fired when an entitlement is updated"},{"name":"error","version":"1.0.1","description":"This event is fired when an error happens on the client"},{"name":"guildAuditLogEntryCreate","version":"1.0.3","description":"This event is fired when a guild audit log entry is created","intents":["Guilds","GuildModeration"]},{"name":"guildAvailable","version":"1.4.0","description":"This event is fired when a guild becomes available","intents":["Guilds"]},{"name":"guildBanAdd","version":"1.4.0","description":"This event is fired when a member is banned from the guild","intents":["GuildMembers","GuildModeration"]},{"name":"guildBanRemove","version":"1.4.0","description":"This event is fired when a member is unbanned from a guild","intents":["GuildMembers","GuildModeration"]},{"name":"guildCreate","version":"1.0.1","description":"This event is fired when the bot is added to a guild","intents":["Guilds"]},{"name":"guildDelete","version":"1.0.1","description":"This event is fired when a guild is deleted","intents":["Guilds"]},{"name":"guildIntegrationsUpdate","version":"2.5.0","description":"This event is fired when an integration is updated on a guild","intents":["GuildIntegrations"]},{"name":"guildMemberAdd","version":"1.0.1","description":"This event is fired when a member joins the guild","intents":["GuildMembers"]},{"name":"guildMemberAvailable","version":"1.4.0","description":"This event is fired when a member of a guild becomes available","intents":["GuildMembers"]},{"name":"guildMemberRemove","version":"1.0.1","description":"This event is fired when a member leaves, is kicked or banned from a guild","intents":["GuildMembers"]},{"name":"guildMemberUpdate","version":"1.0.1","description":"This event is fired when a member is updated in a guild","intents":["GuildMembers"]},{"name":"guildScheduledEventCreate","version":"1.4.0","description":"This event is called when a scheduled event is created","intents":["GuildScheduledEvents"]},{"name":"guildScheduledEventDelete","version":"1.4.0","description":"This event is called when a scheduled event is deleted","intents":["GuildScheduledEvents"]},{"name":"guildScheduledEventUpdate","version":"1.4.0","description":"This event is called when a scheduled event is updated","intents":["GuildScheduledEvents"]},{"name":"guildScheduledEventUserAdd","version":"1.4.0","description":"This event is called when a user is added to a scheduled event","intents":["GuildScheduledEvents"]},{"name":"guildScheduledEventUserRemove","version":"1.4.0","description":"This event is called when a user is removed from a scheduled event","intents":["GuildScheduledEvents"]},{"name":"guildSoundboardSoundCreate","version":"2.4.0","description":"This event is fired when a soundboard sound is created","intents":["GuildExpressions"]},{"name":"guildSoundboardSoundDelete","version":"2.4.0","description":"This event is fired when a soundboard sound is deleted","intents":["GuildExpressions"]},{"name":"guildSoundboardSoundUpdate","version":"2.4.0","description":"This event is fired when a soundboard sound is updated","intents":["GuildExpressions"]},{"name":"guildUnavailable","version":"1.4.0","description":"This event is fired when a guild becomes unavailable","intents":["Guilds"]},{"name":"guildUpdate","version":"1.0.1","description":"This event is fired when a guild updates their settings","intents":["Guilds"]},{"name":"interactionCreate","version":"1.0.1","description":"This event is fired every time a user uses a slash command, context menu, button, etc"},{"name":"inviteCreate","version":"1.0.3","description":"This event is fired when an invite is created","intents":["Guilds","GuildInvites"]},{"name":"inviteDelete","version":"1.0.3","description":"This event is fired when an invite is deleted","intents":["Guilds","GuildInvites"]},{"name":"messageCreate","version":"1.0.1","description":"This event is fired when someone sends a message","intents":["GuildMessages","DirectMessages"]},{"name":"messageDelete","version":"1.0.1","description":"This event is fired when a message is deleted","intents":["GuildMessages","DirectMessages"]},{"name":"messageDeleteBulk","version":"1.4.0","description":"This event is fired when a row of messages is deleted","intents":["GuildMessages"]},{"name":"messagePollVoteAdd","version":"1.5.0","description":"This event is fired when a poll vote is added","intents":["GuildMessagePolls","DirectMessagePolls"]},{"name":"messagePollVoteRemove","version":"1.5.0","description":"This event is fired when a poll vote is removed","intents":["GuildMessagePolls","DirectMessagePolls"]},{"name":"messageReactionAdd","version":"1.0.1","description":"This event is fired when a reaction is added","intents":["GuildMessageReactions","DirectMessageReactions"]},{"name":"messageReactionRemove","version":"1.0.1","description":"This event is fired when a user stops reacting","intents":["GuildMessageReactions","DirectMessageReactions"]},{"name":"messageReactionRemoveAll","version":"1.4.0","description":"This event is fired when all emojis are removed from a message's reactions","intents":["GuildMessageReactions","DirectMessageReactions"]},{"name":"messageReactionRemoveEmoji","version":"1.4.0","description":"This event is fired when an emoji is removed from a message's reactions","intents":["GuildMessageReactions","DirectMessageReactions"]},{"name":"messageUpdate","version":"1.0.1","description":"This event is fired when a message is updated","intents":["GuildMessages","DirectMessages"]},{"name":"presenceUpdate","version":"1.1.0","description":"This event is fired when a presence is updated","intents":["Guilds","GuildPresences"]},{"name":"roleCreate","version":"1.0.1","description":"This event is fired when a role is created","intents":["Guilds"]},{"name":"roleDelete","version":"1.0.1","description":"This event is fired when a role is deleted","intents":["Guilds"]},{"name":"roleUpdate","version":"1.0.1","description":"This event is fired when a role is updated","intents":["Guilds"]},{"name":"shardDisconnect","version":"1.0.1","description":"This event is fired when a shard is disconnected"},{"name":"shardError","version":"1.0.1","description":"This event is fired when a shard throws an error"},{"name":"shardReady","version":"1.0.1","description":"Event is executed when a shard of this bot becomes ready"},{"name":"shardReconnecting","version":"1.0.1","description":"This event is fired when a shard starts reconnecting"},{"name":"shardResume","version":"1.0.1","description":"This event is fired when a shard starts resuming"},{"name":"stageInstanceCreate","version":"1.4.0","description":"This event is fired when a stage is created","intents":["Guilds"]},{"name":"stageInstanceDelete","version":"1.4.0","description":"This event is fired when a stage is deleted","intents":["Guilds"]},{"name":"stageInstanceUpdate","version":"1.4.0","description":"This event is fired when a stage is updated","intents":["Guilds"]},{"name":"stickerCreate","version":"1.4.0","description":"This event is fired when an sticker is created","intents":["GuildExpressions"]},{"name":"stickerDelete","version":"1.4.0","description":"This event is fired when an sticker is deleted","intents":["GuildExpressions"]},{"name":"stickerUpdate","version":"1.4.0","description":"This event is fired when an sticker is updated","intents":["GuildExpressions"]},{"name":"subscriptionCreate","version":"2.5.0","description":"This event is fired when a subscription is created"},{"name":"subscriptionDelete","version":"2.5.0","description":"This event is fired when a subscription is deleted"},{"name":"subscriptionUpdate","version":"2.5.0","description":"This event is fired when a subscription is updated"},{"name":"threadCreate","version":"1.4.0","description":"This event is fired when a thread is created","intents":["Guilds"]},{"name":"threadDelete","version":"1.4.0","description":"This event is fired when a thread is deleted","intents":["Guilds"]},{"name":"threadMemberUpdate","version":"1.0.1","description":"This event is fired when a thread member is updated in a guild","intents":["Guilds","GuildMembers"]},{"name":"threadUpdate","version":"1.4.0","intents":["Guilds"],"description":"This event is fired when a thread is updated"},{"name":"typingStart","version":"1.4.0","description":"This event is fired when a user starts typing","intents":["GuildMessageTyping","DirectMessageTyping"]},{"name":"userUpdate","version":"1.0.1","description":"This event is fired when a user updates their profile","intents":["GuildMembers"]},{"name":"voiceChannelEffectSend","version":"2.3.0","description":"This event is fired when a user sends an effect in a voice channel","intents":["GuildVoiceStates"]},{"name":"voiceStateUpdate","version":"1.0.1","description":"This event is fired when a user joins/leaves a voice channel","intents":["GuildVoiceStates"]},{"name":"webhooksUpdate","version":"2.5.0","description":"This event is fired when a webhook is updated","intents":["GuildWebhooks"]}] \ No newline at end of file +[{"name":"autoModerationActionExecution","version":"1.2.0","description":"This event is fired when an automod is fired under a message","intents":["Guilds","AutoModerationExecution"]},{"name":"autoModerationRuleCreate","version":"1.5.0","description":"This event is fired when an automod rule is created","intents":["Guilds","AutoModerationConfiguration"]},{"name":"autoModerationRuleDelete","version":"1.5.0","description":"This event is fired when an automod rule is deleted","intents":["Guilds","AutoModerationConfiguration"]},{"name":"autoModerationRuleUpdate","version":"1.5.0","description":"This event is fired when an automod rule is updated","intents":["Guilds","AutoModerationConfiguration"]},{"name":"channelCreate","version":"1.0.1","description":"This event is fired when a channel is created","intents":["Guilds"]},{"name":"channelDelete","version":"1.0.1","description":"This event is fired when a channel is deleted","intents":["Guilds"]},{"name":"channelPinsUpdate","version":"1.4.0","description":"This event is fired when a channel's pins are updated","intents":["Guilds","DirectMessages"]},{"name":"channelUpdate","version":"1.0.1","intents":["Guilds"],"description":"This event is fired when a channel is updated"},{"name":"clientReady","version":"1.0.1","description":"This event is fired when the bot becomes ready"},{"name":"debug","version":"1.0.1","description":"This event is fired when discord.js sends out debug info"},{"name":"emojiCreate","version":"1.0.1","description":"This event is fired when an emoji is created","intents":["GuildExpressions"]},{"name":"emojiDelete","version":"1.0.1","description":"This event is fired when an emoji is deleted","intents":["GuildExpressions"]},{"name":"emojiUpdate","version":"1.0.1","intents":["GuildExpressions"],"description":"This event is fired when an emoji is updated"},{"name":"entitlementCreate","version":"1.5.0","description":"This event is fired when an entitlement is created"},{"name":"entitlementDelete","version":"1.5.0","description":"This event is fired when an entitlement is deleted"},{"name":"entitlementUpdate","version":"1.5.0","description":"This event is fired when an entitlement is updated"},{"name":"error","version":"1.0.1","description":"This event is fired when an error happens on the client"},{"name":"guildAuditLogEntryCreate","version":"1.0.3","description":"This event is fired when a guild audit log entry is created","intents":["Guilds","GuildModeration"]},{"name":"guildAvailable","version":"1.4.0","description":"This event is fired when a guild becomes available","intents":["Guilds"]},{"name":"guildBanAdd","version":"1.4.0","description":"This event is fired when a member is banned from the guild","intents":["GuildMembers","GuildModeration"]},{"name":"guildBanRemove","version":"1.4.0","description":"This event is fired when a member is unbanned from a guild","intents":["GuildMembers","GuildModeration"]},{"name":"guildCreate","version":"1.0.1","description":"This event is fired when the bot is added to a guild","intents":["Guilds"]},{"name":"guildDelete","version":"1.0.1","description":"This event is fired when a guild is deleted","intents":["Guilds"]},{"name":"guildIntegrationsUpdate","version":"2.5.0","description":"This event is fired when an integration is updated on a guild","intents":["GuildIntegrations"]},{"name":"guildMemberAdd","version":"1.0.1","description":"This event is fired when a member joins the guild","intents":["GuildMembers"]},{"name":"guildMemberAvailable","version":"1.4.0","description":"This event is fired when a member of a guild becomes available","intents":["GuildMembers"]},{"name":"guildMemberRemove","version":"1.0.1","description":"This event is fired when a member leaves, is kicked or banned from a guild","intents":["GuildMembers"]},{"name":"guildMemberUpdate","version":"1.0.1","description":"This event is fired when a member is updated in a guild","intents":["GuildMembers"]},{"name":"guildScheduledEventCreate","version":"1.4.0","description":"This event is called when a scheduled event is created","intents":["GuildScheduledEvents"]},{"name":"guildScheduledEventDelete","version":"1.4.0","description":"This event is called when a scheduled event is deleted","intents":["GuildScheduledEvents"]},{"name":"guildScheduledEventUpdate","version":"1.4.0","description":"This event is called when a scheduled event is updated","intents":["GuildScheduledEvents"]},{"name":"guildScheduledEventUserAdd","version":"1.4.0","description":"This event is called when a user is added to a scheduled event","intents":["GuildScheduledEvents"]},{"name":"guildScheduledEventUserRemove","version":"1.4.0","description":"This event is called when a user is removed from a scheduled event","intents":["GuildScheduledEvents"]},{"name":"guildSoundboardSoundCreate","version":"2.4.0","description":"This event is fired when a soundboard sound is created","intents":["GuildExpressions"]},{"name":"guildSoundboardSoundDelete","version":"2.4.0","description":"This event is fired when a soundboard sound is deleted","intents":["GuildExpressions"]},{"name":"guildSoundboardSoundUpdate","version":"2.4.0","description":"This event is fired when a soundboard sound is updated","intents":["GuildExpressions"]},{"name":"guildUnavailable","version":"1.4.0","description":"This event is fired when a guild becomes unavailable","intents":["Guilds"]},{"name":"guildUpdate","version":"1.0.1","description":"This event is fired when a guild updates their settings","intents":["Guilds"]},{"name":"interactionCreate","version":"1.0.1","description":"This event is fired every time a user uses a slash command, context menu, button, etc"},{"name":"inviteCreate","version":"1.0.3","description":"This event is fired when an invite is created","intents":["Guilds","GuildInvites"]},{"name":"inviteDelete","version":"1.0.3","description":"This event is fired when an invite is deleted","intents":["Guilds","GuildInvites"]},{"name":"messageCreate","version":"1.0.1","description":"This event is fired when someone sends a message","intents":["GuildMessages","DirectMessages","MessageContent"]},{"name":"messageDelete","version":"1.0.1","description":"This event is fired when a message is deleted","intents":["GuildMessages","DirectMessages"]},{"name":"messageDeleteBulk","version":"1.4.0","description":"This event is fired when a row of messages is deleted","intents":["GuildMessages"]},{"name":"messagePollVoteAdd","version":"1.5.0","description":"This event is fired when a poll vote is added","intents":["GuildMessagePolls","DirectMessagePolls"]},{"name":"messagePollVoteRemove","version":"1.5.0","description":"This event is fired when a poll vote is removed","intents":["GuildMessagePolls","DirectMessagePolls"]},{"name":"messageReactionAdd","version":"1.0.1","description":"This event is fired when a reaction is added","intents":["GuildMessageReactions","DirectMessageReactions"]},{"name":"messageReactionRemove","version":"1.0.1","description":"This event is fired when a user stops reacting","intents":["GuildMessageReactions","DirectMessageReactions"]},{"name":"messageReactionRemoveAll","version":"1.4.0","description":"This event is fired when all emojis are removed from a message's reactions","intents":["GuildMessageReactions","DirectMessageReactions"]},{"name":"messageReactionRemoveEmoji","version":"1.4.0","description":"This event is fired when an emoji is removed from a message's reactions","intents":["GuildMessageReactions","DirectMessageReactions"]},{"name":"messageUpdate","version":"1.0.1","description":"This event is fired when a message is updated","intents":["GuildMessages","DirectMessages"]},{"name":"presenceUpdate","version":"1.1.0","description":"This event is fired when a presence is updated","intents":["Guilds","GuildPresences"]},{"name":"roleCreate","version":"1.0.1","description":"This event is fired when a role is created","intents":["Guilds"]},{"name":"roleDelete","version":"1.0.1","description":"This event is fired when a role is deleted","intents":["Guilds"]},{"name":"roleUpdate","version":"1.0.1","description":"This event is fired when a role is updated","intents":["Guilds"]},{"name":"shardDisconnect","version":"1.0.1","description":"This event is fired when a shard is disconnected"},{"name":"shardError","version":"1.0.1","description":"This event is fired when a shard throws an error"},{"name":"shardReady","version":"1.0.1","description":"Event is executed when a shard of this bot becomes ready"},{"name":"shardReconnecting","version":"1.0.1","description":"This event is fired when a shard starts reconnecting"},{"name":"shardResume","version":"1.0.1","description":"This event is fired when a shard starts resuming"},{"name":"stageInstanceCreate","version":"1.4.0","description":"This event is fired when a stage is created","intents":["Guilds"]},{"name":"stageInstanceDelete","version":"1.4.0","description":"This event is fired when a stage is deleted","intents":["Guilds"]},{"name":"stageInstanceUpdate","version":"1.4.0","description":"This event is fired when a stage is updated","intents":["Guilds"]},{"name":"stickerCreate","version":"1.4.0","description":"This event is fired when an sticker is created","intents":["GuildExpressions"]},{"name":"stickerDelete","version":"1.4.0","description":"This event is fired when an sticker is deleted","intents":["GuildExpressions"]},{"name":"stickerUpdate","version":"1.4.0","description":"This event is fired when an sticker is updated","intents":["GuildExpressions"]},{"name":"subscriptionCreate","version":"2.5.0","description":"This event is fired when a subscription is created"},{"name":"subscriptionDelete","version":"2.5.0","description":"This event is fired when a subscription is deleted"},{"name":"subscriptionUpdate","version":"2.5.0","description":"This event is fired when a subscription is updated"},{"name":"threadCreate","version":"1.4.0","description":"This event is fired when a thread is created","intents":["Guilds"]},{"name":"threadDelete","version":"1.4.0","description":"This event is fired when a thread is deleted","intents":["Guilds"]},{"name":"threadMemberUpdate","version":"1.0.1","description":"This event is fired when a thread member is updated in a guild","intents":["Guilds","GuildMembers"]},{"name":"threadUpdate","version":"1.4.0","intents":["Guilds"],"description":"This event is fired when a thread is updated"},{"name":"typingStart","version":"1.4.0","description":"This event is fired when a user starts typing in a channel","intents":["GuildMessageTyping","DirectMessageTyping"]},{"name":"userUpdate","version":"1.0.1","description":"This event is fired when a user updates their profile","intents":["GuildMembers"]},{"name":"voiceChannelEffectSend","version":"2.3.0","description":"This event is fired when a user sends an effect in a voice channel","intents":["GuildVoiceStates"]},{"name":"voiceServerUpdate","version":"2.7.0","description":"This event is fired when a voice server is updated","intents":["GuildVoiceStates"]},{"name":"voiceStateUpdate","version":"1.0.1","description":"This event is fired when a user joins/leaves a voice channel","intents":["GuildVoiceStates"]},{"name":"webhooksUpdate","version":"2.5.0","description":"This event is fired when a webhook is updated","intents":["GuildWebhooks"]}] \ No newline at end of file diff --git a/metadata/functions.json b/metadata/functions.json index e26ffc9b5a..93799a6a8f 100644 --- a/metadata/functions.json +++ b/metadata/functions.json @@ -1 +1 @@ -[{"name":"$advancedTextSplit","version":"1.4.0","description":"Split and get all at the same time multiple times","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to use","rest":false,"required":true,"type":"String"},{"name":"split;index","rest":true,"type":"String","required":true,"description":"The split followed by the index to get"}],"output":["String"],"category":"array"},{"name":"$arrayAdvancedSort","version":"1.4.0","description":"Advanced array sort","unwrap":false,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"var1","description":"The $env variable 1 to hold x value","rest":false,"type":"String","required":true},{"name":"var2","description":"The $env variable 2 to hold y value","rest":false,"type":"String","required":true},{"name":"code","description":"Optional code to use for sorting, previous 2 vars must have been given","rest":false,"type":"String","required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"output":["Json"],"category":"array"},{"name":"$arrayAt","version":"1.0.0","description":"Returns the element at given index","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"index","type":"Number","description":"The index to get the element of","rest":false,"required":true}],"output":["Unknown"],"category":"array"},{"name":"$arrayClear","version":"1.0.0","description":"Clears all elements from an array","unwrap":true,"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayConcat","version":"1.0.0","description":"Concat arrays and load them into another variable","unwrap":true,"args":[{"name":"variable","description":"The variable to load the result to, leave empty to return output","rest":false,"required":false,"type":"String"},{"name":"variables","description":"The variable names to concat","rest":true,"type":"String","required":true}],"output":["Json"],"brackets":true,"category":"array"},{"name":"$arrayCreate","version":"1.4.0","aliases":["$arrayNew","$arrayInit"],"brackets":true,"description":"Initializes an array and loads it to a variable","args":[{"name":"variable","description":"The variable to load it to, accessed with $env","type":"String","rest":false,"required":true},{"name":"length","description":"The default length of the array, defaults to 0","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"array"},{"name":"$arrayEvery","version":"1.0.0","description":"Loops through every element of the array with a condition that must pass every element","unwrap":false,"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"brackets":true,"category":"array"},{"name":"$arrayFill","version":"1.4.0","brackets":true,"description":"Fills an array with given value","args":[{"name":"variable","description":"The variable to load array from","type":"String","rest":false,"required":true},{"name":"value","description":"The value to fill the array with","rest":false,"required":true,"type":"Json"}],"unwrap":true,"category":"array"},{"name":"$arrayFindIndex","version":"1.0.0","description":"Finds the index of a first found element in the array","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayFindLastIndex","version":"1.5.0","description":"Finds the index of a last found element in the array","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayForEach","version":"1.0.0","description":"Loops through every element of the array","unwrap":false,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayIncludes","version":"1.0.0","description":"Checks whether a value exists in an array","unwrap":true,"output":["Boolean"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"value","description":"The value to check for","rest":false,"type":"String","required":true}],"brackets":true,"category":"array"},{"name":"$arrayIndexOf","version":"1.0.0","description":"Gets the index of a first found element in the array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"value","description":"The exact value to get its index","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayJoin","version":"1.0.0","description":"Joins all elements from an array with given separator","unwrap":true,"output":["Unknown[]"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every element","rest":false,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLastIndexOf","version":"1.5.0","description":"Gets the index of a last found element in the array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"value","description":"The exact value to get its last index","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLength","version":"1.0.0","description":"Returns the numbers of elements in an array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLoad","version":"1.0.0","description":"Loads an array to an environment variable","args":[{"name":"variable","description":"The variable name to load this array to","required":true,"rest":false,"type":"String"},{"name":"separator","description":"The separator to use for the array elements","rest":false,"type":"String","required":false},{"name":"values","description":"The elements of the array","rest":true,"type":"String"}],"unwrap":true,"brackets":true,"category":"array"},{"name":"$arrayMap","version":"1.0.0","description":"Maps through every element of the array and loads the results to another array","unwrap":false,"output":["Json"],"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The other variable to load the result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPop","version":"1.0.0","description":"Deletes the last element of the array and returns it","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPush","version":"1.0.0","description":"Appends an element to an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the end of the array","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPushJSON","version":"1.3.0","description":"Appends an element to an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the end of the array","rest":true,"required":true,"type":"Json"}],"brackets":true,"category":"array"},{"name":"$arrayRandomIndex","version":"1.4.0","description":"Returns a random index","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arrayRandomValue","version":"1.4.0","description":"Returns a random element","unwrap":true,"output":["Unknown"],"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arrayReduce","version":"1.0.0","description":"Reduces an array of elements and returns the result","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The other variable to load the second element to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element, must return a number","rest":false,"required":true,"type":"String"},{"name":"default value","description":"The default value, defaults to 0","rest":false,"type":"Number"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayReverse","version":"1.0.0","description":"Reverses an array and loads it to another variable","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable where the array is held","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","rest":false,"type":"String","required":false}],"output":["Json"],"category":"array"},{"name":"$arrayShift","version":"1.0.0","description":"Deletes the first element of the array and returns it","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayShuffle","version":"1.4.0","description":"Shuffles given array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arraySlice","version":"1.0.0","description":"Slices an array and loads it to another variable","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable where the array is held","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","rest":false,"type":"String","required":false},{"name":"start","description":"The start index to slice","rest":false,"required":true,"type":"Number"},{"name":"end","description":"The end index to slice","rest":false,"type":"Number"}],"output":["Json"],"category":"array"},{"name":"$arraySome","version":"1.0.0","description":"Loops through every element of the array to find a match","unwrap":false,"output":["Boolean"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arraySort","version":"1.2.0","description":"Sorts given array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"},{"name":"sort type","description":"The sort type, omit to use default sort order","rest":false,"type":"Enum","enum":["asc","desc"],"enumName":"SortType"}],"output":["Json"],"category":"array"},{"name":"$arraySplice","version":"1.0.0","description":"Removes x elements starting from y index, returns deleted elements","unwrap":true,"output":["Json"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"index","description":"The start index","rest":false,"required":true,"type":"Number"},{"name":"delete count","description":"The number of items to delete","required":true,"rest":false,"type":"Number"},{"name":"elements","description":"The elements to insert in the deleted indexes","rest":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayUnique","version":"2.5.0","description":"Removes duplicate elements from the array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"output":["Json"],"category":"array"},{"name":"$arrayUnload","version":"1.0.0","description":"Unloads an array from an environment variable","args":[{"name":"variable","description":"The variable name to unload this array from","required":true,"rest":false,"type":"String"}],"unwrap":true,"brackets":true,"category":"array"},{"name":"$arrayUnshift","version":"1.0.0","description":"Adds elements to the beginning of an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the start of the array","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayUnshiftJSON","version":"1.3.0","description":"Adds elements to the beginning of an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the start of the array","rest":true,"required":true,"type":"Json"}],"brackets":true,"category":"array"},{"name":"$getSplitTextLength","version":"1.4.0","description":"Gets count of elements from $textSplit","aliases":["$getTextSplitLength"],"output":["Number"],"unwrap":false,"category":"array"},{"name":"$getTextSplitIndex","version":"2.5.0","description":"Gets the index of a textSplit element","aliases":["$getSplitTextIndex"],"brackets":true,"unwrap":true,"args":[{"name":"element","description":"The element to get index of","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$segmentTextSplit","version":"1.5.0","description":"Creates an array on given text using segmenter","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to split","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$splitText","version":"1.2.0","description":"Gets element of textSplit","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"index","description":"The index to get split at","rest":false,"required":true,"type":"Number"}],"category":"array"},{"name":"$splitTextJoin","version":"1.4.0","description":"Joins all elements from array with given separator","unwrap":true,"aliases":["$textSplitJoin"],"output":["Unknown[]"],"args":[{"name":"separator","description":"The separator to use for every element","rest":false,"type":"String","required":true}],"brackets":true,"category":"array"},{"name":"$textSplit","version":"1.2.0","description":"Creates an array on given text with a separator","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to split","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$fetchAuditLog","version":"1.4.0","description":"Fetches an audit log using the type of it","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate"],"enumName":"AuditLogEvent"},{"name":"property","description":"The property to pull from the audit log","rest":false,"required":true,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"enumName":"AuditProperty"},{"name":"index","description":"The index of the entry to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use in case of array output","type":"String","rest":false}],"category":"audit"},{"name":"$fetchAuditLogCount","version":"1.4.0","description":"Fetches audit log count using the type of it","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate"],"enumName":"AuditLogEvent"},{"name":"user","rest":false,"description":"The user to filter by","type":"User"}],"category":"audit"},{"name":"$fetchUserAuditLog","version":"1.4.0","description":"Fetches an audit log from a user using the type of it","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"user","rest":false,"description":"The user to filter by","type":"User"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate"],"enumName":"AuditLogEvent"},{"name":"property","description":"The property to pull from the audit log","rest":false,"required":true,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"enumName":"AuditProperty"},{"name":"index","description":"The index of the entry to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use in case of array output","type":"String","rest":false}],"category":"audit"},{"name":"$setAuditLogReason","version":"2.5.0","description":"Sets the reason for audit log entries","brackets":true,"unwrap":true,"args":[{"name":"reason","description":"The reason to set","rest":false,"required":true,"type":"String"}],"category":"audit"},{"name":"$automodActionType","version":"1.2.0","description":"Returns the action type automod used","unwrap":false,"output":["AutoModerationActionType"],"category":"automod"},{"name":"$automodAlertSystemMessageID","version":"1.2.0","description":"Returns the message sent by automod","unwrap":false,"output":["Message"],"category":"automod"},{"name":"$automodChannelID","version":"1.2.0","description":"Returns the channel id for automod","unwrap":false,"output":["Channel"],"category":"automod"},{"name":"$automodContent","version":"1.2.0","description":"Returns the content automod acted upon","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodCustomMessage","version":"1.2.0","description":"Returns the custom message used by automod on this detection","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodDuration","version":"1.2.0","description":"Returns the duration in ms by this automod action","unwrap":false,"output":["Number"],"category":"automod"},{"name":"$automodMatchedContent","version":"1.2.0","description":"Returns the matched content automod acted upon","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodMatchedKeyword","version":"1.2.0","description":"Returns the matched keyword the automod caught","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodRuleID","version":"1.2.0","description":"Returns the rule id used by automod","unwrap":false,"output":["AutomodRule"],"category":"automod"},{"name":"$automodRuleTriggerType","version":"1.2.0","description":"Returns the rule trigger type used by automod","unwrap":false,"output":["AutoModerationRuleTriggerType"],"category":"automod"},{"name":"$createAutomodRule","version":"1.5.0","description":"Creates a new automod rule for a guild, returns rule id","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create automod rule on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name of the automod rule","rest":false,"required":true,"type":"String"},{"name":"trigger","description":"The trigger type of the automod rule","rest":false,"required":true,"type":"Enum","enum":["Keyword","Spam","KeywordPreset","MentionSpam","MemberProfile"],"enumName":"AutoModerationRuleTriggerType"},{"name":"event","description":"The event type of the automod rule","rest":false,"required":true,"type":"Enum","enum":["MessageSend","MemberUpdate"],"enumName":"AutoModerationRuleEventType"},{"name":"enabled","description":"Whether the automod rule should be enabled","rest":false,"required":false,"type":"Boolean"},{"name":"reason","description":"The reason for creating the automod rule","rest":false,"required":false,"type":"String"}],"output":["AutomodRule"],"category":"automod"},{"name":"$deleteAutomodRule","version":"1.5.0","description":"Deletes an automod rule from a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to delete automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to delete","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"reason","description":"The reason for deleting the rule","rest":false,"type":"String"}],"output":["Boolean"],"category":"automod"},{"name":"$editAutomodRule","version":"1.5.0","description":"Edits an automod rule on a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to edit automod rule on","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to edit","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"name","description":"The new name for the automod rule","rest":false,"type":"String"},{"name":"event","description":"The new event type for the automod rule","rest":false,"type":"Enum","enum":["MessageSend","MemberUpdate"],"enumName":"AutoModerationRuleEventType"},{"name":"enabled","description":"Whether the automod rule should be enabled","rest":false,"required":false,"type":"Boolean"},{"name":"reason","description":"The reason for editing the automod rule","rest":false,"required":false,"type":"String"}],"output":["Boolean"],"category":"automod"},{"name":"$getAutomodRule","version":"1.5.0","description":"Returns an automod rule of a guild","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to get automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to get","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"property","description":"The property of the automod rule to return","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown"],"category":"automod"},{"name":"$getAutomodRuleActions","version":"2.6.0","description":"Returns the actions of an automod rule from a guild","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to get automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to get its actions","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"property","description":"The property of each action to return","rest":false,"type":"Enum","enum":["type","channelID","durationSeconds","customMessage"],"enumName":"AutomodRuleActionProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"automod"},{"name":"$setAutomodAction","version":"1.5.0","description":"Sets a new action for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"type","description":"The type of the automod rule action","rest":false,"required":true,"type":"Enum","enum":["BlockMessage","SendAlertMessage","Timeout","BlockMemberInteraction"],"enumName":"AutoModerationActionType"},{"name":"channel ID","description":"The channel to which content will be logged","rest":false,"type":"Channel"},{"name":"duration","description":"The timeout duration in seconds","rest":false,"type":"Number"},{"name":"message","description":"The custom message that is shown whenever a message is blocked","rest":false,"type":"String"}],"category":"automod"},{"name":"$setAutomodAllowList","version":"1.5.0","description":"Sets allowed words for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"words","description":"The words to allow and whitelist","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodExemptChannels","version":"1.5.0","description":"Sets exempt channels for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"channels","description":"The channels that should not be affected by the automod rule","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodExemptRoles","version":"1.5.0","description":"Sets exempt roles for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"roles","description":"The roles that should not be affected by the automod rule","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodKeywordFilter","version":"1.5.0","description":"Sets disallowed words for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"words","description":"The words to disallow and blacklist","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodMentionRaidProtection","version":"1.5.0","description":"Sets mention raid protection for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"enabled","description":"Whether to enable mention raid protection","rest":false,"required":true,"type":"Boolean"}],"category":"automod"},{"name":"$setAutomodMentionTotalLimit","version":"1.5.0","description":"Sets a total mention limit for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"limit","description":"The limit of mentions to set","rest":false,"required":true,"type":"Number"}],"category":"automod"},{"name":"$setAutomodPresets","version":"1.5.0","description":"Sets preset keyword wordsets for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"presets","description":"The preset keyword types to set","rest":true,"required":true,"type":"Enum","enum":["Profanity","SexualContent","Slurs"],"enumName":"AutoModerationRuleKeywordPresetType"}],"category":"automod"},{"name":"$setAutomodRegexFilter","version":"1.5.0","description":"Sets regex filter for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"regexes","description":"The regexes to use for filtering","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$applicationCommandCount","version":"1.4.0","aliases":["$slashCommandCount"],"description":"Returns the amount of application commands registered by this bot","output":["Number"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get application command count from","rest":false,"type":"Guild"},{"name":"count sub","description":"Whether to count sub commands","rest":false,"type":"Boolean"}],"category":"bot"},{"name":"$applicationCommands","version":"1.5.0","description":"Returns all application commands","output":["Json"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get application commands from","rest":false,"required":true,"type":"Guild"}],"category":"bot"},{"name":"$botCount","version":"1.0.0","description":"Returns the bot count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botCustomInvite","version":"1.5.0","description":"Returns the client's custom invite link","unwrap":false,"aliases":["$clientCustomInvite"],"output":["URL"],"category":"bot"},{"name":"$botDescription","version":"1.5.0","aliases":["$clientDescription"],"description":"Returns the description of the bot","unwrap":false,"output":["String"],"category":"bot"},{"name":"$botDestroy","version":"1.0.0","aliases":["$clientDestroy"],"description":"Destroys the discord.js client","unwrap":false,"category":"bot"},{"name":"$botID","version":"1.0.0","description":"Returns the client's id","unwrap":false,"aliases":["$clientID"],"output":["User"],"category":"bot"},{"name":"$botInvite","version":"1.0.0","description":"Returns a bot's invite link","brackets":false,"unwrap":true,"aliases":["$clientInvite","$getBotInvite"],"args":[{"name":"perms","description":"The perms for the invite link","rest":true,"type":"String","required":true}],"output":["URL"],"category":"bot"},{"name":"$botMutualGuilds","version":"1.5.0","aliases":["$clientMutualGuilds"],"description":"Returns the client's mutual guilds with a user","unwrap":true,"args":[{"name":"user ID","description":"The user to get mutual guilds from","rest":false,"required":true,"type":"User"},{"name":"separator","description":"The separator to use for every guild","rest":false,"type":"String"}],"brackets":false,"output":["Guild[]"],"category":"bot"},{"name":"$botOwnerID","version":"1.0.0","description":"Returns the bot's owner id or team members","brackets":false,"aliases":["$clientOwnerID"],"args":[{"name":"return members","description":"Whether to return all members","rest":false,"required":false,"type":"Boolean"},{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"unwrap":true,"category":"bot"},{"name":"$botTags","version":"1.5.0","description":"Returns the client tags","unwrap":true,"aliases":["$clientTags"],"args":[{"name":"separator","description":"The separator to use for every tag","rest":false,"type":"String"}],"brackets":false,"output":["String[]"],"category":"bot"},{"name":"$botTeamCreatedAt","version":"2.4.0","description":"Returns the client's team creation timestamp","aliases":["$clientTeamCreatedAt"],"unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botTeamID","version":"2.4.0","description":"Returns the client's team id","aliases":["$clientTeamID"],"unwrap":false,"output":["String"],"category":"bot"},{"name":"$botTeamIcon","version":"2.4.0","description":"Returns the client's team icon","aliases":["$clientTeamIcon"],"unwrap":true,"brackets":false,"args":[{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"category":"bot"},{"name":"$botTeamMembers","version":"2.4.0","description":"Returns the client's team members","aliases":["$clientTeamMembers"],"unwrap":true,"brackets":false,"args":[{"name":"property","description":"The property of each team member to return","rest":false,"required":true,"type":"Enum","enum":["id","role","membership"],"enumName":"TeamMemberProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"bot"},{"name":"$botTeamName","version":"2.4.0","description":"Returns the client's team name","aliases":["$clientTeamName"],"unwrap":false,"output":["String"],"category":"bot"},{"name":"$botToken","version":"1.0.0","description":"Returns the client token","unwrap":false,"aliases":["$clientToken"],"output":["String"],"category":"bot"},{"name":"$botUserAuthorizationCount","version":"2.4.0","aliases":["$clientUserAuthorizationCount"],"description":"Returns the user authorization count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botUserInstallCount","version":"1.5.0","aliases":["$clientUserInstallCount"],"description":"Returns the user install count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botWebhookEvents","version":"2.2.0","description":"Returns the client webhook event types","aliases":["$clientWebhookEvents"],"unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every type","rest":false,"type":"String"}],"output":["ApplicationWebhookEventType[]"],"category":"bot"},{"name":"$botWebhookStatus","version":"2.2.0","description":"Returns the client webhook event status","unwrap":false,"aliases":["$clientWebhookStatus"],"output":["ApplicationWebhookEventStatus"],"category":"bot"},{"name":"$botWebhookURL","version":"2.2.0","description":"Returns the client webhook event url","unwrap":false,"aliases":["$clientWebhookURL"],"output":["URL"],"category":"bot"},{"name":"$deleteGlobalApplicationCommands","version":"2.3.0","description":"Deletes all global commands of your bot","unwrap":false,"output":["Boolean"],"category":"bot"},{"name":"$extensionVersion","version":"1.4.0","brackets":true,"unwrap":true,"description":"Returns the version an extension is running on","output":["String"],"args":[{"name":"name","description":"The extension name to retrieve its version","rest":false,"required":true,"type":"String"}],"category":"bot"},{"name":"$hasExtension","version":"1.2.0","description":"Checks whether client has an extension","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The extension name to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$ping","version":"1.0.0","description":"The current bot ping","unwrap":false,"aliases":["$clientPing","$botPing"],"output":["Number"],"category":"bot"},{"name":"$setBotAvatar","version":"1.0.0","description":"Sets the bot profile icon","brackets":true,"unwrap":true,"aliases":["$setClientAvatar"],"args":[{"name":"url","description":"The icon url","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotBanner","version":"1.5.0","description":"Sets the bot banner","brackets":true,"unwrap":true,"aliases":["$setClientBanner"],"args":[{"name":"url","description":"The banner url","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotDescription","version":"1.5.0","description":"Sets the bot description","aliases":["$setClientDescription"],"brackets":true,"unwrap":true,"args":[{"name":"description","description":"The new description","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildAvatar","version":"2.6.0","description":"Sets the bot avatar on a guild","brackets":true,"unwrap":true,"aliases":["$setClientGuildAvatar"],"args":[{"name":"guild ID","description":"The guild to set avatar on","rest":false,"required":true,"type":"Guild"},{"name":"url","description":"The icon url","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildBanner","version":"2.6.0","description":"Sets the bot banner on a guild","brackets":true,"unwrap":true,"aliases":["$setClientGuildBanner"],"args":[{"name":"guild ID","description":"The guild to set banner on","rest":false,"required":true,"type":"Guild"},{"name":"url","description":"The banner url","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildDescription","version":"2.6.0","description":"Sets the bot description on a guild","aliases":["$setBotGuildBio","$setClientGuildBio","$setClientGuildDescription"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to set description on","rest":false,"required":true,"type":"Guild"},{"name":"description","description":"The new description","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotName","version":"1.0.0","description":"Sets the bot name","brackets":true,"unwrap":true,"aliases":["$setClientName"],"args":[{"name":"name","description":"The new name","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotTags","version":"1.5.0","description":"Sets the bot tags","aliases":["$setClientTags"],"brackets":true,"unwrap":true,"args":[{"name":"tags","description":"The new tags","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setStatus","version":"1.0.0","description":"Sets the client's status","unwrap":true,"aliases":["$setBotStatus","$setClientStatus"],"args":[{"name":"presence","description":"The presence status","type":"String","rest":false,"required":true},{"name":"type","description":"The activity type","rest":false,"type":"Enum","enum":["Playing","Streaming","Listening","Watching","Custom","Competing"],"required":true,"enumName":"ActivityType"},{"name":"name","description":"The status name","rest":false,"type":"String","required":true},{"name":"state","description":"The status state","rest":false,"type":"String"},{"name":"url","description":"The url to use for the stream","rest":false,"type":"String"}],"brackets":true,"category":"bot"},{"name":"$shardCount","version":"2.1.0","aliases":["$botShardCount","$clientShardCount"],"description":"Returns the shard count of the client","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$shardID","version":"1.0.0","aliases":["$botShardIDs","$clientShardIDs"],"description":"Returns the shard id of the client","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["Number"],"category":"bot"},{"name":"$shardStatus","version":"2.1.0","aliases":["$botShardStatus","$clientShardStatus"],"description":"Returns the shard status of the client","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every status","rest":false,"type":"String"}],"output":["Status[]"],"category":"bot"},{"name":"$updateApplicationCommands","version":"1.2.0","description":"Updates application commands, also registers new ones","unwrap":false,"category":"bot"},{"name":"$updateCommands","version":"1.0.2","description":"Updates bot commands, also registers new ones","unwrap":false,"category":"bot"},{"name":"$uptime","version":"1.0.0","aliases":["$botUptime","$clientUptime"],"output":["Number"],"description":"Returns the bots uptime","unwrap":false,"category":"bot"},{"name":"$version","version":"1.0.0","description":"Returns the package version the client is using","unwrap":false,"output":["String"],"aliases":["$packageVersion"],"category":"bot"},{"name":"$bufferAlloc","version":"1.1.0","description":"Allocates given number of bytes in a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable to load it to, accessed with $env[]","rest":false,"required":true,"type":"String"},{"name":"bytes","description":"The number of bytes to alloc","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferAllocUnsafe","version":"1.1.0","description":"Unsafely allocates given number of bytes in a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable to load it to, accessed with $env[]","rest":false,"required":true,"type":"String"},{"name":"bytes","description":"The number of bytes to alloc","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferLength","version":"1.1.0","description":"Returns the length of a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false}],"output":["Number"],"category":"buffer"},{"name":"$bufferReadInt32","version":"1.2.0","description":"Reads int from a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start reading at","required":true,"type":"Number","rest":false}],"output":["Number"],"category":"buffer"},{"name":"$bufferReadUtf8","version":"1.1.0","description":"Reads utf8 string from a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start reading at","required":true,"type":"Number","rest":false},{"name":"end index","description":"The index to end reading at","required":false,"type":"Number","rest":false}],"output":["String"],"category":"buffer"},{"name":"$bufferResize","version":"1.1.0","description":"Resizes a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"length","description":"The new length for this buffer","required":true,"type":"Number","rest":false}],"category":"buffer"},{"name":"$bufferToString","version":"1.1.0","description":"Stringifies a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"encoding","description":"The encoding to stringify with","type":"String","rest":false}],"output":["String"],"category":"buffer"},{"name":"$bufferWriteInt32","version":"1.2.0","description":"Writes int32 to a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start writing on","required":true,"type":"Number","rest":false},{"name":"int","description":"The int to write","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferWriteUtf8","version":"1.1.0","description":"Writes utf8 string to a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start writing on","required":true,"type":"Number","rest":false},{"name":"text","description":"The text to write","type":"String","rest":false,"required":true}],"category":"buffer"},{"name":"$addChannelPerms","version":"1.0.3","description":"Adds permission overwrites to a channel, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to add perms to","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to add these perms to","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to add to the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"channel"},{"name":"$addPostTags","version":"1.5.0","description":"Adds tags to a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to edit tags on"},{"name":"reason","description":"The reason for adding post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$addThreadMember","version":"1.0.0","description":"Adds a member to a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The thread to add member to","rest":false,"required":true,"type":"Channel"},{"name":"user ID","pointer":0,"description":"The member to add","rest":false,"required":true,"type":"Member"}],"category":"channel"},{"name":"$archiveThread","version":"1.0.0","aliases":["$archivePost"],"description":"Archives a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to archive","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to archive this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelBitrate","version":"1.4.0","description":"Returns the bitrate of the voice channel","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelCategoryID","version":"1.0.0","description":"Returns the channel category id","aliases":["$channelParentID"],"unwrap":true,"brackets":false,"output":["Channel"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelChildrenCount","version":"1.0.3","description":"Returns the amount of children this category has","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"channel ID","description":"The category to get its child count","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelChildrenIDs","version":"1.0.3","description":"Returns the children ids this category has","brackets":false,"output":["Channel[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The category to get its children","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelCount","version":"1.0.0","description":"Returns the channel count of all servers","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"categories","description":"The categories to filter by","rest":true,"required":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"type":"Enum","enumName":"ChannelType"}],"category":"channel"},{"name":"$channelCreatedAt","version":"1.0.0","description":"Returns the channel timestamp","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelDeletable","version":"2.4.0","description":"Returns whether the channel is deletable","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["Boolean"],"category":"channel"},{"name":"$channelExists","version":"1.0.0","description":"Returns whether a channel id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to check","rest":false,"required":true,"type":"String"}],"category":"channel"},{"name":"$channelFlags","version":"1.5.0","description":"Returns the flags of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["ChannelFlags[]"],"category":"channel"},{"name":"$channelFull","version":"1.4.0","description":"Returns whether the voice channel is full","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelGuildID","version":"1.0.0","description":"Returns the channel guild id","unwrap":true,"output":["Guild"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelHasAnyPerms","version":"1.4.0","aliases":["$channelHasAnyPerm"],"description":"Returns whether role or member has any of the perms in a channel","output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"permissions","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"brackets":true,"category":"channel"},{"name":"$channelHasPerms","version":"1.4.0","description":"Returns whether role or member has perms in a channel","output":["Boolean"],"aliases":["$hasChannelPerm","$hasChannelPerms"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"permissions","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"brackets":true,"category":"channel"},{"name":"$channelID","version":"1.0.0","description":"Gets the channel id of a channel name","unwrap":true,"output":["Channel"],"brackets":false,"args":[{"name":"name","description":"The channel name to get its id","required":true,"rest":true,"type":"String"}],"category":"channel"},{"name":"$channelIDs","version":"1.3.0","unwrap":true,"brackets":false,"output":["Channel[]"],"description":"Returns every channel id","args":[{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelIsChildrenOf","version":"1.5.0","aliases":["$isChildrenOf"],"description":"Checks whether given channel is a children of a category","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to know if is children of category","rest":false,"type":"Channel","required":true},{"name":"category ID","description":"The category to check against","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelJoinable","version":"1.4.0","description":"Returns whether the voice channel is joinable by the bot","unwrap":true,"output":["Boolean"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelManageable","version":"2.4.0","description":"Returns whether the channel is manageable","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["Boolean"],"category":"channel"},{"name":"$channelMembers","version":"1.5.0","description":"Returns the members of a channel","unwrap":true,"output":["Member[]"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel to get its members","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelNSFW","version":"1.0.0","description":"Returns whether the channel is nsfw","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelName","version":"1.0.0","description":"Returns the channel name","unwrap":true,"output":["String"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelNames","version":"1.0.0","description":"Returns the channel names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the channels of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each channel","rest":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$channelPermissions","version":"1.5.0","description":"Returns all permission overwrites of a channel","aliases":["$channelPerms","$channelOverwrites"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"property","description":"The property of the overwrites to return","rest":false,"required":true,"type":"Enum","enum":["id","type","allow","deny"],"enumName":"PermissionOverwritesProperty"},{"name":"separator","description":"The separator to use for every overwrite","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"channel"},{"name":"$channelPermissionsFor","version":"1.4.0","description":"Returns permissions for a role or member in a channel","aliases":["$channelPermsFor","$memberChannelPerms","$roleChannelPerms"],"output":["PermissionFlagsBits[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms for","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every perm","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$channelPermissionsOf","version":"1.5.0","description":"Returns specific permissions of a role or member in a channel","aliases":["$channelPermsOf"],"output":["PermissionFlagsBits[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"state","description":"The state of the perms to return","rest":false,"required":true,"type":"Enum","enum":["allow","deny"],"enumName":"PermissionsStateType"},{"name":"separator","description":"The separator to use for every perm","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$channelPinnedMessages","version":"1.5.0","description":"Returns the pinned messages of a channel","brackets":false,"aliases":["$pinnedMessages"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull pinned messages from","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for each message id","rest":false,"type":"String"}],"output":["Message[]"],"category":"channel"},{"name":"$channelPosition","version":"1.0.3","description":"Returns the channel position","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel to get its position","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelRawData","version":"1.5.0","description":"Returns the raw data of a channel","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get raw data from","type":"Channel"}],"output":["Json"],"category":"channel"},{"name":"$channelSlowmode","version":"1.5.0","description":"Returns the channel slowmode in seconds","unwrap":true,"output":["Number"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel to get its slowmode","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$channelTags","version":"1.0.3","description":"Retrieves tags from a forum thread","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to get tags of","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for every tag","rest":false,"type":"String"}],"output":["ForumTag[]"],"category":"channel"},{"name":"$channelThreadIDs","version":"2.5.0","description":"Returns the thread ids of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get its threads","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every thread","rest":false,"type":"String"}],"output":["Channel[]"],"category":"channel"},{"name":"$channelTopic","version":"1.0.0","description":"Returns the channel topic","unwrap":true,"output":["String"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelType","version":"1.0.0","description":"Returns the channel type","unwrap":true,"output":["ChannelType"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelURL","version":"2.4.0","description":"Returns the url of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["URL"],"category":"channel"},{"name":"$channelUserLimit","version":"1.4.0","description":"Returns the user limit of the voice channel","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelVoiceMemberCount","version":"1.4.0","description":"Returns the member count that are connected to this voice channel","unwrap":true,"aliases":["$channelMemberCount"],"output":["Number"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelVoiceMemberIDs","version":"1.4.0","description":"Returns the members that are connected to this voice channel","unwrap":true,"aliases":["$channelMemberIDs"],"output":["Member[]"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true},{"name":"separator","rest":false,"description":"Separator to use for every id","required":false,"type":"String"}],"category":"channel"},{"name":"$channelVoiceRegion","version":"1.5.0","description":"Returns the region of a voice channel","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to get its region","rest":false,"required":true,"type":"Channel"}],"output":["VoiceRegionType"],"category":"channel"},{"name":"$channelWebhooks","version":"2.3.0","description":"Returns all webhooks of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get its webhooks","rest":false,"type":"Channel","required":true},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"channel"},{"name":"$clearChannelPerms","version":"1.0.3","description":"Deletes all permission overwrites from the channel or given id, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to delete perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to delete all perms for","rest":false,"required":false,"type":"String"}],"category":"channel"},{"name":"$clearMessages","version":"1.0.0","description":"Clears x amount of messages from a channel, returns the number of messages deleted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to clear messages on","required":true,"rest":false,"type":"Channel"},{"name":"amount","description":"The amount of messages to delete","rest":false,"required":true,"type":"Number"},{"name":"delete pinned","description":"Whether to delete pinned messages","rest":false,"type":"Boolean"},{"name":"delete bots","description":"Whether to delete messages of bots","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$clearUserMessages","version":"1.0.0","description":"Clears x amount of messages from a channel of given user, returns the number of messages deleted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to clear messages on","required":true,"rest":false,"type":"Channel"},{"name":"user ID","description":"The user to delete their messages","required":true,"rest":false,"type":"User"},{"name":"amount","description":"The amount of messages to delete","rest":false,"required":true,"type":"Number"},{"name":"delete pinned","description":"Whether to delete pinned messages","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$cloneChannel","version":"1.4.0","description":"Clones the given channel","brackets":true,"output":["Channel"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clone","type":"Channel","rest":false,"required":true},{"name":"name","description":"The name for the cloned channel","type":"String","rest":false}],"category":"channel"},{"name":"$cloneChannelPerms","version":"1.5.0","description":"Clones the given channel's perms to another channel, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clone its perms","type":"Channel","rest":false,"required":true},{"name":"channel ID","description":"The other channel to set new perms for","type":"Channel","rest":false,"required":true}],"output":["Boolean"],"category":"channel"},{"name":"$createChannel","version":"1.0.0","description":"Creates a channel in a guild, returns the channel id","unwrap":true,"brackets":true,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to create this channel on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the channel","rest":false,"required":true,"type":"String"},{"name":"type","description":"The type of the channel, some are not supported","rest":false,"type":"Enum","enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"enumName":"ChannelType"},{"name":"topic","description":"The topic for the channel","rest":false,"type":"String"},{"name":"parent ID","description":"The parent id for the channel","rest":false,"type":"Channel","pointer":0}],"category":"channel"},{"name":"$createForumPost","version":"1.0.0","description":"Creates a forum post, returns the post channel id","unwrap":true,"output":["Channel"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The channel to create a post on"},{"name":"title","description":"The post title","rest":false,"required":true,"type":"String"},{"name":"description","description":"The post description","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$createForumTag","version":"2.5.0","description":"Creates a forum tag, returns tag id","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to create tag on","rest":false,"required":true,"type":"Channel"},{"name":"name","description":"The name for the tag","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji for the tag","rest":false,"type":"String"},{"name":"moderated","description":"Whether the tag can only be applied by mods","rest":false,"type":"Boolean"}],"output":["ForumTag"],"category":"channel"},{"name":"$createInvite","version":"1.1.0","brackets":true,"description":"Creates an invite, returns the invite code","unwrap":true,"output":["Invite"],"args":[{"name":"channel ID","description":"The channel to make the invite for","rest":false,"required":true,"type":"Channel"},{"name":"max uses","description":"The max amount of uses for this invite","rest":false,"type":"Number"},{"name":"max age","description":"The max age for this invite","rest":false,"type":"Number"},{"name":"reason","description":"The reason for creating this invite","rest":false,"type":"String"}],"category":"channel"},{"name":"$createStageInstance","version":"2.3.0","description":"Creates a new stage instance, returns instance id","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to create stage instance on","rest":false,"required":true,"type":"Channel"},{"name":"topic","description":"The topic of the stage instance","rest":false,"required":true,"type":"String"},{"name":"privacy level","description":"The privacy level of the stage instance","rest":false,"type":"Enum","enum":["Public","GuildOnly"],"enumName":"StageInstancePrivacyLevel"},{"name":"notify","description":"Whether to notify @everyone that the stage instance has started","rest":false,"type":"Boolean"},{"name":"event ID","description":"The scheduled event associated with the stage instance","rest":false,"type":"ScheduledEvent","pointer":0,"pointerProperty":"guild"}],"output":["StageInstance"],"category":"channel"},{"name":"$createThread","version":"1.0.3","description":"Creates a thread, returns thread channel id on success","unwrap":true,"output":["Channel"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to create the thread at","rest":false,"type":"Channel"},{"name":"name","description":"The name for the thread","rest":false,"type":"String","required":true},{"name":"message ID","description":"The message to start thread for","rest":false,"pointer":0,"type":"Message"},{"name":"private","description":"Whether this thread is private","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for creating thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$deleteChannelPerms","version":"1.0.3","description":"Deletes some permission overwrites from a channel, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clear perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to clear these perms for","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to clear from the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$deleteChannels","version":"1.0.5","description":"Deletes given channels, returns the count of channels deleted","aliases":["$deleteChannel"],"brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"channels","description":"The channels to delete","rest":true,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$deleteForumTags","version":"2.5.0","description":"Deletes tags from a forum, returns bool","aliases":["$deleteForumTag"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to delete tags from","rest":false,"required":true,"type":"Channel"},{"name":"tags","description":"The tags to delete","rest":true,"required":true,"type":"ForumTag","pointer":0}],"output":["Boolean"],"category":"channel"},{"name":"$deleteStageInstance","version":"2.3.0","description":"Deletes a stage instance, returns bool","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to delete","rest":false,"required":true,"type":"StageInstance"}],"output":["Boolean"],"category":"channel"},{"name":"$deleteThread","version":"1.5.0","description":"Deletes a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to delete","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to delete this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$dmChannelID","version":"1.0.0","description":"Returns the dm channel id of a user","brackets":false,"output":["Channel"],"unwrap":true,"args":[{"name":"user ID","description":"User to get the dm channel","rest":false,"required":true,"type":"User"}],"category":"channel"},{"name":"$editForumTag","version":"2.5.0","description":"Edits an existing forum tag, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to edit tag on","rest":false,"required":true,"type":"Channel"},{"name":"tag ID","description":"The tag to edit","rest":false,"required":true,"type":"ForumTag","pointer":0},{"name":"name","description":"The new name for the tag","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for the tag","rest":false,"type":"String"},{"name":"moderated","description":"Whether the tag can only be applied by mods","rest":false,"type":"Boolean"}],"output":["Boolean"],"category":"channel"},{"name":"$editStageInstance","version":"2.3.0","description":"Edits a stage instance, returns bool","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to edit","rest":false,"required":true,"type":"StageInstance"},{"name":"topic","description":"The new topic of the stage instance","rest":false,"type":"String"},{"name":"privacy level","description":"The new privacy level of the stage instance","rest":false,"type":"Enum","enum":["Public","GuildOnly"],"enumName":"StageInstancePrivacyLevel"}],"output":["Boolean"],"category":"channel"},{"name":"$fetchChannels","version":"2.2.0","description":"Caches all channels of a guild","aliases":["$fetchChannel"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache channels of","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The channel to fetch","rest":false,"type":"Channel","pointer":0}],"category":"channel"},{"name":"$fetchThreads","version":"2.5.0","description":"Caches all threads of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to cache its threads","rest":false,"type":"Channel","required":true},{"name":"archived","description":"Whether to cache archived threads, otherwise active","rest":false,"type":"Boolean"},{"name":"private","description":"Whether to cache archived private threads, otherwise public","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$firstMessageID","version":"1.5.0","description":"Returns the first message sent in a channel","brackets":false,"aliases":["$channelFirstMessageID"],"unwrap":true,"output":["Message"],"args":[{"name":"channel ID","description":"The channel to pull first message from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$followChannel","version":"2.3.0","description":"Follows given announcement channel, returns webhook id","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to follow","type":"Channel","rest":false,"required":true},{"name":"channel ID","description":"The channel to crosspost messages in","type":"Channel","rest":false,"required":true},{"name":"reason","description":"The reason for following the channel","type":"String","rest":false}],"output":["Webhook"],"category":"channel"},{"name":"$forumDefaultLayout","version":"2.2.0","description":"Returns the default layout of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default layout from","rest":false,"type":"Channel","required":true}],"output":["ForumLayoutType"],"category":"channel"},{"name":"$forumDefaultReactionEmoji","version":"2.2.0","description":"Returns the default reaction emoji of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default reaction emoji from","rest":false,"type":"Channel","required":true}],"output":["String"],"category":"channel"},{"name":"$forumDefaultSortOrder","version":"2.2.0","description":"Returns the default sort order of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default sort order from","rest":false,"type":"Channel","required":true}],"output":["SortOrderType"],"category":"channel"},{"name":"$forumDefaultThreadArchiveDuration","version":"2.2.0","description":"Returns the default auto archive duration for threads of a forum","aliases":["$forumDefaultThreadAutoArchiveDuration"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default sort order from","rest":false,"type":"Channel","required":true}],"output":["ThreadAutoArchiveDuration"],"category":"channel"},{"name":"$forumDefaultThreadSlowmode","version":"2.2.0","description":"Returns the default slowmode for threads of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default slowmode from","rest":false,"type":"Channel","required":true}],"output":["Number"],"category":"channel"},{"name":"$forumTags","version":"1.5.0","description":"Returns all available tags of a forum","unwrap":true,"output":["Json","Unknown[]"],"args":[{"name":"channel ID","description":"The channel to get tags of","rest":false,"type":"Channel","required":true},{"name":"property","description":"The property to return for every tag","rest":false,"type":"Enum","enum":["emoji","id","moderated","name"],"enumName":"ForumTagProperty"},{"name":"separator","description":"The separator to use for every tag property","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$getStageInstance","version":"2.3.0","description":"Returns a stage instance of a guild","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to get","rest":false,"required":true,"type":"StageInstance"},{"name":"property","description":"The property of the stage instance to return","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"enumName":"StageProperty"}],"output":["Json","Unknown"],"category":"channel"},{"name":"$getThreadMembers","version":"1.0.0","description":"Gets thread members","brackets":true,"output":["Member[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The thread to pull members from","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator for every id","rest":false,"type":"String"}],"category":"channel"},{"name":"$guildChannelID","version":"1.4.0","description":"Gets the guild channel id of a channel name","unwrap":true,"output":["Channel"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to use","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The channel name to get its id","required":true,"rest":false,"type":"String"}],"category":"channel"},{"name":"$lastMessageID","version":"1.2.0","brackets":false,"aliases":["$channelLastMessageID"],"unwrap":true,"output":["Message"],"description":"Returns the latest message sent in a channel","args":[{"name":"channel ID","description":"The channel to pull last message from","rest":false,"required":true,"type":"Channel"},{"name":"user ID","description":"The user id to get its last message sent","rest":false,"required":false,"type":"User"}],"category":"channel"},{"name":"$lastPinTimestamp","version":"1.5.0","aliases":["$channelLastPinTimestamp"],"unwrap":true,"brackets":false,"output":["Number"],"description":"Returns the latest pin timestamp of a channel","args":[{"name":"channel ID","description":"The channel to pull last pin from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$lockThread","version":"1.5.0","aliases":["$lockPost"],"description":"Locks a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to lock","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to lock this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$modifyChannelPerms","version":"1.4.0","description":"Modifies given channel perms for a role or user","aliases":["$editChannelPerms"],"unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The channel to modify perms for"},{"name":"roleOrUser","description":"The role or user to modify perms for","rest":false,"required":true,"pointer":0,"pointerProperty":"guild","type":"RoleOrUser"},{"name":"perms","rest":true,"required":true,"type":"OverwritePermission","description":"The permissions to allow, nullify or disallow, (+,/,-)Perm","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$modifyPostTags","version":"1.5.0","aliases":["$editPostTags"],"description":"Modifies tags of a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to edit tags on"},{"name":"reason","description":"The reason for modifying post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$randomChannelID","version":"1.0.3","description":"Returns a random channel ID","unwrap":true,"brackets":false,"args":[{"name":"types","description":"The channel types to get an id from","type":"Enum","rest":true,"required":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"enumName":"ChannelType"}],"output":["Channel"],"category":"channel"},{"name":"$randomGuildChannelID","version":"1.0.3","description":"Returns a random channel ID of a guild","unwrap":true,"brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to get channel from","rest":false,"required":true,"type":"Guild"},{"name":"types","description":"The channel types to get an id from","type":"Enum","rest":true,"required":false,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"enumName":"ChannelType"}],"category":"channel"},{"name":"$removeChannelPerms","version":"1.0.3","description":"Removes permission overwrites from a channel, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to remove perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to remove these perms from","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to remove from the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$removeThreadMember","version":"1.0.0","description":"Removes a member from a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The thread to remove member from","rest":false,"required":true,"type":"Channel"},{"name":"user ID","pointer":0,"description":"The member to remove","rest":false,"required":true,"type":"Member"}],"category":"channel"},{"name":"$sendMessage","aliases":["$channelSendMessage"],"version":"1.0.0","description":"Sends a message to a channel","unwrap":true,"output":["Message"],"args":[{"name":"channel ID","description":"The channel to send this message to","required":true,"type":"Channel","rest":false},{"name":"content","description":"The content for the message","type":"String","rest":false},{"name":"return message ID","description":"Whether to return the message id of the newly sent message","rest":false,"type":"Boolean"}],"brackets":true,"category":"channel"},{"name":"$setChannelArchiveDuration","version":"1.5.0","description":"Modifies a channel's archive duration","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","type":"Channel","description":"The channel to modify","rest":false,"required":true},{"name":"duration","description":"The new duration of archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setChannelCategory","version":"1.5.0","aliases":["$setChannelParent"],"description":"Sets a channel's category, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its category","rest":false,"type":"Channel","required":true},{"name":"category ID","description":"The category to set","rest":false,"type":"Channel"}],"category":"channel"},{"name":"$setChannelNSFW","version":"1.0.0","description":"Sets a channel nsfw state, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its nsfw state","rest":false,"type":"Channel","required":true},{"name":"state","description":"The state to set","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$setChannelName","version":"1.0.0","description":"Sets a channel name, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its name","rest":false,"type":"Channel","required":true},{"name":"name","description":"The name to set","rest":false,"required":true,"type":"String"}],"category":"channel"},{"name":"$setChannelSlowmode","version":"1.0.0","description":"Sets a channel slowmode, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its nsfw state","rest":false,"type":"Channel","required":true},{"name":"seconds","description":"The number of seconds per message","rest":false,"type":"Number"}],"category":"channel"},{"name":"$setChannelTopic","version":"1.0.0","description":"Sets a channel topic, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its topic","rest":false,"type":"Channel","required":true},{"name":"topic","description":"The topic to set","rest":false,"type":"String"}],"category":"channel"},{"name":"$setDefaultForumLayout","version":"2.2.0","description":"Sets a forum's default layout of posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"layout","description":"The new default layout","rest":false,"required":true,"type":"Enum","enum":["NotSet","ListView","GalleryView"],"enumName":"ForumLayoutType"},{"name":"reason","description":"The reason for modifying default layout","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultReactionEmoji","version":"2.2.0","description":"Sets a forum's default reaction emoji for posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"emoji","description":"The new default reaction emoji","rest":false,"type":"String"},{"name":"reason","description":"The reason for modifying default emoji","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultSortOrder","version":"2.2.0","description":"Sets a forum's default sort order of posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"layout","description":"The new default sort order, leave empty to reset","rest":false,"type":"Enum","enum":["LatestActivity","CreationDate"],"enumName":"SortOrderType"},{"name":"reason","description":"The reason for modifying default sort order","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultThreadArchiveDuration","version":"1.5.0","description":"Sets a forum's default auto archive duration of posts","unwrap":true,"output":["Boolean"],"aliases":["$setDefaultThreadAutoArchiveDuration"],"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","type":"Channel","rest":false,"required":true},{"name":"duration","description":"The new duration of auto archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setDefaultThreadSlowmode","version":"2.2.0","description":"Sets a forum's default slowmode for posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"seconds","description":"The new default slowmode","rest":false,"required":true,"type":"Number"},{"name":"reason","description":"The reason for modifying default slowmode","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setPostTags","version":"2.5.0","description":"Sets tags to a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to set tags on"},{"name":"reason","description":"The reason for setting post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$setThreadArchiveDuration","version":"1.5.0","description":"Sets a thread's auto archive duration","unwrap":true,"output":["Boolean"],"aliases":["$setThreadAutoArchiveDuration"],"brackets":true,"args":[{"name":"channel ID","description":"The thread to modify","type":"Channel","rest":false,"required":true},{"name":"duration","description":"The new duration of auto archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setVoiceBitrate","version":"1.4.0","description":"Sets the bitrate quality of a voice channel, returns bool","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit bitrate","rest":false,"required":true,"type":"Channel"},{"name":"bitrate","rest":false,"type":"Number","required":true,"description":"The new bitrate"},{"name":"reason","description":"The reason to change the bitrate","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceDeaf","version":"1.4.0","description":"Deafens a member from voice channel","brackets":true,"aliases":["$voiceDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to deafen"},{"name":"reason","description":"The reason to deafen this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceMute","version":"1.4.0","description":"Mutes a member from voice channel","brackets":true,"aliases":["$voiceMute"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to mute"},{"name":"reason","description":"The reason to mute this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceRegion","version":"1.5.0","description":"Sets the region of a voice channel, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to set region","rest":false,"required":true,"type":"Channel"},{"name":"region","description":"The region to set, leave empty to remove a fixed region","rest":false,"required":false,"type":"Enum","enum":["brazil","hongkong","india","japan","rotterdam","russia","singapore","south-korea","southafrica","sydney","us-central","us-east","us-south","us-west"],"enumName":"VoiceRegionType"},{"name":"reason","description":"The reason to set the voice region","rest":false,"required":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setVoiceUndeaf","version":"1.4.0","description":"Undeafens a member from voice channel","brackets":true,"aliases":["$voiceUndeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to undeafen"},{"name":"reason","description":"The reason to undeafen this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceUnmute","version":"1.4.0","description":"Unmutes a member from voice channel","brackets":true,"aliases":["$voiceUnmute"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to unmute"},{"name":"reason","description":"The reason to unmute this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceUserLimit","version":"1.4.0","description":"Sets the limit of users that can connect to this voice channel","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit user limit","rest":false,"required":true,"type":"Channel"},{"name":"limit","rest":false,"type":"Number","required":true,"description":"The new user limit"},{"name":"reason","description":"The reason to change the user limit","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceVideoQuality","version":"1.5.0","description":"Sets the video quality of a voice channel, returns bool","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit video quality","rest":false,"required":true,"type":"Channel"},{"name":"quality","rest":false,"required":true,"type":"Enum","enum":["Auto","Full"],"description":"The new video quality","enumName":"VideoQualityMode"},{"name":"reason","description":"The reason to change the video quality","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$startTyping","version":"1.0.0","description":"Starts typing in a channel","unwrap":true,"aliases":["$channelStartTyping"],"brackets":false,"args":[{"name":"channel ID","description":"The channel to start typing at","required":true,"rest":false,"type":"Channel"}],"category":"channel"},{"name":"$threadIsArchived","version":"1.5.0","aliases":["$isArchived","$threadArchived"],"description":"Returns whether a thread is archived","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to check if its archived","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$threadOwnerID","version":"2.2.0","description":"Returns the owner of the thread","brackets":false,"unwrap":true,"output":["Member"],"args":[{"name":"channel ID","description":"The thread to retrieve owner of","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$threadStarterMessageID","version":"1.5.0","description":"Returns the id of the message that started this thread","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The thread to get its starter message id","rest":false,"required":true,"type":"Channel"}],"output":["Message"],"category":"channel"},{"name":"$threadTotalMessagesSent","version":"1.5.0","description":"Returns the total count of sent messages in a thread","aliases":["$threadTotalMessagesCount"],"brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"channel ID","description":"The thread to pull data from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$transcript","version":"1.4.0","aliases":["$channelTranscript","$createTranscript"],"description":"Creates a channel transcript","brackets":true,"output":["String[]"],"unwrap":false,"args":[{"name":"channel ID","description":"The channel to create transcript of","rest":false,"required":true,"type":"TextChannel"},{"name":"variable","description":"The $env variable name to load the message id to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to use for every message, make sure to use $return","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"full","description":"Whether to load entire message object to the variable","rest":false,"required":false,"type":"Boolean"}],"category":"channel"},{"name":"$unarchiveThread","version":"1.0.0","aliases":["$unarchivePost"],"description":"Unarchives a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to unarchive","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to unarchive this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$unlockThread","version":"1.5.0","aliases":["$unlockPost"],"description":"Unlocks a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to unlock","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to unlock this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$commandCount","version":"1.0.0","description":"Returns the command count","brackets":false,"output":["Number"],"args":[{"name":"categories","rest":true,"required":true,"description":"The event types to filter by","type":"String"}],"unwrap":true,"category":"command"},{"name":"$commandInfo","version":"1.0.3","description":"Retrieves command info","unwrap":true,"brackets":true,"output":["Unknown"],"args":[{"name":"type","description":"The command type","rest":false,"type":"String","required":true},{"name":"name","description":"The command name","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property to retrieve","rest":true,"type":"String"}],"category":"command"},{"name":"$commandName","version":"1.0.3","description":"Returns the current command name","unwrap":false,"output":["String"],"category":"command"},{"name":"$commandNames","version":"1.0.6","description":"Return commands with given type","brackets":true,"output":["String[]"],"args":[{"name":"type","description":"The command type to pull names from","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every name","rest":false,"type":"String"}],"unwrap":true,"category":"command"},{"name":"$deleteCommand","version":"1.2.0","description":"Deletes the author's message","unwrap":false,"category":"command"},{"name":"$addActionRow","version":"1.0.0","description":"Adds an action row","unwrap":false,"category":"component"},{"name":"$addActionRowTo","version":"1.5.0","brackets":true,"description":"Adds an action row (or rows) to a message","unwrap":false,"aliases":["$addActionRowsTo"],"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add row to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"components","description":"Components for this row","rest":false,"required":true,"type":"String"},{"name":"keep existing rows","description":"Whether to keep or remove existing rows of given message","rest":false,"required":false,"type":"Boolean"}],"output":["Boolean"],"category":"component"},{"name":"$addButton","version":"1.0.0","description":"Adds a button component to the newest row","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The button label","rest":false,"type":"String","required":true},{"name":"style","description":"The style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","required":true,"rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"category":"component"},{"name":"$addButtonTo","version":"1.5.0","description":"Adds a button component to the newest row in a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add button to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The button label","rest":false,"type":"String","required":true},{"name":"style","description":"The style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","required":true,"rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"output":["Boolean"],"category":"component"},{"name":"$addChannelSelectMenu","version":"1.4.0","description":"Creates a channel select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"type":"Boolean"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels to use"}],"category":"component"},{"name":"$addChannelSelectMenuTo","version":"2.4.0","description":"Creates a channel select menu on a message","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels to use"}],"category":"component"},{"name":"$addChannelType","version":"1.4.0","aliases":["$addChannelTypes"],"description":"Adds channel types to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"types","description":"The channel types to add","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"type":"Enum","enumName":"ChannelType"}],"category":"component"},{"name":"$addChoice","version":"1.0.6","description":"Adds an autocomplete choice","unwrap":true,"brackets":true,"args":[{"name":"choice name","description":"The name for this choice","rest":false,"required":true,"type":"String"},{"name":"choice value","description":"The value for this choice","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addContainer","version":"2.4.0","description":"Adds a new container component","unwrap":false,"brackets":true,"args":[{"name":"components","description":"The components to add","rest":false,"required":true,"type":"String"},{"name":"color","description":"The color to set","rest":false,"type":"Color"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addDefaultChannelOption","version":"1.4.0","aliases":["$addDefaultChannels","$addDefaultChannelOptions"],"description":"Adds default channel options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"channel IDs","description":"The channel ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addDefaultRoleOption","version":"1.4.0","aliases":["$addDefaultRoles","$addDefaultRoleOptions"],"description":"Adds default role options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"role IDs","description":"The role ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addDefaultUserOption","version":"1.4.0","aliases":["$addDefaultUsers","$addDefaultUserOptions"],"description":"Adds default user options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"user IDs","description":"The user ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addFile","version":"2.4.0","description":"Adds a new file component","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url of the file (must use attachment://)","rest":false,"required":true,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addFileUpload","version":"2.6.0","description":"Adds a new file upload component to the modal label","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"required":true,"type":"String"},{"name":"min values","description":"The min values of file uploads","rest":false,"type":"Number"},{"name":"max values","description":"The max values of file uploads","rest":false,"type":"Number"}],"category":"component"},{"name":"$addLabel","version":"2.6.0","description":"Adds a new label component to the modal","unwrap":false,"brackets":true,"args":[{"name":"name","description":"The name for the label","rest":false,"required":true,"type":"String"},{"name":"component","description":"The component to attach to the label","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for the label","rest":false,"type":"String"},{"name":"required","description":"Whether this field is required","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addMediaGallery","version":"2.4.0","description":"Adds a new media gallery component","unwrap":false,"brackets":true,"args":[{"name":"items","description":"The media items to add","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addMediaItem","version":"2.4.0","description":"Adds a new media gallery item","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url for the media item","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the media item","rest":false,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addMentionableSelectMenu","version":"1.4.0","description":"Creates a mentionable select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use"}],"category":"component"},{"name":"$addMentionableSelectMenuTo","version":"1.5.0","description":"Creates a mentionable select menu on a message","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add row to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use","pointer":0,"pointerProperty":"guild"}],"category":"component"},{"name":"$addOption","version":"1.0.0","description":"Adds a select menu option","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The option name","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for this option","rest":false,"type":"String","required":false},{"name":"value","description":"The value to use for this option","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji to use for this option","type":"String","rest":false},{"name":"default","description":"Whether to set this option as default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addRoleSelectMenu","version":"1.3.0","description":"Creates a role select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles to use"}],"category":"component"},{"name":"$addRoleSelectMenuTo","version":"1.5.0","description":"Creates a role select menu on a message","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles to use"}],"category":"component"},{"name":"$addSection","version":"2.4.0","description":"Adds a new section component","unwrap":false,"brackets":true,"args":[{"name":"components","description":"The components and accessory to add","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addSeparator","version":"2.4.0","description":"Adds a new separator component","unwrap":true,"brackets":false,"args":[{"name":"spacing","description":"The spacing of this separator","rest":false,"required":true,"type":"Enum","enum":["Small","Large"],"enumName":"SeparatorSpacingSize"},{"name":"divider","description":"Whether to show a divider line","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addStringSelectMenu","version":"1.0.0","description":"Creates a string select menu","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"category":"component"},{"name":"$addStringSelectMenuTo","version":"1.5.0","description":"Creates a string select menu on a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"output":["Boolean"],"category":"component"},{"name":"$addTextDisplay","version":"2.4.0","description":"Adds a new text display component","unwrap":true,"brackets":true,"args":[{"name":"content","description":"The content of this text display","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addTextInput","version":"1.0.0","description":"Adds a text input field to the modal","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"type":"String","required":true},{"name":"name","description":"The field name, will be overwritten when used inside a label","rest":false,"required":true,"type":"String"},{"name":"type","description":"Paragraph or short","rest":false,"type":"Enum","enum":["Short","Paragraph"],"enumName":"TextInputStyle"},{"name":"required","description":"Whether this field is required","rest":false,"type":"Boolean"},{"name":"placeholder","description":"The placeholder to use for the field","rest":false,"type":"String"},{"name":"default value","description":"The default value for the field","rest":false,"type":"String"},{"name":"minimum length","description":"The minimum length needed","rest":false,"type":"Number"},{"name":"maximum length","description":"The max length needed","rest":false,"type":"Number"}],"category":"component"},{"name":"$addThumbnail","version":"2.4.0","description":"Adds a new thumbnail accessory","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url for the thumbnail","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the thumbnail","rest":false,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addUserSelectMenu","version":"1.4.0","description":"Creates a user select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default users","rest":true,"type":"String","description":"The default selected users to use"}],"category":"component"},{"name":"$addUserSelectMenuTo","version":"1.5.0","output":["Boolean"],"description":"Creates a user select menu on a message","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default users","rest":true,"type":"String","description":"The default selected users to use"}],"category":"component"},{"name":"$deleteActionRow","version":"1.0.0","description":"Deletes an action row or top level component at given index","brackets":true,"args":[{"name":"index","description":"The row index to delete","rest":false,"required":true,"type":"Number"}],"unwrap":true,"category":"component"},{"name":"$deleteActionRowFrom","version":"1.5.0","description":"Deletes an action row or top level component at given index","brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to remove row from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The row index to delete","rest":false,"required":true,"type":"Number"}],"output":["Boolean"],"unwrap":true,"category":"component"},{"name":"$deleteComponent","version":"1.0.0","description":"Deletes a message component with given custom id","brackets":true,"args":[{"name":"custom ID","description":"The component's custom id to delete","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"component"},{"name":"$deleteComponentFrom","version":"1.5.0","description":"Deletes a message component with given custom id from a message","brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to remove component from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The component's custom id to delete","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"unwrap":true,"category":"component"},{"name":"$disableButtons","version":"2.2.0","description":"Disables all buttons on the current message","aliases":["$disableAllButtons"],"unwrap":true,"args":[{"name":"index","description":"The index of the row to disable","rest":false,"required":true,"type":"Number"}],"brackets":false,"category":"component"},{"name":"$disableButtonsOf","version":"2.2.0","description":"Disables all buttons of a message, returns bool","aliases":["$disableAllButtonsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to disable buttons on","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the row to disable","rest":false,"type":"Number"}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$disableComponents","version":"2.2.0","description":"Disables all components on the current message","aliases":["$disableAllComponents"],"unwrap":false,"category":"component"},{"name":"$disableComponentsOf","version":"2.2.0","description":"Disables all components of a message, returns bool","aliases":["$disableAllComponentsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to disable components on","rest":false,"required":true,"type":"Message","pointer":0}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$editButton","version":"1.0.7","description":"Edits a button component","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id to find the component","rest":false,"type":"String","required":true},{"name":"new custom ID","description":"The new custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The new button label","rest":false,"type":"String"},{"name":"style","description":"The new style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The new emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"category":"component"},{"name":"$editButtonOf","version":"1.5.0","description":"Edits a button component of a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit button for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id to find the component","rest":false,"type":"String","required":true},{"name":"new custom ID","description":"The new custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The new button label","rest":false,"type":"String"},{"name":"style","description":"The new style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The new emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"output":["Boolean"],"category":"component"},{"name":"$editChannelSelectMenu","version":"2.2.0","description":"Edits a channel select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels of the menu"}],"category":"component"},{"name":"$editChannelSelectMenuOf","version":"2.2.0","description":"Edits a channel select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$editMentionableSelectMenu","version":"2.2.0","description":"Edits a mentionable select menu","brackets":true,"unwrap":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use"}],"category":"component"},{"name":"$editMentionableSelectMenuOf","version":"2.2.0","description":"Edits a mentionable select menu of a message, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use","pointer":0,"pointerProperty":"guild"}],"output":["Boolean"],"category":"component"},{"name":"$editOption","version":"1.4.0","description":"Edits a select menu option","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The option name to find","rest":false,"required":true,"type":"String"},{"name":"new name","description":"The new option name","rest":false,"required":true,"type":"String"},{"name":"description","description":"The new description for this option","rest":false,"type":"String","required":false},{"name":"value","description":"The new value for this option","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for this option","type":"String","rest":false},{"name":"default","description":"Whether to set this option as default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$editRoleSelectMenu","version":"2.2.0","description":"Edits a role select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles of the menu"}],"category":"component"},{"name":"$editRoleSelectMenuOf","version":"2.2.0","description":"Edits a role select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$editStringSelectMenu","version":"1.4.0","description":"Edits a string select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"category":"component"},{"name":"$editStringSelectMenuOf","version":"1.5.0","description":"Edits a string select menu of a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"output":["Boolean"],"category":"component"},{"name":"$editUserSelectMenu","version":"2.2.0","description":"Edits a user select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default users","rest":true,"type":"String","description":"The default selected users of the menu"}],"category":"component"},{"name":"$editUserSelectMenuOf","version":"2.2.0","description":"Edits a user select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default users","rest":true,"type":"String","description":"The default selected users of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$enableButtons","version":"2.2.0","description":"Enables all buttons on the current message","aliases":["$enableAllButtons"],"unwrap":true,"args":[{"name":"index","description":"The index of the row to enable","rest":false,"required":true,"type":"Number"}],"brackets":false,"category":"component"},{"name":"$enableButtonsOf","version":"2.2.0","description":"Enables all buttons of a message, returns bool","aliases":["$enableAllButtonsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to enable buttons on","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the row to enable","rest":false,"type":"Number"}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$enableComponents","version":"2.2.0","description":"Enables all components on the current message","aliases":["$enableAllComponents"],"unwrap":false,"category":"component"},{"name":"$enableComponentsOf","version":"2.2.0","description":"Enables all components of a message, returns bool","aliases":["$enableAllComponentsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to enable components on","rest":false,"required":true,"type":"Message","pointer":0}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$setChannelType","version":"1.5.0","aliases":["$setChannelTypes"],"description":"Sets channel types for the last select menu","unwrap":true,"brackets":true,"args":[{"name":"types","description":"The channel types to set","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"type":"Enum","enumName":"ChannelType"}],"category":"component"},{"name":"$and","version":"1.0.0","description":"Validates multiple conditions","unwrap":false,"brackets":true,"output":["Boolean"],"args":[{"name":"conditions","rest":true,"required":true,"type":"String","condition":true,"description":"The conditions that must match"}],"category":"condition"},{"name":"$checkCondition","version":"1.0.0","description":"Checks whether a condition is valid","brackets":true,"unwrap":false,"output":["Boolean"],"args":[{"name":"condition","description":"The condition to use","rest":false,"condition":true,"type":"String","required":true}],"category":"condition"},{"name":"$isBoolean","version":"1.0.6","description":"Checks whether given value is bool like","aliases":["$isBool"],"brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"value","description":"Value to check if its a valid bool","rest":false,"required":true,"type":"String"}],"category":"condition"},{"name":"$isValidHex","version":"1.3.0","description":"Checks whether given hex is a valid integer number between 0x00000 and 0xffffff","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"hex","rest":false,"required":true,"type":"String","description":"The hex to check for"}],"category":"condition"},{"name":"$isValidLink","version":"1.0.0","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"link","description":"The link to check","rest":false,"required":true,"type":"String"}],"description":"Checks whether a link is valid, this will not make sure that a site actually exists or returns success HTTP responses","category":"condition"},{"name":"$or","version":"1.0.0","description":"Validates one condition","unwrap":false,"brackets":true,"output":["Boolean"],"args":[{"name":"conditions","rest":true,"required":true,"type":"String","condition":true,"description":"The conditions that must match one"}],"category":"condition"},{"name":"$channelCooldown","version":"1.5.0","description":"Adds a cooldown binded to a channel and command","brackets":true,"unwrap":false,"args":[{"name":"channel ID","rest":false,"description":"The channel id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$cooldown","version":"1.0.3","description":"Adds a command cooldown","brackets":true,"unwrap":false,"args":[{"name":"id","rest":false,"description":"The id to assign the cooldown to, can be anything","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"examples":["$c[This is a guild based user cooldown]\n$cooldown[$commandName_$guildID_$authorID;1h;You're on cooldown.]\nHello!\n","$c[This is a user based cooldown]\n$cooldown[$commandName_$authorID;1h;You're on cooldown.]\nHello!\n"],"experimental":true,"category":"cooldown"},{"name":"$deleteChannelCooldown","version":"1.5.0","description":"Deletes cooldown for given channel id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteCooldown","version":"1.0.3","description":"Deletes cooldown of given id","brackets":true,"unwrap":true,"args":[{"name":"id","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteGuildCooldown","version":"1.5.0","description":"Deletes cooldown for given guild id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteMemberCooldown","version":"1.5.0","description":"Deletes cooldown for given guild and user id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true},{"name":"user ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteUserCooldown","version":"1.5.0","description":"Deletes cooldown for given user id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"user ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getCooldownTime","version":"1.0.3","description":"Retrieves current cooldown time in ms for given id","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"id","description":"The id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getGuildCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given guild id, binded to current command","brackets":true,"aliases":["$getServerCooldownTime"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getMemberCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given guild and user id, binded to current command","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild id to get its cooldown","rest":false,"type":"String","required":true},{"name":"user ID","description":"The user id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getUserCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given user id, binded to current command","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"user ID","description":"The user id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$guildCooldown","version":"1.5.0","description":"Adds a cooldown binded to a guild and command","brackets":true,"unwrap":false,"aliases":["$serverCooldown"],"args":[{"name":"guild ID","rest":false,"description":"The guild id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$memberCooldown","version":"1.5.0","description":"Adds a cooldown binded to a guild member and command","brackets":true,"unwrap":false,"args":[{"name":"guild ID","rest":false,"description":"The guild id to assign the cooldown to","type":"String","required":true},{"name":"user ID","rest":false,"description":"The user id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$userCooldown","version":"1.5.0","description":"Adds a cooldown binded to a user and command","brackets":true,"unwrap":false,"args":[{"name":"user ID","rest":false,"description":"The user id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$createQueryParams","version":"1.0.7","description":"Creates query params with given fields","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"param name;param value","description":"The param name followed by the value, (param1;value1)","rest":true,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decodeURI","version":"1.0.0","description":"Decodes text from a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to decode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decodeURIComponent","version":"1.0.0","description":"Decodes text from a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to decode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decrypt","version":"1.5.0","description":"Decrypts given text with a key","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to decrypt","rest":false,"required":true,"type":"String"},{"name":"key","description":"The key to use to decrypt the text","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"crypto"},{"name":"$deflate","version":"1.2.0","description":"Compresses given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"The text to compress","type":"String","rest":false,"required":true},{"name":"encoding","rest":false,"required":false,"description":"The output encoding to use","type":"String"}],"category":"crypto"},{"name":"$encodeURI","version":"1.0.0","description":"Encodes text for a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to encode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$encodeURIComponent","version":"1.0.0","description":"Encodes text for a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to encode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$encrypt","version":"1.5.0","description":"Encrypts given text with a key","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to encrypt","rest":false,"required":true,"type":"String"},{"name":"key","description":"The key to use to encrypt text","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"crypto"},{"name":"$inflate","version":"1.2.0","description":"Decompresses given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"The text to decompress","type":"String","rest":false,"required":true},{"name":"encoding","rest":false,"required":false,"description":"The input encoding to use","type":"String"}],"category":"crypto"},{"name":"$md5","version":"1.2.0","description":"Creates a md5 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$randomBytes","version":"1.5.0","description":"Generates a string of random bytes, in hex","brackets":true,"output":["String"],"args":[{"name":"length","description":"The length of the hex string","rest":false,"required":true,"type":"Number"}],"unwrap":true,"category":"crypto"},{"name":"$sha256","version":"1.2.0","description":"Creates a sha256 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$sha512","version":"1.2.0","description":"Creates a sha512 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$addField","version":"1.0.0","description":"Adds an embed field","unwrap":true,"args":[{"name":"name","description":"The name for the field","required":true,"type":"String","rest":false},{"name":"value","description":"The value for the field","required":true,"type":"String","rest":false},{"name":"inline","description":"Whether this field will be inline","type":"Boolean","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$author","version":"1.0.0","description":"Adds an embed author","unwrap":true,"args":[{"name":"name","description":"Adds a name to the embed author","required":true,"type":"String","rest":false},{"name":"icon","description":"The icon url","rest":false,"type":"String"},{"name":"hyperlink","description":"The hyperlink url","rest":false,"type":"String"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$color","version":"1.0.0","description":"Adds an embed color","unwrap":true,"args":[{"name":"color","description":"The color for the embed","required":true,"enum":["Default","White","Aqua","Green","Blue","Yellow","Purple","LuminousVividPink","Fuchsia","Gold","Orange","Red","Grey","Navy","DarkAqua","DarkGreen","DarkBlue","DarkPurple","DarkVividPink","DarkGold","DarkOrange","DarkRed","DarkGrey","DarkerGrey","LightGrey","DarkNavy","Blurple","Greyple","DarkButNotBlack","NotQuiteBlack"],"type":"Color","rest":false,"enumName":"Colors"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$deleteField","version":"2.1.0","description":"Deletes an embed field","unwrap":true,"args":[{"name":"field index","description":"The index field to delete","rest":false,"required":true,"type":"Number"},{"name":"index","description":"The index to delete this field on","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$description","version":"1.0.0","description":"Adds an embed description","unwrap":true,"args":[{"name":"description","description":"The description for the embed","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$editField","version":"1.4.0","description":"Edits an embed field","unwrap":true,"args":[{"name":"field index","description":"The index field to edit","rest":false,"required":true,"type":"Number"},{"name":"name","description":"The name for the field","type":"String","rest":false},{"name":"value","description":"The value for the field","type":"String","rest":false},{"name":"inline","description":"Whether this field will be inline","type":"Boolean","rest":false},{"name":"index","description":"The index to edit this data on","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$footer","version":"1.0.0","description":"Adds an embed footer","unwrap":true,"args":[{"name":"text","description":"The text for the embed footer","required":true,"type":"String","rest":false},{"name":"icon","description":"The icon url for the embed footer","type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$image","version":"1.0.0","description":"Adds an embed image","unwrap":true,"args":[{"name":"url","description":"The url for the embed image","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$thumbnail","version":"1.0.0","description":"Adds an embed thumbnail","unwrap":true,"args":[{"name":"url","description":"The url for the embed thumbnail","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$timestamp","version":"1.0.0","description":"Adds an embed timestamp","unwrap":true,"args":[{"name":"ms","description":"The timestamp time to add","type":"Number","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":false,"category":"embed"},{"name":"$title","version":"1.0.0","description":"Adds an embed title","unwrap":true,"args":[{"name":"title","description":"Adds a title to the embed","required":true,"type":"String","rest":false},{"name":"hyperlink","description":"The hyperlink url","rest":false,"type":"String"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$addApplicationEmoji","version":"1.5.0","description":"Adds an application emoji, returns the emoji id","brackets":true,"unwrap":true,"args":[{"name":"name","description":"The name for the emoji","rest":false,"required":true,"type":"String"},{"name":"url","description":"The emoji icon to use","rest":false,"required":true,"type":"String"},{"name":"return emoji ID","description":"Whether to return the emoji id","rest":false,"type":"Boolean"}],"output":["ApplicationEmoji"],"category":"emoji"},{"name":"$addEmoji","version":"1.0.7","description":"Adds an emoji to a guild, returns the emoji id","brackets":true,"unwrap":true,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to add this emote to","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the emoji","rest":false,"required":true,"type":"String"},{"name":"url","description":"The emoji icon to use","rest":false,"required":true,"type":"String"},{"name":"return emoji ID","description":"Whether to return the emoji id","rest":false,"type":"Boolean"},{"name":"roles","description":"The roles to limit usage of this emote","rest":true,"type":"Role","pointer":0}],"category":"emoji"},{"name":"$deleteApplicationEmojis","version":"1.5.0","description":"Deletes application emojis, returns the count of emojis deleted","brackets":true,"unwrap":true,"args":[{"name":"emojis","description":"The emojis to delete","rest":true,"required":true,"type":"ApplicationEmoji"}],"output":["Number"],"category":"emoji"},{"name":"$deleteEmojiMessageReactions","version":"1.0.0","description":"Deletes all emoji reactions from a message, returns amount of reaction emojis successfully deleted","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove emoji reactions from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emojis","description":"The emojis to delete from this message","required":true,"pointer":1,"rest":true,"type":"Reaction"}],"category":"emoji"},{"name":"$deleteEmojis","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given emojis from a guild, returns the count of emotes deleted","args":[{"name":"guild ID","description":"The guild to delete emotes from","rest":false,"required":true,"type":"Guild"},{"name":"emojis","description":"The emojis to delete","rest":true,"pointer":0,"required":true,"type":"GuildEmoji"}],"category":"emoji"},{"name":"$editApplicationEmoji","version":"1.5.0","description":"Edits an application emoji, returns bool","brackets":true,"unwrap":true,"args":[{"name":"emoji ID","description":"The emoji to edit","rest":false,"required":true,"type":"ApplicationEmoji"},{"name":"name","description":"The new name for the emoji","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"emoji"},{"name":"$editEmoji","version":"1.5.0","description":"Edits an emoji of a guild, returns bool","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to edit this emoji on","rest":false,"required":true,"type":"Guild"},{"name":"emoji ID","description":"The emoji to edit","rest":false,"required":true,"type":"GuildEmoji","pointer":0},{"name":"name","description":"The new name for the emoji","rest":false,"type":"String"},{"name":"reason","description":"The reason for editing the emoji","rest":false,"type":"String"},{"name":"roles","description":"The new roles to limit usage of this emoji to","rest":true,"type":"Role","pointer":0}],"output":["Boolean"],"category":"emoji"},{"name":"$emoji","version":"1.0.0","description":"Formats given emoji","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji id to format","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiAnimated","version":"1.0.0","description":"Returns whether the emoji is animated","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji to return its animation state","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiAuthorID","version":"2.6.0","description":"Returns the author id of an emoji","brackets":false,"unwrap":true,"args":[{"name":"emoji ID","description":"The emoji to return its author","rest":false,"required":true,"type":"Emoji"}],"output":["User"],"category":"emoji"},{"name":"$emojiCount","version":"1.0.0","description":"Returns the emoji count of all servers","unwrap":true,"brackets":false,"args":[{"name":"type","description":"The type of the emotes to count","rest":false,"required":true,"type":"Enum","enum":["normal","animated"],"enumName":"EmojiType"}],"output":["Number"],"category":"emoji"},{"name":"$emojiCreatedAt","version":"1.0.0","description":"Returns the emoji creation timestamp","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"emoji ID","description":"The emoji to return its creation timestamp","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiExists","version":"1.0.0","description":"Returns whether an emoji id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji id to check","rest":false,"required":true,"type":"String"}],"category":"emoji"},{"name":"$emojiGuildID","version":"1.0.0","description":"Returns the emoji guild id","brackets":false,"unwrap":true,"output":["Guild"],"args":[{"name":"emoji ID","description":"The emoji to return its guild id","rest":false,"type":"GuildEmoji","required":true}],"category":"emoji"},{"name":"$emojiID","version":"1.2.0","description":"Returns the emoji id","brackets":false,"unwrap":true,"output":["Emoji"],"args":[{"name":"emoji name","description":"The emoji name to return its id","rest":false,"type":"String","required":true}],"category":"emoji"},{"name":"$emojiIDs","description":"Returns every guild emoji id","version":"1.3.0","unwrap":true,"brackets":false,"output":["GuildEmoji[]"],"args":[{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"emoji"},{"name":"$emojiIdentifier","version":"1.0.0","description":"Returns the emoji identifier","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji to return its identifier","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiName","version":"1.2.0","description":"Returns the emoji name","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji to return its name","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiNames","version":"1.0.0","description":"Returns the emote names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the emotes of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each emoji","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"emoji"},{"name":"$emojiRawData","version":"1.5.0","description":"Returns the raw data of an emoji","unwrap":true,"brackets":false,"args":[{"name":"emoji ID","rest":false,"required":true,"description":"The emoji to get raw data from","type":"Emoji"}],"output":["Json"],"category":"emoji"},{"name":"$emojiRequiresColons","version":"1.0.0","description":"Returns whether the emoji requires colons","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji to return its colons state","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiRoles","version":"1.0.0","description":"Returns the role ids that can use this emote","brackets":false,"unwrap":true,"output":["Role[]"],"args":[{"name":"emoji ID","description":"The emoji to return its roles","rest":false,"type":"GuildEmoji","required":true},{"name":"separator","description":"The separator to use for every role","rest":false,"type":"String"}],"category":"emoji"},{"name":"$emojiURL","version":"1.0.0","description":"Returns the emoji url","brackets":false,"unwrap":true,"output":["URL"],"args":[{"name":"emoji ID","description":"The emoji to return its url","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$fetchApplicationEmojis","version":"2.5.0","description":"Caches all application emojis of the client","unwrap":false,"category":"emoji"},{"name":"$getApplicationEmojis","version":"1.5.0","description":"Gets all application emojis","brackets":false,"unwrap":true,"args":[{"name":"property","description":"The property to return for every emoji","rest":false,"type":"Enum","enum":["authorID","name","id","identifier","requiresColons","managed","timestamp","animated","url","format"],"enumName":"ApplicationEmojiProperty"},{"name":"separator","description":"The separator to use for every emoji property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"emoji"},{"name":"$randomApplicationEmojiID","version":"1.5.0","description":"Returns a random emoji ID of the application","unwrap":false,"output":["ApplicationEmoji"],"category":"emoji"},{"name":"$randomEmojiID","version":"1.0.3","description":"Returns a random emoji ID","unwrap":false,"output":["GuildEmoji"],"category":"emoji"},{"name":"$randomGuildEmojiID","version":"1.0.3","description":"Returns a random emoji ID of a guild","unwrap":true,"brackets":false,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to get emoji from","rest":false,"required":true,"type":"Guild"}],"category":"emoji"},{"name":"$entitlementConsume","version":"1.5.0","description":"Consumes an entitlement from an interaction","unwrap":true,"args":[{"name":"entitlement name","description":"The name of the entitlement to consume","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$entitlementEndTimestamp","version":"1.5.0","description":"Returns the time at which this entitlement ends","output":["Number"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementGuildID","version":"1.5.0","description":"Returns this entitlement's guild id","output":["Guild"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementID","version":"1.5.0","description":"Returns this entitlement's id","output":["String"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsActive","version":"1.5.0","description":"Returns whether this entitlement is active","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsConsumed","version":"1.5.0","description":"Returns whether this entitlement is consumed","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsDeleted","version":"1.5.0","description":"Returns whether this entitlement is deleted","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsGuildSubscription","version":"1.5.0","description":"Returns whether this entitlement is for a guild","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsUserSubscription","version":"1.5.0","description":"Returns whether this entitlement is for a user","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementSkuID","version":"1.5.0","description":"Returns this entitlement's sku id","output":["String"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementStartTimestamp","version":"1.5.0","description":"Returns the time at which this entitlement starts","output":["Number"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementType","version":"1.5.0","description":"Returns this entitlement's type","output":["EntitlementType"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementUserID","version":"1.5.0","description":"Returns this entitlement's user id","output":["User"],"unwrap":false,"category":"entitlement"},{"name":"$hasAllEntitlements","version":"1.5.0","aliases":["$interactionHasAllEntitlements"],"description":"Checks whether this interaction user has all of the given entitlements","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlements to validate","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$hasAnyEntitlement","version":"1.5.0","aliases":["$interactionHasAnyEntitlement"],"description":"Checks whether this interaction user has any of the given entitlements","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlements to validate","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$hasEntitlement","version":"1.5.0","aliases":["$interactionHasEntitlement"],"description":"Checks whether this interaction user has given entitlement","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlement to validate","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$createScheduledEvent","version":"2.6.0","description":"Creates a new scheduled event on a guild, returns event id","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create scheduled event on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name of the scheduled event","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the scheduled event","rest":false,"type":"String"},{"name":"type","description":"The entity type of the scheduled event","rest":false,"required":true,"type":"Enum","enum":["StageInstance","Voice","External"],"enumName":"GuildScheduledEventEntityType"},{"name":"start","description":"The start time of the scheduled event","rest":false,"required":true,"type":"Date"},{"name":"end","description":"The end time of the scheduled event","rest":false,"type":"Date"},{"name":"cover","description":"The cover image of the scheduled event","rest":false,"type":"URL"}],"output":["ScheduledEvent"],"category":"event"},{"name":"$deleteScheduledEvent","version":"2.6.0","description":"Deletes a scheduled event from a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to delete scheduled event from","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to delete","rest":false,"required":true,"type":"ScheduledEvent","pointer":0}],"output":["Boolean"],"category":"event"},{"name":"$editScheduledEvent","version":"2.6.0","description":"Edits an existing scheduled event on a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to edit scheduled event on","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to edit","rest":false,"required":true,"type":"ScheduledEvent","pointer":0},{"name":"name","description":"The new name for the scheduled event","rest":false,"type":"String"},{"name":"description","description":"The new description for the scheduled event","rest":false,"type":"String"},{"name":"type","description":"The new entity type for the scheduled event","rest":false,"type":"Enum","enum":["StageInstance","Voice","External"],"enumName":"GuildScheduledEventEntityType"},{"name":"start","description":"The new start time for the scheduled event","rest":false,"type":"Date"},{"name":"end","description":"The new end time for the scheduled event","rest":false,"type":"Date"},{"name":"cover","description":"The new cover image for the scheduled event","rest":false,"type":"URL"}],"output":["Boolean"],"category":"event"},{"name":"$getScheduledEvent","version":"2.6.0","description":"Returns a scheduled event of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get scheduled event from","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to get","rest":false,"required":true,"type":"ScheduledEvent","pointer":0},{"name":"property","description":"The property of the scheduled event to return","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"enumName":"ScheduledEventProperty"}],"output":["Json","Unknown"],"category":"event"},{"name":"$setScheduledEventChannel","version":"2.6.0","description":"Sets a channel for the current scheduled event","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The voice channel of the scheduled event","rest":false,"required":true,"type":"Channel"}],"category":"event"},{"name":"$setScheduledEventLocation","version":"2.6.0","description":"Sets a location for the current scheduled event","unwrap":true,"brackets":true,"args":[{"name":"location","description":"The location of the scheduled event","rest":false,"required":true,"type":"String"}],"category":"event"},{"name":"$appendFile","version":"1.0.0","description":"Appends text to a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"text","description":"The text to append","rest":false,"type":"String","required":true},{"name":"encoding","description":"The encoding to use for text","rest":false,"type":"String"}],"category":"file"},{"name":"$copyFile","version":"1.2.0","description":"Copies given path to another path","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make a copy of","rest":false,"required":true,"type":"String"},{"name":"destination","description":"The output path to copy to","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$deleteFile","version":"1.0.0","description":"Deletes a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$fileAccessedAt","version":"1.4.0","description":"Gets last time a file was accessed","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileBlockCount","version":"1.4.0","description":"Gets block count of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileBlockSize","version":"1.4.0","description":"Gets block size of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileChangedAt","version":"1.4.0","description":"Gets last time a file was changed","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileCreatedAt","version":"1.4.0","description":"Gets timestamp of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileExists","version":"1.0.0","description":"Checks whether a path exists","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileModifiedAt","version":"1.4.0","description":"Gets timestamp of a file or directory when it was last modified","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileSize","version":"1.2.0","description":"Gets size of a file or directory in bytes","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isDirectory","version":"1.4.0","description":"Checks whether a path is a directory","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isFile","version":"1.4.0","description":"Checks whether a path is a file","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isSymbolicLink","version":"1.4.0","description":"Checks whether a path is a symbolic link","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$mkdir","version":"1.0.0","description":"Creates a directory","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path for the dir","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$mktdir","version":"1.4.0","description":"Creates a temporary directory","unwrap":true,"brackets":true,"aliases":["$makeTempDir","$createTempDir"],"output":["String"],"args":[{"name":"prefix","description":"The prefix for the temp dir","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$moveFile","version":"1.4.0","description":"Moves a path to another","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make to move","rest":false,"required":true,"type":"String"},{"name":"destination","description":"The output path","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$pathJoin","version":"2.2.0","description":"Joins paths together","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"paths","description":"The paths to join with","rest":true,"required":true,"type":"String"}],"category":"file"},{"name":"$pathResolve","version":"2.2.0","description":"Resolves paths into an absolute path","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"paths","description":"The paths to resolve","rest":true,"required":true,"type":"String"}],"category":"file"},{"name":"$readDir","version":"1.5.0","description":"Reads the contents of a directory","unwrap":true,"brackets":true,"output":["Json","String[]"],"args":[{"name":"path","description":"The path to the directory","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for each result","rest":false,"type":"String"},{"name":"encoding","description":"The encoding to use for the result","rest":false,"type":"String"}],"category":"file"},{"name":"$readFile","version":"1.0.0","description":"Reads text from a file","unwrap":true,"brackets":true,"output":["Unknown"],"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"encoding","description":"The encoding to use for the text","rest":false,"type":"String"}],"category":"file"},{"name":"$renameFile","version":"1.5.0","description":"Renames a file","unwrap":true,"brackets":true,"args":[{"name":"old path","description":"The old path to the file","rest":false,"required":true,"type":"String"},{"name":"new path","description":"The new path to the file","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$symlink","version":"1.4.0","description":"Creates a symbolic link to another path","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make to use as reference","rest":false,"required":true,"type":"String"},{"name":"other path","description":"The other path to link","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$truncateFile","version":"1.0.0","description":"Truncates text in a file to given length","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"length","description":"The new length for the file","rest":false,"type":"Number","required":true}],"category":"file"},{"name":"$writeFile","version":"1.0.0","description":"Writes text to a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"text","description":"The text to write","rest":false,"type":"String","required":true},{"name":"encoding","description":"The encoding to use for text","rest":false,"type":"String"}],"category":"file"},{"name":"$bold","version":"1.3.0","brackets":true,"description":"Makes given text bold","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make bold, this will attempt to escape all *","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$codeBlock","version":"1.3.0","brackets":true,"description":"Creates a code block with given text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to create block with, this will attempt to escape all `","rest":false,"required":true,"type":"String"},{"name":"lang","description":"The language to give to this code block","rest":false,"type":"String"}],"category":"formatting"},{"name":"$hyperlink","version":"1.3.0","brackets":true,"description":"Creates a hyperlink text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make hyperlink","rest":false,"required":true,"type":"String"},{"name":"url","description":"The url to use for hyperlink","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$inlineCode","aliases":["$inline","$markdown"],"version":"1.3.0","brackets":true,"description":"Adds backticks to text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to mark down, this will attempt to escape all `","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$italic","version":"1.5.0","brackets":true,"description":"Makes given text italic","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make italic, this will attempt to escape all _ and *","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$spoiler","version":"1.3.0","brackets":true,"description":"Makes given text a spoiler","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make spoiler, this will attempt to escape all |","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$strikethrough","version":"1.3.0","brackets":true,"description":"Makes given text strikethrough","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make strikethrough, this will attempt to escape all ~","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$subtext","version":"2.2.0","description":"Makes given text a subtext","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to make subtext","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$underline","version":"1.3.0","brackets":true,"description":"Adds an underline to text","aliases":["$underscore"],"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to add underline to, this will attempt to escape all _","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$createGuild","version":"1.5.0","description":"Creates a new guild, returns guild id","aliases":["$createServer"],"unwrap":true,"brackets":true,"deprecated":true,"args":[{"name":"name","description":"The name for the guild","rest":false,"required":true,"type":"String"},{"name":"icon","description":"The icon for the guild","rest":false,"type":"URL"},{"name":"template","description":"The template to use for the guild","rest":false,"type":"Template"}],"output":["Guild"],"category":"guild"},{"name":"$createGuildTemplate","version":"1.5.0","description":"Creates template for a guild, returns template code","aliases":["$createServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create template on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the template","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for the template","rest":false,"type":"String"}],"output":["Template"],"category":"guild"},{"name":"$deleteGuild","version":"1.5.0","description":"Deletes a guild, returns bool","aliases":["$deleteServer"],"unwrap":true,"brackets":true,"deprecated":true,"args":[{"name":"guild ID","description":"The guild to delete","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$deleteGuildApplicationCommands","version":"1.4.0","description":"Deletes all guild commands of your bot from a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to delete commands from","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$deleteGuildTemplate","version":"1.5.0","description":"Deletes template from a guild, returns bool","aliases":["$deleteServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to delete","rest":false,"required":true,"type":"Template"}],"output":["Boolean"],"category":"guild"},{"name":"$editGuildTemplate","version":"1.5.0","description":"Edits template on a guild, returns bool","aliases":["$editServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to edit","rest":false,"required":true,"type":"Template"},{"name":"name","description":"The new name for the template","rest":false,"type":"String"},{"name":"description","description":"The new description for the template","rest":false,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$getGuildInvite","version":"2.2.0","description":"Returns information about a guild invite","brackets":true,"unwrap":true,"output":["Json","Unknown"],"args":[{"name":"guild ID","description":"The guild to fetch invite from","rest":false,"required":true,"type":"Guild"},{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property of the invite to return","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"}],"category":"guild"},{"name":"$getGuildPreview","version":"2.5.0","description":"Returns the preview of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to fetch preview from","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","description","features","timestamp","icon","splash","emojis","stickers","discoverySplash","approximateMemberCount","approximatePresenceCount"],"enumName":"GuildPreviewProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown"],"category":"guild"},{"name":"$getGuildTemplate","version":"1.5.0","description":"Gets the data of a guild template","aliases":["$getServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to get","rest":false,"required":true,"type":"Template"},{"name":"property","description":"The property of the template to return","rest":false,"type":"Enum","enum":["code","name","description","guildID","authorID","timestamp","updatedTimestamp","url","usageCount","unSynced"],"enumName":"TemplateProperty"}],"output":["Json","Unknown"],"category":"guild"},{"name":"$guildAfkChannelID","version":"1.3.0","aliases":["$serverGuildAfkChannelID"],"description":"Returns the server's afk channel ID","brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildAfkTimeout","version":"1.3.0","description":"Returns the server's afk timeout","brackets":false,"aliases":["$serverAfkTimeout"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildApproximateMemberCount","version":"1.3.0","description":"Returns the approximated member count","brackets":false,"aliases":["$serverApproximateMemberCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildApproximatePresenceCount","version":"1.3.0","description":"Returns the approximated presence count","brackets":false,"aliases":["$serverApproximatePresenceCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildAutomodRules","version":"1.5.0","description":"Returns all automod rules of a guild","aliases":["$getAutomodRules"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get automod rules from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each automod rule to return","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildAvailable","version":"1.3.0","description":"Returns whether the server is available","brackets":false,"aliases":["$serverAvailable"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"unwrap":true,"category":"guild"},{"name":"$guildBanReason","version":"1.4.0","unwrap":true,"brackets":false,"aliases":["$banReason","$serverBanReason","$getBanReason","$getGuildBanReason","$getServerBanReason"],"output":["String"],"description":"Fetches a ban reason of a user","args":[{"name":"guild ID","description":"The guild to pull ban from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to pull ban reason","rest":false,"required":true,"type":"User"}],"category":"guild"},{"name":"$guildBannedMembers","version":"1.4.0","description":"Returns banned member ids of a guild","aliases":["$serverBannedMembers"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull banned members from"},{"name":"separator","rest":false,"type":"String","description":"The separator for each id"}],"output":["User[]"],"category":"guild"},{"name":"$guildBanner","version":"1.0.0","description":"Returns the guild banner","brackets":false,"aliases":["$serverBanner"],"args":[{"name":"guild ID","description":"The guild to retrieve the banner","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"unwrap":true,"category":"guild"},{"name":"$guildBoostCount","version":"1.0.0","description":"Returns the server boost count","brackets":false,"aliases":["$serverBoostCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildBoostLevel","version":"1.0.0","description":"Returns the server boost tier","brackets":false,"aliases":["$serverBoostLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildBoostProgressBarEnabled","version":"1.5.0","description":"Returns whether a guild has the boost progress bar enabled","aliases":["$serverBoostProgressBarEnabled"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildBoostRoleID","version":"1.0.0","description":"Returns the server boost role id","brackets":false,"aliases":["$serverBoostRoleID"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Role"],"unwrap":true,"category":"guild"},{"name":"$guildBoosterIDs","version":"1.5.0","description":"Returns all current boosters of a guild","brackets":false,"aliases":["$serverBoosterIDs"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every member","rest":false,"type":"String"}],"output":["Member[]"],"unwrap":true,"category":"guild"},{"name":"$guildBotCount","version":"1.0.0","description":"Returns the bot count of a guild","brackets":false,"aliases":["$serverBotCount"],"args":[{"name":"guild ID","description":"The guild to retrieve bot count from","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildChannelCount","version":"1.0.0","description":"Returns the server channel count","brackets":false,"aliases":["$serverChannelCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get channels from","rest":false,"type":"Guild","required":true},{"name":"categories","description":"The categories to filter by","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"type":"Enum","enumName":"ChannelType"}],"category":"guild"},{"name":"$guildChannelExists","version":"1.0.0","description":"Returns whether a guild channel id exists","unwrap":true,"aliases":["$serverChannelExists"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to check for the guild channel","type":"Guild","rest":false,"required":true},{"name":"channel ID","description":"The role to guild channel","rest":false,"required":true,"type":"String"}],"category":"guild"},{"name":"$guildChannelIDs","version":"1.3.0","unwrap":true,"brackets":false,"aliases":["$serverChannelIDs"],"output":["Channel[]"],"description":"Returns every channel id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get channel ids from"},{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildCount","version":"1.0.0","description":"Returns the guild count","unwrap":false,"aliases":["$serverCount","$serversCount"],"output":["Number"],"category":"guild"},{"name":"$guildCreatedAt","version":"1.0.0","description":"Returns the server creation timestamp","brackets":false,"aliases":["$serverCreatedAt"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildDefaultMessageNotifications","version":"1.3.0","description":"Returns the default message notifications for this guild","brackets":false,"aliases":["$serverDefaultMessageNotifications"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["GuildDefaultMessageNotifications"],"unwrap":true,"category":"guild"},{"name":"$guildDescription","version":"1.0.0","description":"Returns the server description","brackets":false,"aliases":["$serverDescription"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["String"],"unwrap":true,"category":"guild"},{"name":"$guildDiscoverySplash","version":"1.3.0","description":"Returns the guild discovery splash","brackets":false,"aliases":["$serverDiscoverySplash"],"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the discovery splash","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildDmSpamDetectedAt","version":"2.2.0","description":"Returns when a direct message spam was detected on a guild","aliases":["$serverDmSpamDetectedAt"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildDmsDisabledUntil","version":"2.2.0","description":"Returns the direct messages disabled timestamp of a guild","aliases":["$serverDmsDisabledUntil"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildEmojiCount","version":"1.0.0","description":"Returns the emoji count of a guild","brackets":false,"aliases":["$serverEmojiCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get emotes from","rest":false,"type":"Guild","required":true},{"name":"type","description":"The type of the emotes to count","rest":false,"type":"Enum","enum":["normal","animated"],"enumName":"EmojiType"}],"category":"guild"},{"name":"$guildEmojiExists","version":"2.5.0","description":"Returns whether an emoji id exists on a guild","unwrap":true,"aliases":["$serverEmojiExists"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull emoji from","rest":false,"required":true,"type":"Guild"},{"name":"emoji ID","description":"The emoji to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildEmojiIDs","version":"1.3.0","unwrap":true,"aliases":["$serverEmojiIDs"],"output":["GuildEmoji[]"],"brackets":false,"description":"Returns every emoji id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get emoji ids from"},{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildEmojiLimit","version":"1.5.0","description":"Returns the emoji limit of a guild","brackets":false,"aliases":["$serverEmojiLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildEmojis","version":"1.3.0","unwrap":true,"aliases":["$serverEmojis"],"output":["String[]"],"brackets":false,"description":"Returns every emoji of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get emoji from"},{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildExists","version":"1.0.0","description":"Returns whether a guild id exists","unwrap":true,"aliases":["$serverExists"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to check","rest":false,"required":true,"type":"String"}],"category":"guild"},{"name":"$guildExplicitContentFilter","version":"1.3.0","description":"Returns the explicit content filter level for this guild","brackets":false,"aliases":["$serverExplicitContentFilter"],"output":["GuildExplicitContentFilter"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildFeatures","version":"1.0.0","description":"Returns the guild features","brackets":false,"aliases":["$serverFeatures"],"output":["GuildFeature[]"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildHasAnyFeatures","version":"1.4.0","description":"Returns whether this guild has any of the given features","unwrap":true,"brackets":true,"aliases":["$guildHasAnyFeature","$hasAnyGuildFeatures","$hasAnyGuildFeature"],"args":[{"name":"guild ID","description":"The guild to check for features","rest":false,"required":true,"type":"Guild"},{"name":"features","rest":true,"required":true,"type":"Enum","enum":["AnimatedBanner","AnimatedIcon","ApplicationCommandPermissionsV2","AutoModeration","Banner","Community","CreatorMonetizableProvisional","CreatorStorePage","DeveloperSupportServer","Discoverable","Featurable","HasDirectoryEntry","Hub","InvitesDisabled","InviteSplash","LinkedToHub","MemberVerificationGateEnabled","MoreSoundboard","MonetizationEnabled","MoreStickers","News","Partnered","PreviewEnabled","PrivateThreads","RaidAlertsDisabled","RelayEnabled","RoleIcons","RoleSubscriptionsAvailableForPurchase","RoleSubscriptionsEnabled","Soundboard","TicketedEventsEnabled","VanityURL","Verified","VIPRegions","WelcomeScreenEnabled","GuildTags","EnhancedRoleColors","GuestsEnabled","PinPermissionMigrationComplete"],"description":"The features to check for","enumName":"GuildFeature"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHasFeatures","version":"1.4.0","description":"Returns whether this guild has all the given features","unwrap":true,"brackets":true,"aliases":["$hasGuildFeatures"],"args":[{"name":"guild ID","description":"The guild to check for features","rest":false,"required":true,"type":"Guild"},{"name":"features","rest":true,"required":true,"type":"Enum","enum":["AnimatedBanner","AnimatedIcon","ApplicationCommandPermissionsV2","AutoModeration","Banner","Community","CreatorMonetizableProvisional","CreatorStorePage","DeveloperSupportServer","Discoverable","Featurable","HasDirectoryEntry","Hub","InvitesDisabled","InviteSplash","LinkedToHub","MemberVerificationGateEnabled","MoreSoundboard","MonetizationEnabled","MoreStickers","News","Partnered","PreviewEnabled","PrivateThreads","RaidAlertsDisabled","RelayEnabled","RoleIcons","RoleSubscriptionsAvailableForPurchase","RoleSubscriptionsEnabled","Soundboard","TicketedEventsEnabled","VanityURL","Verified","VIPRegions","WelcomeScreenEnabled","GuildTags","EnhancedRoleColors","GuestsEnabled","PinPermissionMigrationComplete"],"description":"The features to check for","enumName":"GuildFeature"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHasTemplate","version":"1.5.0","description":"Returns whether this guild has a template","unwrap":true,"brackets":false,"aliases":["$hasGuildTemplate"],"args":[{"name":"guild ID","description":"The guild to check for template","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHighestRoleID","version":"1.5.0","description":"Returns the highest role id of a guild","aliases":["$serverHighestRoleID"],"brackets":false,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to retrieve its highest role","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildID","version":"1.0.0","description":"Returns the guild id with given name","unwrap":true,"aliases":["$serverID"],"output":["Guild"],"brackets":false,"args":[{"name":"name","description":"The guild name to return the id","rest":true,"type":"String","required":true}],"category":"guild"},{"name":"$guildIDs","version":"1.0.0","description":"Returns all the guilds this bot is in","unwrap":true,"aliases":["$serverIDs"],"output":["Guild[]"],"brackets":false,"args":[{"name":"separator","description":"The separator for each guild","type":"String","required":true,"rest":false}],"category":"guild"},{"name":"$guildIcon","version":"1.0.0","description":"Returns the server icon","brackets":false,"aliases":["$serverIcon"],"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the guild icon","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildInviteExists","version":"2.4.0","description":"Returns whether a guild invite code exists","aliases":["$serverInviteExists"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull invites from","rest":false,"required":true,"type":"Guild"},{"name":"code","description":"The invite to check","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildInvites","version":"2.5.0","description":"Returns all invites of a guild","aliases":["$serverInvites"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull invites from"},{"name":"property","rest":false,"type":"Enum","description":"The property of the invites to return","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"},{"name":"separator","rest":false,"type":"String","description":"The separator to use for each property"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildInvitesDisabledUntil","version":"2.2.0","description":"Returns the invites disabled timestamp of a guild","aliases":["$serverInvitesDisabledUntil"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildLarge","version":"2.4.0","description":"Returns whether a guild is considered as large","unwrap":true,"brackets":false,"aliases":["$serverLarge"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildLeave","version":"1.0.0","description":"Leaves a guild","brackets":false,"aliases":["$serverLeave"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to leave","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildLowestRoleID","version":"1.5.0","description":"Returns the lowest role id of a guild","aliases":["$serverLowestRoleID"],"brackets":false,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to retrieve its lowest role","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMFALevel","version":"1.3.0","description":"Returns the mfa level for this guild","brackets":false,"aliases":["$serverMFALevel"],"output":["GuildMFALevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaxStageVideoChannelUsers","version":"1.3.0","description":"Returns the maximum video channel users for stage channels of this guild","brackets":false,"aliases":["$serverMaxStageVideoChannelUsers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaxVideoChannelUsers","version":"1.3.0","description":"Returns the maximum video channel users for this guild","brackets":false,"aliases":["$serverMaxVideoChannelUsers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumBitrate","version":"1.3.0","aliases":["$serverMaximumBitrate"],"output":["Number"],"description":"Returns the maximum bitrate for voice channels of this guild","brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumMembers","version":"1.3.0","description":"Returns the maximum members for this guild","brackets":false,"aliases":["$serverMaximumMembers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumPresences","version":"1.3.0","description":"Returns the maximum presences for this guild","brackets":false,"aliases":["$serverMaximumPresences"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMemberCount","version":"1.0.0","description":"Returns the user count of a guild","brackets":false,"aliases":["$serverMemberCount","$serverMembersCount"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve member count from","rest":false,"required":true,"type":"Guild"},{"name":"presence","description":"The presence of the users to count","rest":false,"type":"Enum","enum":["online","idle","dnd","offline"],"enumName":"PresenceStatus"},{"name":"count bots","description":"Whether to count bots","rest":false,"type":"Boolean"}],"unwrap":true,"category":"guild"},{"name":"$guildMemberIDs","version":"1.4.0","aliases":["$memberIDs","$serverMemberIDs"],"output":["Member[]"],"description":"Returns all cached member ids of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull members from"},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildNSFWLevel","version":"1.3.0","description":"Returns the nsfw level for this guild","brackets":false,"aliases":["$serverNSFWLevel"],"output":["GuildNSFWLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildName","version":"1.0.0","description":"Returns the server name","brackets":false,"aliases":["$serverName"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildNameAcronym","version":"1.3.0","description":"Returns the server name acronym","brackets":false,"aliases":["$serverNameAcronym"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildNames","version":"1.0.0","description":"Returns the server names of the bot","brackets":false,"aliases":["$serverNames"],"output":["String[]"],"args":[{"name":"separator","description":"The separator to use for each guild","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildOwnerID","version":"1.0.0","description":"Returns the server owner id","brackets":false,"aliases":["$serverOwnerID"],"output":["User"],"args":[{"name":"guild ID","description":"The guild to retrieve the owner from","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPartnered","version":"1.3.0","description":"Returns whether the server is partnered","brackets":false,"aliases":["$serverPartnered"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPreferredLocale","version":"1.3.0","description":"Returns the server's preferred locale","brackets":false,"aliases":["$serverPreferredLocale"],"output":["Locale"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPublicUpdatesChannelID","version":"1.3.0","description":"Returns the server's public updates channel ID","brackets":false,"aliases":["$serverPublicUpdatesChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildRaidDetectedAt","version":"2.2.0","description":"Returns when a raid was detected on a guild","aliases":["$serverRaidDetectedAt"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildRawData","version":"1.5.0","description":"Returns the raw data of a guild","aliases":["$serverRawData"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get raw data from","rest":false,"type":"Guild","required":true}],"output":["Json"],"category":"guild"},{"name":"$guildRoleCount","version":"1.0.0","description":"Returns the role count of a guild","brackets":false,"aliases":["$serverRoleCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get roles from","rest":false,"type":"Guild","required":true}],"category":"guild"},{"name":"$guildRoleIDs","version":"1.3.0","description":"Returns every role id of the guild","aliases":["$serverRoleIDs","$roleIDs"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get role ids from","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every role","rest":false,"type":"String"},{"name":"everyone","description":"Whether to include the @everyone role, defaults to true","rest":false,"type":"Boolean"}],"output":["Role[]"],"category":"guild"},{"name":"$guildRulesChannelID","version":"1.3.0","description":"Returns the server's rules channel ID","brackets":false,"aliases":["$serverRulesChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildSafetyAlertsChannelID","version":"1.3.0","description":"Returns the server's safety alerts channel ID","brackets":false,"aliases":["$serverSafetyAlertsChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildScheduledEvents","version":"2.6.0","description":"Returns all scheduled events of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get scheduled events from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of the scheduled events to return","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildShardID","version":"1.0.0","description":"Returns the server shard ID","brackets":false,"aliases":["$serverShardID"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildSoundboardLimit","version":"2.5.0","description":"Returns the soundboard sound limit of a guild","brackets":false,"unwrap":true,"aliases":["$serverSoundboardLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildSoundboardSounds","version":"2.4.0","description":"Returns all soundboard sounds of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get soundboard sounds from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each sound to return","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildSplashURL","version":"1.0.0","aliases":["$serverSplashURL"],"output":["URL"],"description":"Returns the guild splash url","brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the splash","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildStageInstances","version":"2.3.0","description":"Returns all active stage instances of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get stage instances from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each stage instance to return","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"enumName":"StageProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildStickerExists","version":"2.5.0","description":"Returns whether a sticker id exists on a guild","unwrap":true,"aliases":["$serverStickerExists"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull sticker from","rest":false,"required":true,"type":"Guild"},{"name":"sticker ID","description":"The sticker to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildStickerIDs","version":"1.3.0","unwrap":true,"aliases":["$serverStickerIDs"],"output":["Sticker[]"],"brackets":false,"description":"Returns every sticker id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get sticker ids from"},{"name":"separator","description":"The separator to use for every sticker","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildStickerLimit","version":"1.5.0","description":"Returns the sticker limit of a guild","brackets":false,"aliases":["$serverStickerLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildSystemChannelID","version":"1.0.0","description":"Returns the server's system channel ID","brackets":false,"aliases":["$serverSystemChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildTemplateCode","version":"2.4.0","description":"Returns the template code of a guild","unwrap":true,"brackets":false,"aliases":["$serverTemplateCode"],"args":[{"name":"guild ID","description":"The guild to get template from","rest":false,"required":true,"type":"Guild"}],"output":["Template"],"category":"guild"},{"name":"$guildTimedOutMembers","version":"1.5.0","description":"Returns all current timed out members of a guild","unwrap":true,"brackets":false,"aliases":["$serverTimedOutMembers"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every member","rest":false,"type":"String"}],"output":["Member[]"],"category":"guild"},{"name":"$guildVanityCode","version":"1.0.0","description":"Returns the guilds vanity code","unwrap":true,"aliases":["$serverVanityCode"],"output":["Invite"],"args":[{"name":"guild ID","description":"The guild to return its vanity code","rest":false,"type":"Guild","required":true}],"brackets":false,"category":"guild"},{"name":"$guildVanityUses","version":"1.0.0","description":"Returns the guilds vanity uses","unwrap":true,"aliases":["$serverVanityUses"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to return its vanity uses","rest":false,"type":"Guild","required":true}],"brackets":false,"category":"guild"},{"name":"$guildVerificationLevel","version":"1.3.0","description":"Returns the server verification level","brackets":false,"aliases":["$serverVerificationLevel"],"output":["GuildVerificationLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildVerified","version":"1.3.0","description":"Returns whether the server is verified","brackets":false,"aliases":["$serverVerified"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildWebhooks","version":"2.3.0","description":"Returns all webhooks of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"type":"Guild","required":true},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildWidgetChannelEnabled","version":"1.3.0","description":"Returns whether widget channel is enabled for this guild","brackets":false,"aliases":["$serverWidgetChannelEnabled"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildWidgetChannelID","version":"1.3.0","description":"Returns the widget channel for this guild","brackets":false,"aliases":["$serverWidgetChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$randomGuildID","version":"1.0.3","description":"Returns a random guild ID","unwrap":false,"aliases":["$randomServerID"],"output":["Guild"],"category":"guild"},{"name":"$registerGuildApplicationCommands","version":"1.4.0","description":"Registers all application commands with type: 1 to a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to register commands to","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildAFKChannel","version":"2.1.0","description":"Sets the AFK channel for a guild, returns bool","unwrap":true,"aliases":["$setServerAFKChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set AFK channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new AFK channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildAFKTimeout","version":"2.1.0","description":"Sets the AFK timeout for a guild, returns bool","unwrap":true,"aliases":["$setServerAFKTimeout"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set AFK timeout for","rest":false,"type":"Guild","required":true},{"name":"seconds","description":"The new AFK timeout in seconds (60, 300, 900, 1800, 3600)","rest":false,"required":true,"type":"Number"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildBanner","version":"1.0.0","description":"Sets a guild banner, returns boolean","unwrap":true,"aliases":["$setServerBanner"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set banner on"},{"name":"url","description":"The new banner","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildBoostProgressBar","version":"1.5.0","description":"Sets a guild boost progress bar, returns bool","aliases":["$setServerBoostProgressBar"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to set boost progress bar for","rest":false,"required":true,"type":"Guild"},{"name":"enabled","description":"Whether to enable the boost progress bar","rest":false,"required":true,"type":"Boolean"},{"name":"reason","description":"The reason for enabling/disabling boost progress bar","rest":false,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildDefaultMessageNotifications","version":"2.1.0","description":"Sets the default message notifications setting for a guild, returns bool","unwrap":true,"aliases":["$setServerDefaultMessageNotifications"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set default message notifications for","rest":false,"type":"Guild","required":true},{"name":"setting","description":"The new default message notifications setting","rest":false,"type":"Enum","enum":["AllMessages","OnlyMentions"],"enumName":"GuildDefaultMessageNotifications"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildDiscoverySplash","version":"2.1.0","description":"Sets the discovery splash for a guild, returns bool","unwrap":true,"aliases":["$setServerDiscoverySplash"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set discovery splash for","rest":false,"type":"Guild","required":true},{"name":"url","description":"The new discovery splash","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildDmsDisabled","version":"2.6.0","description":"Sets the guild's DMs activity disabled for a specific duration, returns bool","aliases":["$setServerDmsDisabled"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to disable DMs for","rest":false,"required":true,"type":"Guild"},{"name":"duration","description":"The duration for disabling DMs, omit to enable DMs again","rest":false,"type":"Time"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildExplicitContentFilter","version":"2.1.0","description":"Sets the explicit content filter for a guild, returns bool","unwrap":true,"aliases":["$setServerExplicitContentFilter"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set explicit content filter for","rest":false,"type":"Guild","required":true},{"name":"filter","description":"The new explicit content filter","rest":false,"type":"Enum","enum":["Disabled","MembersWithoutRoles","AllMembers"],"enumName":"GuildExplicitContentFilter"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildIcon","version":"1.0.0","description":"Sets a guild icon, returns boolean","unwrap":true,"aliases":["$setServerIcon"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set icon on"},{"name":"url","description":"The new icon","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildInvitesDisabled","version":"2.6.0","description":"Sets the guild's invites disabled for a specific duration, returns bool","aliases":["$setServerInvitesDisabled"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to disable invites for","rest":false,"required":true,"type":"Guild"},{"name":"duration","description":"The duration for disabling invites, omit to enable invites again","rest":false,"type":"Time"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildMFALevel","version":"2.1.0","description":"Sets the MFA level for a guild, returns bool","unwrap":true,"deprecated":true,"aliases":["$setServerMFALevel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set MFA level for","rest":false,"type":"Guild","required":true},{"name":"level","description":"The new MFA level","rest":false,"required":true,"type":"Enum","enum":["None","Elevated"],"enumName":"GuildMFALevel"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildName","version":"1.0.0","description":"Sets a guild name, returns boolean","unwrap":true,"aliases":["$setServerName"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set name"},{"name":"name","description":"The new name","rest":false,"required":true,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildOwner","version":"2.1.0","description":"Sets the owner of a guild, returns bool","unwrap":true,"deprecated":true,"aliases":["$setServerOwner"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set owner on","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The new owner","rest":false,"required":true,"type":"Member","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildPausedInvites","version":"1.5.0","description":"Sets a guild paused invite status, returns bool","aliases":["$setServerPausedInvites"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to set paused invites for","rest":false,"required":true,"type":"Guild"},{"name":"disabled","description":"Whether to disable the invites","rest":false,"required":true,"type":"Boolean"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildPreferredLocale","version":"2.1.0","description":"Sets the preferred locale of a guild, returns bool","unwrap":true,"aliases":["$setServerPreferredLocale"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set preferred locale on","rest":false,"type":"Guild","required":true},{"name":"locale","description":"The new preferred locale","rest":false,"type":"Enum","enum":["Indonesian","EnglishUS","EnglishGB","Bulgarian","ChineseCN","ChineseTW","Croatian","Czech","Danish","Dutch","Finnish","French","German","Greek","Hindi","Hungarian","Italian","Japanese","Korean","Lithuanian","Norwegian","Polish","PortugueseBR","Romanian","Russian","SpanishES","SpanishLATAM","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"enumName":"Locale"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildPublicUpdatesChannel","version":"2.1.0","description":"Sets the public updates channel for a guild, returns bool","unwrap":true,"aliases":["$setServerPublicUpdatesChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set public updates channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new public updates channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildRulesChannel","version":"2.1.0","description":"Sets the rules channel for a guild, returns bool","unwrap":true,"aliases":["$setServerRulesChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set rules channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new rules channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSafetyAlertsChannel","version":"2.1.0","description":"Sets the safety alerts channel for a guild, returns bool","unwrap":true,"aliases":["$setServerSafetyAlertsChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set safety alerts channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new safety alerts channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSplash","version":"1.0.0","description":"Sets a guild splash, returns boolean","unwrap":true,"aliases":["$setServerSplash"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set splash on"},{"name":"url","description":"The new splash","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSystemChannel","version":"2.1.0","description":"Sets the system channel for a guild, returns bool","unwrap":true,"aliases":["$setServerSystemChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set system channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new system channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildVerificationLevel","version":"2.1.0","description":"Sets the verification level of a guild, returns bool","unwrap":true,"aliases":["$setServerVerificationLevel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set verification level on","rest":false,"type":"Guild","required":true},{"name":"level","description":"The new verification level","rest":false,"type":"Enum","enum":["None","Low","Medium","High","VeryHigh"],"enumName":"GuildVerificationLevel"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildWidgetSettings","version":"2.1.0","description":"Sets the widget settings of a guild, returns bool","unwrap":true,"aliases":["$setServerWidgetSettings"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set widget settings on","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The invite channel for the widget","rest":false,"type":"Channel"},{"name":"enabled","description":"Whether to enable the widget","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$syncGuildTemplate","version":"2.4.0","description":"Syncs this template to the current state of the guild, returns bool","aliases":["$syncServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to sync","rest":false,"required":true,"type":"Template"}],"output":["Boolean"],"category":"guild"},{"name":"$httpAddForm","version":"1.4.0","description":"Adds form data to request","unwrap":false,"category":"http"},{"name":"$httpAddHeader","version":"1.0.0","description":"Adds an HTTP header","unwrap":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true},{"name":"value","description":"The header value","rest":true,"type":"String","required":true}],"brackets":true,"category":"http"},{"name":"$httpAppendFile","version":"1.4.0","description":"Appends a file to form data","brackets":true,"unwrap":true,"args":[{"name":"key","description":"The key name to add this value to","rest":false,"required":true,"type":"String"},{"name":"url / path","type":"Attachment","rest":false,"required":true,"description":"The path or url to use"}],"category":"http"},{"name":"$httpAppendValue","version":"1.4.0","description":"Appends a key-value to form data","brackets":true,"unwrap":true,"args":[{"name":"key","description":"The key name to add this value to","rest":false,"required":true,"type":"String"},{"name":"value","type":"String","rest":false,"required":true,"description":"The value to set"}],"category":"http"},{"name":"$httpGetHeader","version":"1.5.0","description":"Gets an HTTP header","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true}],"output":["String"],"category":"http"},{"name":"$httpPing","version":"1.5.0","description":"Returns the response time of the HTTP request","aliases":["$httpResponseTime"],"unwrap":false,"experimental":true,"output":["Number"],"category":"http"},{"name":"$httpRemoveHeader","version":"1.0.0","description":"Removes an HTTP header","unwrap":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true}],"brackets":true,"category":"http"},{"name":"$httpRequest","version":"1.0.0","description":"Performs an http request, returns the status code","output":["Number"],"args":[{"name":"url","description":"The url to perform this request to","type":"String","rest":false,"required":true},{"name":"method","description":"The method to use","rest":false,"required":true,"type":"String"},{"name":"variable","description":"Environment variable name to load the response to","rest":false,"required":false,"type":"String"}],"brackets":true,"unwrap":true,"category":"http"},{"name":"$httpResult","version":"1.2.0","description":"Retrieve an http result value","brackets":false,"unwrap":true,"args":[{"name":"key","description":"The key to return its value","required":true,"type":"String","rest":true}],"output":["Json","Unknown"],"category":"http"},{"name":"$httpSetBody","version":"1.0.0","description":"Sets a JSON body for the request","args":[{"name":"body","description":"The JSON body","rest":false,"required":true,"type":"String"}],"unwrap":true,"brackets":true,"category":"http"},{"name":"$httpSetContentType","version":"1.4.0","description":"Forces the http request to be decoded using given content type","args":[{"name":"type","description":"The content type of the result","required":true,"type":"Enum","enum":["Json","Text"],"rest":false,"enumName":"HTTPContentType"}],"brackets":true,"unwrap":true,"category":"http"},{"name":"$applicationCommandDescription","version":"1.0.7","description":"Returns an application command description","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its description","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandDisplay","version":"1.4.0","description":"Gets the full command interaction with all options","unwrap":true,"brackets":false,"args":[{"name":"hide option name","description":"Whether to suppress option names from being displayed","rest":false,"required":true,"type":"Boolean"}],"output":["String"],"category":"interaction"},{"name":"$applicationCommandID","version":"1.0.7","description":"Returns the application command id","brackets":false,"args":[{"name":"name","description":"The name of the command to pull its id","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandName","version":"1.0.7","description":"Returns an application command name","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its name","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandOptions","version":"1.5.0","description":"Returns an application command options in JSON format","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its options","rest":false,"required":true,"type":"String"}],"output":["Json"],"unwrap":true,"category":"interaction"},{"name":"$applicationSubCommandGroupName","version":"1.5.0","description":"Returns the application sub command group name of this interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$applicationSubCommandName","version":"1.5.0","description":"Returns the application sub command name of this interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$authorizingIntegrationOwners","version":"1.5.0","description":"Returns the authorizing integration owners of this interaction","unwrap":true,"brackets":false,"args":[{"name":"type","description":"The type of authorizing integration owners to return","rest":false,"required":true,"type":"Enum","enum":["Guild","User"],"enumName":"AuthorizingIntegrationOwnersType"}],"output":["Json","User","Guild"],"category":"interaction"},{"name":"$autocomplete","version":"1.0.6","description":"Forces autocomplete response","unwrap":false,"category":"interaction"},{"name":"$context","version":"1.5.0","description":"Returns the context of this interaction","aliases":["$interactionContext"],"unwrap":false,"output":["InteractionContextType"],"category":"interaction"},{"name":"$customID","version":"1.0.0","description":"Retrieves the custom id of the interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$defer","version":"1.0.0","description":"Defers this interaction","unwrap":false,"category":"interaction"},{"name":"$deferUpdate","version":"1.3.0","description":"Defers this interaction as an update","unwrap":false,"category":"interaction"},{"name":"$ephemeral","version":"1.0.0","description":"Marks this reply as ephemeral","unwrap":false,"category":"interaction"},{"name":"$focusedOptionName","version":"1.0.6","description":"Returns the focused option of the command","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$focusedOptionValue","version":"1.0.6","description":"Returns the focused option value of the command","unwrap":false,"output":["Unknown"],"category":"interaction"},{"name":"$input","version":"1.0.0","description":"Returns the value from a modal field","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id to get its field value","rest":false,"type":"String","required":true},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["String"],"category":"interaction"},{"name":"$interactionDelete","version":"1.4.0","description":"Deletes this interaction's reply","unwrap":false,"category":"interaction"},{"name":"$interactionFollowUp","version":"1.2.0","description":"Forces an interaction follow up","unwrap":true,"brackets":false,"output":["Message"],"args":[{"name":"content","description":"The content to use for this follow up","required":true,"type":"String","rest":false},{"name":"return message ID","description":"Whether to fetch and return the message id of the follow up","rest":false,"type":"Boolean","required":false}],"category":"interaction"},{"name":"$interactionRawData","version":"1.5.0","description":"Returns the raw data of this interaction","unwrap":false,"output":["Json"],"category":"interaction"},{"name":"$interactionReply","version":"1.0.0","description":"Forces an interaction reply","unwrap":true,"brackets":false,"output":["Message"],"args":[{"name":"content","description":"The content to use for this response","required":true,"type":"String","rest":false},{"name":"return message ID","description":"Whether to fetch and return the message id of the reply","rest":false,"type":"Boolean","required":false}],"category":"interaction"},{"name":"$interactionRequirePremium","version":"1.5.0","description":"Requires premium to use this interaction","unwrap":false,"deprecated":true,"category":"interaction"},{"name":"$interactionUpdate","version":"1.0.3","description":"Forces an interaction update","unwrap":true,"brackets":false,"args":[{"name":"content","description":"The content to use for this response","required":true,"type":"String","rest":false}],"category":"interaction"},{"name":"$isActivityCommand","version":"2.4.0","description":"Returns whether the interaction is an activity command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isAnySelectMenu","version":"1.0.0","output":["Boolean"],"description":"Returns whether the context is a select menu","unwrap":false,"category":"interaction"},{"name":"$isAutocomplete","version":"1.0.6","description":"Returns whether the interaction is autocomplete","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isButton","version":"1.0.0","description":"Returns whether the interaction is a button","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isChannelSelectMenu","version":"1.0.0","description":"Returns whether the context is a channel select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isCommand","version":"1.0.6","description":"Returns whether the interaction is a command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isContextMenu","version":"1.0.6","description":"Returns whether the interaction is a context menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isMentionableSelectMenu","version":"1.0.0","description":"Returns whether the context is a mentionable select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isModal","version":"1.0.0","description":"Returns whether the context is a modal","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isRepliable","version":"1.5.0","description":"Returns whether this interaction can be replied to","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isRoleSelectMenu","version":"1.0.0","description":"Returns whether the context is a role select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isSlashCommand","version":"1.4.0","description":"Returns whether the interaction is a slash command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isStringSelectMenu","version":"1.0.0","description":"Returns whether the context is a string select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isUserSelectMenu","version":"1.0.0","description":"Returns whether the context is a user select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$launchActivity","version":"2.4.0","description":"Launches the activity of the client, if enabled","unwrap":false,"category":"interaction"},{"name":"$locale","aliases":["$interactionLocale"],"version":"1.4.0","description":"Retrieves the user locale of the interaction","unwrap":false,"output":["Locale"],"category":"interaction"},{"name":"$modal","version":"1.0.0","description":"Creates a modal","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this modal","rest":false,"type":"String","required":true},{"name":"title","description":"The title for the modal","rest":false,"required":true,"type":"String"}],"category":"interaction"},{"name":"$option","version":"1.0.6","description":"Returns an option value with given name (interaction command)","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"option name","description":"The option name to retrieve its value","rest":false,"required":true,"type":"String"}],"category":"interaction"},{"name":"$selectMenuValues","version":"1.0.0","description":"Returns select menu values","brackets":false,"args":[{"name":"index","description":"The index of the value","type":"Number","rest":false},{"name":"separator","description":"The separator to use for each value","type":"String","rest":false}],"output":["String[]"],"unwrap":true,"category":"interaction"},{"name":"$showModal","version":"1.4.0","description":"Shows the modal immediately","unwrap":false,"category":"interaction"},{"name":"$targetMember","version":"2.3.0","description":"Retrieves data of the target member","unwrap":true,"brackets":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"interaction"},{"name":"$targetMessage","version":"1.5.0","description":"Retrieves data of the target message","unwrap":true,"brackets":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"Separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"interaction"},{"name":"$targetMessageEmbeds","version":"1.5.0","description":"Retrieves data of embeds from the target message","aliases":["$targetMessageEmbed"],"unwrap":true,"brackets":false,"args":[{"name":"embed index","description":"The embed index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["title","titleURL","authorName","authorIcon","footerText","image","thumbnail","footerIcon","description","timestamp","authorURL","color","fieldName","fieldInline","fieldValue"],"required":false,"enumName":"EmbedProperty"},{"name":"field index","description":"The index of the field to get","rest":false,"type":"Number"}],"output":["Json","Unknown"],"category":"interaction"},{"name":"$deleteInvite","version":"1.0.0","brackets":true,"description":"Deletes an invite, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"reason","description":"The reason for deleting the invite","rest":false,"type":"String"}],"category":"invite"},{"name":"$getInvite","version":"2.2.0","description":"Returns information about an invite","brackets":true,"unwrap":true,"output":["Json","Unknown"],"args":[{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property of the invite to return","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"}],"category":"invite"},{"name":"$inviteExists","version":"1.0.0","description":"Returns whether an invite code exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"code","description":"The invite to check","rest":false,"required":true,"type":"String"}],"category":"invite"},{"name":"$inviterCode","version":"1.0.3","description":"Returns the invite code that was used by this person","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get its invite code","rest":false,"required":true,"type":"Member","pointer":0}],"output":["Invite"],"category":"invite"},{"name":"$inviterID","version":"1.0.3","description":"Returns the user who invited this person","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get its inviter","rest":false,"required":true,"type":"Member","pointer":0}],"output":["User"],"category":"invite"},{"name":"$isJSON","version":"1.4.0","aliases":["$isValidJSON"],"description":"Checks whether given JSON is valid","unwrap":true,"brackets":true,"args":[{"name":"json","description":"The json to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"json"},{"name":"$jsonAssign","version":"2.6.0","description":"Combines multiple JSON objects into a single JSON object","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable that holds the target object","required":true,"type":"String","rest":false},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","type":"String","rest":false},{"name":"objects","description":"The objects from which to copy properties","type":"Json","required":true,"rest":true}],"output":["Json"],"category":"json"},{"name":"$jsonDelete","version":"1.4.0","description":"Deletes a key from a traversed JSON","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"keys","description":"The keys to use to traverse the object","rest":true,"required":true,"type":"String"}],"category":"json"},{"name":"$jsonEntries","version":"1.4.0","description":"Gets entries from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get entries from","rest":false,"type":"String","required":true}],"output":["Json"],"unwrap":true,"category":"json"},{"name":"$jsonHas","version":"2.2.0","description":"Returns whether a key exists in a JSON object","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable that holds json","required":true,"type":"String","rest":false},{"name":"key","description":"The key to check for","type":"String","required":true,"rest":false}],"output":["Boolean"],"category":"json"},{"name":"$jsonKeys","version":"1.4.0","description":"Gets keys from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get keys from","rest":false,"type":"String","required":true}],"output":["Json"],"unwrap":true,"category":"json"},{"name":"$jsonLoad","version":"1.0.0","description":"Loads JSON to an env variable","brackets":true,"args":[{"name":"variable","description":"The variable to load json to","rest":false,"type":"String","required":true},{"name":"json","description":"The json data","type":"Json","required":true,"rest":false}],"unwrap":true,"category":"json"},{"name":"$jsonSet","version":"1.2.0","description":"Adds a JSON key with a value","unwrap":true,"brackets":true,"args":[{"name":"keys;value","description":"The keys to traverse, with the value to use at the end","type":"String","rest":true,"required":true}],"output":["Boolean"],"category":"json"},{"name":"$jsonStringify","version":"1.5.0","output":["Json"],"description":"Returns the JSON in stringified format","args":[{"name":"variable","description":"The variable to stringify","required":true,"type":"String","rest":false},{"name":"space","description":"The space to use","type":"Number","rest":false}],"brackets":true,"unwrap":true,"category":"json"},{"name":"$jsonValues","version":"1.4.0","description":"Gets values from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get values from","rest":false,"type":"String","required":true},{"name":"separator","description":"The separator to use for each value","type":"String","rest":false}],"output":["Json","Unknown[]"],"unwrap":true,"category":"json"},{"name":"$onlyForCategories","version":"1.5.0","description":"Only executes code if given ids match the current category","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if category is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"channels","pointer":0,"description":"The categories to check for","rest":true,"required":true,"type":"Channel"}],"category":"limiter"},{"name":"$onlyForChannels","version":"1.5.0","description":"Only executes code if given ids match the current channel","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if channel is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"channels","pointer":0,"description":"The channels to check for","rest":true,"required":true,"type":"Channel"}],"category":"limiter"},{"name":"$onlyForGuilds","version":"1.1.0","description":"Only executes code if given ids match the guild","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if guild is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"guilds","description":"The guilds to check for","rest":true,"required":true,"type":"Guild"}],"category":"limiter"},{"name":"$onlyForRoles","version":"1.1.0","description":"Only executes code if user has given roles","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if user does not meet the roles","rest":false,"required":true,"type":"String"},{"name":"roles","pointer":0,"description":"The roles to check for","rest":true,"required":true,"type":"Role"}],"category":"limiter"},{"name":"$onlyForUsers","version":"1.1.0","description":"Only executes code if given ids match the author","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if user is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"users","description":"The users to check for","rest":true,"required":true,"type":"User"}],"category":"limiter"},{"name":"$onlyIf","version":"1.0.0","description":"Stop execution if condition is not matched","unwrap":false,"brackets":true,"args":[{"name":"condition","condition":true,"description":"The condition to use","rest":false,"type":"String","required":true},{"name":"code","description":"The code to execute if error","rest":false,"type":"String"}],"category":"limiter"},{"name":"$stop","version":"1.0.0","description":"Stops code execution","unwrap":false,"category":"limiter"},{"name":"$chalkLog","version":"2.3.0","description":"Logs styled text to the console using Chalk","unwrap":true,"brackets":true,"args":[{"name":"text","description":"The text to log","type":"String","required":true,"rest":false},{"name":"styles","description":"The styles to apply to the text","type":"String","required":true,"rest":true}],"category":"logging"},{"name":"$log","version":"1.0.0","description":"Log something to console","unwrap":true,"args":[{"name":"message","description":"The message to log to console","rest":true,"type":"String","required":true}],"brackets":true,"category":"logging"},{"name":"$logger","version":"1.3.0","description":"Implements Logger API of ForgeScript","unwrap":true,"brackets":true,"args":[{"name":"log type","description":"The log type","enum":["Warn","Deprecated","Debug","Info","Error"],"type":"Enum","required":true,"rest":false,"enumName":"LogType"},{"name":"text","description":"The text to log","rest":false,"required":true,"type":"String"}],"category":"logging"},{"name":"$findApplicationEmoji","version":"2.2.0","description":"Finds an application emoji of the client","brackets":true,"output":["ApplicationEmoji"],"args":[{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findChannel","version":"1.0.0","description":"Finds a channel","brackets":true,"output":["Channel"],"args":[{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"return channel","description":"Returns the current channel id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findChannels","version":"1.5.0","description":"Finds channels of a guild using a query","brackets":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to find the channels on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked"],"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"method","description":"The method to use for searching","rest":false,"type":"Enum","enum":["startsWith","endsWith","includes"],"enumName":"SearchMethodType"}],"unwrap":true,"category":"lookup"},{"name":"$findEmoji","version":"1.0.0","description":"Finds an emoji","brackets":true,"output":["Emoji"],"args":[{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findGuild","version":"2.2.0","description":"Finds a guild","brackets":true,"output":["Guild"],"args":[{"name":"query","description":"The id or guild name to find","rest":false,"type":"String","required":true},{"name":"return guild","description":"Returns the current guild id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findGuildChannel","version":"1.0.0","description":"Finds a channel of a guild","brackets":true,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to find the channel on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"return channel","description":"Returns the current channel id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findGuildEmoji","version":"1.0.0","description":"Finds an emoji of a guild","brackets":true,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to find the emoji on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findMember","version":"1.0.0","description":"Finds a member of a guild","brackets":true,"output":["Member"],"args":[{"name":"guild ID","description":"The guild to find the member on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or name to find","rest":false,"type":"String","required":true},{"name":"return author","description":"Returns the current author id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findMembers","version":"1.4.0","description":"Finds member of a guild using a query","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to use","rest":false,"required":true,"type":"Guild"},{"name":"query","description":"The query to use","rest":false,"required":true,"type":"String"},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"enum value","description":"The enum value to use","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"lookup"},{"name":"$findRole","version":"1.0.0","description":"Finds a role of a guild","brackets":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to find the role on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or role name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findRoles","version":"1.5.0","description":"Finds roles of a guild using a query","brackets":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to find the roles on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or role name to find","rest":false,"type":"String","required":true},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"method","description":"The method to use for searching","rest":false,"type":"Enum","enum":["startsWith","endsWith","includes"],"enumName":"SearchMethodType"}],"unwrap":true,"category":"lookup"},{"name":"$findUser","version":"1.0.0","description":"Finds a user","brackets":true,"output":["User"],"args":[{"name":"query","description":"The id, mention or user name to find","rest":false,"type":"String","required":true},{"name":"return author","description":"Returns the current author id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$abs","version":"1.0.1","description":"Returns the absolute value of a number (the value without regard to whether it is positive or negative)","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$base","version":"1.1.0","description":"Convert number from one base to another","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The target number for conversion","type":"String","rest":false,"required":true},{"name":"to","description":"The target base","type":"Number","rest":false,"required":true},{"name":"from","description":"The source base","type":"Number","rest":false}],"category":"math"},{"name":"$bigintDivide","version":"1.3.0","description":"Divides multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to divide","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintMulti","version":"1.3.0","description":"Multiplies multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to multiply","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintSub","version":"1.3.0","description":"Subtracts multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to sub","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintSum","version":"1.3.0","description":"Adds multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to add","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$ceil","version":"1.5.0","description":"Returns the smallest integer greater than or equal to its numeric argument","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$divide","version":"1.0.0","description":"Divides multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to divide","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$floor","version":"1.0.0","description":"Returns the greatest integer less than or equal to its numeric argument","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$logn","version":"1.0.0","description":"Returns the natural logarithm (base e) of a number","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"Number to get its logarithm","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$math","version":"1.0.0","description":"Runs math expression, returns nothing if incorrect expression","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"expr","description":"The math expression to run","rest":false,"type":"String","required":true}],"category":"math"},{"name":"$max","version":"1.0.7","description":"Returns the largest number of the ones given","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers among which to find the largest","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$min","version":"1.0.7","description":"Returns the smallest number of the ones given","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"numbers","description":"Numbers among which to find the smallest","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$modulo","version":"1.0.0","description":"Returns the remainder of multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to get their remainders","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$multi","version":"1.0.0","description":"Multiplies multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to multiply","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$pi","version":"2.2.0","description":"Returns the constant pi","unwrap":false,"output":["Number"],"category":"math"},{"name":"$pow","version":"1.0.0","aliases":["$power"],"description":"Exponentially multiply multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to power by","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$round","version":"1.0.0","description":"Rounds provided number to a certain number of decimal places","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true},{"name":"decimal places","description":"The number of decimal places to round to","rest":false,"type":"Number"}],"category":"math"},{"name":"$sign","version":"2.2.0","description":"Returns the sign of the x, indicating whether x is positive, negative or zero","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$sqrt","version":"1.0.0","description":"Returns the square root of a number","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$sub","version":"1.0.0","description":"Subtracts multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to sub","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$sum","version":"1.0.0","description":"Adds multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to add","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$trunc","version":"1.0.0","description":"Returns the integer part of the a numeric expression, x, removing any fractional digits. If x is already an integer, the result is x","aliases":["$truncate"],"brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$ban","version":"1.0.0","aliases":["$memberBan","$banMember"],"description":"Bans a member from the guild, returns true or false depending on whether the action was successfully performed","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to ban a member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to ban","rest":false,"type":"User","required":true},{"name":"reason","description":"The reason to ban for","rest":false,"type":"String"},{"name":"delete message seconds","description":"Delete messages from this member that were sent in this seconds time span","rest":false,"type":"Number"}],"category":"member"},{"name":"$fetchMembers","version":"1.0.0","description":"Caches all members of a guild","aliases":["$fetchMember"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache members of","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to fetch","rest":false,"type":"Member","pointer":0}],"category":"member"},{"name":"$hasAnyPerms","version":"1.4.0","description":"Returns whether given member has any of the provided perms","unwrap":true,"aliases":["$memberHasAnyPerms"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for perms","rest":false,"type":"Member","required":true,"pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"required":true,"enumName":"PermissionFlagsBits"}],"category":"member"},{"name":"$hasAnyRole","version":"1.1.0","description":"Returns whether given member has any role","unwrap":true,"aliases":["$memberHasAnyRole"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for roles","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to check for","rest":true,"type":"Role","required":true,"pointer":0}],"category":"member"},{"name":"$hasPerms","version":"1.0.0","description":"Returns whether given member has X perms","unwrap":true,"aliases":["$memberHasPerms"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for perms","rest":false,"type":"Member","required":true,"pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"required":true,"enumName":"PermissionFlagsBits"}],"category":"member"},{"name":"$hasRoles","version":"1.1.0","description":"Returns whether given member has all roles","unwrap":true,"aliases":["$memberHasRoles"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for roles","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to check for","rest":true,"type":"Role","required":true,"pointer":0}],"category":"member"},{"name":"$isBanned","version":"1.0.0","brackets":true,"unwrap":true,"aliases":["$memberIsBanned"],"output":["Boolean"],"description":"Returns whether this user is banned","args":[{"name":"guild ID","description":"The guild to check bans on","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check ban","rest":false,"type":"User","required":true}],"category":"member"},{"name":"$isBoosting","description":"Returns whether this member is boosting","version":"1.5.0","aliases":["$isBooster","$memberIsBooster","$memberIsBoosting"],"brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check boost status for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isDeaf","version":"1.0.0","description":"Whether a member is deafened","brackets":false,"unwrap":true,"aliases":["$memberIsDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isGuildDeaf","version":"1.0.0","description":"Whether a member is server deafened","brackets":false,"aliases":["$memberIsGuildDeaf"],"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isGuildMuted","version":"1.0.0","description":"Whether a member is server muted","brackets":false,"aliases":["$memberIsGuildMuted"],"output":["Boolean"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isMuted","version":"1.0.0","description":"Whether a member is muted","brackets":false,"unwrap":true,"aliases":["$memberIsMuted"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isSelfDeaf","version":"1.0.0","description":"Whether a member is self deafened","brackets":false,"unwrap":true,"aliases":["$memberIsSelfDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isSelfMuted","version":"1.0.0","description":"Whether a member is self muted","brackets":false,"unwrap":true,"aliases":["$memberIsSelfMuted"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isTimedOut","version":"1.0.0","description":"Whether an member is timed out","unwrap":true,"brackets":false,"aliases":["$memberIsTimedOut"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to check for timeout","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isVerified","version":"1.0.0","aliases":["$memberIsVerified"],"description":"Whether a member is verified","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$kickMember","version":"1.0.0","description":"Kicks a member from the guild, returns true or false depending on whether the action was successfully performed","unwrap":true,"brackets":true,"aliases":["$memberKick"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to kick a member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to kick","rest":false,"type":"Member","pointer":0,"required":true},{"name":"reason","description":"The reason to kick for","rest":false,"type":"String"}],"category":"member"},{"name":"$memberActivity","version":"1.5.0","description":"Returns the activity of a member","aliases":["$activity","$userActivity","$memberActivities"],"unwrap":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to pull the member from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The member to return its activity","required":true,"rest":false,"type":"Member","pointer":0},{"name":"property","description":"The property of the activity to return","rest":false,"type":"Enum","enum":["name","type","details","buttons","flags","timestamp","endTimestamp","startTimestamp","partyID","partySize","syncID","url","largeText","largeImage","smallText","smallImage"],"enumName":"ActivityProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"brackets":false,"category":"member"},{"name":"$memberAddRoles","version":"1.0.0","description":"Adds roles to a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to add roles to","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to add","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberAvatar","version":"1.0.0","description":"Returns the member avatar","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to retrieve the avatar","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$memberAvatarDecoration","version":"2.4.0","description":"Returns the member's avatar decoration","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its avatar decoration","pointer":0,"rest":false,"type":"Member","required":true}],"output":["URL"],"category":"member"},{"name":"$memberBanner","version":"2.1.0","description":"Returns the member banner","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to retrieve the banner","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$memberBoostingSince","version":"1.5.0","aliases":["$boostingSince","$boosterSince","$memberBoosterSince"],"brackets":false,"unwrap":true,"output":["Number"],"description":"Returns when the member started boosting the guild","args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check boost status for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$memberBotRoleID","version":"2.6.0","description":"Returns the managed bot role of a member, only available for bots","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get the managed bot role from","rest":false,"pointer":0,"type":"Member","required":true}],"output":["Role"],"category":"member"},{"name":"$memberCustomStatus","version":"1.5.0","aliases":["$customStatus","$userCustomStatus"],"description":"Returns the custom status of a member","unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull the user from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The user to return its custom status","required":true,"rest":false,"type":"Member"},{"name":"type","description":"The type of the custom status to fetch","rest":false,"type":"Enum","enum":["state","emoji"],"enumName":"CustomStatusType"}],"brackets":false,"category":"member"},{"name":"$memberDisplayColor","version":"1.0.0","description":"Returns the display color of a member","unwrap":true,"brackets":false,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its color","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberDisplayName","version":"2.3.0","description":"Returns the display name of a member","unwrap":true,"brackets":false,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its display name","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberExists","version":"1.0.0","description":"Returns whether an member id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to check for the member","type":"Guild","rest":false,"required":true},{"name":"member ID","description":"The member to check for","rest":false,"required":true,"type":"String"}],"category":"member"},{"name":"$memberFlags","version":"1.5.0","description":"Returns the flags of a member","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its flags","rest":false,"type":"Member","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["GuildMemberFlags[]"],"category":"member"},{"name":"$memberHighestRoleID","version":"1.0.0","description":"Returns the highest role id of a member","unwrap":true,"output":["Role"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its highest role id","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberJoinPosition","version":"1.5.0","description":"Returns the position at which the member joined the guild","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its join position","rest":false,"pointer":0,"type":"Member","required":true}],"category":"member"},{"name":"$memberJoinedAt","version":"1.0.0","description":"Returns the timestamp the member joined at","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its join date","rest":false,"pointer":0,"type":"Member","required":true}],"category":"member"},{"name":"$memberLowestRoleID","version":"1.5.0","description":"Returns the lowest role id of a member","unwrap":true,"output":["Role"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its lowest role id","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberPerms","version":"1.0.0","description":"Returns the member perms","brackets":false,"unwrap":true,"output":["PermissionFlagsBits[]"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its perms","rest":false,"type":"Member","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false},{"name":"return int","description":"Whether to return the perms as bitfield int","type":"Boolean","rest":false}],"category":"member"},{"name":"$memberRawData","version":"1.5.0","description":"Returns the raw data of a member","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get raw data from","rest":false,"type":"Member","pointer":0,"required":true}],"output":["Json"],"category":"member"},{"name":"$memberRemoveRoles","version":"1.0.0","description":"Removes roles from a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to remove roles from","rest":false,"type":"Member","required":true},{"name":"roles","description":"The roles to remove","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberRoles","version":"1.0.0","description":"Returns the role ids of a member","unwrap":true,"brackets":false,"output":["Role[]"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get roles from","rest":false,"pointer":0,"type":"Member","required":true},{"name":"separator","description":"The separator to use for each role","rest":false,"type":"String"}],"category":"member"},{"name":"$memberSetNickname","version":"1.0.7","description":"Edits a member's nickname, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to edit its nickname","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"nickname","description":"The new nickname, leave empty to reset","rest":false,"type":"String"}],"category":"member"},{"name":"$memberSetRoles","version":"1.0.0","description":"Sets roles to a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to set roles to","rest":false,"type":"Member","pointer":0,"required":true},{"name":"roles","description":"The roles to set","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberTimeoutDuration","version":"1.5.0","aliases":["$timeoutDuration","$getTimeoutDuration","$timedOutUntil","$memberTimedOutUntil"],"description":"Returns the timeout duration of a member","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get duration for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$nickname","version":"1.0.0","description":"Returns the member nickname","brackets":false,"aliases":["$memberNickname"],"unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its nickname","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$platform","version":"1.0.0","description":"Returns the member platforms","brackets":false,"aliases":["$memberPlatforms","$platforms","$memberPlatform"],"unwrap":true,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild id to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member id return its platform","rest":false,"type":"Member","pointer":0,"required":true},{"name":"separator","description":"The separator for each platform","rest":false,"type":"String"}],"category":"member"},{"name":"$pruneMembers","version":"1.5.0","aliases":["$prune","$membersPrune"],"description":"Prunes inactive members from the guild, returns number of kicked members","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to prune members from","rest":false,"required":true,"type":"Guild"},{"name":"days","description":"The days of inactivity required to kick","rest":false,"type":"Number"},{"name":"dry","description":"Whether to perform a dry prune","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for pruning members","rest":false,"type":"String"},{"name":"roles","description":"The roles to include when pruning","rest":true,"type":"Role"}],"category":"member"},{"name":"$randomMemberID","version":"1.0.3","description":"Returns a random member ID of a guild","unwrap":true,"output":["Member"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to get member from","rest":false,"required":true,"type":"Guild"}],"category":"member"},{"name":"$status","version":"1.0.0","description":"Returns the member status","brackets":false,"unwrap":true,"aliases":["$memberStatus","$statuses","$memberStatuses"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its status","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$timeout","version":"1.0.0","description":"Times a member out for X milliseconds, returns bool","unwrap":true,"aliases":["$memberTimeout","$timeoutMember"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to timeout","rest":false,"required":true,"type":"Member","pointer":0},{"name":"duration","description":"The duration to timeout for","rest":false,"type":"Time"},{"name":"reason","description":"The reason to timeout the member","rest":false,"type":"String"}],"category":"member"},{"name":"$unban","version":"1.0.0","brackets":true,"unwrap":true,"aliases":["$memberUnban","$unbanMember"],"output":["Boolean"],"description":"Unbans a user from a guild, returns bool","args":[{"name":"guild ID","description":"The guild to unban user from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to unban","rest":false,"type":"User","required":true},{"name":"reason","description":"The unban reason","rest":false,"type":"String"}],"category":"member"},{"name":"$voiceID","version":"1.0.3","description":"Returns the voice channel id a member is connected to","unwrap":true,"aliases":["$memberVoiceID"],"brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to pull member from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The member to get its voice channel","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$voiceKick","version":"1.4.0","description":"Kicks a member from a voice channel, returns bool","brackets":true,"aliases":["$memberVoiceKick"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to kick"},{"name":"reason","description":"The reason to kick this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$voiceMove","version":"1.4.0","description":"Moves a member from a voice channel, returns bool","brackets":true,"aliases":["$memberVoiceMove"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to move"},{"name":"channel ID","description":"The voice channel to move this user to","rest":false,"required":false,"type":"Channel"},{"name":"reason","description":"The reason for moving the user","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$disableAllMentions","version":"1.3.0","description":"Disables every possible mention","unwrap":false,"category":"mention"},{"name":"$disableEveryoneMention","version":"1.3.0","description":"Disables everyone mention","unwrap":false,"category":"mention"},{"name":"$disableRoleMentions","version":"1.3.0","description":"Disables all role mentions","unwrap":false,"category":"mention"},{"name":"$disableUserMentions","version":"1.3.0","description":"Disables all user mentions","unwrap":false,"category":"mention"},{"name":"$enableAllMentions","version":"2.6.0","description":"Enables every possible mention","unwrap":false,"category":"mention"},{"name":"$enableRoleMentions","version":"1.3.0","description":"Only parses these roles for mentions","unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to retrieve roles from"},{"name":"roles","rest":true,"required":true,"pointer":0,"type":"Role","description":"The roles to parse mentions for"}],"category":"mention"},{"name":"$enableUserMentions","version":"1.3.0","description":"Only parses these users for mentions","unwrap":true,"brackets":false,"args":[{"name":"users","rest":true,"required":true,"type":"User","description":"The users to parse mentions for"}],"category":"mention"},{"name":"$isChannelMentioned","version":"1.3.0","description":"Returns whether a channel was mentioned in this message","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$isRoleMentioned","version":"1.3.0","description":"Returns whether a role was mentioned in this message","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"role ID","rest":false,"required":true,"type":"String","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$isUserMentioned","version":"1.3.0","description":"Returns whether a user was mentioned in this message","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"user ID","rest":false,"required":true,"type":"User","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$mentioned","version":"1.0.0","brackets":false,"description":"Returns the mentioned users","unwrap":true,"output":["User[]"],"args":[{"name":"index","description":"The index of the user","rest":false,"type":"Number","required":true},{"name":"return author","description":"Return author ID if not found","rest":false,"type":"Boolean"}],"category":"mention"},{"name":"$mentionedChannelCount","aliases":["$mentionedChannelsCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned channel count","unwrap":false,"category":"mention"},{"name":"$mentionedChannels","aliases":["$mentionedChannel"],"output":["Channel[]"],"version":"1.0.0","brackets":false,"description":"Returns the mentioned channels","unwrap":true,"args":[{"name":"index","description":"The index of the channel","rest":false,"type":"Number","required":true},{"name":"return channel","description":"Whether to return current channel if not found","rest":false,"type":"Boolean"}],"category":"mention"},{"name":"$mentionedRoleCount","aliases":["$mentionedRolesCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned role count","unwrap":false,"category":"mention"},{"name":"$mentionedRoles","aliases":["$mentionedRole"],"output":["Role[]"],"version":"1.0.0","brackets":false,"description":"Returns the mentioned roles","unwrap":true,"args":[{"name":"index","description":"The index of the role","rest":false,"type":"Number","required":true}],"category":"mention"},{"name":"$mentionedUserCount","aliases":["$mentionedUsersCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned user count","unwrap":false,"category":"mention"},{"name":"$nomention","version":"1.3.0","description":"Disables reply ping","unwrap":false,"category":"mention"},{"name":"$addMessageReactions","version":"1.0.0","description":"Adds reactions to a message, returns amount of emojis successfully reacted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to add reactions to","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emojis","description":"The emojis to react with","rest":true,"type":"String","required":true}],"category":"message"},{"name":"$attachment","version":"1.0.0","brackets":true,"description":"Adds an attachment to the response","unwrap":true,"aliases":["$addAttachment"],"args":[{"name":"path","description":"The attachment url or path to file","rest":false,"required":true,"type":"String"},{"name":"name","description":"The name for this attachment, with the extension","rest":false,"type":"String","required":true},{"name":"as text","description":"Whether to use url param as text","rest":false,"type":"Boolean"},{"name":"encoding","description":"Encoding to use for text, utf-8 default","rest":false,"type":"String"},{"name":"description","description":"The description for this attachment","rest":false,"type":"String"}],"category":"message"},{"name":"$deleteAllMessageReactions","version":"1.0.0","description":"Deletes all reactions from a message, returns bool","unwrap":true,"output":["Boolean"],"brackets":false,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove reactions from","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$deleteIn","version":"1.5.0","description":"Deletes the response after the given time","unwrap":true,"brackets":true,"args":[{"name":"duration","description":"The duration to wait for until deletion","rest":false,"required":true,"type":"Time"}],"category":"message"},{"name":"$deleteMessage","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"aliases":["$deleteMessages"],"description":"Deletes given messages, returns the count of messages deleted","args":[{"name":"channel ID","description":"The channel to delete this message from","rest":false,"required":true,"type":"Channel"},{"name":"messages","description":"The message ids to delete","rest":true,"required":true,"pointer":0,"type":"String"}],"category":"message"},{"name":"$deleteUserMessageReaction","version":"1.0.6","description":"Deletes user emoji reaction from a message, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove user emoji reaction","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The message reaction to remove user from","rest":false,"required":true,"pointer":1,"type":"Reaction"},{"name":"user ID","description":"The user to delete its reaction","required":true,"rest":false,"type":"User"}],"category":"message"},{"name":"$editMessage","version":"1.0.0","description":"Edits a message in a channel, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit this message","required":true,"type":"Channel","rest":false},{"name":"message ID","description":"The message to edit","rest":false,"type":"Message","pointer":0,"required":true},{"name":"content","description":"The content for the message","type":"String","rest":false}],"brackets":true,"category":"message"},{"name":"$fetchComponents","version":"1.0.0","description":"Fetches a message's components, this will override any other component added to the response","aliases":["$fetchRows"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get the components from","pointer":0,"rest":false,"type":"Message","required":true}],"category":"message"},{"name":"$fetchEmbeds","version":"1.4.0","aliases":["$fetchEmbed","$cloneEmbed","$cloneEmbeds"],"description":"Fetches an embed or all embeds from a message to the next response","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get embeds from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The embed index to load","rest":false,"type":"Number"}],"category":"message"},{"name":"$fetchMessage","version":"2.2.0","description":"Fetches all data of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to fetch its data","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$fetchResponse","version":"1.4.0","brackets":false,"unwrap":true,"description":"Fetches all data from the message and loads it to response, this includes: embeds, components, attachments, stickers","args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to fetch its data","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$forwardMessage","version":"2.2.0","description":"Forwards a message to another channel, returns bool","aliases":["$forward"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to forward","rest":false,"required":true,"type":"Message","pointer":0},{"name":"channel ID","description":"The channel to forward message to","rest":false,"type":"Channel"}],"output":["Boolean"],"category":"message"},{"name":"$getComponents","version":"1.4.0","description":"Retrieves data of a component, not providing any property returns component json","unwrap":true,"brackets":false,"aliases":["$getComponent"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"row index","description":"The row index to get data from","rest":false,"required":false,"type":"Number"},{"name":"component index","description":"The first component index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The first property to pull","rest":false,"type":"Enum","enum":["id","type","customID","label","style","url","disabled","maxValues","minValues","optionCount","options","optionNames","emoji","optionDescriptions","optionValues","content","accentColor","spoiler","divider","spacing","items","itemUrls","fileUrl","accessory","components","thumbnailUrl"],"required":false,"enumName":"ComponentProperty"},{"name":"separator","description":"The separator to use for each value in case of array","rest":false,"type":"String"},{"name":"component index","description":"The second component index to get data from","rest":false,"type":"Number"},{"name":"property","description":"The second property to pull","rest":false,"type":"Enum","enum":["id","type","customID","label","style","url","disabled","maxValues","minValues","optionCount","options","optionNames","emoji","optionDescriptions","optionValues","content","accentColor","spoiler","divider","spacing","items","itemUrls","fileUrl","accessory","components","thumbnailUrl"],"enumName":"ComponentProperty"}],"output":["Json","Unknown"],"category":"message"},{"name":"$getEmbeds","version":"1.0.3","description":"Retrieves data of an embed, not providing any property returns embed json","unwrap":true,"output":["Unknown"],"brackets":false,"aliases":["$getEmbed"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"embed index","description":"The embed index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["title","titleURL","authorName","authorIcon","footerText","image","thumbnail","footerIcon","description","timestamp","authorURL","color","fieldName","fieldInline","fieldValue"],"required":false,"enumName":"EmbedProperty"},{"name":"field index","description":"Index of field to get","rest":false,"type":"Number"}],"category":"message"},{"name":"$getMessage","version":"1.0.3","description":"Retrieves data of a message","unwrap":true,"output":["Unknown"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"Separator to use in case of array","rest":false,"type":"String"}],"category":"message"},{"name":"$getMessageReactionCount","version":"1.0.0","description":"Gets the amount of users that have reacted to a specific emoji","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to get emoji count from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The emoji to get its user count","required":true,"pointer":1,"rest":false,"type":"Reaction"},{"name":"type","description":"The type of the reaction to count users for","rest":false,"type":"Enum","enum":["normal","burst"],"enumName":"ReactionType"}],"category":"message"},{"name":"$getMessageReactionUsers","version":"1.0.0","description":"Gets the user ids that have reacted to a specific emoji","unwrap":true,"output":["User[]"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to get emoji users from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The emoji to get its users","required":true,"pointer":1,"rest":false,"type":"Reaction"},{"name":"separator","description":"The separator to use for every user","rest":false,"type":"String"}],"category":"message"},{"name":"$getMessageReactions","version":"2.2.0","description":"Retrieves all reactions of a message","aliases":["$getReactions"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to retrieve reactions from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property of the reactions to return","rest":false,"type":"Enum","enum":["emoji","count","burstCount","normalCount","me","meBurst","burstColors"],"enumName":"ReactionProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"message"},{"name":"$getPoll","version":"2.5.0","description":"Retrieves data of a poll from a message","aliases":["$getMessagePoll"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["question","layoutType","answers","answerCount","totalVotes","expiresTimestamp","allowMultiselect","resultsFinalized"],"required":true,"enumName":"PollProperty"}],"output":["Unknown"],"category":"message"},{"name":"$getSnapshots","version":"2.4.0","description":"Retrieves data of snapshots from a message","aliases":["$getSnapshot"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the snapshot to get","rest":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"message"},{"name":"$hasComponents","version":"2.5.0","description":"Checks whether given message has components","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get message from","type":"Channel","rest":false,"required":true},{"name":"message ID","pointer":0,"rest":false,"required":true,"type":"Message","description":"The message to check for components"}],"output":["Boolean"],"category":"message"},{"name":"$hasEmbeds","version":"1.2.0","brackets":false,"output":["Boolean"],"description":"Checks whether given message has embeds","unwrap":true,"args":[{"name":"channel ID","description":"The channel to get message from","type":"Channel","rest":false,"required":true},{"name":"message ID","pointer":0,"rest":false,"required":true,"type":"Message","description":"The message to check for embeds"}],"category":"message"},{"name":"$isPinned","version":"1.5.0","description":"Returns whether the message is pinned","aliases":["$isMessagePinned","$messagePinned"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to check if its pinned","rest":false,"required":true,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$loadComponents","version":"1.4.0","aliases":["$loadComponent"],"description":"Loads components JSON (or array) to the response","unwrap":true,"brackets":true,"args":[{"name":"component data","type":"Json","rest":false,"required":true,"description":"The components object or array of objects to load"}],"category":"message"},{"name":"$loadEmbeds","version":"1.4.0","aliases":["$loadEmbed"],"description":"Loads embed json (or array) to the response","unwrap":true,"brackets":true,"args":[{"name":"embed data","type":"Json","rest":false,"required":true,"description":"The embed object or array of objects to load"}],"category":"message"},{"name":"$message","version":"1.0.0","output":["String"],"description":"Retrieves arguments from a message command","args":[{"name":"index","description":"Index to get arg","type":"Number","required":true,"rest":false},{"name":"end index","description":"The end index","rest":false,"type":"Number"}],"brackets":false,"unwrap":true,"category":"message"},{"name":"$messageAttachment","version":"1.4.0","output":["URL"],"description":"Retrieves an attachment from this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachments","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"description":"The index of the attachment","type":"Number","required":true}],"category":"message"},{"name":"$messageAttachmentCount","version":"1.4.0","output":["Number"],"description":"Retrieve the amount of attachments in this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachment count","rest":false,"required":true,"type":"Message"}],"category":"message"},{"name":"$messageAttachmentFlags","version":"1.5.0","description":"Returns the flags of an attachment from this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachment flags","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"description":"The index of the attachment","type":"Number","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["AttachmentFlags[]"],"category":"message"},{"name":"$messageAttachments","version":"1.4.0","output":["Attachment[]"],"description":"Retrieves all attachments of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachments","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every attachment","type":"String"}],"category":"message"},{"name":"$messageContent","version":"1.4.0","output":["String"],"description":"Retrieves the content of the message","unwrap":false,"category":"message"},{"name":"$messageCreatedAt","version":"1.0.2","output":["Number"],"description":"Returns the timestamp of the message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its timestamp","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageEditedAt","version":"1.5.0","output":["Number"],"description":"Returns the edited timestamp of the message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its edited timestamp","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageEmojis","version":"2.4.0","description":"Retrieves all emojis of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its emojis","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every emoji","type":"String"},{"name":"return ids","rest":false,"description":"Whether to return the emoji ids, excludes unicode emojis","type":"Boolean"}],"output":["Emoji[]"],"category":"message"},{"name":"$messageExists","version":"1.0.5","description":"Returns whether given message id exists","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to check for","rest":false,"type":"String","required":true}],"category":"message"},{"name":"$messageFlags","version":"1.5.0","description":"Returns the flags of a message","brackets":false,"unwrap":true,"output":["MessageFlags[]"],"args":[{"name":"channel ID","description":"The channel to get the message from","rest":false,"type":"Channel","required":true},{"name":"message ID","description":"The message to return its flags","rest":false,"type":"Message","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"category":"message"},{"name":"$messageID","version":"1.0.0","description":"Returns the message id","unwrap":false,"output":["Message"],"category":"message"},{"name":"$messageLink","version":"1.0.0","description":"Retrieves a message url","unwrap":true,"brackets":false,"output":["URL"],"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its url","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageRawData","version":"1.5.0","description":"Returns the raw data of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get message from","type":"Channel"},{"name":"message ID","description":"The message to get raw data from","rest":false,"type":"Message","pointer":0,"required":true}],"output":["Json"],"category":"message"},{"name":"$messageReferenceID","version":"1.0.0","description":"Returns the message id that this message replies to","unwrap":true,"output":["Message"],"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its reference","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageSlice","version":"1.3.0","description":"Slices this message's args","brackets":true,"output":["String"],"args":[{"name":"start","description":"The start index","rest":false,"required":false,"type":"Number"},{"name":"end","description":"The end index","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"message"},{"name":"$messageSticker","version":"1.4.0","output":["Sticker"],"description":"Retrieves a sticker url of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its stickers","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"required":true,"description":"The index to get sticker","type":"Number"}],"category":"message"},{"name":"$messageStickerCount","version":"1.4.0","output":["Number"],"description":"Retrieves sticker count of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its sticker count","rest":false,"required":true,"type":"Message"}],"category":"message"},{"name":"$messageStickers","version":"1.4.0","aliases":["$stickers"],"output":["Sticker[]"],"description":"Retrieves all stickers of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its stickers","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every sticker","type":"String"},{"name":"type","rest":false,"description":"The type to return, default is url","type":"Enum","enum":["id","url"],"enumName":"StickerReturnType"}],"category":"message"},{"name":"$messageType","version":"1.0.0","description":"Returns the message type","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its type","rest":false,"required":true,"type":"Message"}],"output":["MessageType"],"category":"message"},{"name":"$messageWebhookID","version":"1.1.0","description":"Returns the message's webhook id","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its webhook id","rest":false,"required":true,"type":"Message"}],"output":["Webhook"],"category":"message"},{"name":"$noMentionMessage","version":"1.0.0","output":["String"],"description":"Retrieves arguments from a message without mentions","args":[{"name":"index","description":"Index to get arg","type":"Number","required":true,"rest":false},{"name":"end index","description":"The end index","rest":false,"type":"Number"}],"brackets":false,"unwrap":true,"category":"message"},{"name":"$pinMessage","version":"1.1.0","description":"Pins a message in a channel, returns bool","brackets":false,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to pin","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$publishMessage","version":"1.1.0","description":"Crossposts a message in an announcement channel, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to announce","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$reply","version":"1.0.0","description":"Marks the response as a reply","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel the message is at","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to reply to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"disable ping","description":"Whether to disable ping of reply","rest":false,"type":"Boolean"}],"category":"message"},{"name":"$silent","version":"2.6.0","description":"Marks the response as silent","unwrap":false,"category":"message"},{"name":"$sticker","version":"1.3.0","description":"Attach a sticker to the response","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","rest":false,"required":true,"type":"Sticker","description":"The sticker to use"}],"category":"message"},{"name":"$suppressEmbeds","version":"1.5.0","description":"Suppresses embeds on a message, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to suppress embeds on","rest":false,"required":true,"pointer":0,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$tts","version":"1.5.0","description":"Marks the response as Text-To-Speech","unwrap":false,"category":"message"},{"name":"$unpinMessage","version":"1.1.0","output":["Boolean"],"description":"Unpins a message from a channel, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to unpin","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$unsuppressEmbeds","version":"1.5.0","description":"Unsuppresses embeds on a message, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to unsuppress embeds on","rest":false,"required":true,"pointer":0,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$abbreviateNumber","version":"1.0.0","output":["String"],"description":"Abbreviates given number","unwrap":true,"args":[{"name":"number","description":"The number to abbreviate","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"number"},{"name":"$average","version":"1.5.0","brackets":true,"unwrap":true,"description":"Calculates the average of given numbers","args":[{"name":"separator","description":"The delimiter of each value","rest":false,"required":true,"type":"String"},{"name":"values","description":"Values separated by `separator`","rest":false,"required":true,"type":"String"}],"category":"number"},{"name":"$hexToInt","version":"1.2.0","brackets":true,"output":["Color"],"description":"Turns hex string to number","unwrap":true,"args":[{"name":"hex","description":"The hex to convert","rest":false,"required":true,"type":"String"}],"category":"number"},{"name":"$inRange","version":"1.0.0","description":"Returns whether a number is in range","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"number","description":"The number to validate","rest":false,"type":"Number","required":true},{"name":"min","description":"The min value","rest":false,"type":"Number"},{"name":"max","description":"The max value","rest":false,"type":"Number"}],"category":"number"},{"name":"$intToHex","version":"1.2.0","brackets":true,"description":"Turns integer to hex","unwrap":true,"output":["Color"],"args":[{"name":"int","description":"The integer to convert","rest":false,"required":true,"type":"Number"}],"category":"number"},{"name":"$isFloat","version":"1.0.0","description":"Returns whether the number is a float","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$isInteger","version":"1.0.0","description":"Returns whether the number is an integer","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$isNumber","version":"1.0.0","description":"Returns whether the number is valid","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$maxSafeInteger","version":"1.0.6","description":"Returns the highest safe integer","unwrap":false,"output":["Number"],"category":"number"},{"name":"$minSafeInteger","version":"1.0.6","description":"Returns the lowest safe integer","unwrap":false,"output":["Number"],"category":"number"},{"name":"$ordinal","version":"1.3.0","description":"Appends a suffix to the number","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"number","description":"The number to append suffix to","rest":false,"required":true,"type":"Number"}],"category":"number"},{"name":"$parseInt","version":"1.2.0","description":"Implements native parseInt's function into ForgeScript","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"value","description":"The number to parse","rest":false,"required":true,"type":"String"},{"name":"radix","rest":false,"required":false,"description":"Radix to use for the parser","type":"Number"}],"category":"number"},{"name":"$randomNumber","version":"1.0.0","description":"Returns a random number (no cache)","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"min","description":"The minimum possible number","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max possible number","rest":false,"type":"Number"},{"name":"decimals","description":"Whether to use decimals","rest":false,"type":"Boolean"}],"category":"number"},{"name":"$separateBigint","version":"1.3.0","description":"Separates thousands in the number","unwrap":true,"output":["String"],"args":[{"name":"number","description":"The number to separate","rest":false,"type":"BigInt","required":true},{"name":"separator","description":"The separator to use","type":"String","rest":false}],"brackets":true,"category":"number"},{"name":"$separateNumber","version":"1.0.0","description":"Separates thousands in the number","unwrap":true,"output":["String"],"args":[{"name":"number","description":"The number to separate","rest":false,"type":"Number","required":true},{"name":"separator","description":"The separator to use","type":"String","rest":false}],"brackets":true,"category":"number"},{"name":"$advancedBar","version":"1.5.0","aliases":["$generateAdvancedBar"],"description":"Generates an advanced progress bar","brackets":true,"unwrap":true,"args":[{"name":"current","description":"The current value","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max value of current","rest":false,"required":true,"type":"Number"},{"name":"length","description":"The length of the bar","rest":false,"type":"Number"},{"name":"values","description":"The values to make the bar with, for example `=;~;#` means `0%;33%;66%`","rest":true,"required":true,"type":"String"}],"output":["String"],"category":"other"},{"name":"$awaitComponent","version":"1.4.0","description":"Awaits a component, executing the code as the interaction context, returns bool depending on whether the interaction was received","unwrap":false,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to await component on"},{"name":"filter","description":"The filter to run for every interaction received after this, this is called with interaction context","rest":false,"required":true,"condition":true,"type":"String"},{"name":"success code","description":"The code to execute on success, this is called with interaction context","rest":false,"required":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a component"}],"category":"other"},{"name":"$awaitMessage","version":"1.0.7","description":"Awaits a message, returns message ID or nothing if no valid response","unwrap":false,"output":["Message"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to await message on","rest":false,"required":true,"type":"Channel"},{"name":"variable name","description":"The variable to load the message id that was sent as response by a user, get it with $env[]","rest":false,"required":true,"type":"String"},{"name":"filter","description":"The filter to run for every message sent after this","rest":false,"required":true,"condition":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a message"}],"category":"other"},{"name":"$awaitModalSubmit","version":"1.4.0","description":"Awaits a modal submit, executing the code as the interaction context, returns bool depending on whether the interaction was received","unwrap":false,"output":["Boolean"],"brackets":true,"args":[{"name":"custom ID","description":"The modal's custom id to wait for","rest":false,"required":true,"type":"String"},{"name":"success code","description":"The code to execute on success, this is called with interaction context","rest":false,"required":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a component"}],"category":"other"},{"name":"$bar","version":"1.5.0","description":"Generates a progress bar","aliases":["$generateBar"],"brackets":true,"unwrap":true,"args":[{"name":"current","description":"The current value","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max value of current","rest":false,"required":true,"type":"Number"},{"name":"length","description":"The length of the bar","rest":false,"type":"Number"},{"name":"fill","description":"The string to use as filled points of the bar","rest":false,"type":"String"},{"name":"empty","description":"The string to use as empty points of the bar","rest":false,"type":"String"},{"name":"trunc","description":"Whether to truncate instead of round","rest":false,"type":"Boolean"},{"name":"fillStart","description":"The string to use as filled start of the bar","rest":false,"type":"String"},{"name":"fillEnd","description":"The string to use as filled end of the bar","rest":false,"type":"String"},{"name":"emptyStart","description":"The string to use as empty start of the bar","rest":false,"type":"String"},{"name":"emptyEnd","description":"The string to use as empty end of the bar","rest":false,"type":"String"}],"output":["String"],"category":"other"},{"name":"$c","version":"1.0.0","description":"Marks any code inside as a comment","unwrap":false,"args":[{"name":"comment","rest":true,"required":true,"description":"The comments","type":"String"}],"brackets":true,"category":"other"},{"name":"$callFunction","version":"1.0.0","description":"Calls a forge function made by the user","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The function name","rest":false,"required":true,"type":"String"},{"name":"args","description":"The args to call this function with","rest":true,"type":"String"}],"brackets":true,"category":"other"},{"name":"$callLocalFunction","version":"2.3.0","description":"Calls a local function","aliases":["$callFn"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The local function name","rest":false,"required":true,"type":"String"},{"name":"args","description":"The args to call this local function with","rest":true,"type":"String"}],"output":["Unknown"],"category":"other"},{"name":"$debug","version":"1.0.0","output":["String"],"description":"Returns the debug message","unwrap":false,"category":"other"},{"name":"$disableConsoleErrors","version":"1.4.0","description":"Disables possible outcoming errors that are output to console","unwrap":false,"category":"other"},{"name":"$djsVersion","version":"2.2.0","description":"Returns the discord.js version used","unwrap":false,"output":["String"],"category":"other"},{"name":"$enableConsoleErrors","version":"1.4.0","description":"Enables possible outcoming errors that are output to console","unwrap":false,"category":"other"},{"name":"$error","version":"1.0.0","description":"Returns the error message","unwrap":false,"output":["Unknown"],"category":"other"},{"name":"$escapeCode","version":"1.4.0","description":"Code inside this function will not be executed","unwrap":false,"brackets":true,"aliases":["$esc"],"args":[{"name":"code","type":"String","description":"The code to ignore","required":true,"rest":false}],"output":["String"],"category":"other"},{"name":"$localFunction","version":"2.3.0","description":"Defines a new local function","aliases":["$fn"],"unwrap":false,"brackets":true,"args":[{"name":"name","description":"The local function name","rest":false,"required":true,"type":"String"},{"name":"code","description":"The local function code","rest":false,"required":true,"type":"String"},{"name":"params","description":"The local function params","rest":true,"type":"String"}],"category":"other"},{"name":"$typeof","version":"2.4.0","description":"Returns the type of the provided argument","unwrap":true,"brackets":true,"args":[{"name":"argument","rest":false,"description":"The argument to get its type","type":"String","required":true}],"output":["String"],"category":"other"},{"name":"$poll","version":"1.5.0","description":"Creates a poll","brackets":true,"args":[{"name":"question","description":"The poll question","rest":false,"required":true,"type":"String"},{"name":"duration","description":"The poll's duration","rest":false,"required":true,"type":"Time"},{"name":"multiselect","description":"Whether to allow multi select","rest":false,"type":"Boolean"},{"name":"layout","description":"The layout for this poll","rest":false,"enum":["Default"],"type":"Enum","enumName":"PollLayoutType"}],"unwrap":true,"category":"poll"},{"name":"$pollAnswer","version":"1.5.0","brackets":true,"unwrap":true,"description":"Add a poll answer","args":[{"name":"text","description":"The answer's text","rest":false,"required":true,"type":"String"},{"name":"emoji","rest":false,"description":"The emoji to use","type":"String"}],"category":"poll"},{"name":"$pollAnswerEmoji","version":"1.5.0","description":"Can only be used in poll events, returns the emoji of the poll answer","unwrap":false,"output":["String"],"category":"poll"},{"name":"$pollAnswerID","version":"1.5.0","description":"Can only be used in poll events, returns the answer id used","unwrap":false,"output":["Number"],"category":"poll"},{"name":"$pollAnswerMessageID","version":"1.5.0","description":"Can only be used in poll events, returns the message id of the poll answer","unwrap":false,"output":["Message"],"category":"poll"},{"name":"$pollAnswerText","version":"1.5.0","description":"Can only be used in poll events, returns the text of the poll answer","unwrap":false,"output":["String"],"category":"poll"},{"name":"$pollAnswerVoteCount","version":"1.5.0","description":"Can only be used in poll events, returns the vote count of this poll answer","unwrap":false,"output":["Number"],"category":"poll"},{"name":"$pollAnswerVoterIDs","version":"1.5.0","description":"Can only be used in poll events, returns the vote user ids of this poll answer","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"category":"poll"},{"name":"$pollAnswers","version":"1.5.0","brackets":true,"unwrap":true,"description":"Adds multiple poll answers","args":[{"name":"text;emoji","description":"The answer's text followed by emoji","rest":true,"required":true,"type":"String"}],"category":"poll"},{"name":"$pollEnd","version":"1.5.0","description":"Ends a poll","aliases":["$endPoll"],"brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get the message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get the poll","rest":false,"required":true,"type":"Message","pointer":0}],"category":"poll"},{"name":"$reactionAuthorID","version":"1.0.0","description":"Returns the reaction author id that reacted","unwrap":false,"output":["User"],"category":"reaction"},{"name":"$reactionCount","version":"1.5.0","description":"Returns the count of reacted users","unwrap":false,"output":["Number"],"category":"reaction"},{"name":"$reactionEmoji","version":"1.0.0","description":"Returns the emoji that was used","unwrap":false,"output":["String"],"category":"reaction"},{"name":"$reactionEmojiID","version":"1.0.0","description":"Returns the reaction id that was used","unwrap":false,"output":["Emoji"],"category":"reaction"},{"name":"$reactionMessageID","version":"1.0.0","description":"Returns the message id of the reacted message","unwrap":false,"output":["Message"],"category":"reaction"},{"name":"$addRole","version":"1.0.0","description":"Adds a role to a guild, returns role id if success","unwrap":true,"brackets":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to add the role to","rest":false,"type":"Guild","required":true},{"name":"name","description":"The role name","rest":false,"required":true,"type":"String"},{"name":"color","description":"The role color","rest":false,"type":"String"},{"name":"icon","description":"The role icon","rest":false,"type":"String"},{"name":"hoisted","description":"Whether the role is hoisted","type":"Boolean","rest":false},{"name":"mentionable","description":"Whether the role is mentionable","type":"Boolean","rest":false},{"name":"position","description":"The position for this role","rest":false,"type":"Number"},{"name":"perms","description":"The role perms","rest":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"type":"String","enumName":"PermissionFlagsBits"}],"category":"role"},{"name":"$cloneRole","version":"2.4.0","description":"Clones an existing role of a guild, returns role id if success","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to fetch role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to clone","rest":false,"required":true,"type":"Role","pointer":0},{"name":"name","description":"The role name for the cloned role","rest":false,"type":"String"}],"output":["Role"],"category":"role"},{"name":"$deleteRoles","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given roles, returns the count of roles deleted","args":[{"name":"guild ID","description":"The guild to delete roles from","rest":false,"required":true,"type":"Guild"},{"name":"roles","description":"The roles to delete","rest":true,"required":true,"pointer":0,"type":"Role"}],"category":"role"},{"name":"$editRole","version":"1.0.7","description":"Edits a role on a guild, returns boolean","unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit data","rest":false,"required":true},{"name":"name","description":"The new role name, leave empty to not modify","rest":false,"type":"String"},{"name":"color","description":"The new role color, leave empty to not modify","rest":false,"type":"String"},{"name":"icon","description":"The new role icon, leave empty to not modify","rest":false,"type":"String"},{"name":"hoisted","description":"Whether the role is hoisted, leave empty to not modify","rest":false,"type":"Boolean"},{"name":"mentionable","description":"Whether the role can be mentioned, leave empty to not modify","rest":false,"type":"Boolean"},{"name":"perms","description":"The new perms for the role","rest":true,"type":"Permission"}],"brackets":true,"category":"role"},{"name":"$editRoleColors","version":"2.5.0","description":"Edits a role's colors, returns boolean","aliases":["$editRoleColor"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","type":"Role","description":"The role to edit colors for","rest":false,"required":true,"pointer":0},{"name":"primary","description":"The new primary color","rest":false,"type":"Color","required":true},{"name":"secondary","description":"The new secondary color","rest":false,"type":"Color"},{"name":"tertiary","description":"The new tertiary color","rest":false,"type":"Color"}],"output":["Boolean"],"category":"role"},{"name":"$editRoleIcon","version":"1.0.7","description":"Edits a role's icon, returns boolean","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit icon for","rest":false,"required":true},{"name":"icon","description":"The new icon for the role, omit to clear","rest":false,"type":"String"}],"category":"role"},{"name":"$editRoleName","version":"1.0.7","description":"Edits a role's name, returns boolean","unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit name for","rest":false,"required":true},{"name":"name","description":"The new name for the role","rest":false,"type":"String","required":true}],"brackets":true,"category":"role"},{"name":"$editRolePerms","version":"1.0.7","description":"Edits a role's permissions, returns boolean","aliases":["$modifyRolePerms"],"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit perms for","rest":false,"required":true},{"name":"perms","description":"The new perms for the role, omit to clear perms","rest":true,"type":"Permission"}],"brackets":true,"category":"role"},{"name":"$editRolePosition","version":"1.0.7","description":"Edits a role's position, returns boolean","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit position for","rest":false,"required":true},{"name":"position","description":"The new position for the role","rest":false,"type":"Number","required":true}],"category":"role"},{"name":"$editRoleUnicodeEmoji","version":"1.5.0","description":"Edits a role's unicode emoji, returns boolean","unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit unicode emoji for","rest":false,"required":true},{"name":"emoji","description":"The new unicode emoji for the role, omit to clear","rest":false,"type":"String"}],"brackets":true,"category":"role"},{"name":"$fetchRoles","version":"2.2.0","description":"Caches all roles of a guild","aliases":["$fetchRole"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache roles of","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to fetch","rest":false,"type":"Role","pointer":0}],"category":"role"},{"name":"$randomRoleID","version":"1.5.0","description":"Returns a random role ID of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true}],"output":["Role"],"category":"role"},{"name":"$roleColor","version":"1.0.0","description":"Returns the color of a role","brackets":false,"unwrap":true,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its color","rest":false,"type":"Role","pointer":0,"required":true},{"name":"color","description":"The role color to return","rest":false,"type":"Enum","enum":["Primary","Secondary","Tertiary"],"enumName":"RoleColor"}],"category":"role"},{"name":"$roleCount","version":"1.0.0","description":"Returns the role count of all servers","unwrap":false,"output":["Number"],"category":"role"},{"name":"$roleCreatedAt","version":"1.0.0","description":"Returns the role creation date","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its creation date","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleEditable","version":"1.3.0","description":"Returns whether the role is editable by the bot","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its editable state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleExists","version":"1.0.0","description":"Returns whether a role id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","type":"Guild","rest":false,"required":true},{"name":"role ID","description":"The role to check for","rest":false,"required":true,"type":"String"}],"category":"role"},{"name":"$roleFlags","version":"1.3.0","description":"Returns the role flags","brackets":false,"unwrap":true,"output":["RoleFlags[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its flags","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"category":"role"},{"name":"$roleHasAnyPerms","version":"2.6.0","description":"Returns whether the role has any of the specified perms","aliases":["$hasRoleAnyPerms"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to get its perms","rest":false,"required":true,"type":"Role","pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"role"},{"name":"$roleHasPerms","version":"2.6.0","description":"Returns whether the role has all specified perms","aliases":["$hasRolePerms"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to get its perms","rest":false,"required":true,"type":"Role","pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"role"},{"name":"$roleHoisted","version":"1.0.0","description":"Returns whether the role is hoisted","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its hoisted state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleID","version":"1.0.0","description":"Returns a role id with given name","brackets":false,"unwrap":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"name","description":"The role name to return its id","rest":true,"type":"String","pointer":0,"required":true}],"category":"role"},{"name":"$roleIcon","version":"1.0.0","description":"Returns the role icon","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to use to get its icon","rest":false,"required":true,"pointer":0,"type":"Role"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"role"},{"name":"$roleIntColor","version":"1.3.0","description":"Returns the role color as int","brackets":false,"unwrap":true,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its color","rest":false,"type":"Role","pointer":0,"required":true},{"name":"color","description":"The role color to return","rest":false,"type":"Enum","enum":["Primary","Secondary","Tertiary"],"enumName":"RoleColor"}],"category":"role"},{"name":"$roleManageable","version":"1.3.0","description":"Returns whether the role is managed by discord","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its managed state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleMembers","version":"1.0.0","description":"Returns the role member ids","brackets":false,"unwrap":true,"output":["Member[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its members","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"role"},{"name":"$roleMentionable","version":"1.0.0","description":"Returns whether the role is mentionable","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its mentionable state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleName","version":"1.0.0","description":"Returns a role name with given id","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its name","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleNames","version":"1.0.0","description":"Returns the role names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the roles of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each role","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"role"},{"name":"$rolePerms","version":"1.0.0","description":"Returns the role perms","brackets":false,"unwrap":true,"output":["PermissionFlagsBits[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its perms","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false},{"name":"return int","description":"Whether to return the perms as bitfield int","type":"Boolean","rest":false}],"category":"role"},{"name":"$rolePosition","version":"1.0.0","description":"Returns the role position","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its position","rest":false,"type":"Role","pointer":0,"required":true},{"name":"asc order","description":"Whether to count roles in ascending order (top to bottom)","rest":false,"type":"Boolean"}],"category":"role"},{"name":"$roleRawData","version":"1.5.0","description":"Returns the raw data of a role","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull role from","rest":false,"type":"Guild","required":true},{"name":"role ID","rest":false,"required":true,"description":"The role to get raw data from","type":"Role","pointer":0}],"output":["Json"],"category":"role"},{"name":"$roleRawPosition","version":"1.0.0","description":"Returns the role raw position","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its raw position","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleTags","version":"1.3.0","description":"Returns all role tags","brackets":false,"output":["String[]"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its perms","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false}],"category":"role"},{"name":"$roleUnicodeEmoji","version":"1.3.0","output":["String"],"description":"Returns the unicode emoji used by the role","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its unicode emote","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$createSoundboardSound","version":"2.4.0","description":"Creates a new soundboard sound, returns sound id","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to create soundboard sound on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the sound","rest":false,"required":true,"type":"String"},{"name":"file","description":"The file for the sound","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji for the sound","rest":false,"type":"String"},{"name":"volume","description":"The volume for the sound (from 0 to 1)","rest":false,"type":"Number"},{"name":"reason","description":"The reason for creating the sound","rest":false,"type":"String"}],"output":["SoundboardSound"],"category":"soundboard"},{"name":"$deleteSoundboardSounds","version":"2.4.0","description":"Deletes given soundboard sounds, returns the count of sounds deleted","aliases":["$deleteSoundboardSound"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to delete soundboard sounds from","rest":false,"required":true,"type":"Guild"},{"name":"sounds","description":"The soundboard sounds to delete","rest":true,"required":true,"pointer":0,"type":"SoundboardSound"}],"output":["Number"],"category":"soundboard"},{"name":"$editSoundboardSound","version":"2.4.0","description":"Edits given soundboard sound, returns bool","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to edit soundboard sound on","rest":false,"required":true,"type":"Guild"},{"name":"sound ID","description":"The soundboard sound to edit","rest":false,"required":true,"pointer":0,"type":"SoundboardSound"},{"name":"name","description":"The new name for the sound","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for the sound","rest":false,"type":"String"},{"name":"volume","description":"The new volume for the sound (from 0 to 1)","rest":false,"type":"Number"},{"name":"reason","description":"The reason for editing the sound","rest":false,"type":"String"}],"output":["Boolean"],"category":"soundboard"},{"name":"$getSoundboardSound","version":"2.4.0","description":"Returns a soundboard sound of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get soundboard sound from","rest":false,"required":true,"type":"Guild"},{"name":"sound ID","description":"The soundboard sound to get","rest":false,"required":true,"type":"SoundboardSound","pointer":0},{"name":"property","description":"The property of the sound to return","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"enumName":"SoundboardSoundProperty"}],"output":["Json","Unknown"],"category":"soundboard"},{"name":"$soundAvailable","version":"2.4.0","description":"Returns whether a sound is available","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its available status","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Boolean"],"category":"soundboard"},{"name":"$soundCreatedAt","version":"2.4.0","description":"Returns the creation timestamp of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its creation timestamp","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Number"],"category":"soundboard"},{"name":"$soundEmoji","version":"2.4.0","description":"Returns the emoji of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its emoji","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["String"],"category":"soundboard"},{"name":"$soundGuildID","version":"2.4.0","description":"Returns the guild id of a sound","unwrap":false,"output":["Guild"],"category":"soundboard"},{"name":"$soundID","version":"2.4.0","description":"Returns a sound id with given name","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"name","description":"The sound name to return its id","rest":true,"required":true,"type":"String"}],"output":["SoundboardSound"],"category":"soundboard"},{"name":"$soundName","version":"2.4.0","description":"Returns the name of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its name","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["String"],"category":"soundboard"},{"name":"$soundURL","version":"2.4.0","description":"Returns the url of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its url","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["URL"],"category":"soundboard"},{"name":"$soundUserID","version":"2.4.0","description":"Returns the user who created the sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its creator","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["User"],"category":"soundboard"},{"name":"$soundVolume","version":"2.4.0","description":"Returns the volume of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its volume","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Number"],"category":"soundboard"},{"name":"$auditLog","version":"1.0.3","description":"Retrieves new data from an event whose context was an audit log instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"required":true,"enumName":"AuditProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$bulk","version":"1.4.0","description":"Retrieves data from an event whose context was a bulk delete event","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["messages","contents","timestamps","attachments","stickers","users","count"],"required":true,"enumName":"BulkProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$effect","version":"2.3.0","description":"Retrieves data from an event whose context was a voice channel effect event","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["emoji","channelID","guildID","userID","soundID","soundVolume","animationID","animationType"],"required":true,"enumName":"VoiceEffectProperty"}],"category":"state"},{"name":"$newAutomodRule","version":"1.5.0","description":"Retrieves new data from an event whose context was an automod rule instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"required":true,"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newChannel","version":"1.0.0","description":"Retrieves new data from an event whose context was a channel instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked"],"required":true,"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newEmoji","version":"1.0.0","description":"Retrieves new data from an event whose context was an emoji instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["guildID","name","id","authorID","identifier","requiresColons","roles","managed","timestamp","animated","url","format"],"required":true,"enumName":"EmojiProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newEntitlement","version":"1.5.0","description":"Retrieves new data from an event whose context was an entitlement instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["userID","consumed","guildId","id","skuID","type","endTimestamp","startTimestamp","active","test","guildSubscription","userSubscription"],"required":true,"enumName":"EntitlementProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newGuild","version":"1.0.0","description":"Retrieves new data from an event whose context was a guild instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","ownerID","name","description","features","afkChannelID","maximumMembers","systemChannelID","afkTimeout","memberCount","boostCount","timestamp","icon","splash","banner","roles","emojis","stickers","boostLevel","discoverySplash","approximateMemberCount","approximatePresenceCount"],"required":true,"enumName":"GuildProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newInvite","version":"1.0.3","description":"Retrieves new data from an event whose context was an invite instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"required":true,"enumName":"InviteProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newMember","version":"1.0.0","description":"Retrieves new data from an event whose context was a guild member instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newMessage","version":"1.0.0","description":"Retrieves new data from an event whose context was a message instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newPresence","version":"1.1.0","description":"Retrieves new data from an event whose context was a presence instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","guildID","status","platform"],"required":true,"enumName":"PresenceProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newRole","version":"1.0.0","description":"Retrieves new data from an event whose context was a role instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"required":true,"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newScheduledEvent","version":"1.4.0","description":"Retrieves new data from an event whose context was a scheduled event instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"required":true,"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSound","version":"2.4.0","description":"Retrieves new data from an event whose context was a soundboard sound instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"required":true,"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newStage","version":"1.4.0","description":"Retrieves new data from an event whose context was a stage instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"required":true,"enumName":"StageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newState","version":"1.0.0","description":"Retrieves new data from an event whose context was a voice state instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","guildID","authorID","deaf","selfDeaf","guildDeaf","muted","selfMuted","guildMuted","timestamp","selfVideo","streaming","suppressed"],"required":true,"enumName":"VoiceStateProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSticker","version":"1.4.0","description":"Retrieves new data from an event whose context was a sticker instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","guildID","authorID","timestamp","url","format","available","tags","sortValue","packID","description"],"required":true,"enumName":"StickerProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSubscription","version":"2.5.0","description":"Retrieves new data from an event whose context was a subscription instance","brackets":true,"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","status","country","skuIDs","renewalSkuIDs","entitlementIDs","canceledTimestamp","periodEndTimestamp","periodStartTimestamp"],"required":true,"enumName":"SubscriptionProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"state"},{"name":"$newUser","version":"1.0.0","description":"Retrieves new data from an event whose context was a user instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","username","displayName","globalName","badges","avatar","accentColor","banner","timestamp","dmChannelID","avatarDecoration","primaryGuildTag","primaryGuildBadge","primaryGuildEnabled","primaryGuildID"],"required":true,"enumName":"UserProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldAutomodRule","version":"1.5.0","description":"Retrieves old data from an event whose context was an automod rule instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"required":true,"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldChannel","version":"1.0.0","description":"Retrieves old data from an event whose context was a channel instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked"],"required":true,"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldEmoji","version":"1.0.0","description":"Retrieves old data from an event whose context was an emoji instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["guildID","name","id","authorID","identifier","requiresColons","roles","managed","timestamp","animated","url","format"],"required":true,"enumName":"EmojiProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldEntitlement","version":"1.5.0","description":"Retrieves old data from an event whose context was an entitlement instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["userID","consumed","guildId","id","skuID","type","endTimestamp","startTimestamp","active","test","guildSubscription","userSubscription"],"required":true,"enumName":"EntitlementProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldGuild","version":"1.0.0","description":"Retrieves old data from an event whose context was a guild instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","ownerID","name","description","features","afkChannelID","maximumMembers","systemChannelID","afkTimeout","memberCount","boostCount","timestamp","icon","splash","banner","roles","emojis","stickers","boostLevel","discoverySplash","approximateMemberCount","approximatePresenceCount"],"required":true,"enumName":"GuildProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldInvite","version":"1.0.3","description":"Retrieves old data from an event whose context was an invite instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"required":true,"enumName":"InviteProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldMember","version":"1.0.0","description":"Retrieves old data from an event whose context was a guild member instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldMessage","version":"1.0.0","description":"Retrieves old data from an event whose context was a message instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","flags","username","type","channelID","guildID","authorID","timestamp","editTimestamp","hasPoll","system","pinned","url","attachments","stickers"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldPresence","version":"1.1.0","description":"Retrieves old data from an event whose context was a presence instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","guildID","status","platform"],"required":true,"enumName":"PresenceProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldRole","version":"1.0.0","description":"Retrieves old data from an event whose context was a role instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"required":true,"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldScheduledEvent","version":"1.4.0","description":"Retrieves old data from an event whose context was a scheduled event instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"required":true,"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSound","version":"2.4.0","description":"Retrieves old data from an event whose context was a soundboard sound instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"required":true,"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldStage","version":"1.4.0","description":"Retrieves old data from an event whose context was a stage instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"required":true,"enumName":"StageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldState","version":"1.0.0","description":"Retrieves old data from an event whose context was a voice state instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","guildID","authorID","deaf","selfDeaf","guildDeaf","muted","selfMuted","guildMuted","timestamp","selfVideo","streaming","suppressed"],"required":true,"enumName":"VoiceStateProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSticker","version":"1.4.0","description":"Retrieves old data from an event whose context was a sticker instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","guildID","authorID","timestamp","url","format","available","tags","sortValue","packID","description"],"required":true,"enumName":"StickerProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSubscription","version":"2.5.0","description":"Retrieves old data from an event whose context was a subscription instance","brackets":true,"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","status","country","skuIDs","renewalSkuIDs","entitlementIDs","canceledTimestamp","periodEndTimestamp","periodStartTimestamp"],"required":true,"enumName":"SubscriptionProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"state"},{"name":"$oldUser","version":"1.0.0","description":"Retrieves old data from an event whose context was a user instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","username","displayName","globalName","badges","avatar","accentColor","banner","timestamp","dmChannelID","avatarDecoration","primaryGuildTag","primaryGuildBadge","primaryGuildEnabled","primaryGuildID"],"required":true,"enumName":"UserProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$async","version":"1.0.0","description":"Runs code asynchronously, will not return any value","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"type":"String","required":true}],"experimental":true,"category":"statement"},{"name":"$break","version":"1.0.3","description":"Breaks the loop","unwrap":false,"category":"statement"},{"name":"$case","version":"1.0.3","description":"Adds a switch case","brackets":true,"experimental":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"value","description":"The match case","rest":false,"required":true,"type":"String"},{"name":"code","description":"Code to execute if it matches this case","rest":false,"required":true,"type":"String"}],"category":"statement"},{"name":"$continue","version":"1.0.3","description":"Skips executing bottom code of the loop","unwrap":false,"category":"statement"},{"name":"$default","version":"1.0.6","brackets":true,"unwrap":true,"description":"Returns right hand value if the left hand value is falsy","args":[{"name":"left hand","description":"Left hand value","rest":false,"required":true,"type":"String"},{"name":"right hand","description":"Right hand value","rest":false,"required":true,"type":"String"}],"output":["String"],"category":"statement"},{"name":"$else","version":"1.2.0","description":"Creates an else statement","unwrap":true,"output":["Unknown"],"args":[{"name":"else","description":"The code to run","required":true,"type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$elseIf","version":"1.2.0","description":"Creates an else if statement","unwrap":false,"output":["Unknown"],"args":[{"name":"condition","description":"The condition to check against","rest":false,"type":"String","condition":true},{"name":"if true","description":"The code to run if true","required":true,"type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$if","version":"1.0.0","description":"Creates an if statement","unwrap":false,"output":["Unknown"],"args":[{"name":"condition","description":"The condition to check against","rest":false,"type":"String","condition":true},{"name":"if true","description":"The code to run if true","required":true,"type":"String","rest":false},{"name":"if false","description":"The code to run if false","type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$ifx","version":"1.2.0","description":"WIP if statements","brackets":true,"unwrap":false,"args":[{"name":"block","description":"The if, elseif, else blocks","rest":false,"required":true,"type":"String"}],"experimental":true,"category":"statement"},{"name":"$loop","version":"1.4.0","description":"Executes given code for N times","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"times","description":"How many times to run the code","rest":false,"required":true,"type":"Number"},{"name":"code","rest":false,"required":true,"type":"String","description":"The code to execute"},{"name":"variable","description":"The variable to load the current iteration count for $env","rest":false,"type":"String"},{"name":"asc","description":"Whether to use asc order for iteration count","rest":false,"type":"Boolean"}],"category":"statement"},{"name":"$return","version":"1.0.0","description":"Returns a value","unwrap":true,"output":["Unknown"],"args":[{"name":"value","description":"The value to return","rest":false,"required":true,"type":"String"}],"brackets":false,"category":"statement"},{"name":"$scope","version":"1.4.0","description":"Runs functions in a cloned context","brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"sync vars","description":"Whether to pass vars as reference","type":"Boolean","rest":false}],"unwrap":false,"output":["Unknown"],"category":"statement"},{"name":"$switch","version":"1.0.3","description":"Switch-case statement for javascript","unwrap":false,"experimental":true,"output":["Unknown"],"args":[{"name":"value","description":"The value to match with","rest":false,"required":true,"type":"String"},{"name":"cases","rest":false,"description":"The cases to use ($case), use $case[default;...] to add a default case","type":"String","required":true}],"brackets":true,"category":"statement"},{"name":"$try","version":"1.0.0","experimental":true,"description":"Handles a possible error from given code","unwrap":false,"args":[{"name":"code","rest":false,"type":"String","required":true,"description":"The code to safely execute"},{"name":"catch code","description":"The code to run in case of an error","rest":false,"type":"String"},{"name":"variable","description":"Variable to load the error message to","rest":false,"type":"String"}],"brackets":true,"category":"statement"},{"name":"$while","version":"1.0.3","description":"Executes code while a condition is true","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"condition","condition":true,"description":"The condition to validate","rest":false,"required":true,"type":"String"},{"name":"code","rest":false,"required":true,"type":"String","description":"The code to execute"}],"category":"statement"},{"name":"$addSticker","version":"1.0.0","description":"Adds a sticker to a guild, returns sticker id","unwrap":true,"output":["Sticker"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to add the sticker to","rest":false,"type":"Guild","required":true},{"name":"url","description":"The url or file path for this sticker","rest":false,"required":true,"type":"String"},{"name":"name","description":"The sticker name","rest":false,"type":"String","required":true},{"name":"tags","description":"The tags to use for this sticker","type":"String","required":true,"rest":false},{"name":"description","description":"The description for the sticker","rest":false,"type":"String"}],"category":"sticker"},{"name":"$deleteStickers","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given stickers, returns the count of stickers deleted","args":[{"name":"guild ID","description":"The guild to delete stickers from","rest":false,"required":true,"type":"Guild"},{"name":"stickers","description":"The stickers to delete","rest":true,"required":true,"pointer":0,"type":"String"}],"category":"sticker"},{"name":"$editSticker","version":"1.4.0","description":"Edits a sticker on a guild, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"name","description":"The new name for the sticker","rest":false,"type":"String"},{"name":"description","description":"The new description for the sticker","rest":false,"type":"String"},{"name":"tags","description":"The new tags for the sticker","rest":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerDescription","version":"1.4.0","description":"Sets a sticker's description, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"description","description":"The new description for the sticker","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerName","version":"1.4.0","description":"Sets a sticker's name, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"name","description":"The new name for the sticker","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerTags","version":"1.4.0","description":"Sets a sticker's tags, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"tags","description":"The new tags for the sticker","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$stickerAvailable","version":"1.4.0","description":"Returns whether a sticker is available","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get availability of","rest":false,"required":true,"type":"Sticker"}],"output":["Boolean"],"category":"sticker"},{"name":"$stickerCreatedAt","version":"1.4.0","description":"Returns a sticker's creation timestamp","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull timestamp of","rest":false,"required":true,"type":"Sticker"}],"output":["Number"],"category":"sticker"},{"name":"$stickerDescription","version":"1.4.0","description":"Returns a sticker's description","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull description of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerFormat","version":"1.4.0","description":"Returns a sticker's format","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get format of","rest":false,"required":true,"type":"Sticker"}],"output":["StickerFormatType"],"category":"sticker"},{"name":"$stickerGuildID","version":"1.4.0","description":"Returns a sticker's guild id","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull guild of","rest":false,"required":true,"type":"Sticker"}],"output":["Guild"],"category":"sticker"},{"name":"$stickerID","version":"1.4.0","description":"Returns the sticker id","unwrap":false,"output":["Sticker"],"category":"sticker"},{"name":"$stickerName","version":"1.4.0","description":"Returns a sticker name","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull name of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerOwnerID","version":"1.4.0","description":"Returns the user who added the sticker","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull owner of","rest":false,"required":true,"type":"Sticker"}],"output":["User"],"category":"sticker"},{"name":"$stickerPackID","version":"1.4.0","description":"Returns a sticker's pack id","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull pack of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerRawData","version":"1.5.0","description":"Returns the raw data of a sticker","unwrap":true,"brackets":false,"args":[{"name":"sticker ID","rest":false,"required":true,"description":"The sticker to get raw data from","type":"Sticker"}],"output":["Json"],"category":"sticker"},{"name":"$stickerSortValue","version":"1.4.0","description":"Returns a sticker's sort value","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get sort value of","rest":false,"required":true,"type":"Sticker"}],"output":["Number"],"category":"sticker"},{"name":"$stickerTags","version":"1.4.0","description":"Returns a sticker's tags","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull tags of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerType","version":"1.4.0","description":"Returns the sticker's type","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get type of","rest":false,"required":true,"type":"Sticker"}],"output":["StickerType"],"category":"sticker"},{"name":"$stickerURL","version":"2.3.0","description":"Returns a sticker url","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull url of","rest":false,"required":true,"type":"Sticker"}],"output":["URL"],"category":"sticker"},{"name":"$advancedReplace","version":"1.5.0","aliases":["$advancedReplaceText"],"output":["String"],"description":"Replaces text in a string multiple times","unwrap":true,"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match;replacement","description":"The text to match and their replacement","required":true,"rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$argCount","version":"1.0.0","description":"Counts the number of args in a message","aliases":["$argsCount"],"unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"text","description":"Text to count arguments","required":true,"rest":false,"type":"String"}],"category":"string"},{"name":"$charCodeAt","version":"1.0.6","description":"Returns the char code at given index","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"message","description":"The string to get char code of","rest":false,"required":true,"type":"String"},{"name":"index","description":"The index to get its char code","type":"Number","rest":false,"required":true}],"category":"string"},{"name":"$charCount","version":"1.0.0","aliases":["$textLength"],"description":"Gets the char count of a text","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"text","description":"The text to get its length","rest":false,"type":"String","required":true},{"name":"char","description":"The character to count in the text","rest":false,"type":"String"}],"category":"string"},{"name":"$checkContains","version":"1.0.0","aliases":["$includes"],"output":["Boolean"],"description":"Checks whether a string contains a set of other trings","unwrap":true,"args":[{"name":"text","description":"The text to check on","required":true,"rest":false,"type":"String"},{"name":"matches","description":"The list of strings to try match","rest":true,"type":"String","required":true}],"brackets":true,"category":"string"},{"name":"$cropArgs","version":"1.4.0","description":"Crops given args","brackets":true,"output":["String"],"args":[{"name":"args","description":"The args to crop","rest":false,"required":true,"type":"String"},{"name":"start index","description":"The start index to start cropping","rest":false,"required":true,"type":"Number"},{"name":"end index","description":"The end index to finish cropping","rest":false,"type":"Number"}],"unwrap":true,"category":"string"},{"name":"$cropText","version":"1.0.3","description":"Crops given text","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to crop","rest":false,"required":true,"type":"String"},{"name":"start index","description":"The start index to start cropping","rest":false,"required":true,"type":"Number"},{"name":"end index","description":"The end index to finish cropping","rest":false,"type":"Number"},{"name":"ending","description":"Add extra text to the end","rest":false,"type":"String"}],"unwrap":true,"category":"string"},{"name":"$endsWith","version":"1.0.0","description":"Checks whether given string ends with X string","unwrap":true,"output":["Boolean"],"args":[{"name":"string","description":"The string to check against","type":"String","rest":false,"required":true},{"name":"values","required":true,"description":"The values to match at the end","rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$fromCharCode","version":"1.0.6","description":"Returns the characters from given codes","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"codes","description":"The codes to get its char codes","type":"Number","rest":true,"required":true}],"category":"string"},{"name":"$padEnd","version":"1.0.6","description":"Pads a string at the end","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to pad at the end","rest":false,"required":true,"type":"String"},{"name":"max length","description":"The max length of the string","rest":false,"required":true,"type":"Number"},{"name":"filler","description":"The filler to use to pad","rest":false,"type":"String"}],"category":"string"},{"name":"$padStart","version":"1.0.6","description":"Pads a string at the start","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to pad at the start","rest":false,"required":true,"type":"String"},{"name":"max length","description":"The max length of the string","rest":false,"required":true,"type":"Number"},{"name":"filler","description":"The filler to use to pad","rest":false,"type":"String"}],"category":"string"},{"name":"$randomString","version":"1.2.0","description":"Creates a random string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"length","description":"The length of the random string","rest":false,"required":true,"type":"Number"},{"name":"characters","description":"The characters to use for this string","rest":false,"required":false,"type":"String"}],"category":"string"},{"name":"$randomText","version":"1.0.0","description":"Returns a random text (no cache)","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"texts","description":"The texts to use","rest":true,"required":true,"type":"String"}],"category":"string"},{"name":"$randomUUID","version":"1.2.0","description":"Returns a random uuid","unwrap":false,"output":["String"],"category":"string"},{"name":"$repeat","version":"1.1.0","aliases":["$repeatText"],"description":"Repeats given text for x times","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to repeat","type":"String","rest":false,"required":true},{"name":"amount","rest":false,"required":true,"type":"Number","description":"How many times to repeat this text"}],"category":"string"},{"name":"$replace","version":"1.0.0","aliases":["$replaceText"],"output":["String"],"description":"Replace text in a string","unwrap":true,"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match","description":"Text to match in base","rest":false,"required":true,"type":"String"},{"name":"new value","description":"The text to replace matches with","type":"String","rest":false,"required":true},{"name":"amount","description":"How many times to perform this replacement","rest":false,"type":"Number"}],"brackets":true,"category":"string"},{"name":"$replaceRegex","version":"1.0.0","description":"Replace text in a string using regex","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match","description":"Regex to match in base","rest":false,"required":true,"type":"String","pointer":2},{"name":"flags","description":"The flags to use for the regex","rest":false,"required":true,"type":"String"},{"name":"new value","description":"The text to replace matches with","type":"String","rest":false,"required":true},{"name":"amount","description":"How many times to perform this replacement","rest":false,"type":"Number"}],"brackets":true,"category":"string"},{"name":"$reverseText","version":"1.5.0","description":"Reverses given text","aliases":["$reverse"],"brackets":true,"unwrap":true,"args":[{"name":"string","description":"The string to use","rest":false,"required":true,"type":"String"}],"output":["String"],"category":"string"},{"name":"$sliceText","version":"1.3.0","description":"Slices given text","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to slice","rest":false,"required":true,"type":"String"},{"name":"start","description":"The start index","rest":false,"required":false,"type":"Number"},{"name":"end","description":"The end index","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"string"},{"name":"$snowflake","version":"1.4.0","description":"Generates a snowflake, this value will never clash","unwrap":false,"output":["String"],"category":"string"},{"name":"$startsWith","version":"1.0.0","description":"Checks whether given string starts with X string","unwrap":true,"output":["Boolean"],"args":[{"name":"string","description":"The string to check against","type":"String","rest":false,"required":true},{"name":"values","required":true,"description":"The values to match at the start","rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$toCamelCase","version":"1.0.6","description":"Converts a string to camel case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn camel case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toKebabCase","version":"1.0.6","description":"Converts a string to kebab case","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"message","description":"The string to turn kebab case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toLowerCase","version":"1.0.0","description":"Makes a string lowercase","unwrap":true,"output":["String"],"args":[{"name":"string","description":"The string to turn lowercase","type":"String","rest":true,"required":true}],"brackets":true,"category":"string"},{"name":"$toSnakeCase","version":"1.0.6","description":"Converts a string to snake case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn snake case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toTitleCase","version":"1.0.6","description":"Converts a string to title case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn title case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toUpperCase","version":"1.0.0","description":"Makes a string uppercase","unwrap":true,"output":["String"],"args":[{"name":"string","description":"The string to turn uppercase","type":"String","rest":true,"required":true}],"brackets":true,"category":"string"},{"name":"$trim","version":"1.0.6","aliases":["$trimSpace"],"description":"Trims a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimEnd","version":"1.0.6","description":"Trims at the end of a string","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"text","description":"The text to trim at the end","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimLines","version":"1.5.0","description":"Trims empty lines from a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim empty lines","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimStart","version":"1.0.6","description":"Trims at the start of a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim at the start","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$cpu","version":"1.0.0","description":"Returns the cpu usage of the host (not accurate)","aliases":["$cpuUsage"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$cpuArch","version":"1.0.7","output":["String"],"description":"Returns the cpu architecture","unwrap":false,"category":"system"},{"name":"$cpuCores","version":"1.0.7","output":["Number"],"description":"Returns the amount of cpu cores","unwrap":false,"category":"system"},{"name":"$cpuModel","version":"1.0.7","description":"Returns the cpu model","unwrap":false,"output":["String"],"category":"system"},{"name":"$cpuSpeed","version":"1.0.7","description":"Returns the cpu speed in MHz","unwrap":false,"output":["Number"],"category":"system"},{"name":"$networkCardIPs","version":"1.2.0","description":"Returns your network's card ips","unwrap":true,"output":["String[]"],"brackets":false,"args":[{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"system"},{"name":"$networkCardNames","version":"1.2.0","description":"Returns your network's card names","unwrap":true,"output":["String[]"],"brackets":false,"args":[{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"system"},{"name":"$nodeVersion","version":"1.0.0","description":"Returns the node version","unwrap":false,"output":["String"],"category":"system"},{"name":"$os","version":"1.0.7","description":"Returns the operating system name","unwrap":false,"output":["String"],"category":"system"},{"name":"$osUptime","version":"1.0.7","description":"Returns the operating system uptime (seconds)","unwrap":false,"output":["Number"],"category":"system"},{"name":"$ram","version":"1.0.0","description":"Returns the current ram usage in MB","aliases":["$memory","$ramUsage"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$ramTotal","version":"2.2.0","description":"Returns the maximum total ram capacity of the system in GB","aliases":["$memoryTotal","$maxRam"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$calendarDay","version":"1.5.0","description":"Returns the calendar day","unwrap":false,"output":["Number"],"category":"time"},{"name":"$calendarWeek","version":"1.5.0","description":"Returns the calendar week","unwrap":false,"output":["Number"],"category":"time"},{"name":"$clearInterval","version":"2.3.0","description":"Clears an active interval, returns bool","aliases":["$stopInterval"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The name of the interval","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"time"},{"name":"$clearTimeout","version":"2.3.0","description":"Clears an active timeout, returns bool","aliases":["$stopTimeout"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The name of the timeout","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"time"},{"name":"$day","version":"1.2.0","description":"Returns current day of month","aliases":["$dayOfMonth"],"unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the day","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["String"],"category":"time"},{"name":"$discordTimestamp","version":"1.4.0","description":"Creates a discord timestamp","unwrap":true,"brackets":true,"args":[{"name":"time","description":"The time to turn into timestamp","rest":false,"required":true,"type":"Time"},{"name":"style","rest":false,"required":true,"enum":["ShortTime","MediumTime","LongTime","ShortDate","LongDate","LongDateShortTime","ShortDateTime","FullDateShortTime","LongDateTime","ShortDateShortTime","ShortDateMediumTime","RelativeTime"],"type":"Enum","description":"The timestamp style","enumName":"TimestampStyles"}],"output":["String"],"category":"time"},{"name":"$executionTime","version":"1.0.3","description":"Returns current execution time","unwrap":false,"output":["Number"],"category":"time"},{"name":"$getTimestamp","version":"1.0.0","description":"Gets the current timestamp","unwrap":false,"output":["Number"],"category":"time"},{"name":"$hour","version":"1.2.0","description":"Returns current hour","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the hour","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$minute","version":"1.2.0","description":"Returns current minute","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the minute","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$month","version":"1.2.0","description":"Returns current month","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the month","rest":false,"type":"Enum","enum":["Numeric","TwoDigit","Long","Short","Narrow"],"enumName":"ExtendedTimeFormat"}],"output":["String"],"category":"time"},{"name":"$parseDate","version":"1.0.2","description":"Parses valid ms to a date","brackets":true,"output":["Date"],"args":[{"name":"ms","description":"The ms to convert to date","rest":false,"type":"Number","required":true},{"name":"type","description":"The date type","enum":["LocaleDate","LocaleTime","Locale","Date","ISO","UTC","Time"],"rest":false,"required":true,"type":"Enum","enumName":"DateType"}],"unwrap":true,"category":"time"},{"name":"$parseDigital","version":"1.5.0","description":"Parses given ms to digital format","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"ms","description":"The ms to convert to digital format","rest":false,"type":"Number","required":true}],"category":"time"},{"name":"$parseMS","version":"1.0.2","description":"Parses valid ms to duration","brackets":true,"output":["String"],"args":[{"name":"ms","description":"The ms to convert to string","rest":false,"type":"Number","required":true},{"name":"limit","description":"Limit of units to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use for every unit","rest":false,"type":"String"},{"name":"and","rest":false,"description":"Whether to use and word for last unit","type":"Boolean"}],"unwrap":true,"category":"time"},{"name":"$parseString","version":"1.0.2","description":"Parses valid duration string to ms","brackets":true,"output":["Number"],"args":[{"name":"duration","description":"The valid string to convert to ms","rest":false,"type":"String","required":true}],"unwrap":true,"category":"time"},{"name":"$second","version":"1.2.0","description":"Returns current second","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the second","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$setCalendar","version":"1.5.0","description":"Sets the calendar for time functions","aliases":["$calendar"],"unwrap":true,"brackets":true,"experimental":true,"args":[{"name":"type","description":"The calendar type to use","rest":false,"type":"Enum","enum":["Buddhist","Chinese","Coptic","Dangi","Ethioaa","Ethiopic","Gregory","Hebrew","Indian","Islamic","IslamicUmalqura","IslamicTbla","IslamicCivil","IslamicRgsa","Iso8601","Japanese","Persian","Roc"],"required":true,"enumName":"CalendarType"}],"category":"time"},{"name":"$setInterval","version":"1.0.2","description":"Executes code after given duration until canceled","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"time","description":"How long to wait for before running this code","rest":false,"type":"Time"},{"name":"name","description":"The name for this interval","rest":false,"type":"String"}],"category":"time"},{"name":"$setTimeout","version":"1.0.2","description":"Executes code after given duration","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"time","description":"How long to wait for before running this code","rest":false,"type":"Time"},{"name":"name","description":"The name for this timeout","rest":false,"type":"String"}],"category":"time"},{"name":"$setTimezone","version":"1.5.0","aliases":["$timezone"],"description":"Sets the timezone for time functions","unwrap":true,"brackets":true,"args":[{"name":"timezone","description":"The timezone to set","rest":false,"type":"String","required":true}],"category":"time"},{"name":"$unparseDate","version":"1.2.0","description":"Unparses given date to ms","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"date","description":"The date to get its ms","type":"Date","rest":false,"required":true}],"category":"time"},{"name":"$unparseDigital","version":"1.5.0","description":"Unparses given digital format to ms","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"digital","description":"The digital format to convert to ms","rest":false,"type":"String","required":true}],"category":"time"},{"name":"$wait","version":"1.0.0","description":"Delays the code below for x milliseconds","brackets":true,"unwrap":true,"args":[{"name":"duration","description":"The duration to wait for","rest":false,"type":"Time","required":true}],"category":"time"},{"name":"$week","version":"1.5.0","description":"Returns current week of month","unwrap":false,"output":["Number"],"category":"time"},{"name":"$weekday","version":"2.3.0","description":"Returns current day of week","aliases":["$dayOfWeek"],"unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the day","rest":false,"type":"Enum","enum":["Numeric","TwoDigit","Long","Short","Narrow"],"enumName":"ExtendedTimeFormat"}],"output":["String"],"category":"time"},{"name":"$year","version":"1.2.0","description":"Returns current year","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the year","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$api","version":"1.5.0","description":"Sends a discord api request, using a discord-api-types route","unwrap":true,"aliases":["$discordAPI"],"args":[{"name":"route name","description":"Route name, like so `channel`","type":"String","rest":false},{"name":"route method","description":"Route method, like so `get`","type":"String","rest":false,"required":true},{"name":"route params;body","description":"Parameters for this route, body has to be json","rest":true,"required":true,"type":"String"}],"output":["Unknown"],"brackets":true,"category":"unsafe"},{"name":"$coroutine","version":"1.2.0","description":"Runs given code in a separate thread","experimental":true,"unwrap":false,"args":[{"name":"code","description":"The code to run","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"unsafe"},{"name":"$djsEval","version":"1.0.0","aliases":["$js"],"description":"Evaluates JavaScript code","unwrap":true,"output":["Unknown"],"args":[{"name":"code","description":"The code to eval","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"unsafe"},{"name":"$eval","version":"1.0.0","description":"Evaluates given code","unwrap":true,"output":["Unknown"],"brackets":true,"args":[{"name":"code","type":"String","rest":false,"required":true,"description":"The code to eval"},{"name":"send","type":"Boolean","rest":false,"description":"Whether to send as new message"}],"category":"unsafe"},{"name":"$exec","version":"1.0.0","brackets":true,"description":"Runs a command in console","unwrap":true,"output":["Unknown"],"args":[{"name":"command","description":"The command to execute","rest":false,"type":"String","required":true}],"category":"unsafe"},{"name":"$function","version":"1.0.0","description":"Runs a function","unwrap":false,"experimental":true,"output":["Unknown"],"args":[{"name":"code","description":"Code to execute","required":true,"type":"String","rest":true}],"brackets":true,"category":"unsafe"},{"name":"$gc","version":"1.5.0","description":"Triggers JavaScript's garbage collector, only available if passed --expose-gc flag to node","unwrap":false,"output":["Boolean"],"category":"unsafe"},{"name":"$instanceName","version":"1.4.0","aliases":["$instance","$contextInstance"],"description":"Returns the context's instance name","output":["String"],"unwrap":false,"category":"unsafe"},{"name":"$loadChannelContext","version":"1.4.0","aliases":["$useChannelContext","$asChannelContext"],"brackets":true,"description":"Loads a channel instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"args":[{"name":"channel ID","description":"The channel to adapt context with","rest":false,"required":true,"type":"Channel"}],"category":"unsafe"},{"name":"$loadGuildContext","version":"1.4.0","aliases":["$useGuildContext","$asGuildContext"],"brackets":true,"description":"Loads a guild instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"args":[{"name":"guild ID","description":"The guild to adapt context with","rest":false,"required":true,"type":"Guild"}],"category":"unsafe"},{"name":"$loadMemberContext","version":"1.4.0","aliases":["$useMemberContext","$asMemberContext"],"description":"Loads a member instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"member ID","description":"The member to adapt context with","rest":false,"required":true,"type":"Member","pointer":0}],"category":"unsafe"},{"name":"$loadMessageContext","version":"1.4.0","aliases":["$useMessageContext","$asMessageContext"],"description":"Loads a message instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to adapt context with","rest":false,"required":true,"type":"Message","pointer":0}],"category":"unsafe"},{"name":"$loadRoleContext","version":"1.4.0","aliases":["$useRoleContext","$asRoleContext"],"description":"Loads a role instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to adapt context with","rest":false,"required":true,"type":"Role","pointer":0}],"category":"unsafe"},{"name":"$loadStickerContext","version":"1.4.0","aliases":["$useStickerContext","$asStickerContext"],"brackets":true,"description":"Loads a sticker instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to adapt context with","rest":false,"required":true,"type":"Sticker"}],"category":"unsafe"},{"name":"$loadUserContext","version":"1.4.0","aliases":["$useUserContext","$asUserContext"],"brackets":true,"description":"Loads a user instance to the current context, this is not reversible and is adviced to use with $scope.","unwrap":true,"args":[{"name":"user ID","description":"The user to adapt context with","rest":false,"required":true,"type":"User"}],"category":"unsafe"},{"name":"$authorID","version":"1.0.0","aliases":["$userID"],"description":"Retrieves a user's id","unwrap":false,"output":["User"],"category":"user"},{"name":"$discriminator","version":"1.4.0","description":"Returns the user discriminator","brackets":false,"unwrap":true,"args":[{"name":"user ID","description":"The user to get its discriminator","rest":false,"required":true,"type":"User"}],"output":["String"],"category":"user"},{"name":"$isBot","version":"1.0.0","description":"Whether the user is a bot","unwrap":true,"output":["Boolean"],"args":[{"name":"user ID","description":"The user to check whether its a bot","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$isBotVerified","version":"1.0.0","description":"Whether the bot is verified","unwrap":true,"output":["Boolean"],"args":[{"name":"user ID","description":"The bot to check whether its verified","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$isUserDMEnabled","version":"1.2.0","description":"Checks whether the given user can be DMed","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"user","description":"The user to test DMs","rest":false,"required":true,"type":"User"}],"category":"user"},{"name":"$randomUserID","version":"1.0.3","description":"Returns a random user ID","unwrap":false,"output":["User"],"category":"user"},{"name":"$sendDM","version":"1.0.0","description":"Sends a dm to the user","unwrap":true,"brackets":true,"output":["Message"],"args":[{"name":"user ID","description":"The user to dm","rest":false,"type":"User","required":true},{"name":"content","description":"The content to send","rest":false,"type":"String"},{"name":"return message ID","description":"Returns the message id of the newly created message","rest":false,"type":"Boolean"}],"category":"user"},{"name":"$userAccentColor","version":"1.0.0","description":"Returns the user accent color","brackets":false,"output":["Color"],"args":[{"name":"user ID","description":"The user to retrieve the accent color","rest":false,"required":true,"type":"User"}],"unwrap":true,"category":"user"},{"name":"$userAvatar","version":"1.0.0","description":"Returns the user avatar","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the avatar","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userAvatarDecoration","version":"1.0.0","description":"Returns the user decoration","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the decoration","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userBadges","version":"1.0.0","description":"Returns the public badges of a user","aliases":["$userFlags"],"unwrap":true,"output":["UserFlags[]"],"args":[{"name":"user ID","description":"The user to return its badges","required":true,"rest":false,"type":"User"},{"name":"separator","description":"The separator to use for every badge","rest":false,"type":"String"}],"brackets":false,"category":"user"},{"name":"$userBanner","version":"1.0.0","description":"Returns the user banner","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the banner","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userCount","version":"1.0.0","description":"Returns the user count of the bot","unwrap":false,"output":["Number"],"category":"user"},{"name":"$userCreatedAt","version":"1.0.2","description":"Returns the timestamp this user created their account","unwrap":true,"output":["Number"],"args":[{"name":"user ID","description":"The user to return its creation date","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userDefaultAvatar","version":"1.5.0","description":"Returns the default user avatar","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the default avatar","rest":false,"required":true,"type":"User"}],"unwrap":true,"category":"user"},{"name":"$userDisplayName","version":"1.0.0","description":"Returns the display name of a user","unwrap":true,"output":["String"],"args":[{"name":"user ID","description":"The user to return its display name","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userExists","version":"1.0.0","description":"Returns whether a user id exists","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"user ID","description":"The user to check","rest":false,"required":true,"type":"String"}],"category":"user"},{"name":"$userGlobalName","version":"1.0.0","description":"Returns the global name of a user","unwrap":true,"output":["String"],"args":[{"name":"user ID","description":"The user to return its global name","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userGuildBadge","version":"2.5.0","description":"Returns the primary guild tag badge of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"category":"user"},{"name":"$userGuildEnabled","version":"2.5.0","description":"Returns whether the primary guild of a user is enabled","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["Boolean"],"category":"user"},{"name":"$userGuildID","version":"2.5.0","description":"Returns the primary guild id of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["Guild"],"category":"user"},{"name":"$userGuildTag","version":"2.5.0","description":"Returns the primary guild tag name of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["String"],"category":"user"},{"name":"$userIDs","version":"1.4.0","description":"Returns all the users that are currently cached","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"category":"user"},{"name":"$userRawData","version":"1.5.0","description":"Returns the raw data of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get raw data from","rest":false,"type":"User","required":true}],"output":["Json"],"category":"user"},{"name":"$userReferenceID","version":"1.5.0","description":"Returns the id of the user this message replies to","unwrap":true,"output":["User"],"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its reference user","rest":false,"type":"Message","pointer":0,"required":true}],"brackets":false,"category":"user"},{"name":"$userTag","version":"1.4.0","description":"Returns the user tag","brackets":false,"unwrap":true,"args":[{"name":"user ID","description":"The user to get its tag","rest":false,"required":true,"type":"User"}],"output":["String"],"category":"user"},{"name":"$username","version":"1.0.0","description":"Retrieves a user's username","brackets":false,"output":["String"],"args":[{"name":"id","description":"The user id to get the username of","type":"User","rest":false}],"unwrap":true,"category":"user"},{"name":"$delete","version":"1.0.0","description":"Deletes a keyword","unwrap":true,"output":["Boolean"],"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true}],"brackets":true,"category":"variable"},{"name":"$env","version":"1.0.0","aliases":["$jsonDump"],"output":["Unknown"],"description":"Retrieves an environment value","args":[{"name":"key","description":"The key to return its value","required":true,"type":"String","rest":true}],"brackets":true,"unwrap":true,"category":"variable"},{"name":"$get","version":"1.0.0","output":["Unknown"],"description":"Get a keyword value","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true}],"brackets":true,"category":"variable"},{"name":"$has","version":"1.0.0","description":"Checks whether a keyword exists","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"name","description":"The name of the keyword","rest":false,"type":"String","required":true}],"category":"variable"},{"name":"$let","version":"1.0.0","description":"Create a keyword","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The key value","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"variable"},{"name":"$letDivide","version":"1.3.0","description":"Short-hand for $let[...;$divide[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to divide with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letMulti","version":"1.3.0","description":"Short-hand for $let[...;$multi[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to multiply with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letSub","version":"1.3.0","description":"Short-hand for $let[...;$sub[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to sub with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letSum","version":"1.3.0","description":"Short-hand for $let[...;$sum[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to sum with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$getWebhook","version":"2.6.0","description":"Returns a webhook from a channel","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to get","rest":false,"type":"Webhook","required":true},{"name":"property","description":"The property of the webhook to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"}],"output":["Json","Unknown"],"category":"webhook"},{"name":"$webhookCreate","version":"1.0.0","description":"Creates a webhook in a channel, returns the webhook id","brackets":true,"unwrap":true,"output":["Webhook"],"args":[{"name":"channel ID","description":"The channel to create the webhook","type":"Channel","rest":false,"required":true},{"name":"name","description":"The webhook name","rest":false,"required":true,"type":"String"},{"name":"url","description":"The avatar url","rest":false,"type":"String"}],"category":"webhook"},{"name":"$webhookDelete","version":"1.0.0","description":"Deletes webhook with given id","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to delete","rest":false,"type":"Webhook","required":true}],"category":"webhook"},{"name":"$webhookEdit","version":"1.0.0","description":"Edits webhook with given id, returns bool","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to edit","rest":false,"type":"Webhook","required":true},{"name":"name","description":"The new name for the webhook","rest":false,"type":"String"},{"name":"url","description":"The new avatar for the webhook","rest":false,"type":"String"}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookEditMessage","version":"1.5.0","description":"Edits a webhook message, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"url","description":"The webhook url","rest":false,"required":true,"type":"String"},{"name":"message ID","description":"The message to edit","rest":false,"required":true,"type":"String"},{"name":"content","description":"The new content for the message","rest":false,"type":"String"},{"name":"thread ID","description":"The thread this message belongs to","rest":false,"type":"Channel"}],"category":"webhook"},{"name":"$webhookExists","version":"1.0.0","description":"Checks whether given webhook id exists","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook id to check for","rest":false,"type":"String","required":true}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookIsUserCreated","version":"2.3.0","description":"Checks whether given webhook is user created","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookSend","version":"1.0.0","description":"Sends a message with a webhook","brackets":true,"unwrap":true,"output":["Message"],"args":[{"name":"url","description":"The webhook url","rest":false,"required":true,"type":"String"},{"name":"content","description":"The content for the message","rest":false,"type":"String"},{"name":"return message ID","description":"Return the message id of the sent message","rest":false,"type":"Boolean"},{"name":"username","description":"The username for the message","rest":false,"type":"String"},{"name":"avatar","description":"The avatar for the message","rest":false,"type":"String"},{"name":"thread ID","description":"The thread to send message to","rest":false,"type":"Channel"},{"name":"post name","description":"The name for the created forum post","rest":false,"type":"String"},{"name":"tags","description":"The tags for the created forum post","rest":true,"type":"String"}],"category":"webhook"},{"name":"$webhookToken","version":"1.0.0","description":"Returns the token of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["String"],"category":"webhook"},{"name":"$webhookType","version":"2.3.0","description":"Returns the type of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["WebhookType"],"category":"webhook"},{"name":"$webhookURL","version":"1.0.0","description":"Returns the url of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["URL"],"category":"webhook"},{"name":"$ws","version":"1.5.0","description":"Creates a WebSocket connection to a server","aliases":["$websocket"],"brackets":true,"unwrap":true,"args":[{"name":"host","description":"The WS host, formatted as wss://hostname:port","rest":false,"required":true,"type":"String"}],"output":["Number"],"category":"websocket"},{"name":"$wsClose","version":"1.5.0","description":"Closes a websocket connection and removes all listeners of it","aliases":["$websocketClose"],"brackets":true,"unwrap":true,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"code","description":"The status code to send","rest":false,"type":"Number"}],"category":"websocket"},{"name":"$wsOn","version":"1.5.0","description":"Attach a listener to a websocket","unwrap":false,"aliases":["$websocketOn"],"brackets":true,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"listener name","description":"The name of the event to listen to","rest":false,"required":true,"type":"String"},{"name":"callback","description":"The code to execute every time this event is fired","rest":false,"required":true,"type":"String"},{"name":"params","description":"The arguments that will contain the data of the event that was sent","rest":true,"required":true,"type":"String"}],"category":"websocket"},{"name":"$wsSend","version":"1.5.0","description":"Sends a websocket message","aliases":["$websocketSend"],"brackets":true,"unwrap":false,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"value","description":"The json value to send over","rest":false,"required":true,"type":"Json"},{"name":"callback","description":"Code to execute on completion of request","rest":false,"type":"String"},{"name":"variable name","description":"Variable to store error on if callback was called for an error","rest":false,"required":false,"type":"String"}],"category":"websocket"},{"name":"$wsState","version":"1.5.0","output":["ConnectionState"],"description":"Returns a websocket's connection state","unwrap":true,"brackets":true,"args":[{"name":"websocket ID","description":"The websocket to get its state","rest":false,"required":true,"type":"Number"}],"category":"websocket"}] \ No newline at end of file +[{"name":"$advancedTextSplit","version":"1.4.0","description":"Split and get all at the same time multiple times","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to use","rest":false,"required":true,"type":"String"},{"name":"split;index","rest":true,"type":"String","required":true,"description":"The split followed by the index to get"}],"output":["String"],"category":"array"},{"name":"$arrayAdvancedSort","version":"1.4.0","description":"Advanced array sort","unwrap":false,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"var1","description":"The $env variable 1 to hold x value","rest":false,"type":"String","required":true},{"name":"var2","description":"The $env variable 2 to hold y value","rest":false,"type":"String","required":true},{"name":"code","description":"Optional code to use for sorting, previous 2 vars must have been given","rest":false,"type":"String","required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"output":["Json"],"category":"array"},{"name":"$arrayAt","version":"1.0.0","description":"Returns the element at given index","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"index","type":"Number","description":"The index to get the element of","rest":false,"required":true}],"output":["Unknown"],"category":"array"},{"name":"$arrayClear","version":"1.0.0","description":"Clears all elements from an array","unwrap":true,"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayConcat","version":"1.0.0","description":"Concat arrays and load them into another variable","unwrap":true,"args":[{"name":"variable","description":"The variable to load the result to, leave empty to return output","rest":false,"required":false,"type":"String"},{"name":"variables","description":"The variable names to concat","rest":true,"type":"String","required":true}],"output":["Json"],"brackets":true,"category":"array"},{"name":"$arrayCreate","version":"1.4.0","aliases":["$arrayNew","$arrayInit"],"brackets":true,"description":"Initializes an array and loads it to a variable","args":[{"name":"variable","description":"The variable to load it to, accessed with $env","type":"String","rest":false,"required":true},{"name":"length","description":"The default length of the array, defaults to 0","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"array"},{"name":"$arrayEvery","version":"1.0.0","description":"Loops through every element of the array with a condition that must pass every element","unwrap":false,"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"brackets":true,"category":"array"},{"name":"$arrayFill","version":"1.4.0","brackets":true,"description":"Fills an array with given value","args":[{"name":"variable","description":"The variable to load array from","type":"String","rest":false,"required":true},{"name":"value","description":"The value to fill the array with","rest":false,"required":true,"type":"Json"}],"unwrap":true,"category":"array"},{"name":"$arrayFilter","version":"2.7.0","description":"Filters through every element of the array and loads the results to another array","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"condition":true,"type":"String"},{"name":"other variable","description":"The other variable to load the result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"output":["Json"],"category":"array"},{"name":"$arrayFind","version":"2.7.0","description":"Finds the value of a first found element in the array","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"output":["Unknown"],"category":"array"},{"name":"$arrayFindIndex","version":"1.0.0","description":"Finds the index of a first found element in the array","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayFindLast","version":"2.7.0","description":"Finds the value of a last found element in the array","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"output":["Unknown"],"category":"array"},{"name":"$arrayFindLastIndex","version":"1.5.0","description":"Finds the index of a last found element in the array","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayForEach","version":"1.0.0","description":"Loops through every element of the array","unwrap":false,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayIncludes","version":"1.0.0","description":"Checks whether a value exists in an array","unwrap":true,"output":["Boolean"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"value","description":"The value to check for","rest":false,"type":"String","required":true}],"brackets":true,"category":"array"},{"name":"$arrayIndexOf","version":"1.0.0","description":"Gets the index of a first found element in the array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"value","description":"The exact value to get its index","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayJoin","version":"1.0.0","description":"Joins all elements from an array with given separator","unwrap":true,"output":["Unknown[]"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every element","rest":false,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLastIndexOf","version":"1.5.0","description":"Gets the index of a last found element in the array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"value","description":"The exact value to get its last index","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLength","version":"1.0.0","description":"Returns the numbers of elements in an array","unwrap":true,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayLoad","version":"1.0.0","description":"Loads an array to an environment variable","args":[{"name":"variable","description":"The variable name to load this array to","required":true,"rest":false,"type":"String"},{"name":"separator","description":"The separator to use for the array elements","rest":false,"type":"String","required":false},{"name":"values","description":"The elements of the array","rest":true,"type":"String"}],"unwrap":true,"brackets":true,"category":"array"},{"name":"$arrayMap","version":"1.0.0","description":"Maps through every element of the array and loads the results to another array","unwrap":false,"output":["Json"],"experimental":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The other variable to load the result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPop","version":"1.0.0","description":"Deletes the last element of the array and returns it","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPush","version":"1.0.0","description":"Appends an element to an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the end of the array","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayPushJSON","version":"1.3.0","description":"Appends an element to an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the end of the array","rest":true,"required":true,"type":"Json"}],"brackets":true,"category":"array"},{"name":"$arrayRandomIndex","version":"1.4.0","description":"Returns a random index","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arrayRandomValue","version":"1.4.0","description":"Returns a random element","unwrap":true,"output":["Unknown"],"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arrayReduce","version":"1.0.0","description":"Reduces an array of elements and returns the result","unwrap":false,"output":["Number"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The other variable to load the second element to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element, must return a number","rest":false,"required":true,"type":"String"},{"name":"default value","description":"The default value, defaults to 0","rest":false,"type":"Number"}],"experimental":true,"brackets":true,"category":"array"},{"name":"$arrayReverse","version":"1.0.0","description":"Reverses an array and loads it to another variable","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable where the array is held","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","rest":false,"type":"String","required":false}],"output":["Json"],"category":"array"},{"name":"$arrayShift","version":"1.0.0","description":"Deletes the first element of the array and returns it","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayShuffle","version":"1.4.0","description":"Shuffles given array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true}],"category":"array"},{"name":"$arraySlice","version":"1.0.0","description":"Slices an array and loads it to another variable","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable where the array is held","rest":false,"required":true,"type":"String"},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","rest":false,"type":"String","required":false},{"name":"start","description":"The start index to slice","rest":false,"required":true,"type":"Number"},{"name":"end","description":"The end index to slice","rest":false,"type":"Number"}],"output":["Json"],"category":"array"},{"name":"$arraySome","version":"1.0.0","description":"Loops through every element of the array to find a match","unwrap":false,"output":["Boolean"],"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"variable","description":"The variable to load the element value to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to execute for every element","rest":false,"condition":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arraySort","version":"1.2.0","description":"Sorts given array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"},{"name":"sort type","description":"The sort type, omit to use default sort order","rest":false,"type":"Enum","enum":["asc","desc"],"enumName":"SortType"}],"output":["Json"],"category":"array"},{"name":"$arraySplice","version":"1.0.0","description":"Removes x elements starting from y index, returns deleted elements","unwrap":true,"output":["Json"],"args":[{"name":"variable","description":"The variable the array is held on","rest":false,"required":true,"type":"String"},{"name":"index","description":"The start index","rest":false,"required":true,"type":"Number"},{"name":"delete count","description":"The number of items to delete","required":true,"rest":false,"type":"Number"},{"name":"elements","description":"The elements to insert in the deleted indexes","rest":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayUnique","version":"2.5.0","description":"Removes duplicate elements from the array","unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable the array is held on","type":"String","rest":false,"required":true},{"name":"other variable","description":"The variable to load result to, leave empty to return output","rest":false,"required":false,"type":"String"}],"output":["Json"],"category":"array"},{"name":"$arrayUnload","version":"1.0.0","description":"Unloads an array from an environment variable","args":[{"name":"variable","description":"The variable name to unload this array from","required":true,"rest":false,"type":"String"}],"unwrap":true,"brackets":true,"category":"array"},{"name":"$arrayUnshift","version":"1.0.0","description":"Adds elements to the beginning of an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the start of the array","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"array"},{"name":"$arrayUnshiftJSON","version":"1.3.0","description":"Adds elements to the beginning of an array","unwrap":true,"args":[{"name":"name","description":"The variable that holds the array","rest":false,"required":true,"type":"String"},{"name":"values","description":"The values to append at the start of the array","rest":true,"required":true,"type":"Json"}],"brackets":true,"category":"array"},{"name":"$getSplitTextLength","version":"1.4.0","description":"Gets count of elements from $textSplit","aliases":["$getTextSplitLength"],"output":["Number"],"unwrap":false,"category":"array"},{"name":"$getTextSplitIndex","version":"2.5.0","description":"Gets the index of a textSplit element","aliases":["$getSplitTextIndex"],"brackets":true,"unwrap":true,"args":[{"name":"element","description":"The element to get index of","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$isArray","version":"2.7.0","description":"Checks whether given array is valid","aliases":["$isValidArray"],"unwrap":true,"brackets":true,"args":[{"name":"array","description":"The array to check for","rest":false,"required":true,"type":"Json"}],"output":["Boolean"],"category":"array"},{"name":"$segmentTextSplit","version":"1.5.0","description":"Creates an array on given text using segmenter","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to split","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$splitText","version":"1.2.0","description":"Gets element of textSplit","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"index","description":"The index to get split at","rest":false,"required":true,"type":"Number"}],"category":"array"},{"name":"$splitTextJoin","version":"1.4.0","description":"Joins all elements from array with given separator","unwrap":true,"aliases":["$textSplitJoin"],"output":["Unknown[]"],"args":[{"name":"separator","description":"The separator to use for every element","rest":false,"type":"String","required":true}],"brackets":true,"category":"array"},{"name":"$textSplit","version":"1.2.0","description":"Creates an array on given text with a separator","brackets":true,"unwrap":true,"args":[{"name":"text","description":"The text to split","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"array"},{"name":"$fetchAuditLog","version":"1.4.0","description":"Fetches an audit log using the type of it","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate","VoiceChannelStatusCreate","VoiceChannelStatusDelete"],"enumName":"AuditLogEvent"},{"name":"property","description":"The property to pull from the audit log","rest":false,"required":true,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"enumName":"AuditProperty"},{"name":"index","description":"The index of the entry to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use in case of array output","type":"String","rest":false}],"category":"audit"},{"name":"$fetchAuditLogCount","version":"1.4.0","description":"Fetches audit log count using the type of it","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate","VoiceChannelStatusCreate","VoiceChannelStatusDelete"],"enumName":"AuditLogEvent"},{"name":"user","rest":false,"description":"The user to filter by","type":"User"}],"category":"audit"},{"name":"$fetchUserAuditLog","version":"1.4.0","description":"Fetches an audit log from a user using the type of it","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"guild ID","description":"The guild to get audit log from","rest":false,"required":true,"type":"Guild"},{"name":"user","rest":false,"description":"The user to filter by","type":"User"},{"name":"type","description":"The event type of the log","rest":false,"required":true,"type":"Enum","enum":["GuildUpdate","ChannelCreate","ChannelUpdate","ChannelDelete","ChannelOverwriteCreate","ChannelOverwriteUpdate","ChannelOverwriteDelete","MemberKick","MemberPrune","MemberBanAdd","MemberBanRemove","MemberUpdate","MemberRoleUpdate","MemberMove","MemberDisconnect","BotAdd","RoleCreate","RoleUpdate","RoleDelete","InviteCreate","InviteUpdate","InviteDelete","WebhookCreate","WebhookUpdate","WebhookDelete","EmojiCreate","EmojiUpdate","EmojiDelete","MessageDelete","MessageBulkDelete","MessagePin","MessageUnpin","IntegrationCreate","IntegrationUpdate","IntegrationDelete","StageInstanceCreate","StageInstanceUpdate","StageInstanceDelete","StickerCreate","StickerUpdate","StickerDelete","GuildScheduledEventCreate","GuildScheduledEventUpdate","GuildScheduledEventDelete","ThreadCreate","ThreadUpdate","ThreadDelete","ApplicationCommandPermissionUpdate","SoundboardSoundCreate","SoundboardSoundUpdate","SoundboardSoundDelete","AutoModerationRuleCreate","AutoModerationRuleUpdate","AutoModerationRuleDelete","AutoModerationBlockMessage","AutoModerationFlagToChannel","AutoModerationUserCommunicationDisabled","AutoModerationQuarantineUser","CreatorMonetizationRequestCreated","CreatorMonetizationTermsAccepted","OnboardingPromptCreate","OnboardingPromptUpdate","OnboardingPromptDelete","OnboardingCreate","OnboardingUpdate","HomeSettingsCreate","HomeSettingsUpdate","VoiceChannelStatusCreate","VoiceChannelStatusDelete"],"enumName":"AuditLogEvent"},{"name":"property","description":"The property to pull from the audit log","rest":false,"required":true,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"enumName":"AuditProperty"},{"name":"index","description":"The index of the entry to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use in case of array output","type":"String","rest":false}],"category":"audit"},{"name":"$setAuditLogReason","version":"2.5.0","description":"Sets the reason for audit log entries","brackets":true,"unwrap":true,"args":[{"name":"reason","description":"The reason to set","rest":false,"required":true,"type":"String"}],"category":"audit"},{"name":"$automodActionType","version":"1.2.0","description":"Returns the action type automod used","unwrap":false,"output":["AutoModerationActionType"],"category":"automod"},{"name":"$automodAlertSystemMessageID","version":"1.2.0","description":"Returns the message sent by automod","unwrap":false,"output":["Message"],"category":"automod"},{"name":"$automodChannelID","version":"1.2.0","description":"Returns the channel id for automod","unwrap":false,"output":["Channel"],"category":"automod"},{"name":"$automodContent","version":"1.2.0","description":"Returns the content automod acted upon","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodCustomMessage","version":"1.2.0","description":"Returns the custom message used by automod on this detection","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodDuration","version":"1.2.0","description":"Returns the duration in ms by this automod action","unwrap":false,"output":["Number"],"category":"automod"},{"name":"$automodMatchedContent","version":"1.2.0","description":"Returns the matched content automod acted upon","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodMatchedKeyword","version":"1.2.0","description":"Returns the matched keyword the automod caught","unwrap":false,"output":["String"],"category":"automod"},{"name":"$automodRuleID","version":"1.2.0","description":"Returns the rule id used by automod","unwrap":false,"output":["AutomodRule"],"category":"automod"},{"name":"$automodRuleTriggerType","version":"1.2.0","description":"Returns the rule trigger type used by automod","unwrap":false,"output":["AutoModerationRuleTriggerType"],"category":"automod"},{"name":"$createAutomodRule","version":"1.5.0","description":"Creates a new automod rule for a guild, returns rule id","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create automod rule on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name of the automod rule","rest":false,"required":true,"type":"String"},{"name":"trigger","description":"The trigger type of the automod rule","rest":false,"required":true,"type":"Enum","enum":["Keyword","Spam","KeywordPreset","MentionSpam","MemberProfile"],"enumName":"AutoModerationRuleTriggerType"},{"name":"event","description":"The event type of the automod rule","rest":false,"required":true,"type":"Enum","enum":["MessageSend","MemberUpdate"],"enumName":"AutoModerationRuleEventType"},{"name":"enabled","description":"Whether the automod rule should be enabled","rest":false,"required":false,"type":"Boolean"},{"name":"reason","description":"The reason for creating the automod rule","rest":false,"required":false,"type":"String"}],"output":["AutomodRule"],"category":"automod"},{"name":"$deleteAutomodRule","version":"1.5.0","description":"Deletes an automod rule from a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to delete automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to delete","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"reason","description":"The reason for deleting the rule","rest":false,"type":"String"}],"output":["Boolean"],"category":"automod"},{"name":"$editAutomodRule","version":"1.5.0","description":"Edits an automod rule on a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to edit automod rule on","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to edit","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"name","description":"The new name for the automod rule","rest":false,"type":"String"},{"name":"event","description":"The new event type for the automod rule","rest":false,"type":"Enum","enum":["MessageSend","MemberUpdate"],"enumName":"AutoModerationRuleEventType"},{"name":"enabled","description":"Whether the automod rule should be enabled","rest":false,"required":false,"type":"Boolean"},{"name":"reason","description":"The reason for editing the automod rule","rest":false,"required":false,"type":"String"}],"output":["Boolean"],"category":"automod"},{"name":"$getAutomodRule","version":"1.5.0","description":"Returns an automod rule of a guild","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to get automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to get","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"property","description":"The property of the automod rule to return","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown"],"category":"automod"},{"name":"$getAutomodRuleActions","version":"2.6.0","description":"Returns the actions of an automod rule from a guild","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to get automod rule from","rest":false,"required":true,"type":"Guild"},{"name":"rule ID","description":"The automod rule to get its actions","rest":false,"required":true,"type":"AutomodRule","pointer":0},{"name":"property","description":"The property of each action to return","rest":false,"type":"Enum","enum":["type","channelID","durationSeconds","customMessage"],"enumName":"AutomodRuleActionProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"automod"},{"name":"$setAutomodAction","version":"1.5.0","description":"Sets a new action for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"type","description":"The type of the automod rule action","rest":false,"required":true,"type":"Enum","enum":["BlockMessage","SendAlertMessage","Timeout","BlockMemberInteraction"],"enumName":"AutoModerationActionType"},{"name":"channel ID","description":"The channel to which content will be logged","rest":false,"type":"Channel"},{"name":"duration","description":"The timeout duration in seconds","rest":false,"type":"Number"},{"name":"message","description":"The custom message that is shown whenever a message is blocked","rest":false,"type":"String"}],"category":"automod"},{"name":"$setAutomodAllowList","version":"1.5.0","description":"Sets allowed words for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"words","description":"The words to allow and whitelist","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodExemptChannels","version":"1.5.0","description":"Sets exempt channels for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"channels","description":"The channels that should not be affected by the automod rule","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodExemptRoles","version":"1.5.0","description":"Sets exempt roles for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"roles","description":"The roles that should not be affected by the automod rule","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodKeywordFilter","version":"1.5.0","description":"Sets disallowed words for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"words","description":"The words to disallow and blacklist","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$setAutomodMentionRaidProtection","version":"1.5.0","description":"Sets mention raid protection for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"enabled","description":"Whether to enable mention raid protection","rest":false,"required":true,"type":"Boolean"}],"category":"automod"},{"name":"$setAutomodMentionTotalLimit","version":"1.5.0","description":"Sets a total mention limit for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"limit","description":"The limit of mentions to set","rest":false,"required":true,"type":"Number"}],"category":"automod"},{"name":"$setAutomodPresets","version":"1.5.0","description":"Sets preset keyword wordsets for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"presets","description":"The preset keyword types to set","rest":true,"required":true,"type":"Enum","enum":["Profanity","SexualContent","Slurs"],"enumName":"AutoModerationRuleKeywordPresetType"}],"category":"automod"},{"name":"$setAutomodRegexFilter","version":"1.5.0","description":"Sets regex filter for current automod rule","unwrap":true,"brackets":true,"args":[{"name":"regexes","description":"The regexes to use for filtering","rest":true,"required":true,"type":"String"}],"category":"automod"},{"name":"$applicationCommandCount","version":"1.4.0","aliases":["$slashCommandCount"],"description":"Returns the amount of application commands registered by this bot","output":["Number"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get application command count from","rest":false,"type":"Guild"},{"name":"count sub","description":"Whether to count sub commands","rest":false,"type":"Boolean"}],"category":"bot"},{"name":"$applicationCommands","version":"1.5.0","description":"Returns all application commands","output":["Json"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get application commands from","rest":false,"required":true,"type":"Guild"}],"category":"bot"},{"name":"$botCount","version":"1.0.0","description":"Returns the bot count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botCustomInvite","version":"1.5.0","description":"Returns the client's custom invite link","unwrap":false,"aliases":["$clientCustomInvite"],"output":["URL"],"category":"bot"},{"name":"$botDescription","version":"1.5.0","aliases":["$clientDescription"],"description":"Returns the description of the bot","unwrap":false,"output":["String"],"category":"bot"},{"name":"$botDestroy","version":"1.0.0","aliases":["$clientDestroy"],"description":"Destroys the discord.js client","unwrap":false,"category":"bot"},{"name":"$botID","version":"1.0.0","description":"Returns the client's id","unwrap":false,"aliases":["$clientID"],"output":["User"],"category":"bot"},{"name":"$botInvite","version":"1.0.0","description":"Returns a bot's invite link","brackets":false,"unwrap":true,"aliases":["$clientInvite","$getBotInvite"],"args":[{"name":"perms","description":"The perms for the invite link","rest":true,"type":"String","required":true}],"output":["URL"],"category":"bot"},{"name":"$botMutualGuilds","version":"1.5.0","aliases":["$clientMutualGuilds"],"description":"Returns the client's mutual guilds with a user","brackets":false,"unwrap":true,"args":[{"name":"user ID","description":"The user to get mutual guilds from","rest":false,"required":true,"type":"User"},{"name":"separator","description":"The separator to use for every guild","rest":false,"type":"String"}],"output":["Guild[]"],"category":"bot"},{"name":"$botOwnerID","version":"1.0.0","description":"Returns the bot's owner id or team members","brackets":false,"aliases":["$clientOwnerID"],"args":[{"name":"return members","description":"Whether to return all members","rest":false,"required":false,"type":"Boolean"},{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"unwrap":true,"category":"bot"},{"name":"$botTags","version":"1.5.0","description":"Returns the client tags","unwrap":true,"aliases":["$clientTags"],"args":[{"name":"separator","description":"The separator to use for every tag","rest":false,"type":"String"}],"brackets":false,"output":["String[]"],"category":"bot"},{"name":"$botTeamCreatedAt","version":"2.4.0","description":"Returns the client's team creation timestamp","aliases":["$clientTeamCreatedAt"],"unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botTeamID","version":"2.4.0","description":"Returns the client's team id","aliases":["$clientTeamID"],"unwrap":false,"output":["String"],"category":"bot"},{"name":"$botTeamIcon","version":"2.4.0","description":"Returns the client's team icon","aliases":["$clientTeamIcon"],"unwrap":true,"brackets":false,"args":[{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"category":"bot"},{"name":"$botTeamMembers","version":"2.4.0","description":"Returns the client's team members","aliases":["$clientTeamMembers"],"unwrap":true,"brackets":false,"args":[{"name":"property","description":"The property of each team member to return","rest":false,"required":true,"type":"Enum","enum":["id","role","membership"],"enumName":"TeamMemberProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"bot"},{"name":"$botTeamName","version":"2.4.0","description":"Returns the client's team name","aliases":["$clientTeamName"],"unwrap":false,"output":["String"],"category":"bot"},{"name":"$botToken","version":"1.0.0","description":"Returns the client token","unwrap":false,"aliases":["$clientToken"],"output":["String"],"category":"bot"},{"name":"$botUserAuthorizationCount","version":"2.4.0","aliases":["$clientUserAuthorizationCount"],"description":"Returns the user authorization count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botUserInstallCount","version":"1.5.0","aliases":["$clientUserInstallCount"],"description":"Returns the user install count of the bot","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$botWebhookEvents","version":"2.2.0","description":"Returns the client webhook event types","aliases":["$clientWebhookEvents"],"unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every type","rest":false,"type":"String"}],"output":["ApplicationWebhookEventType[]"],"category":"bot"},{"name":"$botWebhookStatus","version":"2.2.0","description":"Returns the client webhook event status","unwrap":false,"aliases":["$clientWebhookStatus"],"output":["ApplicationWebhookEventStatus"],"category":"bot"},{"name":"$botWebhookURL","version":"2.2.0","description":"Returns the client webhook event url","unwrap":false,"aliases":["$clientWebhookURL"],"output":["URL"],"category":"bot"},{"name":"$deleteGlobalApplicationCommands","version":"2.3.0","description":"Deletes all global commands of your bot","unwrap":false,"output":["Boolean"],"category":"bot"},{"name":"$extensionVersion","version":"1.4.0","brackets":true,"unwrap":true,"description":"Returns the version an extension is running on","output":["String"],"args":[{"name":"name","description":"The extension name to retrieve its version","rest":false,"required":true,"type":"String"}],"category":"bot"},{"name":"$fetchApplication","version":"2.7.0","description":"Fetches the application of the client","unwrap":false,"category":"bot"},{"name":"$hasExtension","version":"1.2.0","description":"Checks whether client has an extension","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The extension name to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$ping","version":"1.0.0","description":"The current bot ping","unwrap":false,"aliases":["$clientPing","$botPing"],"output":["Number"],"category":"bot"},{"name":"$setBotAvatar","version":"1.0.0","description":"Sets the bot profile icon","brackets":true,"unwrap":true,"aliases":["$setClientAvatar"],"args":[{"name":"url","description":"The icon url","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotBanner","version":"1.5.0","description":"Sets the bot banner","brackets":true,"unwrap":true,"aliases":["$setClientBanner"],"args":[{"name":"url","description":"The banner url","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotDescription","version":"1.5.0","description":"Sets the bot description","aliases":["$setClientDescription"],"brackets":true,"unwrap":true,"args":[{"name":"description","description":"The new description","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildAvatar","version":"2.6.0","description":"Sets the bot avatar on a guild","brackets":true,"unwrap":true,"aliases":["$setClientGuildAvatar"],"args":[{"name":"guild ID","description":"The guild to set avatar on","rest":false,"required":true,"type":"Guild"},{"name":"url","description":"The icon url","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildBanner","version":"2.6.0","description":"Sets the bot banner on a guild","brackets":true,"unwrap":true,"aliases":["$setClientGuildBanner"],"args":[{"name":"guild ID","description":"The guild to set banner on","rest":false,"required":true,"type":"Guild"},{"name":"url","description":"The banner url","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotGuildDescription","version":"2.6.0","description":"Sets the bot description on a guild","aliases":["$setBotGuildBio","$setClientGuildBio","$setClientGuildDescription"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to set description on","rest":false,"required":true,"type":"Guild"},{"name":"description","description":"The new description","rest":false,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotName","version":"1.0.0","description":"Sets the bot name","brackets":true,"unwrap":true,"aliases":["$setClientName"],"args":[{"name":"name","description":"The new name","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setBotTags","version":"1.5.0","description":"Sets the bot tags","aliases":["$setClientTags"],"brackets":true,"unwrap":true,"args":[{"name":"tags","description":"The new tags","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"bot"},{"name":"$setStatus","version":"1.0.0","description":"Sets the client's status","unwrap":true,"aliases":["$setBotStatus","$setClientStatus"],"args":[{"name":"presence","description":"The presence status","type":"String","rest":false,"required":true},{"name":"type","description":"The activity type","rest":false,"type":"Enum","enum":["Playing","Streaming","Listening","Watching","Custom","Competing"],"required":true,"enumName":"ActivityType"},{"name":"name","description":"The status name","rest":false,"type":"String","required":true},{"name":"state","description":"The status state","rest":false,"type":"String"},{"name":"url","description":"The url to use for the stream","rest":false,"type":"String"}],"brackets":true,"category":"bot"},{"name":"$shardCount","version":"2.1.0","aliases":["$botShardCount","$clientShardCount"],"description":"Returns the shard count of the client","unwrap":false,"output":["Number"],"category":"bot"},{"name":"$shardID","version":"1.0.0","aliases":["$botShardIDs","$clientShardIDs"],"description":"Returns the shard id of the client","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["Number"],"category":"bot"},{"name":"$shardStatus","version":"2.1.0","aliases":["$botShardStatus","$clientShardStatus"],"description":"Returns the shard status of the client","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every status","rest":false,"type":"String"}],"output":["Status[]"],"category":"bot"},{"name":"$updateApplicationCommands","version":"1.2.0","description":"Updates application commands, also registers new ones","unwrap":false,"category":"bot"},{"name":"$updateCommands","version":"1.0.2","description":"Updates bot commands, also registers new ones","unwrap":false,"category":"bot"},{"name":"$uptime","version":"1.0.0","aliases":["$botUptime","$clientUptime"],"output":["Number"],"description":"Returns the bots uptime","unwrap":false,"category":"bot"},{"name":"$version","version":"1.0.0","description":"Returns the package version the client is using","unwrap":false,"output":["String"],"aliases":["$packageVersion"],"category":"bot"},{"name":"$bufferAlloc","version":"1.1.0","description":"Allocates given number of bytes in a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable to load it to, accessed with $env[]","rest":false,"required":true,"type":"String"},{"name":"bytes","description":"The number of bytes to alloc","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferAllocUnsafe","version":"1.1.0","description":"Unsafely allocates given number of bytes in a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable to load it to, accessed with $env[]","rest":false,"required":true,"type":"String"},{"name":"bytes","description":"The number of bytes to alloc","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferLength","version":"1.1.0","description":"Returns the length of a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false}],"output":["Number"],"category":"buffer"},{"name":"$bufferReadInt32","version":"1.2.0","description":"Reads int from a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start reading at","required":true,"type":"Number","rest":false}],"output":["Number"],"category":"buffer"},{"name":"$bufferReadUtf8","version":"1.1.0","description":"Reads utf8 string from a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start reading at","required":true,"type":"Number","rest":false},{"name":"end index","description":"The index to end reading at","required":false,"type":"Number","rest":false}],"output":["String"],"category":"buffer"},{"name":"$bufferResize","version":"1.1.0","description":"Resizes a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"length","description":"The new length for this buffer","required":true,"type":"Number","rest":false}],"category":"buffer"},{"name":"$bufferToString","version":"1.1.0","description":"Stringifies a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"encoding","description":"The encoding to stringify with","type":"String","rest":false}],"output":["String"],"category":"buffer"},{"name":"$bufferWriteInt32","version":"1.2.0","description":"Writes int32 to a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start writing on","required":true,"type":"Number","rest":false},{"name":"int","description":"The int to write","type":"Number","rest":false,"required":true}],"category":"buffer"},{"name":"$bufferWriteUtf8","version":"1.1.0","description":"Writes utf8 string to a buffer","unwrap":true,"brackets":true,"args":[{"name":"variable name","description":"The variable the buffer is allocated on","type":"String","required":true,"rest":false},{"name":"index","description":"The index to start writing on","required":true,"type":"Number","rest":false},{"name":"text","description":"The text to write","type":"String","rest":false,"required":true}],"category":"buffer"},{"name":"$addChannelPerms","version":"1.0.3","description":"Adds permission overwrites to a channel, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to add perms to","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to add these perms to","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to add to the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"channel"},{"name":"$addPermissionOverwrite","version":"2.7.0","description":"Adds a new permission overwrite to the channel","unwrap":true,"brackets":true,"args":[{"name":"roleOrUser","description":"The role or member to set perms for","type":"RoleOrUser","rest":false,"required":true,"pointer":0,"pointerProperty":"guild"},{"name":"perms","description":"The permissions to allow or disallow, (+,-)Perm","type":"OverwritePermission","rest":true,"required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$addPostTags","version":"1.5.0","description":"Adds tags to a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to edit tags on"},{"name":"reason","description":"The reason for adding post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$addThreadMember","version":"1.0.0","description":"Adds a member to a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The thread to add member to","rest":false,"required":true,"type":"Channel"},{"name":"user ID","pointer":0,"description":"The member to add","rest":false,"required":true,"type":"Member"}],"category":"channel"},{"name":"$archiveThread","version":"1.0.0","aliases":["$archivePost"],"description":"Archives a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to archive","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to archive this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelBitrate","version":"1.4.0","description":"Returns the bitrate of the voice channel","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelCategoryID","version":"1.0.0","description":"Returns the channel category id","aliases":["$channelParentID"],"unwrap":true,"brackets":false,"output":["Channel"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelChildrenCount","version":"1.0.3","description":"Returns the amount of children this category has","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"channel ID","description":"The category to get its child count","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelChildrenIDs","version":"1.0.3","description":"Returns the children ids this category has","brackets":false,"output":["Channel[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The category to get its children","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelCount","version":"1.0.0","description":"Returns the channel count of all servers","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"categories","description":"The categories to filter by","rest":true,"required":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"type":"Enum","enumName":"ChannelType"}],"category":"channel"},{"name":"$channelCreatedAt","version":"1.0.0","description":"Returns the channel timestamp","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelDeletable","version":"2.4.0","description":"Returns whether the channel is deletable","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["Boolean"],"category":"channel"},{"name":"$channelExists","version":"1.0.0","description":"Returns whether a channel id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to check","rest":false,"required":true,"type":"String"}],"category":"channel"},{"name":"$channelFlags","version":"1.5.0","description":"Returns the flags of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["ChannelFlags[]"],"category":"channel"},{"name":"$channelFull","version":"1.4.0","description":"Returns whether the voice channel is full","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelGuildID","version":"1.0.0","description":"Returns the channel guild id","unwrap":true,"output":["Guild"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelHasAnyPerms","version":"1.4.0","aliases":["$channelHasAnyPerm"],"description":"Returns whether role or member has any of the perms in a channel","output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"permissions","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"brackets":true,"category":"channel"},{"name":"$channelHasPerms","version":"1.4.0","description":"Returns whether role or member has perms in a channel","output":["Boolean"],"aliases":["$hasChannelPerm","$hasChannelPerms"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"permissions","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"brackets":true,"category":"channel"},{"name":"$channelID","version":"1.0.0","description":"Gets the channel id of a channel name","unwrap":true,"output":["Channel"],"brackets":false,"args":[{"name":"name","description":"The channel name to get its id","required":true,"rest":true,"type":"String"}],"category":"channel"},{"name":"$channelIDs","version":"1.3.0","unwrap":true,"brackets":false,"output":["Channel[]"],"description":"Returns every channel id","args":[{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelIsChildrenOf","version":"1.5.0","aliases":["$isChildrenOf"],"description":"Checks whether given channel is a children of a category","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to know if is children of category","rest":false,"type":"Channel","required":true},{"name":"category ID","description":"The category to check against","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelJoinable","version":"1.4.0","description":"Returns whether the voice channel is joinable by the bot","unwrap":true,"output":["Boolean"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelManageable","version":"2.4.0","description":"Returns whether the channel is manageable","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["Boolean"],"category":"channel"},{"name":"$channelMembers","version":"1.5.0","description":"Returns the members of a channel","unwrap":true,"output":["Member[]"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel to get its members","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"channel"},{"name":"$channelNSFW","version":"1.0.0","description":"Returns whether the channel is nsfw","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelName","version":"1.0.0","description":"Returns the channel name","unwrap":true,"output":["String"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelNames","version":"1.0.0","description":"Returns the channel names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the channels of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each channel","rest":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$channelPermissions","version":"1.5.0","description":"Returns all permission overwrites of a channel","aliases":["$channelPerms","$channelOverwrites"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"property","description":"The property of the overwrites to return","rest":false,"required":true,"type":"Enum","enum":["id","type","allow","deny"],"enumName":"PermissionOverwritesProperty"},{"name":"separator","description":"The separator to use for every overwrite","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"channel"},{"name":"$channelPermissionsFor","version":"1.4.0","description":"Returns permissions for a role or member in a channel","aliases":["$channelPermsFor","$memberChannelPerms","$roleChannelPerms"],"output":["PermissionFlagsBits[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms for","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every perm","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$channelPermissionsOf","version":"1.5.0","description":"Returns specific permissions of a role or member in a channel","aliases":["$channelPermsOf"],"output":["PermissionFlagsBits[]"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or user to get perms of","rest":false,"required":true,"type":"String"},{"name":"state","description":"The state of the perms to return","rest":false,"required":true,"type":"Enum","enum":["allow","deny"],"enumName":"PermissionsStateType"},{"name":"separator","description":"The separator to use for every perm","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$channelPinnedMessages","version":"1.5.0","description":"Returns the pinned messages of a channel","brackets":false,"aliases":["$pinnedMessages"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull pinned messages from","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for each message id","rest":false,"type":"String"}],"output":["Message[]"],"category":"channel"},{"name":"$channelPosition","version":"1.0.3","description":"Returns the channel position","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel to get its position","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelRawData","version":"1.5.0","description":"Returns the raw data of a channel","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get raw data from","type":"Channel"}],"output":["Json"],"category":"channel"},{"name":"$channelSlowmode","version":"1.5.0","description":"Returns the channel slowmode in seconds","unwrap":true,"output":["Number"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel to get its slowmode","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$channelTags","version":"1.0.3","description":"Retrieves tags from a forum thread","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to get tags of","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator to use for every tag","rest":false,"type":"String"}],"output":["ForumTag[]"],"category":"channel"},{"name":"$channelThreadIDs","version":"2.5.0","description":"Returns the thread ids of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get its threads","rest":false,"type":"Channel","required":true},{"name":"separator","description":"The separator to use for every thread","rest":false,"type":"String"}],"output":["Channel[]"],"category":"channel"},{"name":"$channelTopic","version":"1.0.0","description":"Returns the channel topic","unwrap":true,"output":["String"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelType","version":"1.0.0","description":"Returns the channel type","unwrap":true,"output":["ChannelType"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelURL","version":"2.4.0","description":"Returns the url of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"output":["URL"],"category":"channel"},{"name":"$channelUserLimit","version":"1.4.0","description":"Returns the user limit of the voice channel","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelVoiceMemberCount","version":"1.4.0","description":"Returns the member count that are connected to this voice channel","unwrap":true,"aliases":["$channelMemberCount"],"output":["Number"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true}],"category":"channel"},{"name":"$channelVoiceMemberIDs","version":"1.4.0","description":"Returns the members that are connected to this voice channel","unwrap":true,"aliases":["$channelMemberIDs"],"output":["Member[]"],"brackets":false,"args":[{"name":"channel ID","description":"The id of the channel","rest":false,"type":"Channel","required":true},{"name":"separator","rest":false,"description":"Separator to use for every id","required":false,"type":"String"}],"category":"channel"},{"name":"$channelVoiceRegion","version":"1.5.0","description":"Returns the region of a voice channel","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to get its region","rest":false,"required":true,"type":"Channel"}],"output":["VoiceRegionType"],"category":"channel"},{"name":"$channelWebhooks","version":"2.3.0","description":"Returns all webhooks of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get its webhooks","rest":false,"type":"Channel","required":true},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"channel"},{"name":"$clearChannelPerms","version":"1.0.3","description":"Deletes all permission overwrites from the channel or given id, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to delete perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to delete all perms for","rest":false,"required":false,"type":"String"}],"category":"channel"},{"name":"$clearMessages","version":"1.0.0","description":"Clears x amount of messages from a channel, returns the number of messages deleted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to clear messages on","required":true,"rest":false,"type":"Channel"},{"name":"amount","description":"The amount of messages to delete","rest":false,"required":true,"type":"Number"},{"name":"delete pinned","description":"Whether to delete pinned messages","rest":false,"type":"Boolean"},{"name":"delete bots","description":"Whether to delete messages of bots","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$clearUserMessages","version":"1.0.0","description":"Clears x amount of messages from a channel of given user, returns the number of messages deleted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to clear messages on","required":true,"rest":false,"type":"Channel"},{"name":"user ID","description":"The user to delete their messages","required":true,"rest":false,"type":"User"},{"name":"amount","description":"The amount of messages to delete","rest":false,"required":true,"type":"Number"},{"name":"delete pinned","description":"Whether to delete pinned messages","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$cloneChannel","version":"1.4.0","description":"Clones the given channel","brackets":true,"output":["Channel"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clone","type":"Channel","rest":false,"required":true},{"name":"name","description":"The name for the cloned channel","type":"String","rest":false}],"category":"channel"},{"name":"$cloneChannelPerms","version":"1.5.0","description":"Clones the given channel's perms to another channel, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clone its perms","type":"Channel","rest":false,"required":true},{"name":"channel ID","description":"The other channel to set new perms for","type":"Channel","rest":false,"required":true}],"output":["Boolean"],"category":"channel"},{"name":"$createChannel","version":"1.0.0","description":"Creates a channel in a guild, returns the channel id","unwrap":true,"brackets":true,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to create this channel on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the channel","rest":false,"required":true,"type":"String"},{"name":"type","description":"The type of the channel, some are not supported","rest":false,"type":"Enum","enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"enumName":"ChannelType"},{"name":"topic","description":"The topic for the channel","rest":false,"type":"String"},{"name":"parent ID","description":"The parent id for the channel","rest":false,"type":"Channel","pointer":0}],"category":"channel"},{"name":"$createForumPost","version":"1.0.0","description":"Creates a forum post, returns the post channel id","unwrap":true,"output":["Channel"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The channel to create a post on"},{"name":"title","description":"The post title","rest":false,"required":true,"type":"String"},{"name":"description","description":"The post description","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$createForumTag","version":"2.5.0","description":"Creates a forum tag, returns tag id","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to create tag on","rest":false,"required":true,"type":"Channel"},{"name":"name","description":"The name for the tag","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji for the tag","rest":false,"type":"String"},{"name":"moderated","description":"Whether the tag can only be applied by mods","rest":false,"type":"Boolean"}],"output":["ForumTag"],"category":"channel"},{"name":"$createInvite","version":"1.1.0","brackets":true,"description":"Creates an invite, returns the invite code","unwrap":true,"output":["Invite"],"args":[{"name":"channel ID","description":"The channel to make the invite for","rest":false,"required":true,"type":"Channel"},{"name":"max uses","description":"The max amount of uses for this invite","rest":false,"type":"Number"},{"name":"max age","description":"The max age for this invite","rest":false,"type":"Number"},{"name":"reason","description":"The reason for creating this invite","rest":false,"type":"String"}],"category":"channel"},{"name":"$createStageInstance","version":"2.3.0","description":"Creates a new stage instance, returns instance id","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to create stage instance on","rest":false,"required":true,"type":"Channel"},{"name":"topic","description":"The topic of the stage instance","rest":false,"required":true,"type":"String"},{"name":"privacy level","description":"The privacy level of the stage instance","rest":false,"type":"Enum","enum":["Public","GuildOnly"],"enumName":"StageInstancePrivacyLevel"},{"name":"notify","description":"Whether to notify @everyone that the stage instance has started","rest":false,"type":"Boolean"},{"name":"event ID","description":"The scheduled event associated with the stage instance","rest":false,"type":"ScheduledEvent","pointer":0,"pointerProperty":"guild"}],"output":["StageInstance"],"category":"channel"},{"name":"$createThread","version":"1.0.3","description":"Creates a thread, returns thread channel id on success","unwrap":true,"output":["Channel"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to create the thread at","rest":false,"type":"Channel"},{"name":"name","description":"The name for the thread","rest":false,"type":"String","required":true},{"name":"message ID","description":"The message to start thread for","rest":false,"pointer":0,"type":"Message"},{"name":"private","description":"Whether this thread is private","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for creating thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$deleteChannelPerms","version":"1.0.3","description":"Deletes some permission overwrites from a channel, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to clear perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to clear these perms for","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to clear from the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$deleteChannels","version":"1.0.5","description":"Deletes given channels, returns the count of channels deleted","aliases":["$deleteChannel"],"brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"channels","description":"The channels to delete","rest":true,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$deleteForumTags","version":"2.5.0","description":"Deletes tags from a forum, returns bool","aliases":["$deleteForumTag"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to delete tags from","rest":false,"required":true,"type":"Channel"},{"name":"tags","description":"The tags to delete","rest":true,"required":true,"type":"ForumTag","pointer":0}],"output":["Boolean"],"category":"channel"},{"name":"$deleteStageInstance","version":"2.3.0","description":"Deletes a stage instance, returns bool","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to delete","rest":false,"required":true,"type":"StageInstance"}],"output":["Boolean"],"category":"channel"},{"name":"$deleteThread","version":"1.5.0","description":"Deletes a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to delete","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to delete this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$dmChannelID","version":"1.0.0","description":"Returns the dm channel id of a user","brackets":false,"output":["Channel"],"unwrap":true,"args":[{"name":"user ID","description":"User to get the dm channel","rest":false,"required":true,"type":"User"}],"category":"channel"},{"name":"$editForumTag","version":"2.5.0","description":"Edits an existing forum tag, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to edit tag on","rest":false,"required":true,"type":"Channel"},{"name":"tag ID","description":"The tag to edit","rest":false,"required":true,"type":"ForumTag","pointer":0},{"name":"name","description":"The new name for the tag","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for the tag","rest":false,"type":"String"},{"name":"moderated","description":"Whether the tag can only be applied by mods","rest":false,"type":"Boolean"}],"output":["Boolean"],"category":"channel"},{"name":"$editStageInstance","version":"2.3.0","description":"Edits a stage instance, returns bool","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to edit","rest":false,"required":true,"type":"StageInstance"},{"name":"topic","description":"The new topic of the stage instance","rest":false,"type":"String"},{"name":"privacy level","description":"The new privacy level of the stage instance","rest":false,"type":"Enum","enum":["Public","GuildOnly"],"enumName":"StageInstancePrivacyLevel"}],"output":["Boolean"],"category":"channel"},{"name":"$fetchChannels","version":"2.2.0","description":"Caches all channels of a guild","aliases":["$fetchChannel"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache channels of","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The channel to fetch","rest":false,"type":"Channel","pointer":0}],"category":"channel"},{"name":"$fetchThreads","version":"2.5.0","description":"Caches all threads of a channel","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to cache its threads","rest":false,"type":"Channel","required":true},{"name":"archived","description":"Whether to cache archived threads, otherwise active","rest":false,"type":"Boolean"},{"name":"private","description":"Whether to cache archived private threads, otherwise public","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$firstMessageID","version":"1.5.0","description":"Returns the first message sent in a channel","brackets":false,"aliases":["$channelFirstMessageID"],"unwrap":true,"output":["Message"],"args":[{"name":"channel ID","description":"The channel to pull first message from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$followChannel","version":"2.3.0","description":"Follows given announcement channel, returns webhook id","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to follow","type":"Channel","rest":false,"required":true},{"name":"channel ID","description":"The channel to crosspost messages in","type":"Channel","rest":false,"required":true},{"name":"reason","description":"The reason for following the channel","type":"String","rest":false}],"output":["Webhook"],"category":"channel"},{"name":"$forumDefaultLayout","version":"2.2.0","description":"Returns the default layout of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default layout from","rest":false,"type":"Channel","required":true}],"output":["ForumLayoutType"],"category":"channel"},{"name":"$forumDefaultReactionEmoji","version":"2.2.0","description":"Returns the default reaction emoji of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default reaction emoji from","rest":false,"type":"Channel","required":true}],"output":["String"],"category":"channel"},{"name":"$forumDefaultSortOrder","version":"2.2.0","description":"Returns the default sort order of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default sort order from","rest":false,"type":"Channel","required":true}],"output":["SortOrderType"],"category":"channel"},{"name":"$forumDefaultThreadArchiveDuration","version":"2.2.0","description":"Returns the default auto archive duration for threads of a forum","aliases":["$forumDefaultThreadAutoArchiveDuration"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default sort order from","rest":false,"type":"Channel","required":true}],"output":["ThreadAutoArchiveDuration"],"category":"channel"},{"name":"$forumDefaultThreadSlowmode","version":"2.2.0","description":"Returns the default slowmode for threads of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to get default slowmode from","rest":false,"type":"Channel","required":true}],"output":["Number"],"category":"channel"},{"name":"$forumTags","version":"1.5.0","description":"Returns all available tags of a forum","unwrap":true,"output":["Json","Unknown[]"],"args":[{"name":"channel ID","description":"The channel to get tags of","rest":false,"type":"Channel","required":true},{"name":"property","description":"The property to return for every tag","rest":false,"type":"Enum","enum":["emoji","id","moderated","name"],"enumName":"ForumTagProperty"},{"name":"separator","description":"The separator to use for every tag property","rest":false,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$getForumTag","version":"2.7.0","description":"Returns the tag of a forum","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to pull tags from","rest":false,"required":true,"type":"Channel"},{"name":"tag ID","description":"The tag to retrieve","rest":false,"required":true,"type":"ForumTag","pointer":0},{"name":"property","description":"The property of the tag to return","rest":false,"type":"Enum","enum":["emoji","id","moderated","name"],"enumName":"ForumTagProperty"}],"output":["Json","Unknown"],"category":"channel"},{"name":"$getStageInstance","version":"2.3.0","description":"Returns a stage instance of a guild","unwrap":true,"brackets":true,"args":[{"name":"stage ID","description":"The stage instance to get","rest":false,"required":true,"type":"StageInstance"},{"name":"property","description":"The property of the stage instance to return","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"enumName":"StageProperty"}],"output":["Json","Unknown"],"category":"channel"},{"name":"$getThreadMembers","version":"1.0.0","description":"Returns all members from a thread","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The thread to pull members from","rest":false,"required":true,"type":"Channel"},{"name":"separator","description":"The separator for every id","rest":false,"type":"String"}],"output":["Member[]"],"category":"channel"},{"name":"$guildChannelID","version":"1.4.0","description":"Gets the guild channel id of a channel name","unwrap":true,"output":["Channel"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to use","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The channel name to get its id","required":true,"rest":false,"type":"String"}],"category":"channel"},{"name":"$lastMessageID","version":"1.2.0","brackets":false,"aliases":["$channelLastMessageID"],"unwrap":true,"output":["Message"],"description":"Returns the latest message sent in a channel","args":[{"name":"channel ID","description":"The channel to pull last message from","rest":false,"required":true,"type":"Channel"},{"name":"user ID","description":"The user id to get its last message sent","rest":false,"required":false,"type":"User"}],"category":"channel"},{"name":"$lastPinTimestamp","version":"1.5.0","aliases":["$channelLastPinTimestamp"],"unwrap":true,"brackets":false,"output":["Number"],"description":"Returns the latest pin timestamp of a channel","args":[{"name":"channel ID","description":"The channel to pull last pin from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$lockThread","version":"1.5.0","aliases":["$lockPost"],"description":"Locks a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to lock","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to lock this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$modifyChannelPerms","version":"1.4.0","description":"Modifies given channel perms for a role or user","aliases":["$editChannelPerms"],"unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The channel to modify perms for"},{"name":"roleOrUser","description":"The role or user to modify perms for","rest":false,"required":true,"pointer":0,"pointerProperty":"guild","type":"RoleOrUser"},{"name":"perms","rest":true,"required":true,"type":"OverwritePermission","description":"The permissions to allow, nullify or disallow, (+,/,-)Perm","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$modifyPostTags","version":"1.5.0","aliases":["$editPostTags"],"description":"Modifies tags of a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to edit tags on"},{"name":"reason","description":"The reason for modifying post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$randomChannelID","version":"1.0.3","description":"Returns a random channel ID","unwrap":true,"brackets":false,"args":[{"name":"types","description":"The channel types to get an id from","type":"Enum","rest":true,"required":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"enumName":"ChannelType"}],"output":["Channel"],"category":"channel"},{"name":"$randomGuildChannelID","version":"1.0.3","description":"Returns a random channel ID of a guild","unwrap":true,"brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to get channel from","rest":false,"required":true,"type":"Guild"},{"name":"types","description":"The channel types to get an id from","type":"Enum","rest":true,"required":false,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"enumName":"ChannelType"}],"category":"channel"},{"name":"$removeChannelPerms","version":"1.0.3","description":"Removes permission overwrites from a channel, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to remove perms from","rest":false,"required":true,"type":"Channel"},{"name":"id","description":"The role or member id to remove these perms from","rest":false,"required":true,"type":"String"},{"name":"perms","description":"The perms to remove from the id","rest":true,"type":"String","required":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"category":"channel"},{"name":"$removeThreadMember","version":"1.0.0","description":"Removes a member from a thread, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"channel ID","description":"The thread to remove member from","rest":false,"required":true,"type":"Channel"},{"name":"user ID","pointer":0,"description":"The member to remove","rest":false,"required":true,"type":"Member"}],"category":"channel"},{"name":"$sendMessage","aliases":["$channelSendMessage"],"version":"1.0.0","description":"Sends a message to a channel","unwrap":true,"output":["Message"],"args":[{"name":"channel ID","description":"The channel to send this message to","required":true,"type":"Channel","rest":false},{"name":"content","description":"The content for the message","type":"String","rest":false},{"name":"return message ID","description":"Whether to return the message id of the newly sent message","rest":false,"type":"Boolean"}],"brackets":true,"category":"channel"},{"name":"$setChannelArchiveDuration","version":"1.5.0","description":"Modifies a channel's archive duration","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","type":"Channel","description":"The channel to modify","rest":false,"required":true},{"name":"duration","description":"The new duration of archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setChannelCategory","version":"1.5.0","aliases":["$setChannelParent"],"description":"Sets a channel's category, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its category","rest":false,"type":"Channel","required":true},{"name":"category ID","description":"The category to set","rest":false,"type":"Channel"}],"category":"channel"},{"name":"$setChannelNSFW","version":"1.0.0","description":"Sets a channel nsfw state, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its nsfw state","rest":false,"type":"Channel","required":true},{"name":"state","description":"The state to set","rest":false,"type":"Boolean"}],"category":"channel"},{"name":"$setChannelName","version":"1.0.0","description":"Sets a channel name, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its name","rest":false,"type":"Channel","required":true},{"name":"name","description":"The name to set","rest":false,"required":true,"type":"String"}],"category":"channel"},{"name":"$setChannelSlowmode","version":"1.0.0","description":"Sets a channel slowmode, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its nsfw state","rest":false,"type":"Channel","required":true},{"name":"seconds","description":"The number of seconds per message","rest":false,"type":"Number"}],"category":"channel"},{"name":"$setChannelTopic","version":"1.0.0","description":"Sets a channel topic, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to set its topic","rest":false,"type":"Channel","required":true},{"name":"topic","description":"The topic to set","rest":false,"type":"String"}],"category":"channel"},{"name":"$setDefaultForumLayout","version":"2.2.0","description":"Sets a forum's default layout of posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"layout","description":"The new default layout","rest":false,"required":true,"type":"Enum","enum":["NotSet","ListView","GalleryView"],"enumName":"ForumLayoutType"},{"name":"reason","description":"The reason for modifying default layout","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultReactionEmoji","version":"2.2.0","description":"Sets a forum's default reaction emoji for posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"emoji","description":"The new default reaction emoji","rest":false,"type":"String"},{"name":"reason","description":"The reason for modifying default emoji","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultSortOrder","version":"2.2.0","description":"Sets a forum's default sort order of posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"layout","description":"The new default sort order, leave empty to reset","rest":false,"type":"Enum","enum":["LatestActivity","CreationDate"],"enumName":"SortOrderType"},{"name":"reason","description":"The reason for modifying default sort order","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setDefaultThreadArchiveDuration","version":"1.5.0","description":"Sets a forum's default auto archive duration of posts","unwrap":true,"output":["Boolean"],"aliases":["$setDefaultThreadAutoArchiveDuration"],"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","type":"Channel","rest":false,"required":true},{"name":"duration","description":"The new duration of auto archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setDefaultThreadSlowmode","version":"2.2.0","description":"Sets a forum's default slowmode for posts","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The forum to modify","rest":false,"required":true,"type":"Channel"},{"name":"seconds","description":"The new default slowmode","rest":false,"required":true,"type":"Number"},{"name":"reason","description":"The reason for modifying default slowmode","rest":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setPostTags","version":"2.5.0","description":"Sets tags to a forum post, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The post to set tags on"},{"name":"reason","description":"The reason for setting post tags","rest":false,"type":"String"},{"name":"tags","description":"The tags for the post","rest":true,"type":"String"}],"brackets":true,"category":"channel"},{"name":"$setThreadArchiveDuration","version":"1.5.0","description":"Sets a thread's auto archive duration","unwrap":true,"output":["Boolean"],"aliases":["$setThreadAutoArchiveDuration"],"brackets":true,"args":[{"name":"channel ID","description":"The thread to modify","type":"Channel","rest":false,"required":true},{"name":"duration","description":"The new duration of auto archive","type":"Enum","enum":["OneHour","OneDay","ThreeDays","OneWeek"],"rest":false,"required":true,"enumName":"ThreadAutoArchiveDuration"},{"name":"reason","description":"The reason for modifying archive duration","rest":false,"type":"String"}],"category":"channel"},{"name":"$setVoiceBitrate","version":"1.4.0","description":"Sets the bitrate quality of a voice channel, returns bool","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit bitrate","rest":false,"required":true,"type":"Channel"},{"name":"bitrate","rest":false,"type":"Number","required":true,"description":"The new bitrate"},{"name":"reason","description":"The reason to change the bitrate","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceDeaf","version":"1.4.0","description":"Deafens a member from voice channel","brackets":true,"aliases":["$voiceDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to deafen"},{"name":"reason","description":"The reason to deafen this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceMute","version":"1.4.0","description":"Mutes a member from voice channel","brackets":true,"aliases":["$voiceMute"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to mute"},{"name":"reason","description":"The reason to mute this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceRegion","version":"1.5.0","description":"Sets the region of a voice channel, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to set region","rest":false,"required":true,"type":"Channel"},{"name":"region","description":"The region to set, leave empty to remove a fixed region","rest":false,"required":false,"type":"Enum","enum":["brazil","hongkong","india","japan","rotterdam","russia","singapore","south-korea","southafrica","sydney","us-central","us-east","us-south","us-west"],"enumName":"VoiceRegionType"},{"name":"reason","description":"The reason to set the voice region","rest":false,"required":false,"type":"String"}],"output":["Boolean"],"category":"channel"},{"name":"$setVoiceUndeaf","version":"1.4.0","description":"Undeafens a member from voice channel","brackets":true,"aliases":["$voiceUndeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to undeafen"},{"name":"reason","description":"The reason to undeafen this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceUnmute","version":"1.4.0","description":"Unmutes a member from voice channel","brackets":true,"aliases":["$voiceUnmute"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to unmute"},{"name":"reason","description":"The reason to unmute this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceUserLimit","version":"1.4.0","description":"Sets the limit of users that can connect to this voice channel","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit user limit","rest":false,"required":true,"type":"Channel"},{"name":"limit","rest":false,"type":"Number","required":true,"description":"The new user limit"},{"name":"reason","description":"The reason to change the user limit","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$setVoiceVideoQuality","version":"1.5.0","description":"Sets the video quality of a voice channel, returns bool","brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit video quality","rest":false,"required":true,"type":"Channel"},{"name":"quality","rest":false,"required":true,"type":"Enum","enum":["Auto","Full"],"description":"The new video quality","enumName":"VideoQualityMode"},{"name":"reason","description":"The reason to change the video quality","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"channel"},{"name":"$startTyping","version":"1.0.0","description":"Starts typing in a channel","unwrap":true,"aliases":["$channelStartTyping"],"brackets":false,"args":[{"name":"channel ID","description":"The channel to start typing at","required":true,"rest":false,"type":"Channel"}],"category":"channel"},{"name":"$threadIsArchived","version":"1.5.0","aliases":["$isArchived","$threadArchived"],"description":"Returns whether a thread is archived","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to check if its archived","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$threadIsLocked","version":"2.7.0","aliases":["$isLocked","$threadLocked"],"description":"Returns whether a thread is locked","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The thread to check if its locked","rest":false,"required":true,"type":"Channel"}],"output":["Boolean"],"category":"channel"},{"name":"$threadOwnerID","version":"2.2.0","description":"Returns the owner of the thread","brackets":false,"unwrap":true,"output":["Member"],"args":[{"name":"channel ID","description":"The thread to retrieve owner of","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$threadStarterMessageID","version":"1.5.0","description":"Returns the id of the message that started this thread","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The thread to get its starter message id","rest":false,"required":true,"type":"Channel"}],"output":["Message"],"category":"channel"},{"name":"$threadTotalMessagesSent","version":"1.5.0","description":"Returns the total count of sent messages in a thread","aliases":["$threadTotalMessagesCount"],"brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"channel ID","description":"The thread to pull data from","rest":false,"required":true,"type":"Channel"}],"category":"channel"},{"name":"$transcript","version":"1.4.0","aliases":["$channelTranscript","$createTranscript"],"description":"Creates a channel transcript","brackets":true,"output":["String[]"],"unwrap":false,"args":[{"name":"channel ID","description":"The channel to create transcript of","rest":false,"required":true,"type":"TextChannel"},{"name":"variable","description":"The $env variable name to load the message id to","rest":false,"required":true,"type":"String"},{"name":"code","description":"The code to use for every message, make sure to use $return","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"full","description":"Whether to load entire message object to the variable","rest":false,"required":false,"type":"Boolean"}],"category":"channel"},{"name":"$unarchiveThread","version":"1.0.0","aliases":["$unarchivePost"],"description":"Unarchives a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to unarchive","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to unarchive this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$unlockThread","version":"1.5.0","aliases":["$unlockPost"],"description":"Unlocks a thread, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The thread to unlock","rest":false,"required":true,"type":"Channel"},{"name":"reason","description":"The reason to unlock this thread","rest":false,"type":"String"}],"category":"channel"},{"name":"$commandCount","version":"1.0.0","description":"Returns the command count","brackets":false,"output":["Number"],"args":[{"name":"categories","rest":true,"required":true,"description":"The event types to filter by","type":"String"}],"unwrap":true,"category":"command"},{"name":"$commandInfo","version":"1.0.3","description":"Retrieves command info","unwrap":true,"brackets":true,"output":["Unknown"],"args":[{"name":"type","description":"The command type","rest":false,"type":"String","required":true},{"name":"name","description":"The command name","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property to retrieve","rest":true,"type":"String"}],"category":"command"},{"name":"$commandName","version":"1.0.3","description":"Returns the current command name","unwrap":false,"output":["String"],"category":"command"},{"name":"$commandNames","version":"1.0.6","description":"Return commands with given type","brackets":true,"output":["String[]"],"args":[{"name":"type","description":"The command type to pull names from","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for every name","rest":false,"type":"String"}],"unwrap":true,"category":"command"},{"name":"$deleteCommand","version":"1.2.0","description":"Deletes the author's message","unwrap":false,"category":"command"},{"name":"$addActionRow","version":"1.0.0","description":"Adds an action row","unwrap":false,"category":"component"},{"name":"$addActionRowTo","version":"1.5.0","brackets":true,"description":"Adds an action row (or rows) to a message","unwrap":false,"aliases":["$addActionRowsTo"],"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add row to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"components","description":"Components for this row","rest":false,"required":true,"type":"String"},{"name":"keep existing rows","description":"Whether to keep or remove existing rows of given message","rest":false,"required":false,"type":"Boolean"}],"output":["Boolean"],"category":"component"},{"name":"$addButton","version":"1.0.0","description":"Adds a button component to the newest row","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The button label","rest":false,"type":"String","required":true},{"name":"style","description":"The style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","required":true,"rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"category":"component"},{"name":"$addButtonTo","version":"1.5.0","description":"Adds a button component to the newest row in a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add button to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The button label","rest":false,"type":"String","required":true},{"name":"style","description":"The style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","required":true,"rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"output":["Boolean"],"category":"component"},{"name":"$addChannelSelectMenu","version":"1.4.0","description":"Creates a channel select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"type":"Boolean"},{"name":"required","description":"Whether this menu is required inside a modal","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addChannelSelectMenuTo","version":"2.4.0","description":"Creates a channel select menu on a message","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels to use"}],"category":"component"},{"name":"$addChannelType","version":"1.4.0","aliases":["$addChannelTypes"],"description":"Adds channel types to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"types","description":"The channel types to add","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"type":"Enum","enumName":"ChannelType"}],"category":"component"},{"name":"$addCheckbox","version":"2.7.0","description":"Adds a new checkbox component to the newest modal label","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"required":true,"type":"String"},{"name":"default","description":"Whether this field is checked by default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addCheckboxGroup","version":"2.7.0","description":"Adds a new checkbox group component to the newest modal label","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"required":true,"type":"String"},{"name":"min options","description":"The min options that can be selected","rest":false,"type":"Number"},{"name":"max options","description":"The max options that can be selected","rest":false,"type":"Number"},{"name":"required","description":"Whether selecting an option is required","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addCheckboxOption","version":"2.7.0","description":"Adds a new option to the newest checkbox group component","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The option name","rest":false,"required":true,"type":"String"},{"name":"value","description":"The value to use for this option","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for this option","rest":false,"type":"String","required":false},{"name":"default","description":"Whether to set this option as default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addChoice","version":"1.0.6","description":"Adds an autocomplete choice","unwrap":true,"brackets":true,"args":[{"name":"choice name","description":"The name for this choice","rest":false,"required":true,"type":"String"},{"name":"choice value","description":"The value for this choice","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addContainer","version":"2.4.0","description":"Adds a new container component","unwrap":false,"brackets":true,"args":[{"name":"components","description":"The components to add","rest":false,"required":true,"type":"String"},{"name":"color","description":"The color to set","rest":false,"type":"Color"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addDefaultChannelOption","version":"1.4.0","aliases":["$addDefaultChannels","$addDefaultChannelOptions"],"description":"Adds default channel options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"channel IDs","description":"The channel ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addDefaultRoleOption","version":"1.4.0","aliases":["$addDefaultRoles","$addDefaultRoleOptions"],"description":"Adds default role options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"role IDs","description":"The role ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addDefaultUserOption","version":"1.4.0","aliases":["$addDefaultUsers","$addDefaultUserOptions"],"description":"Adds default user options to the last select menu","unwrap":true,"brackets":true,"args":[{"name":"user IDs","description":"The user ids","rest":true,"required":true,"type":"String"}],"category":"component"},{"name":"$addFile","version":"2.4.0","description":"Adds a new file component","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url of the file (must use attachment://)","rest":false,"required":true,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addFileUpload","version":"2.6.0","description":"Adds a new file upload component to the newest modal label","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"required":true,"type":"String"},{"name":"min values","description":"The min values of file uploads","rest":false,"type":"Number"},{"name":"max values","description":"The max values of file uploads","rest":false,"type":"Number"},{"name":"required","description":"Whether this field is required","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addLabel","version":"2.6.0","description":"Adds a new label component to the modal","unwrap":false,"brackets":true,"args":[{"name":"name","description":"The name for the label","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for the label","rest":false,"type":"String"},{"name":"component","description":"The component to attach to the label","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addMediaGallery","version":"2.4.0","description":"Adds a new media gallery component","unwrap":false,"brackets":true,"args":[{"name":"items","description":"The media items to add","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addMediaItem","version":"2.4.0","description":"Adds a new media gallery item","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url for the media item","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the media item","rest":false,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addMentionableSelectMenu","version":"1.4.0","description":"Creates a mentionable select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"required","description":"Whether this menu is required inside a modal","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addMentionableSelectMenuTo","version":"1.5.0","description":"Creates a mentionable select menu on a message","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add row to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use","pointer":0,"pointerProperty":"guild"}],"category":"component"},{"name":"$addOption","version":"1.0.0","description":"Adds a select menu option","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The option name","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for this option","rest":false,"type":"String","required":false},{"name":"value","description":"The value to use for this option","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji to use for this option","type":"String","rest":false},{"name":"default","description":"Whether to set this option as default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addRadioGroup","version":"2.7.0","description":"Adds a new radio group component to the newest modal label","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"required":true,"type":"String"},{"name":"required","description":"Whether selecting an option is required","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addRadioOption","version":"2.7.0","description":"Adds a new option to the newest radio group component","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The option name","rest":false,"required":true,"type":"String"},{"name":"value","description":"The value to use for this option","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for this option","rest":false,"type":"String","required":false},{"name":"default","description":"Whether to set this option as default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addRoleSelectMenu","version":"1.3.0","description":"Creates a role select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"required","description":"Whether this menu is required inside a modal","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addRoleSelectMenuTo","version":"1.5.0","description":"Creates a role select menu on a message","output":["Boolean"],"brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles to use"}],"category":"component"},{"name":"$addSection","version":"2.4.0","description":"Adds a new section component","unwrap":false,"brackets":true,"args":[{"name":"components","description":"The components and accessory to add","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addSeparator","version":"2.4.0","description":"Adds a new separator component","unwrap":true,"brackets":false,"args":[{"name":"spacing","description":"The spacing of this separator","rest":false,"required":true,"type":"Enum","enum":["Small","Large"],"enumName":"SeparatorSpacingSize"},{"name":"divider","description":"Whether to show a divider line","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addStringSelectMenu","version":"1.0.0","description":"Creates a string select menu","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"required","description":"Whether this menu is required inside a modal","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addStringSelectMenuTo","version":"1.5.0","description":"Creates a string select menu on a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"output":["Boolean"],"category":"component"},{"name":"$addTextDisplay","version":"2.4.0","description":"Adds a new text display component","unwrap":true,"brackets":true,"args":[{"name":"content","description":"The content of this text display","rest":false,"required":true,"type":"String"}],"category":"component"},{"name":"$addTextInput","version":"1.0.0","description":"Adds a text input field to the modal","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this field","rest":false,"type":"String","required":true},{"name":"name","description":"The field name, will be overwritten when used inside a label","rest":false,"required":true,"type":"String"},{"name":"type","description":"Paragraph or short","rest":false,"type":"Enum","enum":["Short","Paragraph"],"enumName":"TextInputStyle"},{"name":"required","description":"Whether this field is required","rest":false,"type":"Boolean"},{"name":"placeholder","description":"The placeholder to use for the field","rest":false,"type":"String"},{"name":"default value","description":"The default value for the field","rest":false,"type":"String"},{"name":"minimum length","description":"The minimum length needed","rest":false,"type":"Number"},{"name":"maximum length","description":"The max length needed","rest":false,"type":"Number"}],"category":"component"},{"name":"$addThumbnail","version":"2.4.0","description":"Adds a new thumbnail accessory","unwrap":true,"brackets":true,"args":[{"name":"url","description":"The url for the thumbnail","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the thumbnail","rest":false,"type":"String"},{"name":"spoiler","description":"Whether to set a spoiler","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addUserSelectMenu","version":"1.4.0","description":"Creates a user select menu","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"required","description":"Whether this menu is required inside a modal","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$addUserSelectMenuTo","version":"1.5.0","output":["Boolean"],"description":"Creates a user select menu on a message","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to add select menu to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"disabled","description":"Whether the menu is disabled by default","rest":false,"required":false,"type":"Boolean"},{"name":"default users","rest":true,"type":"String","description":"The default selected users to use"}],"category":"component"},{"name":"$deleteActionRow","version":"1.0.0","description":"Deletes an action row or top level component at given index","brackets":true,"args":[{"name":"index","description":"The row index to delete","rest":false,"required":true,"type":"Number"}],"unwrap":true,"category":"component"},{"name":"$deleteActionRowFrom","version":"1.5.0","description":"Deletes an action row or top level component at given index","brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to remove row from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The row index to delete","rest":false,"required":true,"type":"Number"}],"output":["Boolean"],"unwrap":true,"category":"component"},{"name":"$deleteComponent","version":"1.0.0","description":"Deletes a message component with given custom id","brackets":true,"args":[{"name":"custom ID","description":"The component's custom id to delete","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"component"},{"name":"$deleteComponentFrom","version":"1.5.0","description":"Deletes a message component with given custom id from a message","brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to remove component from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The component's custom id to delete","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"unwrap":true,"category":"component"},{"name":"$disableButtons","version":"2.2.0","description":"Disables all buttons on the current message","aliases":["$disableAllButtons"],"unwrap":true,"args":[{"name":"index","description":"The index of the row to disable","rest":false,"required":true,"type":"Number"}],"brackets":false,"category":"component"},{"name":"$disableButtonsOf","version":"2.2.0","description":"Disables all buttons of a message, returns bool","aliases":["$disableAllButtonsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to disable buttons on","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the row to disable","rest":false,"type":"Number"}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$disableComponents","version":"2.2.0","description":"Disables all components on the current message","aliases":["$disableAllComponents"],"unwrap":false,"category":"component"},{"name":"$disableComponentsOf","version":"2.2.0","description":"Disables all components of a message, returns bool","aliases":["$disableAllComponentsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to disable components on","rest":false,"required":true,"type":"Message","pointer":0}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$editButton","version":"1.0.7","description":"Edits a button component","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id to find the component","rest":false,"type":"String","required":true},{"name":"new custom ID","description":"The new custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The new button label","rest":false,"type":"String"},{"name":"style","description":"The new style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The new emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"category":"component"},{"name":"$editButtonOf","version":"1.5.0","description":"Edits a button component of a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit button for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"custom ID","description":"The custom id to find the component","rest":false,"type":"String","required":true},{"name":"new custom ID","description":"The new custom id for this component","rest":false,"type":"String","required":true},{"name":"label","description":"The new button label","rest":false,"type":"String"},{"name":"style","description":"The new style for this button","enum":["Primary","Secondary","Success","Danger","Link","Premium"],"type":"Enum","rest":false,"enumName":"ButtonStyle"},{"name":"emoji","rest":false,"type":"String","description":"The new emoji for this button"},{"name":"disabled","rest":false,"type":"Boolean","description":"Whether to disable the button"}],"output":["Boolean"],"category":"component"},{"name":"$editChannelSelectMenu","version":"2.2.0","description":"Edits a channel select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels of the menu"}],"category":"component"},{"name":"$editChannelSelectMenuOf","version":"2.2.0","description":"Edits a channel select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default channels","rest":true,"type":"String","description":"The default selected channels of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$editMentionableSelectMenu","version":"2.2.0","description":"Edits a mentionable select menu","brackets":true,"unwrap":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use"}],"category":"component"},{"name":"$editMentionableSelectMenuOf","version":"2.2.0","description":"Edits a mentionable select menu of a message, returns bool","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles/users","rest":true,"type":"RoleOrUser","description":"The default selected roles or users to use","pointer":0,"pointerProperty":"guild"}],"output":["Boolean"],"category":"component"},{"name":"$editOption","version":"1.4.0","description":"Edits a select menu option","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The option name to find","rest":false,"required":true,"type":"String"},{"name":"new name","description":"The new option name","rest":false,"required":true,"type":"String"},{"name":"description","description":"The new description for this option","rest":false,"type":"String","required":false},{"name":"value","description":"The new value for this option","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for this option","type":"String","rest":false},{"name":"default","description":"Whether to set this option as default","rest":false,"type":"Boolean"}],"category":"component"},{"name":"$editRoleSelectMenu","version":"2.2.0","description":"Edits a role select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles of the menu"}],"category":"component"},{"name":"$editRoleSelectMenuOf","version":"2.2.0","description":"Edits a role select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default roles","rest":true,"type":"String","description":"The default selected roles of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$editStringSelectMenu","version":"1.4.0","description":"Edits a string select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"category":"component"},{"name":"$editStringSelectMenuOf","version":"1.5.0","description":"Edits a string select menu of a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"}],"output":["Boolean"],"category":"component"},{"name":"$editUserSelectMenu","version":"2.2.0","description":"Edits a user select menu","unwrap":true,"brackets":true,"args":[{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default users","rest":true,"type":"String","description":"The default selected users of the menu"}],"category":"component"},{"name":"$editUserSelectMenuOf","version":"2.2.0","description":"Edits a user select menu of a message, returns bool","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to edit select menu for","rest":false,"required":true,"type":"Message","pointer":0},{"name":"old custom ID","description":"The custom id of the menu to edit","rest":false,"required":true,"type":"String"},{"name":"new custom ID","description":"The new custom id to use for this menu","rest":false,"required":true,"type":"String"},{"name":"placeholder","description":"The placeholder to use for the menu","rest":false,"type":"String"},{"name":"disabled","description":"Whether to keep this menu disabled","type":"Boolean","rest":false},{"name":"min values","description":"The min values to choose for the menu","rest":false,"type":"Number"},{"name":"max values","description":"The max values to choose for the menu","rest":false,"type":"Number"},{"name":"default users","rest":true,"type":"String","description":"The default selected users of the menu"}],"output":["Boolean"],"category":"component"},{"name":"$enableButtons","version":"2.2.0","description":"Enables all buttons on the current message","aliases":["$enableAllButtons"],"unwrap":true,"args":[{"name":"index","description":"The index of the row to enable","rest":false,"required":true,"type":"Number"}],"brackets":false,"category":"component"},{"name":"$enableButtonsOf","version":"2.2.0","description":"Enables all buttons of a message, returns bool","aliases":["$enableAllButtonsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to enable buttons on","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the row to enable","rest":false,"type":"Number"}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$enableComponents","version":"2.2.0","description":"Enables all components on the current message","aliases":["$enableAllComponents"],"unwrap":false,"category":"component"},{"name":"$enableComponentsOf","version":"2.2.0","description":"Enables all components of a message, returns bool","aliases":["$enableAllComponentsOf"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel id to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to enable components on","rest":false,"required":true,"type":"Message","pointer":0}],"brackets":true,"output":["Boolean"],"category":"component"},{"name":"$setChannelType","version":"1.5.0","aliases":["$setChannelTypes"],"description":"Sets channel types for the last select menu","unwrap":true,"brackets":true,"args":[{"name":"types","description":"The channel types to set","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"required":true,"type":"Enum","enumName":"ChannelType"}],"category":"component"},{"name":"$and","version":"1.0.0","description":"Validates multiple conditions","unwrap":false,"brackets":true,"output":["Boolean"],"args":[{"name":"conditions","rest":true,"required":true,"type":"String","condition":true,"description":"The conditions that must match"}],"category":"condition"},{"name":"$checkCondition","version":"1.0.0","description":"Checks whether a condition is valid","brackets":true,"unwrap":false,"output":["Boolean"],"args":[{"name":"condition","description":"The condition to use","rest":false,"condition":true,"type":"String","required":true}],"category":"condition"},{"name":"$isBoolean","version":"1.0.6","description":"Checks whether given value is bool like","aliases":["$isBool"],"brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"value","description":"Value to check if its a valid bool","rest":false,"required":true,"type":"String"}],"category":"condition"},{"name":"$isValidHex","version":"1.3.0","description":"Checks whether given hex is a valid integer number between 0x00000 and 0xffffff","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"hex","rest":false,"required":true,"type":"String","description":"The hex to check for"}],"category":"condition"},{"name":"$isValidLink","version":"1.0.0","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"link","description":"The link to check","rest":false,"required":true,"type":"String"}],"description":"Checks whether a link is valid, this will not make sure that a site actually exists or returns success HTTP responses","category":"condition"},{"name":"$or","version":"1.0.0","description":"Validates one condition","unwrap":false,"brackets":true,"output":["Boolean"],"args":[{"name":"conditions","rest":true,"required":true,"type":"String","condition":true,"description":"The conditions that must match one"}],"category":"condition"},{"name":"$channelCooldown","version":"1.5.0","description":"Adds a cooldown binded to a channel and command","brackets":true,"unwrap":false,"args":[{"name":"channel ID","rest":false,"description":"The channel id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$cooldown","version":"1.0.3","description":"Adds a command cooldown","brackets":true,"unwrap":false,"args":[{"name":"id","rest":false,"description":"The id to assign the cooldown to, can be anything","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"examples":["$c[This is a guild based user cooldown]\n$cooldown[$commandName_$guildID_$authorID;1h;You're on cooldown.]\nHello!\n","$c[This is a user based cooldown]\n$cooldown[$commandName_$authorID;1h;You're on cooldown.]\nHello!\n"],"experimental":true,"category":"cooldown"},{"name":"$deleteChannelCooldown","version":"1.5.0","description":"Deletes cooldown for given channel id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"channel ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteCooldown","version":"1.0.3","description":"Deletes cooldown of given id","brackets":true,"unwrap":true,"args":[{"name":"id","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteGuildCooldown","version":"1.5.0","description":"Deletes cooldown for given guild id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteMemberCooldown","version":"1.5.0","description":"Deletes cooldown for given guild and user id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true},{"name":"user ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$deleteUserCooldown","version":"1.5.0","description":"Deletes cooldown for given user id, binded to current command","brackets":true,"unwrap":true,"args":[{"name":"user ID","description":"The id to delete its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getCooldownTime","version":"1.0.3","description":"Retrieves current cooldown time in ms for given id","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"id","description":"The id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getGuildCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given guild id, binded to current command","brackets":true,"aliases":["$getServerCooldownTime"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getMemberCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given guild and user id, binded to current command","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild id to get its cooldown","rest":false,"type":"String","required":true},{"name":"user ID","description":"The user id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$getUserCooldownTime","version":"1.5.0","description":"Retrieves current cooldown time in ms for given user id, binded to current command","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"user ID","description":"The user id to get its cooldown","rest":false,"type":"String","required":true}],"category":"cooldown"},{"name":"$guildCooldown","version":"1.5.0","description":"Adds a cooldown binded to a guild and command","brackets":true,"unwrap":false,"aliases":["$serverCooldown"],"args":[{"name":"guild ID","rest":false,"description":"The guild id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$memberCooldown","version":"1.5.0","description":"Adds a cooldown binded to a guild member and command","brackets":true,"unwrap":false,"args":[{"name":"guild ID","rest":false,"description":"The guild id to assign the cooldown to","type":"String","required":true},{"name":"user ID","rest":false,"description":"The user id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$userCooldown","version":"1.5.0","description":"Adds a cooldown binded to a user and command","brackets":true,"unwrap":false,"args":[{"name":"user ID","rest":false,"description":"The user id to assign the cooldown to","type":"String","required":true},{"name":"duration","description":"The duration of the cooldown","rest":false,"type":"Time","required":true},{"name":"code","description":"The code to execute if the cooldown is active","rest":false,"type":"String"}],"experimental":true,"category":"cooldown"},{"name":"$createQueryParams","version":"1.0.7","description":"Creates query params with given fields","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"param name;param value","description":"The param name followed by the value, (param1;value1)","rest":true,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decodeURI","version":"1.0.0","description":"Decodes text from a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to decode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decodeURIComponent","version":"1.0.0","description":"Decodes text from a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to decode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$decrypt","version":"1.5.0","description":"Decrypts given text with a key","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to decrypt","rest":false,"required":true,"type":"String"},{"name":"key","description":"The key to use to decrypt the text","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"crypto"},{"name":"$deflate","version":"1.2.0","description":"Compresses given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"The text to compress","type":"String","rest":false,"required":true},{"name":"encoding","rest":false,"required":false,"description":"The output encoding to use","type":"String"}],"category":"crypto"},{"name":"$encodeURI","version":"1.0.0","description":"Encodes text for a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to encode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$encodeURIComponent","version":"1.0.0","description":"Encodes text for a url","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to encode","rest":false,"required":true,"type":"String"}],"category":"crypto"},{"name":"$encrypt","version":"1.5.0","description":"Encrypts given text with a key","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to encrypt","rest":false,"required":true,"type":"String"},{"name":"key","description":"The key to use to encrypt text","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"crypto"},{"name":"$inflate","version":"1.2.0","description":"Decompresses given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"The text to decompress","type":"String","rest":false,"required":true},{"name":"encoding","rest":false,"required":false,"description":"The input encoding to use","type":"String"}],"category":"crypto"},{"name":"$md5","version":"1.2.0","description":"Creates a md5 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$randomBytes","version":"1.5.0","description":"Generates a string of random bytes, in hex","brackets":true,"output":["String"],"args":[{"name":"length","description":"The length of the hex string","rest":false,"required":true,"type":"Number"}],"unwrap":true,"category":"crypto"},{"name":"$sha256","version":"1.2.0","description":"Creates a sha256 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$sha512","version":"1.2.0","description":"Creates a sha512 key from given input","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"input","description":"Input to use for feeding","rest":false,"required":true,"type":"String"},{"name":"encoding","type":"String","description":"The output encoding","rest":false,"required":false}],"category":"crypto"},{"name":"$addField","version":"1.0.0","description":"Adds an embed field","unwrap":true,"args":[{"name":"name","description":"The name for the field","required":true,"type":"String","rest":false},{"name":"value","description":"The value for the field","required":true,"type":"String","rest":false},{"name":"inline","description":"Whether this field will be inline","type":"Boolean","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$author","version":"1.0.0","description":"Adds an embed author","unwrap":true,"args":[{"name":"name","description":"Adds a name to the embed author","required":true,"type":"String","rest":false},{"name":"icon","description":"The icon url","rest":false,"type":"String"},{"name":"hyperlink","description":"The hyperlink url","rest":false,"type":"String"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$color","version":"1.0.0","description":"Adds an embed color","unwrap":true,"args":[{"name":"color","description":"The color for the embed","required":true,"enum":["Default","White","Aqua","Green","Blue","Yellow","Purple","LuminousVividPink","Fuchsia","Gold","Orange","Red","Grey","Navy","DarkAqua","DarkGreen","DarkBlue","DarkPurple","DarkVividPink","DarkGold","DarkOrange","DarkRed","DarkGrey","DarkerGrey","LightGrey","DarkNavy","Blurple","Greyple","DarkButNotBlack","NotQuiteBlack"],"type":"Color","rest":false,"enumName":"Colors"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$deleteField","version":"2.1.0","description":"Deletes an embed field","unwrap":true,"args":[{"name":"field index","description":"The index field to delete","rest":false,"required":true,"type":"Number"},{"name":"index","description":"The index to delete this field on","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$description","version":"1.0.0","description":"Adds an embed description","unwrap":true,"args":[{"name":"description","description":"The description for the embed","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$editField","version":"1.4.0","description":"Edits an embed field","unwrap":true,"args":[{"name":"field index","description":"The index field to edit","rest":false,"required":true,"type":"Number"},{"name":"name","description":"The name for the field","type":"String","rest":false},{"name":"value","description":"The value for the field","type":"String","rest":false},{"name":"inline","description":"Whether this field will be inline","type":"Boolean","rest":false},{"name":"index","description":"The index to edit this data on","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$footer","version":"1.0.0","description":"Adds an embed footer","unwrap":true,"args":[{"name":"text","description":"The text for the embed footer","required":true,"type":"String","rest":false},{"name":"icon","description":"The icon url for the embed footer","type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$image","version":"1.0.0","description":"Adds an embed image","unwrap":true,"args":[{"name":"url","description":"The url for the embed image","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$thumbnail","version":"1.0.0","description":"Adds an embed thumbnail","unwrap":true,"args":[{"name":"url","description":"The url for the embed thumbnail","required":true,"type":"String","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$timestamp","version":"1.0.0","description":"Adds an embed timestamp","unwrap":true,"args":[{"name":"ms","description":"The timestamp time to add","type":"Number","rest":false},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":false,"category":"embed"},{"name":"$title","version":"1.0.0","description":"Adds an embed title","unwrap":true,"args":[{"name":"title","description":"Adds a title to the embed","required":true,"type":"String","rest":false},{"name":"hyperlink","description":"The hyperlink url","rest":false,"type":"String"},{"name":"index","description":"The index to add this data to","rest":false,"type":"Number"}],"brackets":true,"category":"embed"},{"name":"$addApplicationEmoji","version":"1.5.0","description":"Adds an application emoji, returns the emoji id","brackets":true,"unwrap":true,"args":[{"name":"name","description":"The name for the emoji","rest":false,"required":true,"type":"String"},{"name":"url","description":"The emoji icon to use","rest":false,"required":true,"type":"String"},{"name":"return emoji ID","description":"Whether to return the emoji id","rest":false,"type":"Boolean"}],"output":["ApplicationEmoji"],"category":"emoji"},{"name":"$addEmoji","version":"1.0.7","description":"Adds an emoji to a guild, returns the emoji id","brackets":true,"unwrap":true,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to add this emote to","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the emoji","rest":false,"required":true,"type":"String"},{"name":"url","description":"The emoji icon to use","rest":false,"required":true,"type":"String"},{"name":"return emoji ID","description":"Whether to return the emoji id","rest":false,"type":"Boolean"},{"name":"roles","description":"The roles to limit usage of this emote","rest":true,"type":"Role","pointer":0}],"category":"emoji"},{"name":"$deleteApplicationEmojis","version":"1.5.0","description":"Deletes application emojis, returns the count of emojis deleted","brackets":true,"unwrap":true,"args":[{"name":"emojis","description":"The emojis to delete","rest":true,"required":true,"type":"ApplicationEmoji"}],"output":["Number"],"category":"emoji"},{"name":"$deleteEmojiMessageReactions","version":"1.0.0","description":"Deletes all emoji reactions from a message, returns amount of reaction emojis successfully deleted","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove emoji reactions from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emojis","description":"The emojis to delete from this message","required":true,"pointer":1,"rest":true,"type":"Reaction"}],"category":"emoji"},{"name":"$deleteEmojis","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given emojis from a guild, returns the count of emotes deleted","args":[{"name":"guild ID","description":"The guild to delete emotes from","rest":false,"required":true,"type":"Guild"},{"name":"emojis","description":"The emojis to delete","rest":true,"pointer":0,"required":true,"type":"GuildEmoji"}],"category":"emoji"},{"name":"$editApplicationEmoji","version":"1.5.0","description":"Edits an application emoji, returns bool","brackets":true,"unwrap":true,"args":[{"name":"emoji ID","description":"The emoji to edit","rest":false,"required":true,"type":"ApplicationEmoji"},{"name":"name","description":"The new name for the emoji","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"emoji"},{"name":"$editEmoji","version":"1.5.0","description":"Edits an emoji of a guild, returns bool","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to edit this emoji on","rest":false,"required":true,"type":"Guild"},{"name":"emoji ID","description":"The emoji to edit","rest":false,"required":true,"type":"GuildEmoji","pointer":0},{"name":"name","description":"The new name for the emoji","rest":false,"type":"String"},{"name":"reason","description":"The reason for editing the emoji","rest":false,"type":"String"},{"name":"roles","description":"The new roles to limit usage of this emoji to","rest":true,"type":"Role","pointer":0}],"output":["Boolean"],"category":"emoji"},{"name":"$emoji","version":"1.0.0","description":"Formats given emoji","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji id to format","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiAnimated","version":"1.0.0","description":"Returns whether the emoji is animated","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji to return its animation state","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiAuthorID","version":"2.6.0","description":"Returns the author id of an emoji","brackets":false,"unwrap":true,"args":[{"name":"emoji ID","description":"The emoji to return its author","rest":false,"required":true,"type":"Emoji"}],"output":["User"],"category":"emoji"},{"name":"$emojiCount","version":"1.0.0","description":"Returns the emoji count of all servers","unwrap":true,"brackets":false,"args":[{"name":"type","description":"The type of the emotes to count","rest":false,"required":true,"type":"Enum","enum":["normal","animated"],"enumName":"EmojiType"}],"output":["Number"],"category":"emoji"},{"name":"$emojiCreatedAt","version":"1.0.0","description":"Returns the emoji creation timestamp","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"emoji ID","description":"The emoji to return its creation timestamp","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiExists","version":"1.0.0","description":"Returns whether an emoji id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji id to check","rest":false,"required":true,"type":"String"}],"category":"emoji"},{"name":"$emojiGuildID","version":"1.0.0","description":"Returns the emoji guild id","brackets":false,"unwrap":true,"output":["Guild"],"args":[{"name":"emoji ID","description":"The emoji to return its guild id","rest":false,"type":"GuildEmoji","required":true}],"category":"emoji"},{"name":"$emojiID","version":"1.2.0","description":"Returns the emoji id","brackets":false,"unwrap":true,"output":["Emoji"],"args":[{"name":"emoji name","description":"The emoji name to return its id","rest":false,"type":"String","required":true}],"category":"emoji"},{"name":"$emojiIDs","description":"Returns every guild emoji id","version":"1.3.0","unwrap":true,"brackets":false,"output":["GuildEmoji[]"],"args":[{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"emoji"},{"name":"$emojiIdentifier","version":"1.0.0","description":"Returns the emoji identifier","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji to return its identifier","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiName","version":"1.2.0","description":"Returns the emoji name","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"emoji ID","description":"The emoji to return its name","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiNames","version":"1.0.0","description":"Returns the emote names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the emotes of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each emoji","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"emoji"},{"name":"$emojiRawData","version":"1.5.0","description":"Returns the raw data of an emoji","unwrap":true,"brackets":false,"args":[{"name":"emoji ID","rest":false,"required":true,"description":"The emoji to get raw data from","type":"Emoji"}],"output":["Json"],"category":"emoji"},{"name":"$emojiRequiresColons","version":"1.0.0","description":"Returns whether the emoji requires colons","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"emoji ID","description":"The emoji to return its colons state","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$emojiRoles","version":"1.0.0","description":"Returns the role ids that can use this emote","brackets":false,"unwrap":true,"output":["Role[]"],"args":[{"name":"emoji ID","description":"The emoji to return its roles","rest":false,"type":"GuildEmoji","required":true},{"name":"separator","description":"The separator to use for every role","rest":false,"type":"String"}],"category":"emoji"},{"name":"$emojiURL","version":"1.0.0","description":"Returns the emoji url","brackets":false,"unwrap":true,"output":["URL"],"args":[{"name":"emoji ID","description":"The emoji to return its url","rest":false,"type":"Emoji","required":true}],"category":"emoji"},{"name":"$fetchApplicationEmojis","version":"2.5.0","description":"Caches all application emojis of the client","unwrap":false,"category":"emoji"},{"name":"$getApplicationEmojis","version":"1.5.0","description":"Gets all application emojis","brackets":false,"unwrap":true,"args":[{"name":"property","description":"The property to return for every emoji","rest":false,"type":"Enum","enum":["authorID","name","id","identifier","requiresColons","managed","timestamp","animated","url","format"],"enumName":"ApplicationEmojiProperty"},{"name":"separator","description":"The separator to use for every emoji property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"emoji"},{"name":"$randomApplicationEmojiID","version":"1.5.0","description":"Returns a random emoji ID of the application","unwrap":false,"output":["ApplicationEmoji"],"category":"emoji"},{"name":"$randomEmojiID","version":"1.0.3","description":"Returns a random emoji ID","unwrap":false,"output":["GuildEmoji"],"category":"emoji"},{"name":"$randomGuildEmojiID","version":"1.0.3","description":"Returns a random emoji ID of a guild","unwrap":true,"brackets":false,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to get emoji from","rest":false,"required":true,"type":"Guild"}],"category":"emoji"},{"name":"$entitlementConsume","version":"1.5.0","description":"Consumes an entitlement from an interaction","unwrap":true,"args":[{"name":"entitlement name","description":"The name of the entitlement to consume","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$entitlementEndTimestamp","version":"1.5.0","description":"Returns the time at which this entitlement ends","output":["Number"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementGuildID","version":"1.5.0","description":"Returns this entitlement's guild id","output":["Guild"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementID","version":"1.5.0","description":"Returns this entitlement's id","output":["String"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsActive","version":"1.5.0","description":"Returns whether this entitlement is active","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsConsumed","version":"1.5.0","description":"Returns whether this entitlement is consumed","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsDeleted","version":"1.5.0","description":"Returns whether this entitlement is deleted","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsGuildSubscription","version":"1.5.0","description":"Returns whether this entitlement is for a guild","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementIsUserSubscription","version":"1.5.0","description":"Returns whether this entitlement is for a user","output":["Boolean"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementSkuID","version":"1.5.0","description":"Returns this entitlement's sku id","output":["String"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementStartTimestamp","version":"1.5.0","description":"Returns the time at which this entitlement starts","output":["Number"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementType","version":"1.5.0","description":"Returns this entitlement's type","output":["EntitlementType"],"unwrap":false,"category":"entitlement"},{"name":"$entitlementUserID","version":"1.5.0","description":"Returns this entitlement's user id","output":["User"],"unwrap":false,"category":"entitlement"},{"name":"$hasAllEntitlements","version":"1.5.0","aliases":["$interactionHasAllEntitlements"],"description":"Checks whether this interaction user has all of the given entitlements","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlements to validate","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$hasAnyEntitlement","version":"1.5.0","aliases":["$interactionHasAnyEntitlement"],"description":"Checks whether this interaction user has any of the given entitlements","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlements to validate","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$hasEntitlement","version":"1.5.0","aliases":["$interactionHasEntitlement"],"description":"Checks whether this interaction user has given entitlement","unwrap":true,"brackets":true,"args":[{"name":"entitlement name","description":"The name of the entitlement to validate","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"entitlement"},{"name":"$createScheduledEvent","version":"2.6.0","description":"Creates a new scheduled event on a guild, returns event id","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create scheduled event on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name of the scheduled event","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description of the scheduled event","rest":false,"type":"String"},{"name":"type","description":"The entity type of the scheduled event","rest":false,"required":true,"type":"Enum","enum":["StageInstance","Voice","External"],"enumName":"GuildScheduledEventEntityType"},{"name":"start","description":"The start time of the scheduled event","rest":false,"required":true,"type":"Date"},{"name":"end","description":"The end time of the scheduled event","rest":false,"type":"Date"},{"name":"cover","description":"The cover image of the scheduled event","rest":false,"type":"URL"}],"output":["ScheduledEvent"],"category":"event"},{"name":"$deleteScheduledEvent","version":"2.6.0","description":"Deletes a scheduled event from a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to delete scheduled event from","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to delete","rest":false,"required":true,"type":"ScheduledEvent","pointer":0}],"output":["Boolean"],"category":"event"},{"name":"$editScheduledEvent","version":"2.6.0","description":"Edits an existing scheduled event on a guild, returns bool","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to edit scheduled event on","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to edit","rest":false,"required":true,"type":"ScheduledEvent","pointer":0},{"name":"name","description":"The new name for the scheduled event","rest":false,"type":"String"},{"name":"description","description":"The new description for the scheduled event","rest":false,"type":"String"},{"name":"type","description":"The new entity type for the scheduled event","rest":false,"type":"Enum","enum":["StageInstance","Voice","External"],"enumName":"GuildScheduledEventEntityType"},{"name":"start","description":"The new start time for the scheduled event","rest":false,"type":"Date"},{"name":"end","description":"The new end time for the scheduled event","rest":false,"type":"Date"},{"name":"cover","description":"The new cover image for the scheduled event","rest":false,"type":"URL"}],"output":["Boolean"],"category":"event"},{"name":"$getScheduledEvent","version":"2.6.0","description":"Returns a scheduled event of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get scheduled event from","rest":false,"required":true,"type":"Guild"},{"name":"event ID","description":"The scheduled event to get","rest":false,"required":true,"type":"ScheduledEvent","pointer":0},{"name":"property","description":"The property of the scheduled event to return","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"enumName":"ScheduledEventProperty"}],"output":["Json","Unknown"],"category":"event"},{"name":"$setScheduledEventChannel","version":"2.6.0","description":"Sets a channel for the current scheduled event","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The voice channel of the scheduled event","rest":false,"required":true,"type":"Channel"}],"category":"event"},{"name":"$setScheduledEventLocation","version":"2.6.0","description":"Sets a location for the current scheduled event","unwrap":true,"brackets":true,"args":[{"name":"location","description":"The location of the scheduled event","rest":false,"required":true,"type":"String"}],"category":"event"},{"name":"$appendFile","version":"1.0.0","description":"Appends text to a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"text","description":"The text to append","rest":false,"type":"String","required":true},{"name":"encoding","description":"The encoding to use for text","rest":false,"type":"String"}],"category":"file"},{"name":"$copyFile","version":"1.2.0","description":"Copies given path to another path","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make a copy of","rest":false,"required":true,"type":"String"},{"name":"destination","description":"The output path to copy to","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$deleteFile","version":"1.0.0","description":"Deletes a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$fileAccessedAt","version":"1.4.0","description":"Gets last time a file was accessed","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileBlockCount","version":"1.4.0","description":"Gets block count of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileBlockSize","version":"1.4.0","description":"Gets block size of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileChangedAt","version":"1.4.0","description":"Gets last time a file was changed","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileCreatedAt","version":"1.4.0","description":"Gets timestamp of a file or directory","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileExists","version":"1.0.0","description":"Checks whether a path exists","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileModifiedAt","version":"1.4.0","description":"Gets timestamp of a file or directory when it was last modified","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$fileSize","version":"1.2.0","description":"Gets size of a file or directory in bytes","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isDirectory","version":"1.4.0","description":"Checks whether a path is a directory","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isFile","version":"1.4.0","description":"Checks whether a path is a file","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$isSymbolicLink","version":"1.4.0","description":"Checks whether a path is a symbolic link","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"path","description":"The path to file or directory","required":true,"rest":false,"type":"String"}],"category":"file"},{"name":"$mkdir","version":"1.0.0","description":"Creates a directory","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path for the dir","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$mktdir","version":"1.4.0","description":"Creates a temporary directory","unwrap":true,"brackets":true,"aliases":["$makeTempDir","$createTempDir"],"output":["String"],"args":[{"name":"prefix","description":"The prefix for the temp dir","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$moveFile","version":"1.4.0","description":"Moves a path to another","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make to move","rest":false,"required":true,"type":"String"},{"name":"destination","description":"The output path","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$pathExtensionName","version":"2.7.0","description":"Returns the extension name of a path","aliases":["$pathExtName"],"unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to get extension name from","rest":false,"required":true,"type":"String"}],"output":["String"],"category":"file"},{"name":"$pathJoin","version":"2.2.0","description":"Joins paths together","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"paths","description":"The paths to join with","rest":true,"required":true,"type":"String"}],"category":"file"},{"name":"$pathResolve","version":"2.2.0","description":"Resolves paths into an absolute path","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"paths","description":"The paths to resolve","rest":true,"required":true,"type":"String"}],"category":"file"},{"name":"$readDir","version":"1.5.0","description":"Reads the contents of a directory","unwrap":true,"brackets":true,"output":["Json","String[]"],"args":[{"name":"path","description":"The path to the directory","rest":false,"required":true,"type":"String"},{"name":"separator","description":"The separator to use for each result","rest":false,"type":"String"},{"name":"encoding","description":"The encoding to use for the result","rest":false,"type":"String"}],"category":"file"},{"name":"$readFile","version":"1.0.0","description":"Reads text from a file","unwrap":true,"brackets":true,"output":["Unknown"],"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"encoding","description":"The encoding to use for the text","rest":false,"type":"String"}],"category":"file"},{"name":"$renameFile","version":"1.5.0","description":"Renames a file","unwrap":true,"brackets":true,"args":[{"name":"old path","description":"The old path to the file","rest":false,"required":true,"type":"String"},{"name":"new path","description":"The new path to the file","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$symlink","version":"1.4.0","description":"Creates a symbolic link to another path","brackets":true,"unwrap":true,"args":[{"name":"path","description":"The path to make to use as reference","rest":false,"required":true,"type":"String"},{"name":"other path","description":"The other path to link","rest":false,"required":true,"type":"String"}],"category":"file"},{"name":"$truncateFile","version":"1.0.0","description":"Truncates text in a file to given length","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"length","description":"The new length for the file","rest":false,"type":"Number","required":true}],"category":"file"},{"name":"$writeFile","version":"1.0.0","description":"Writes text to a file","unwrap":true,"brackets":true,"args":[{"name":"path","description":"The path to the file","rest":false,"required":true,"type":"String"},{"name":"text","description":"The text to write","rest":false,"type":"String","required":true},{"name":"encoding","description":"The encoding to use for text","rest":false,"type":"String"}],"category":"file"},{"name":"$bold","version":"1.3.0","brackets":true,"description":"Makes given text bold","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make bold, this will attempt to escape all *","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$codeBlock","version":"1.3.0","brackets":true,"description":"Creates a code block with given text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to create block with, this will attempt to escape all `","rest":false,"required":true,"type":"String"},{"name":"lang","description":"The language to give to this code block","rest":false,"type":"String"}],"category":"formatting"},{"name":"$hyperlink","version":"1.3.0","brackets":true,"description":"Creates a hyperlink text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make hyperlink","rest":false,"required":true,"type":"String"},{"name":"url","description":"The url to use for hyperlink","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$inlineCode","aliases":["$inline","$markdown"],"version":"1.3.0","brackets":true,"description":"Adds backticks to text","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to mark down, this will attempt to escape all `","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$italic","version":"1.5.0","brackets":true,"description":"Makes given text italic","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make italic, this will attempt to escape all _ and *","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$spoiler","version":"1.3.0","brackets":true,"description":"Makes given text a spoiler","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make spoiler, this will attempt to escape all |","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$strikethrough","version":"1.3.0","brackets":true,"description":"Makes given text strikethrough","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to make strikethrough, this will attempt to escape all ~","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$subtext","version":"2.2.0","description":"Makes given text a subtext","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to make subtext","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$underline","version":"1.3.0","brackets":true,"description":"Adds an underline to text","aliases":["$underscore"],"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to add underline to, this will attempt to escape all _","rest":false,"required":true,"type":"String"}],"category":"formatting"},{"name":"$createGuild","version":"1.5.0","description":"Creates a new guild, returns guild id","aliases":["$createServer"],"unwrap":true,"brackets":true,"deprecated":true,"args":[{"name":"name","description":"The name for the guild","rest":false,"required":true,"type":"String"},{"name":"icon","description":"The icon for the guild","rest":false,"type":"URL"},{"name":"template","description":"The template to use for the guild","rest":false,"type":"Template"}],"output":["Guild"],"category":"guild"},{"name":"$createGuildTemplate","version":"1.5.0","description":"Creates template for a guild, returns template code","aliases":["$createServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to create template on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the template","rest":false,"required":true,"type":"String"},{"name":"description","description":"The description for the template","rest":false,"type":"String"}],"output":["Template"],"category":"guild"},{"name":"$deleteGuild","version":"1.5.0","description":"Deletes a guild, returns bool","aliases":["$deleteServer"],"unwrap":true,"brackets":true,"deprecated":true,"args":[{"name":"guild ID","description":"The guild to delete","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$deleteGuildApplicationCommands","version":"1.4.0","description":"Deletes all guild commands of your bot from a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to delete commands from","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$deleteGuildTemplate","version":"1.5.0","description":"Deletes template from a guild, returns bool","aliases":["$deleteServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to delete","rest":false,"required":true,"type":"Template"}],"output":["Boolean"],"category":"guild"},{"name":"$editGuildTemplate","version":"1.5.0","description":"Edits template on a guild, returns bool","aliases":["$editServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to edit","rest":false,"required":true,"type":"Template"},{"name":"name","description":"The new name for the template","rest":false,"type":"String"},{"name":"description","description":"The new description for the template","rest":false,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$getGuildInvite","version":"2.2.0","description":"Returns information about a guild invite","brackets":true,"unwrap":true,"output":["Json","Unknown"],"args":[{"name":"guild ID","description":"The guild to fetch invite from","rest":false,"required":true,"type":"Guild"},{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property of the invite to return","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"}],"category":"guild"},{"name":"$getGuildPreview","version":"2.5.0","description":"Returns the preview of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to fetch preview from","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","description","features","timestamp","icon","splash","emojis","stickers","discoverySplash","approximateMemberCount","approximatePresenceCount"],"enumName":"GuildPreviewProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown"],"category":"guild"},{"name":"$getGuildTemplate","version":"1.5.0","description":"Gets the data of a guild template","aliases":["$getServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to get","rest":false,"required":true,"type":"Template"},{"name":"property","description":"The property of the template to return","rest":false,"type":"Enum","enum":["code","name","description","guildID","authorID","timestamp","updatedTimestamp","url","usageCount","unSynced"],"enumName":"TemplateProperty"}],"output":["Json","Unknown"],"category":"guild"},{"name":"$guildAfkChannelID","version":"1.3.0","aliases":["$serverGuildAfkChannelID"],"description":"Returns the server's afk channel ID","brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildAfkTimeout","version":"1.3.0","description":"Returns the server's afk timeout","brackets":false,"aliases":["$serverAfkTimeout"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildApproximateMemberCount","version":"1.3.0","description":"Returns the approximated member count","brackets":false,"aliases":["$serverApproximateMemberCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildApproximatePresenceCount","version":"1.3.0","description":"Returns the approximated presence count","brackets":false,"aliases":["$serverApproximatePresenceCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildAutomodRules","version":"1.5.0","description":"Returns all automod rules of a guild","aliases":["$getAutomodRules"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get automod rules from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each automod rule to return","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildAvailable","version":"1.3.0","description":"Returns whether the server is available","brackets":false,"aliases":["$serverAvailable"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"unwrap":true,"category":"guild"},{"name":"$guildBanReason","version":"1.4.0","unwrap":true,"brackets":false,"aliases":["$banReason","$serverBanReason","$getBanReason","$getGuildBanReason","$getServerBanReason"],"output":["String"],"description":"Fetches a ban reason of a user","args":[{"name":"guild ID","description":"The guild to pull ban from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to pull ban reason","rest":false,"required":true,"type":"User"}],"category":"guild"},{"name":"$guildBannedMembers","version":"1.4.0","description":"Returns banned member ids of a guild","aliases":["$serverBannedMembers"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull banned members from"},{"name":"separator","rest":false,"type":"String","description":"The separator for each id"}],"output":["User[]"],"category":"guild"},{"name":"$guildBanner","version":"1.0.0","description":"Returns the guild banner","brackets":false,"aliases":["$serverBanner"],"args":[{"name":"guild ID","description":"The guild to retrieve the banner","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"unwrap":true,"category":"guild"},{"name":"$guildBoostCount","version":"1.0.0","description":"Returns the server boost count","brackets":false,"aliases":["$serverBoostCount"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildBoostLevel","version":"1.0.0","description":"Returns the server boost tier","brackets":false,"aliases":["$serverBoostLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildBoostProgressBarEnabled","version":"1.5.0","description":"Returns whether a guild has the boost progress bar enabled","aliases":["$serverBoostProgressBarEnabled"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildBoostRoleID","version":"1.0.0","description":"Returns the server boost role id","brackets":false,"aliases":["$serverBoostRoleID"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Role"],"unwrap":true,"category":"guild"},{"name":"$guildBoosterIDs","version":"1.5.0","description":"Returns all current boosters of a guild","brackets":false,"aliases":["$serverBoosterIDs"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every member","rest":false,"type":"String"}],"output":["Member[]"],"unwrap":true,"category":"guild"},{"name":"$guildBotCount","version":"1.0.0","description":"Returns the bot count of a guild","brackets":false,"aliases":["$serverBotCount"],"args":[{"name":"guild ID","description":"The guild to retrieve bot count from","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildChannelCount","version":"1.0.0","description":"Returns the server channel count","brackets":false,"aliases":["$serverChannelCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get channels from","rest":false,"type":"Guild","required":true},{"name":"categories","description":"The categories to filter by","rest":true,"enum":["GuildText","DM","GuildVoice","GroupDM","GuildCategory","GuildAnnouncement","AnnouncementThread","PublicThread","PrivateThread","GuildStageVoice","GuildDirectory","GuildForum","GuildMedia","GuildNews","GuildNewsThread","GuildPublicThread","GuildPrivateThread"],"type":"Enum","enumName":"ChannelType"}],"category":"guild"},{"name":"$guildChannelExists","version":"1.0.0","description":"Returns whether a guild channel id exists","unwrap":true,"aliases":["$serverChannelExists"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to check for the guild channel","type":"Guild","rest":false,"required":true},{"name":"channel ID","description":"The role to guild channel","rest":false,"required":true,"type":"String"}],"category":"guild"},{"name":"$guildChannelIDs","version":"1.3.0","unwrap":true,"brackets":false,"aliases":["$serverChannelIDs"],"output":["Channel[]"],"description":"Returns every channel id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get channel ids from"},{"name":"separator","description":"The separator to use for every channel","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildCount","version":"1.0.0","description":"Returns the guild count","unwrap":false,"aliases":["$serverCount","$serversCount"],"output":["Number"],"category":"guild"},{"name":"$guildCreatedAt","version":"1.0.0","description":"Returns the server creation timestamp","brackets":false,"aliases":["$serverCreatedAt"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildDefaultMessageNotifications","version":"1.3.0","description":"Returns the default message notifications for this guild","brackets":false,"aliases":["$serverDefaultMessageNotifications"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["GuildDefaultMessageNotifications"],"unwrap":true,"category":"guild"},{"name":"$guildDescription","version":"1.0.0","description":"Returns the server description","brackets":false,"aliases":["$serverDescription"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["String"],"unwrap":true,"category":"guild"},{"name":"$guildDiscoverySplash","version":"1.3.0","description":"Returns the guild discovery splash","brackets":false,"aliases":["$serverDiscoverySplash"],"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the discovery splash","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildDmSpamDetectedAt","version":"2.2.0","description":"Returns when a direct message spam was detected on a guild","aliases":["$serverDmSpamDetectedAt"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildDmsDisabledUntil","version":"2.2.0","description":"Returns the direct messages disabled timestamp of a guild","aliases":["$serverDmsDisabledUntil"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildEmojiCount","version":"1.0.0","description":"Returns the emoji count of a guild","brackets":false,"aliases":["$serverEmojiCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get emotes from","rest":false,"type":"Guild","required":true},{"name":"type","description":"The type of the emotes to count","rest":false,"type":"Enum","enum":["normal","animated"],"enumName":"EmojiType"}],"category":"guild"},{"name":"$guildEmojiExists","version":"2.5.0","description":"Returns whether an emoji id exists on a guild","unwrap":true,"aliases":["$serverEmojiExists"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull emoji from","rest":false,"required":true,"type":"Guild"},{"name":"emoji ID","description":"The emoji to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildEmojiIDs","version":"1.3.0","unwrap":true,"aliases":["$serverEmojiIDs"],"output":["GuildEmoji[]"],"brackets":false,"description":"Returns every emoji id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get emoji ids from"},{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildEmojiLimit","version":"1.5.0","description":"Returns the emoji limit of a guild","brackets":false,"aliases":["$serverEmojiLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildEmojis","version":"1.3.0","unwrap":true,"aliases":["$serverEmojis"],"output":["String[]"],"brackets":false,"description":"Returns every emoji of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get emoji from"},{"name":"separator","description":"The separator to use for every emoji","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildExists","version":"1.0.0","description":"Returns whether a guild id exists","unwrap":true,"aliases":["$serverExists"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to check","rest":false,"required":true,"type":"String"}],"category":"guild"},{"name":"$guildExplicitContentFilter","version":"1.3.0","description":"Returns the explicit content filter level for this guild","brackets":false,"aliases":["$serverExplicitContentFilter"],"output":["GuildExplicitContentFilter"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildFeatures","version":"1.0.0","description":"Returns the guild features","brackets":false,"aliases":["$serverFeatures"],"output":["GuildFeature[]"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildHasAnyFeatures","version":"1.4.0","description":"Returns whether this guild has any of the given features","unwrap":true,"brackets":true,"aliases":["$guildHasAnyFeature","$hasAnyGuildFeatures","$hasAnyGuildFeature"],"args":[{"name":"guild ID","description":"The guild to check for features","rest":false,"required":true,"type":"Guild"},{"name":"features","rest":true,"required":true,"type":"Enum","enum":["AnimatedBanner","AnimatedIcon","ApplicationCommandPermissionsV2","AutoModeration","Banner","Community","CreatorMonetizableProvisional","CreatorStorePage","DeveloperSupportServer","Discoverable","Featurable","HasDirectoryEntry","Hub","InvitesDisabled","InviteSplash","LinkedToHub","MemberVerificationGateEnabled","MoreSoundboard","MonetizationEnabled","MoreStickers","News","Partnered","PreviewEnabled","PrivateThreads","RaidAlertsDisabled","RelayEnabled","RoleIcons","RoleSubscriptionsAvailableForPurchase","RoleSubscriptionsEnabled","Soundboard","TicketedEventsEnabled","VanityURL","Verified","VIPRegions","WelcomeScreenEnabled","GuildTags","EnhancedRoleColors","GuestsEnabled","PinPermissionMigrationComplete"],"description":"The features to check for","enumName":"GuildFeature"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHasFeatures","version":"1.4.0","description":"Returns whether this guild has all the given features","unwrap":true,"brackets":true,"aliases":["$hasGuildFeatures"],"args":[{"name":"guild ID","description":"The guild to check for features","rest":false,"required":true,"type":"Guild"},{"name":"features","rest":true,"required":true,"type":"Enum","enum":["AnimatedBanner","AnimatedIcon","ApplicationCommandPermissionsV2","AutoModeration","Banner","Community","CreatorMonetizableProvisional","CreatorStorePage","DeveloperSupportServer","Discoverable","Featurable","HasDirectoryEntry","Hub","InvitesDisabled","InviteSplash","LinkedToHub","MemberVerificationGateEnabled","MoreSoundboard","MonetizationEnabled","MoreStickers","News","Partnered","PreviewEnabled","PrivateThreads","RaidAlertsDisabled","RelayEnabled","RoleIcons","RoleSubscriptionsAvailableForPurchase","RoleSubscriptionsEnabled","Soundboard","TicketedEventsEnabled","VanityURL","Verified","VIPRegions","WelcomeScreenEnabled","GuildTags","EnhancedRoleColors","GuestsEnabled","PinPermissionMigrationComplete"],"description":"The features to check for","enumName":"GuildFeature"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHasTemplate","version":"1.5.0","description":"Returns whether this guild has a template","unwrap":true,"brackets":false,"aliases":["$hasGuildTemplate"],"args":[{"name":"guild ID","description":"The guild to check for template","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildHighestRoleID","version":"1.5.0","description":"Returns the highest role id of a guild","aliases":["$serverHighestRoleID"],"brackets":false,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to retrieve its highest role","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildID","version":"1.0.0","description":"Returns the guild id with given name","unwrap":true,"aliases":["$serverID"],"output":["Guild"],"brackets":false,"args":[{"name":"name","description":"The guild name to return the id","rest":true,"type":"String","required":true}],"category":"guild"},{"name":"$guildIDs","version":"1.0.0","description":"Returns all the guilds this bot is in","unwrap":true,"aliases":["$serverIDs"],"output":["Guild[]"],"brackets":false,"args":[{"name":"separator","description":"The separator for each guild","type":"String","required":true,"rest":false}],"category":"guild"},{"name":"$guildIcon","version":"1.0.0","description":"Returns the server icon","brackets":false,"aliases":["$serverIcon"],"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the guild icon","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildInviteExists","version":"2.4.0","description":"Returns whether a guild invite code exists","aliases":["$serverInviteExists"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull invites from","rest":false,"required":true,"type":"Guild"},{"name":"code","description":"The invite to check","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildInvites","version":"2.5.0","description":"Returns all invites of a guild","aliases":["$serverInvites"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull invites from"},{"name":"property","rest":false,"type":"Enum","description":"The property of the invites to return","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"},{"name":"separator","rest":false,"type":"String","description":"The separator to use for each property"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildInvitesDisabledUntil","version":"2.2.0","description":"Returns the invites disabled timestamp of a guild","aliases":["$serverInvitesDisabledUntil"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildLarge","version":"2.4.0","description":"Returns whether a guild is considered as large","unwrap":true,"brackets":false,"aliases":["$serverLarge"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$guildLeave","version":"1.0.0","description":"Leaves a guild","brackets":false,"aliases":["$serverLeave"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to leave","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildLowestRoleID","version":"1.5.0","description":"Returns the lowest role id of a guild","aliases":["$serverLowestRoleID"],"brackets":false,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to retrieve its lowest role","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMFALevel","version":"1.3.0","description":"Returns the mfa level for this guild","brackets":false,"aliases":["$serverMFALevel"],"output":["GuildMFALevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaxStageVideoChannelUsers","version":"1.3.0","description":"Returns the maximum video channel users for stage channels of this guild","brackets":false,"aliases":["$serverMaxStageVideoChannelUsers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaxVideoChannelUsers","version":"1.3.0","description":"Returns the maximum video channel users for this guild","brackets":false,"aliases":["$serverMaxVideoChannelUsers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumBitrate","version":"1.3.0","aliases":["$serverMaximumBitrate"],"output":["Number"],"description":"Returns the maximum bitrate for voice channels of this guild","brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumMembers","version":"1.3.0","description":"Returns the maximum members for this guild","brackets":false,"aliases":["$serverMaximumMembers"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumPresences","version":"1.3.0","description":"Returns the maximum presences for this guild","brackets":false,"aliases":["$serverMaximumPresences"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildMaximumStageBitrate","version":"2.7.0","description":"Returns the maximum bitrate for stage channels of this guild","aliases":["$serverMaximumStageBitrate"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildMemberCount","version":"1.0.0","description":"Returns the user count of a guild","brackets":false,"aliases":["$serverMemberCount","$serverMembersCount"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve member count from","rest":false,"required":true,"type":"Guild"},{"name":"presence","description":"The presence of the users to count","rest":false,"type":"Enum","enum":["online","idle","dnd","offline"],"enumName":"PresenceStatus"},{"name":"count bots","description":"Whether to count bots","rest":false,"type":"Boolean"}],"unwrap":true,"category":"guild"},{"name":"$guildMemberIDs","version":"1.4.0","aliases":["$memberIDs","$serverMemberIDs"],"output":["Member[]"],"description":"Returns all cached member ids of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to pull members from"},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildNSFWLevel","version":"1.3.0","description":"Returns the nsfw level for this guild","brackets":false,"aliases":["$serverNSFWLevel"],"output":["GuildNSFWLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildName","version":"1.0.0","description":"Returns the server name","brackets":false,"aliases":["$serverName"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildNameAcronym","version":"1.3.0","description":"Returns the server name acronym","brackets":false,"aliases":["$serverNameAcronym"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildNames","version":"1.0.0","description":"Returns the server names of the bot","brackets":false,"aliases":["$serverNames"],"output":["String[]"],"args":[{"name":"separator","description":"The separator to use for each guild","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildOwnerID","version":"1.0.0","description":"Returns the server owner id","brackets":false,"aliases":["$serverOwnerID"],"output":["User"],"args":[{"name":"guild ID","description":"The guild to retrieve the owner from","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPartnered","version":"1.3.0","description":"Returns whether the server is partnered","brackets":false,"aliases":["$serverPartnered"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPreferredLocale","version":"1.3.0","description":"Returns the server's preferred locale","brackets":false,"aliases":["$serverPreferredLocale"],"output":["Locale"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildPublicUpdatesChannelID","version":"1.3.0","description":"Returns the server's public updates channel ID","brackets":false,"aliases":["$serverPublicUpdatesChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildRaidDetectedAt","version":"2.2.0","description":"Returns when a raid was detected on a guild","aliases":["$serverRaidDetectedAt"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildRawData","version":"1.5.0","description":"Returns the raw data of a guild","aliases":["$serverRawData"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get raw data from","rest":false,"type":"Guild","required":true}],"output":["Json"],"category":"guild"},{"name":"$guildRoleCount","version":"1.0.0","description":"Returns the role count of a guild","brackets":false,"aliases":["$serverRoleCount"],"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get roles from","rest":false,"type":"Guild","required":true}],"category":"guild"},{"name":"$guildRoleIDs","version":"1.3.0","description":"Returns every role id of the guild","aliases":["$serverRoleIDs","$roleIDs"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get role ids from","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every role","rest":false,"type":"String"},{"name":"everyone","description":"Whether to include the @everyone role, defaults to true","rest":false,"type":"Boolean"}],"output":["Role[]"],"category":"guild"},{"name":"$guildRulesChannelID","version":"1.3.0","description":"Returns the server's rules channel ID","brackets":false,"aliases":["$serverRulesChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildSafetyAlertsChannelID","version":"1.3.0","description":"Returns the server's safety alerts channel ID","brackets":false,"aliases":["$serverSafetyAlertsChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildScheduledEvents","version":"2.6.0","description":"Returns all scheduled events of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get scheduled events from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of the scheduled events to return","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildShardID","version":"1.0.0","description":"Returns the server shard ID","brackets":false,"aliases":["$serverShardID"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildSoundboardLimit","version":"2.5.0","description":"Returns the soundboard sound limit of a guild","brackets":false,"unwrap":true,"aliases":["$serverSoundboardLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"category":"guild"},{"name":"$guildSoundboardSounds","version":"2.4.0","description":"Returns all soundboard sounds of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get soundboard sounds from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each sound to return","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildSplashURL","version":"1.0.0","aliases":["$serverSplashURL"],"output":["URL"],"description":"Returns the guild splash url","brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the splash","rest":false,"required":true,"type":"Guild"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"guild"},{"name":"$guildStageInstances","version":"2.3.0","description":"Returns all active stage instances of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get stage instances from","rest":false,"required":true,"type":"Guild"},{"name":"property","description":"The property of each stage instance to return","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"enumName":"StageProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildStickerExists","version":"2.5.0","description":"Returns whether a sticker id exists on a guild","unwrap":true,"aliases":["$serverStickerExists"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull sticker from","rest":false,"required":true,"type":"Guild"},{"name":"sticker ID","description":"The sticker to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$guildStickerIDs","version":"1.3.0","unwrap":true,"aliases":["$serverStickerIDs"],"output":["Sticker[]"],"brackets":false,"description":"Returns every sticker id of the guild","args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to get sticker ids from"},{"name":"separator","description":"The separator to use for every sticker","rest":false,"type":"String"}],"category":"guild"},{"name":"$guildStickerLimit","version":"1.5.0","description":"Returns the sticker limit of a guild","brackets":false,"aliases":["$serverStickerLimit"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Number"],"unwrap":true,"category":"guild"},{"name":"$guildSystemChannelFlags","version":"2.7.0","description":"Returns the system channel flags of a guild","aliases":["$serverSystemChannelFlags"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to retrieve the data","type":"Guild","required":true,"rest":false},{"name":"separator","description":"The separator to use for every flag","type":"String","rest":false}],"output":["GuildSystemChannelFlags[]"],"category":"guild"},{"name":"$guildSystemChannelID","version":"1.0.0","description":"Returns the system channel ID of a guild","aliases":["$serverSystemChannelID"],"brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"output":["Channel"],"category":"guild"},{"name":"$guildTemplateCode","version":"2.4.0","description":"Returns the template code of a guild","unwrap":true,"brackets":false,"aliases":["$serverTemplateCode"],"args":[{"name":"guild ID","description":"The guild to get template from","rest":false,"required":true,"type":"Guild"}],"output":["Template"],"category":"guild"},{"name":"$guildTimedOutMembers","version":"1.5.0","description":"Returns all current timed out members of a guild","unwrap":true,"brackets":false,"aliases":["$serverTimedOutMembers"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"},{"name":"separator","description":"The separator to use for every member","rest":false,"type":"String"}],"output":["Member[]"],"category":"guild"},{"name":"$guildVanityCode","version":"1.0.0","description":"Returns the guilds vanity code","unwrap":true,"aliases":["$serverVanityCode"],"output":["Invite"],"args":[{"name":"guild ID","description":"The guild to return its vanity code","rest":false,"type":"Guild","required":true}],"brackets":false,"category":"guild"},{"name":"$guildVanityUses","version":"1.0.0","description":"Returns the guilds vanity uses","unwrap":true,"aliases":["$serverVanityUses"],"output":["Number"],"args":[{"name":"guild ID","description":"The guild to return its vanity uses","rest":false,"type":"Guild","required":true}],"brackets":false,"category":"guild"},{"name":"$guildVerificationLevel","version":"1.3.0","description":"Returns the server verification level","brackets":false,"aliases":["$serverVerificationLevel"],"output":["GuildVerificationLevel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildVerified","version":"1.3.0","description":"Returns whether the server is verified","brackets":false,"aliases":["$serverVerified"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildWebhooks","version":"2.3.0","description":"Returns all webhooks of a guild","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"type":"Guild","required":true},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"guild"},{"name":"$guildWidgetChannelEnabled","version":"1.3.0","description":"Returns whether widget channel is enabled for this guild","brackets":false,"aliases":["$serverWidgetChannelEnabled"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$guildWidgetChannelID","version":"1.3.0","description":"Returns the widget channel for this guild","brackets":false,"aliases":["$serverWidgetChannelID"],"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to retrieve the data","rest":false,"required":true,"type":"Guild"}],"unwrap":true,"category":"guild"},{"name":"$randomGuildID","version":"1.0.3","description":"Returns a random guild ID","unwrap":false,"aliases":["$randomServerID"],"output":["Guild"],"category":"guild"},{"name":"$registerGuildApplicationCommands","version":"1.4.0","description":"Registers all application commands with type: 1 to a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to register commands to","rest":false,"required":true,"type":"Guild"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildAFKChannel","version":"2.1.0","description":"Sets the AFK channel for a guild, returns bool","unwrap":true,"aliases":["$setServerAFKChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set AFK channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new AFK channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildAFKTimeout","version":"2.1.0","description":"Sets the AFK timeout for a guild, returns bool","unwrap":true,"aliases":["$setServerAFKTimeout"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set AFK timeout for","rest":false,"type":"Guild","required":true},{"name":"seconds","description":"The new AFK timeout in seconds (60, 300, 900, 1800, 3600)","rest":false,"required":true,"type":"Number"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildBanner","version":"1.0.0","description":"Sets a guild banner, returns boolean","unwrap":true,"aliases":["$setServerBanner"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set banner on"},{"name":"url","description":"The new banner","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildBoostProgressBar","version":"1.5.0","description":"Sets a guild boost progress bar, returns bool","aliases":["$setServerBoostProgressBar"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to set boost progress bar for","rest":false,"required":true,"type":"Guild"},{"name":"enabled","description":"Whether to enable the boost progress bar","rest":false,"required":true,"type":"Boolean"},{"name":"reason","description":"The reason for enabling/disabling boost progress bar","rest":false,"type":"String"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildDefaultMessageNotifications","version":"2.1.0","description":"Sets the default message notifications setting for a guild, returns bool","unwrap":true,"aliases":["$setServerDefaultMessageNotifications"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set default message notifications for","rest":false,"type":"Guild","required":true},{"name":"setting","description":"The new default message notifications setting","rest":false,"type":"Enum","enum":["AllMessages","OnlyMentions"],"enumName":"GuildDefaultMessageNotifications"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildDiscoverySplash","version":"2.1.0","description":"Sets the discovery splash for a guild, returns bool","unwrap":true,"aliases":["$setServerDiscoverySplash"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set discovery splash for","rest":false,"type":"Guild","required":true},{"name":"url","description":"The new discovery splash","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildDmsDisabled","version":"2.6.0","description":"Sets the guild's DMs activity disabled for a specific duration, returns bool","aliases":["$setServerDmsDisabled"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to disable DMs for","rest":false,"required":true,"type":"Guild"},{"name":"duration","description":"The duration for disabling DMs, omit to enable DMs again","rest":false,"type":"Time"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildExplicitContentFilter","version":"2.1.0","description":"Sets the explicit content filter for a guild, returns bool","unwrap":true,"aliases":["$setServerExplicitContentFilter"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set explicit content filter for","rest":false,"type":"Guild","required":true},{"name":"filter","description":"The new explicit content filter","rest":false,"type":"Enum","enum":["Disabled","MembersWithoutRoles","AllMembers"],"enumName":"GuildExplicitContentFilter"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildIcon","version":"1.0.0","description":"Sets a guild icon, returns boolean","unwrap":true,"aliases":["$setServerIcon"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set icon on"},{"name":"url","description":"The new icon","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildInvitesDisabled","version":"2.6.0","description":"Sets the guild's invites disabled for a specific duration, returns bool","aliases":["$setServerInvitesDisabled"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to disable invites for","rest":false,"required":true,"type":"Guild"},{"name":"duration","description":"The duration for disabling invites, omit to enable invites again","rest":false,"type":"Time"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildMFALevel","version":"2.1.0","description":"Sets the MFA level for a guild, returns bool","unwrap":true,"deprecated":true,"aliases":["$setServerMFALevel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set MFA level for","rest":false,"type":"Guild","required":true},{"name":"level","description":"The new MFA level","rest":false,"required":true,"type":"Enum","enum":["None","Elevated"],"enumName":"GuildMFALevel"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildName","version":"1.0.0","description":"Sets a guild name, returns boolean","unwrap":true,"aliases":["$setServerName"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set name"},{"name":"name","description":"The new name","rest":false,"required":true,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildOwner","version":"2.1.0","description":"Sets the owner of a guild, returns bool","unwrap":true,"deprecated":true,"aliases":["$setServerOwner"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set owner on","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The new owner","rest":false,"required":true,"type":"Member","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildPausedInvites","version":"1.5.0","description":"Sets a guild paused invite status, returns bool","aliases":["$setServerPausedInvites"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to set paused invites for","rest":false,"required":true,"type":"Guild"},{"name":"disabled","description":"Whether to disable the invites","rest":false,"required":true,"type":"Boolean"}],"output":["Boolean"],"category":"guild"},{"name":"$setGuildPreferredLocale","version":"2.1.0","description":"Sets the preferred locale of a guild, returns bool","unwrap":true,"aliases":["$setServerPreferredLocale"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set preferred locale on","rest":false,"type":"Guild","required":true},{"name":"locale","description":"The new preferred locale","rest":false,"type":"Enum","enum":["Indonesian","EnglishUS","EnglishGB","Bulgarian","ChineseCN","ChineseTW","Croatian","Czech","Danish","Dutch","Finnish","French","German","Greek","Hindi","Hungarian","Italian","Japanese","Korean","Lithuanian","Norwegian","Polish","PortugueseBR","Romanian","Russian","SpanishES","SpanishLATAM","Swedish","Thai","Turkish","Ukrainian","Vietnamese"],"enumName":"Locale"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildPublicUpdatesChannel","version":"2.1.0","description":"Sets the public updates channel for a guild, returns bool","unwrap":true,"aliases":["$setServerPublicUpdatesChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set public updates channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new public updates channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildRulesChannel","version":"2.1.0","description":"Sets the rules channel for a guild, returns bool","unwrap":true,"aliases":["$setServerRulesChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set rules channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new rules channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSafetyAlertsChannel","version":"2.1.0","description":"Sets the safety alerts channel for a guild, returns bool","unwrap":true,"aliases":["$setServerSafetyAlertsChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set safety alerts channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new safety alerts channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSplash","version":"1.0.0","description":"Sets a guild splash, returns boolean","unwrap":true,"aliases":["$setServerSplash"],"output":["Boolean"],"args":[{"name":"guild ID","rest":false,"type":"Guild","required":true,"description":"The guild to set splash on"},{"name":"url","description":"The new splash","rest":false,"type":"String"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildSystemChannel","version":"2.1.0","description":"Sets the system channel for a guild, returns bool","unwrap":true,"aliases":["$setServerSystemChannel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set system channel for","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The new system channel","rest":false,"type":"Channel","pointer":0},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildVerificationLevel","version":"2.1.0","description":"Sets the verification level of a guild, returns bool","unwrap":true,"aliases":["$setServerVerificationLevel"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set verification level on","rest":false,"type":"Guild","required":true},{"name":"level","description":"The new verification level","rest":false,"type":"Enum","enum":["None","Low","Medium","High","VeryHigh"],"enumName":"GuildVerificationLevel"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$setGuildWidgetSettings","version":"2.1.0","description":"Sets the widget settings of a guild, returns bool","unwrap":true,"aliases":["$setServerWidgetSettings"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to set widget settings on","rest":false,"type":"Guild","required":true},{"name":"channel ID","description":"The invite channel for the widget","rest":false,"type":"Channel"},{"name":"enabled","description":"Whether to enable the widget","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for this action","rest":false,"type":"String"}],"brackets":true,"category":"guild"},{"name":"$syncGuildTemplate","version":"2.4.0","description":"Syncs this template to the current state of the guild, returns bool","aliases":["$syncServerTemplate"],"unwrap":true,"brackets":true,"args":[{"name":"template code","description":"The code of the template to sync","rest":false,"required":true,"type":"Template"}],"output":["Boolean"],"category":"guild"},{"name":"$httpAddForm","version":"1.4.0","description":"Adds form data to request","unwrap":false,"category":"http"},{"name":"$httpAddHeader","version":"1.0.0","description":"Adds an HTTP header","unwrap":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true},{"name":"value","description":"The header value","rest":true,"type":"String","required":true}],"brackets":true,"category":"http"},{"name":"$httpAppendFile","version":"1.4.0","description":"Appends a file to form data","brackets":true,"unwrap":true,"args":[{"name":"key","description":"The key name to add this value to","rest":false,"required":true,"type":"String"},{"name":"url / path","type":"Attachment","rest":false,"required":true,"description":"The path or url to use"}],"category":"http"},{"name":"$httpAppendValue","version":"1.4.0","description":"Appends a key-value to form data","brackets":true,"unwrap":true,"args":[{"name":"key","description":"The key name to add this value to","rest":false,"required":true,"type":"String"},{"name":"value","type":"String","rest":false,"required":true,"description":"The value to set"}],"category":"http"},{"name":"$httpGetHeader","version":"1.5.0","description":"Gets an HTTP header","unwrap":true,"brackets":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true}],"output":["String"],"category":"http"},{"name":"$httpPing","version":"1.5.0","description":"Returns the response time of the HTTP request","aliases":["$httpResponseTime"],"unwrap":false,"experimental":true,"output":["Number"],"category":"http"},{"name":"$httpRemoveHeader","version":"1.0.0","description":"Removes an HTTP header","unwrap":true,"args":[{"name":"name","description":"The header name","rest":false,"type":"String","required":true}],"brackets":true,"category":"http"},{"name":"$httpRequest","version":"1.0.0","description":"Performs an http request, returns the status code","output":["Number"],"args":[{"name":"url","description":"The url to perform this request to","type":"String","rest":false,"required":true},{"name":"method","description":"The method to use","rest":false,"required":true,"type":"String"},{"name":"variable","description":"Environment variable name to load the response to","rest":false,"required":false,"type":"String"}],"brackets":true,"unwrap":true,"category":"http"},{"name":"$httpResult","version":"1.2.0","description":"Retrieve an http result value","brackets":false,"unwrap":true,"args":[{"name":"key","description":"The key to return its value","required":true,"type":"String","rest":true}],"output":["Json","Unknown"],"category":"http"},{"name":"$httpSetBody","version":"1.0.0","description":"Sets a JSON body for the request","args":[{"name":"body","description":"The JSON body","rest":false,"required":true,"type":"String"}],"unwrap":true,"brackets":true,"category":"http"},{"name":"$httpSetContentType","version":"1.4.0","description":"Forces the http request to be decoded using given content type","args":[{"name":"type","description":"The content type of the result","required":true,"type":"Enum","enum":["Json","Text"],"rest":false,"enumName":"HTTPContentType"}],"brackets":true,"unwrap":true,"category":"http"},{"name":"$applicationCommandDescription","version":"1.0.7","description":"Returns an application command description","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its description","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandDisplay","version":"1.4.0","description":"Gets the full command interaction with all options","unwrap":true,"brackets":false,"args":[{"name":"hide option name","description":"Whether to suppress option names from being displayed","rest":false,"required":true,"type":"Boolean"}],"output":["String"],"category":"interaction"},{"name":"$applicationCommandID","version":"1.0.7","description":"Returns the application command id","brackets":false,"args":[{"name":"name","description":"The name of the command to pull its id","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandName","version":"1.0.7","description":"Returns an application command name","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its name","rest":false,"required":true,"type":"String"}],"output":["String"],"unwrap":true,"category":"interaction"},{"name":"$applicationCommandOptions","version":"1.5.0","description":"Returns an application command options in JSON format","brackets":false,"args":[{"name":"id","description":"The id of the command to pull its options","rest":false,"required":true,"type":"String"}],"output":["Json"],"unwrap":true,"category":"interaction"},{"name":"$applicationSubCommandGroupName","version":"1.5.0","description":"Returns the application sub command group name of this interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$applicationSubCommandName","version":"1.5.0","description":"Returns the application sub command name of this interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$authorizingIntegrationOwners","version":"1.5.0","description":"Returns the authorizing integration owners of this interaction","unwrap":true,"brackets":false,"args":[{"name":"type","description":"The type of authorizing integration owners to return","rest":false,"required":true,"type":"Enum","enum":["Guild","User"],"enumName":"AuthorizingIntegrationOwnersType"}],"output":["Json","User","Guild"],"category":"interaction"},{"name":"$autocomplete","version":"1.0.6","description":"Forces autocomplete response","unwrap":false,"category":"interaction"},{"name":"$context","version":"1.5.0","description":"Returns the context of this interaction","aliases":["$interactionContext"],"unwrap":false,"output":["InteractionContextType"],"category":"interaction"},{"name":"$customID","version":"1.0.0","description":"Retrieves the custom id of the interaction","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$defer","version":"1.0.0","description":"Defers this interaction","unwrap":false,"category":"interaction"},{"name":"$deferUpdate","version":"1.3.0","description":"Defers this interaction as an update","unwrap":false,"category":"interaction"},{"name":"$ephemeral","version":"1.0.0","description":"Marks this reply as ephemeral","unwrap":false,"category":"interaction"},{"name":"$focusedOptionName","version":"1.0.6","description":"Returns the focused option of the command","unwrap":false,"output":["String"],"category":"interaction"},{"name":"$focusedOptionValue","version":"1.0.6","description":"Returns the focused option value of the command","unwrap":false,"output":["Unknown"],"category":"interaction"},{"name":"$input","version":"1.0.0","description":"Returns the value from a modal field","brackets":true,"unwrap":true,"args":[{"name":"custom ID","description":"The custom id to get its field value","rest":false,"type":"String","required":true},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["String"],"category":"interaction"},{"name":"$interactionDelete","version":"1.4.0","description":"Deletes this interaction's reply","unwrap":false,"category":"interaction"},{"name":"$interactionFollowUp","version":"1.2.0","description":"Forces an interaction follow up","unwrap":true,"brackets":false,"output":["Message"],"args":[{"name":"content","description":"The content to use for this follow up","required":true,"type":"String","rest":false},{"name":"return message ID","description":"Whether to fetch and return the message id of the follow up","rest":false,"type":"Boolean","required":false}],"category":"interaction"},{"name":"$interactionRawData","version":"1.5.0","description":"Returns the raw data of this interaction","unwrap":false,"output":["Json"],"category":"interaction"},{"name":"$interactionReply","version":"1.0.0","description":"Forces an interaction reply","unwrap":true,"brackets":false,"output":["Message"],"args":[{"name":"content","description":"The content to use for this response","required":true,"type":"String","rest":false},{"name":"return message ID","description":"Whether to fetch and return the message id of the reply","rest":false,"type":"Boolean","required":false}],"category":"interaction"},{"name":"$interactionRequirePremium","version":"1.5.0","description":"Requires premium to use this interaction","unwrap":false,"deprecated":true,"category":"interaction"},{"name":"$interactionUpdate","version":"1.0.3","description":"Forces an interaction update","unwrap":true,"brackets":false,"args":[{"name":"content","description":"The content to use for this response","required":true,"type":"String","rest":false}],"category":"interaction"},{"name":"$isActivityCommand","version":"2.4.0","description":"Returns whether the interaction is an activity command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isAnySelectMenu","version":"1.0.0","output":["Boolean"],"description":"Returns whether the context is a select menu","unwrap":false,"category":"interaction"},{"name":"$isAutocomplete","version":"1.0.6","description":"Returns whether the interaction is autocomplete","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isButton","version":"1.0.0","description":"Returns whether the interaction is a button","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isChannelSelectMenu","version":"1.0.0","description":"Returns whether the context is a channel select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isCommand","version":"1.0.6","description":"Returns whether the interaction is a command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isContextMenu","version":"1.0.6","description":"Returns whether the interaction is a context menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isMentionableSelectMenu","version":"1.0.0","description":"Returns whether the context is a mentionable select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isMessageComponent","version":"2.7.0","description":"Returns whether the interaction is a message component","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isMessageContextMenu","version":"2.7.0","description":"Returns whether the interaction is a message context menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isModal","version":"1.0.0","description":"Returns whether the context is a modal","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isRepliable","version":"1.5.0","description":"Returns whether this interaction can be replied to","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isRoleSelectMenu","version":"1.0.0","description":"Returns whether the context is a role select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isSlashCommand","version":"1.4.0","description":"Returns whether the interaction is a slash command","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isStringSelectMenu","version":"1.0.0","description":"Returns whether the context is a string select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isUserContextMenu","version":"2.7.0","description":"Returns whether the interaction is a user context menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$isUserSelectMenu","version":"1.0.0","description":"Returns whether the context is a user select menu","unwrap":false,"output":["Boolean"],"category":"interaction"},{"name":"$launchActivity","version":"2.4.0","description":"Launches the activity of the client, if enabled","unwrap":false,"category":"interaction"},{"name":"$locale","aliases":["$interactionLocale"],"version":"1.4.0","description":"Retrieves the user locale of the interaction","unwrap":false,"output":["Locale"],"category":"interaction"},{"name":"$modal","version":"1.0.0","description":"Creates a modal","unwrap":true,"brackets":true,"args":[{"name":"custom ID","description":"The custom id for this modal","rest":false,"type":"String","required":true},{"name":"title","description":"The title for the modal","rest":false,"required":true,"type":"String"}],"category":"interaction"},{"name":"$option","version":"1.0.6","description":"Returns an option value with given name (interaction command)","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"option name","description":"The option name to retrieve its value","rest":false,"required":true,"type":"String"}],"category":"interaction"},{"name":"$selectMenuValues","version":"1.0.0","description":"Returns select menu values","brackets":false,"args":[{"name":"index","description":"The index of the value","type":"Number","rest":false},{"name":"separator","description":"The separator to use for each value","type":"String","rest":false}],"output":["String[]"],"unwrap":true,"category":"interaction"},{"name":"$showModal","version":"1.4.0","description":"Shows the modal immediately","unwrap":false,"category":"interaction"},{"name":"$targetMember","version":"2.3.0","description":"Retrieves data of the target member","unwrap":true,"brackets":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","moderatable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"interaction"},{"name":"$targetMessage","version":"1.5.0","description":"Retrieves data of the target message","unwrap":true,"brackets":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","type","flags","username","authorID","channelID","threadID","guildID","webhookID","interactionID","interactionType","timestamp","editTimestamp","hasSnapshots","hasThread","hasPoll","system","pinned","tts","url","attachments","stickers","embeds","crosspostable","deletable","editable","pinnable"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"Separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"interaction"},{"name":"$targetMessageEmbeds","version":"1.5.0","description":"Retrieves data of embeds from the target message","aliases":["$targetMessageEmbed"],"unwrap":true,"brackets":false,"args":[{"name":"embed index","description":"The embed index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["title","titleURL","authorName","authorIcon","footerText","image","thumbnail","footerIcon","description","timestamp","authorURL","color","fieldName","fieldInline","fieldValue"],"required":false,"enumName":"EmbedProperty"},{"name":"field index","description":"The index of the field to get","rest":false,"type":"Number"}],"output":["Json","Unknown"],"category":"interaction"},{"name":"$deleteInvite","version":"1.0.0","brackets":true,"description":"Deletes an invite, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"reason","description":"The reason for deleting the invite","rest":false,"type":"String"}],"category":"invite"},{"name":"$getInvite","version":"2.2.0","description":"Returns information about an invite","brackets":true,"unwrap":true,"output":["Json","Unknown"],"args":[{"name":"code","description":"The invite code","rest":false,"required":true,"type":"String"},{"name":"property","description":"The property of the invite to return","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"enumName":"InviteProperty"}],"category":"invite"},{"name":"$inviteExists","version":"1.0.0","description":"Returns whether an invite code exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"code","description":"The invite to check","rest":false,"required":true,"type":"String"}],"category":"invite"},{"name":"$inviterCode","version":"1.0.3","description":"Returns the invite code that was used by this person","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get its invite code","rest":false,"required":true,"type":"Member","pointer":0}],"output":["Invite"],"category":"invite"},{"name":"$inviterID","version":"1.0.3","description":"Returns the user who invited this person","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get its inviter","rest":false,"required":true,"type":"Member","pointer":0}],"output":["User"],"category":"invite"},{"name":"$isJSON","version":"1.4.0","aliases":["$isValidJSON"],"description":"Checks whether given JSON is valid","unwrap":true,"brackets":true,"args":[{"name":"json","description":"The json to check for","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"json"},{"name":"$jsonAssign","version":"2.6.0","description":"Combines multiple JSON objects into a single JSON object","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable that holds the target object","required":true,"type":"String","rest":false},{"name":"other variable","description":"The variable to load the result to, leave empty to return output","type":"String","rest":false},{"name":"objects","description":"The objects from which to copy properties","type":"Json","required":true,"rest":true}],"output":["Json"],"category":"json"},{"name":"$jsonDelete","version":"1.4.0","description":"Deletes a key from a traversed JSON","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"keys","description":"The keys to use to traverse the object","rest":true,"required":true,"type":"String"}],"category":"json"},{"name":"$jsonEntries","version":"1.4.0","description":"Gets entries from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get entries from","rest":false,"type":"String","required":true}],"output":["Json"],"unwrap":true,"category":"json"},{"name":"$jsonFromEntries","version":"2.7.0","description":"Converts an array of entries into an object","aliases":["$fromEntries"],"unwrap":true,"brackets":true,"args":[{"name":"variable","description":"The variable to get entries from","rest":false,"type":"String","required":true}],"output":["Json"],"category":"json"},{"name":"$jsonHas","version":"2.2.0","description":"Returns whether a key exists in a JSON object","brackets":true,"unwrap":true,"args":[{"name":"variable","description":"The variable that holds json","required":true,"type":"String","rest":false},{"name":"key","description":"The key to check for","type":"String","required":true,"rest":false}],"output":["Boolean"],"category":"json"},{"name":"$jsonKeys","version":"1.4.0","description":"Gets keys from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get keys from","rest":false,"type":"String","required":true}],"output":["Json"],"unwrap":true,"category":"json"},{"name":"$jsonLoad","version":"1.0.0","description":"Loads JSON to an env variable","brackets":true,"args":[{"name":"variable","description":"The variable to load json to","rest":false,"type":"String","required":true},{"name":"json","description":"The json data","type":"Json","required":true,"rest":false}],"unwrap":true,"category":"json"},{"name":"$jsonSet","version":"1.2.0","description":"Adds a JSON key with a value","unwrap":true,"brackets":true,"args":[{"name":"keys;value","description":"The keys to traverse, with the value to use at the end","type":"String","rest":true,"required":true}],"output":["Boolean"],"category":"json"},{"name":"$jsonStringify","version":"1.5.0","output":["Json"],"description":"Returns the JSON in stringified format","args":[{"name":"variable","description":"The variable to stringify","required":true,"type":"String","rest":false},{"name":"space","description":"The space to use","type":"Number","rest":false}],"brackets":true,"unwrap":true,"category":"json"},{"name":"$jsonValues","version":"1.4.0","description":"Gets values from a JSON variable","brackets":true,"args":[{"name":"variable","description":"The variable to get values from","rest":false,"type":"String","required":true},{"name":"separator","description":"The separator to use for each value","type":"String","rest":false}],"output":["Json","Unknown[]"],"unwrap":true,"category":"json"},{"name":"$onlyForCategories","version":"1.5.0","description":"Only executes code if given ids match the current category","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if category is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"channels","pointer":0,"description":"The categories to check for","rest":true,"required":true,"type":"Channel"}],"category":"limiter"},{"name":"$onlyForChannels","version":"1.5.0","description":"Only executes code if given ids match the current channel","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if channel is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"channels","pointer":0,"description":"The channels to check for","rest":true,"required":true,"type":"Channel"}],"category":"limiter"},{"name":"$onlyForGuilds","version":"1.1.0","description":"Only executes code if given ids match the guild","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if guild is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"guilds","description":"The guilds to check for","rest":true,"required":true,"type":"Guild"}],"category":"limiter"},{"name":"$onlyForRoles","version":"1.1.0","description":"Only executes code if user has given roles","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if user does not meet the roles","rest":false,"required":true,"type":"String"},{"name":"roles","pointer":0,"description":"The roles to check for","rest":true,"required":true,"type":"Role"}],"category":"limiter"},{"name":"$onlyForUsers","version":"1.1.0","description":"Only executes code if given ids match the author","brackets":true,"unwrap":false,"args":[{"name":"code","description":"The code to execute if user is not whitelisted","rest":false,"required":true,"type":"String"},{"name":"users","description":"The users to check for","rest":true,"required":true,"type":"User"}],"category":"limiter"},{"name":"$onlyIf","version":"1.0.0","description":"Stop execution if condition is not matched","unwrap":false,"brackets":true,"args":[{"name":"condition","condition":true,"description":"The condition to use","rest":false,"type":"String","required":true},{"name":"code","description":"The code to execute if error","rest":false,"type":"String"}],"category":"limiter"},{"name":"$stop","version":"1.0.0","description":"Stops code execution","unwrap":false,"category":"limiter"},{"name":"$chalkLog","version":"2.3.0","description":"Logs styled text to the console using Chalk","unwrap":true,"brackets":true,"args":[{"name":"text","description":"The text to log","type":"String","required":true,"rest":false},{"name":"styles","description":"The styles to apply to the text","type":"String","required":true,"rest":true}],"category":"logging"},{"name":"$log","version":"1.0.0","description":"Log something to console","unwrap":true,"args":[{"name":"message","description":"The message to log to console","rest":true,"type":"String","required":true}],"brackets":true,"category":"logging"},{"name":"$logger","version":"1.3.0","description":"Implements Logger API of ForgeScript","unwrap":true,"brackets":true,"args":[{"name":"log type","description":"The log type","enum":["Warn","Deprecated","Debug","Info","Error"],"type":"Enum","required":true,"rest":false,"enumName":"LogType"},{"name":"text","description":"The text to log","rest":false,"required":true,"type":"String"}],"category":"logging"},{"name":"$findApplicationEmoji","version":"2.2.0","description":"Finds an application emoji of the client","brackets":true,"output":["ApplicationEmoji"],"args":[{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findChannel","version":"1.0.0","description":"Finds a channel","brackets":true,"output":["Channel"],"args":[{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"return channel","description":"Returns the current channel id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findChannels","version":"1.5.0","description":"Finds channels of a guild using a query","brackets":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to find the channels on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","url","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked","deletable","manageable","lastMessageID","lastPinTimestamp"],"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"method","description":"The method to use for searching","rest":false,"type":"Enum","enum":["startsWith","endsWith","includes"],"enumName":"SearchMethodType"}],"unwrap":true,"category":"lookup"},{"name":"$findEmoji","version":"1.0.0","description":"Finds an emoji","brackets":true,"output":["Emoji"],"args":[{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findGuild","version":"2.2.0","description":"Finds a guild","brackets":true,"output":["Guild"],"args":[{"name":"query","description":"The id or guild name to find","rest":false,"type":"String","required":true},{"name":"return guild","description":"Returns the current guild id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findGuildChannel","version":"1.0.0","description":"Finds a channel of a guild","brackets":true,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to find the channel on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or channel name to find","rest":false,"type":"String","required":true},{"name":"return channel","description":"Returns the current channel id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findGuildEmoji","version":"1.0.0","description":"Finds an emoji of a guild","brackets":true,"output":["GuildEmoji"],"args":[{"name":"guild ID","description":"The guild to find the emoji on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, format or emoji name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findMember","version":"1.0.0","description":"Finds a member of a guild","brackets":true,"output":["Member"],"args":[{"name":"guild ID","description":"The guild to find the member on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or name to find","rest":false,"type":"String","required":true},{"name":"return author","description":"Returns the current author id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$findMembers","version":"1.4.0","description":"Finds member of a guild using a query","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to use","rest":false,"required":true,"type":"Guild"},{"name":"query","description":"The query to use","rest":false,"required":true,"type":"String"},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"enum value","description":"The enum value to use","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","moderatable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"lookup"},{"name":"$findRole","version":"1.0.0","description":"Finds a role of a guild","brackets":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to find the role on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or role name to find","rest":false,"type":"String","required":true}],"unwrap":true,"category":"lookup"},{"name":"$findRoles","version":"1.5.0","description":"Finds roles of a guild using a query","brackets":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to find the roles on","type":"Guild","rest":false,"required":true},{"name":"query","description":"The id, mention or role name to find","rest":false,"type":"String","required":true},{"name":"limit","description":"The limit of results","rest":false,"type":"Number"},{"name":"property","description":"The property to return","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use for every result","rest":false,"type":"String"},{"name":"method","description":"The method to use for searching","rest":false,"type":"Enum","enum":["startsWith","endsWith","includes"],"enumName":"SearchMethodType"}],"unwrap":true,"category":"lookup"},{"name":"$findUser","version":"1.0.0","description":"Finds a user","brackets":true,"output":["User"],"args":[{"name":"query","description":"The id, mention or user name to find","rest":false,"type":"String","required":true},{"name":"return author","description":"Returns the current author id if none found","rest":false,"type":"Boolean"}],"unwrap":true,"category":"lookup"},{"name":"$abs","version":"1.0.1","description":"Returns the absolute value of a number (the value without regard to whether it is positive or negative)","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$base","version":"1.1.0","description":"Convert number from one base to another","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The target number for conversion","type":"String","rest":false,"required":true},{"name":"to","description":"The target base","type":"Number","rest":false,"required":true},{"name":"from","description":"The source base","type":"Number","rest":false}],"category":"math"},{"name":"$bigintDivide","version":"1.3.0","description":"Divides multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to divide","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintMulti","version":"1.3.0","description":"Multiplies multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to multiply","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintSub","version":"1.3.0","description":"Subtracts multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to sub","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$bigintSum","version":"1.3.0","description":"Adds multiple numbers","brackets":true,"unwrap":true,"output":["BigInt"],"args":[{"name":"numbers","description":"Numbers to add","rest":true,"type":"BigInt","required":true}],"category":"math"},{"name":"$ceil","version":"1.5.0","description":"Returns the smallest integer greater than or equal to its numeric argument","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$divide","version":"1.0.0","description":"Divides multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to divide","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$floor","version":"1.0.0","description":"Returns the greatest integer less than or equal to its numeric argument","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$logn","version":"1.0.0","description":"Returns the natural logarithm (base e) of a number","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"Number to get its logarithm","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$math","version":"1.0.0","description":"Runs math expression, returns nothing if incorrect expression","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"expr","description":"The math expression to run","rest":false,"type":"String","required":true}],"category":"math"},{"name":"$max","version":"1.0.7","description":"Returns the largest number of the ones given","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers among which to find the largest","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$min","version":"1.0.7","description":"Returns the smallest number of the ones given","brackets":true,"output":["Number"],"unwrap":true,"args":[{"name":"numbers","description":"Numbers among which to find the smallest","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$modulo","version":"1.0.0","description":"Returns the remainder of multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to get their remainders","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$multi","version":"1.0.0","description":"Multiplies multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to multiply","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$pi","version":"2.2.0","description":"Returns the constant pi","unwrap":false,"output":["Number"],"category":"math"},{"name":"$pow","version":"1.0.0","aliases":["$power"],"description":"Exponentially multiply multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to power by","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$round","version":"1.0.0","description":"Rounds provided number to a certain number of decimal places","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true},{"name":"decimal places","description":"The number of decimal places to round to","rest":false,"type":"Number"}],"category":"math"},{"name":"$sign","version":"2.2.0","description":"Returns the sign of the x, indicating whether x is positive, negative or zero","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$sqrt","version":"1.0.0","description":"Returns the square root of a number","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$sub","version":"1.0.0","description":"Subtracts multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to sub","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$sum","version":"1.0.0","description":"Adds multiple numbers","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"numbers","description":"Numbers to add","rest":true,"type":"Number","required":true}],"category":"math"},{"name":"$trunc","version":"1.0.0","description":"Returns the integer part of the a numeric expression, x, removing any fractional digits. If x is already an integer, the result is x","aliases":["$truncate"],"brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"number","description":"The number to use","rest":false,"type":"Number","required":true}],"category":"math"},{"name":"$ban","version":"1.0.0","aliases":["$memberBan","$banMember"],"description":"Bans a member from the guild, returns true or false depending on whether the action was successfully performed","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to ban a member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to ban","rest":false,"type":"User","required":true},{"name":"reason","description":"The reason to ban for","rest":false,"type":"String"},{"name":"delete message seconds","description":"Delete messages from this member that were sent in this seconds time span","rest":false,"type":"Number"}],"category":"member"},{"name":"$fetchMembers","version":"1.0.0","description":"Caches all members of a guild","aliases":["$fetchMember"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache members of","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to fetch","rest":false,"type":"Member","pointer":0}],"category":"member"},{"name":"$hasAnyPerms","version":"1.4.0","description":"Returns whether given member has any of the provided perms","unwrap":true,"aliases":["$memberHasAnyPerms"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for perms","rest":false,"type":"Member","required":true,"pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"required":true,"enumName":"PermissionFlagsBits"}],"category":"member"},{"name":"$hasAnyRole","version":"1.1.0","description":"Returns whether given member has any role","unwrap":true,"aliases":["$memberHasAnyRole"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for roles","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to check for","rest":true,"type":"Role","required":true,"pointer":0}],"category":"member"},{"name":"$hasPerms","version":"1.0.0","description":"Returns whether given member has X perms","unwrap":true,"aliases":["$memberHasPerms"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for perms","rest":false,"type":"Member","required":true,"pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"required":true,"enumName":"PermissionFlagsBits"}],"category":"member"},{"name":"$hasRoles","version":"1.1.0","description":"Returns whether given member has all roles","unwrap":true,"aliases":["$memberHasRoles"],"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check for roles","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to check for","rest":true,"type":"Role","required":true,"pointer":0}],"category":"member"},{"name":"$isBannable","version":"2.7.0","aliases":["$memberIsBannable"],"description":"Returns whether a member is bannable","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to check for","rest":false,"type":"Member","pointer":0,"required":true}],"output":["Boolean"],"category":"member"},{"name":"$isBanned","version":"1.0.0","brackets":true,"unwrap":true,"aliases":["$memberIsBanned"],"output":["Boolean"],"description":"Returns whether this user is banned","args":[{"name":"guild ID","description":"The guild to check bans on","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check ban status for","rest":false,"type":"User","required":true}],"category":"member"},{"name":"$isBoosting","description":"Returns whether this member is boosting","version":"1.5.0","aliases":["$isBooster","$memberIsBooster","$memberIsBoosting"],"brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check boost status for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isDeaf","version":"1.0.0","description":"Returns whether a member is deafened","brackets":false,"unwrap":true,"aliases":["$memberIsDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isGuildDeaf","version":"1.0.0","description":"Returns whether a member is server deafened","brackets":false,"aliases":["$memberIsGuildDeaf"],"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isGuildMuted","version":"1.0.0","description":"Returns whether a member is server muted","brackets":false,"aliases":["$memberIsGuildMuted"],"output":["Boolean"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isKickable","version":"2.7.0","aliases":["$memberIsKickable"],"description":"Returns whether a member is kickable","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to check for","rest":false,"type":"Member","pointer":0,"required":true}],"output":["Boolean"],"category":"member"},{"name":"$isManageable","version":"2.7.0","aliases":["$memberIsManageable"],"description":"Returns whether a member is manageable","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to check for","rest":false,"type":"Member","pointer":0,"required":true}],"output":["Boolean"],"category":"member"},{"name":"$isModeratable","version":"2.7.0","aliases":["$memberIsModeratable"],"description":"Returns whether a member is moderatable","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to check for","rest":false,"type":"Member","pointer":0,"required":true}],"output":["Boolean"],"category":"member"},{"name":"$isMuted","version":"1.0.0","description":"Returns whether a member is muted","brackets":false,"unwrap":true,"aliases":["$memberIsMuted"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isSelfDeaf","version":"1.0.0","description":"Returns whether a member is self deafened","brackets":false,"unwrap":true,"aliases":["$memberIsSelfDeaf"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isSelfMuted","version":"1.0.0","description":"Returns whether a member is self muted","brackets":false,"unwrap":true,"aliases":["$memberIsSelfMuted"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its voice state","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isTimedOut","version":"1.0.0","description":"Returns whether a member is timed out","unwrap":true,"brackets":false,"aliases":["$memberIsTimedOut"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to check for timeout","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$isVerified","version":"1.0.0","aliases":["$memberIsVerified"],"description":"Returns whether a member is verified","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get its verified status","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$kick","version":"1.0.0","description":"Kicks a member from the guild, returns true or false depending on whether the action was successfully performed","unwrap":true,"brackets":true,"aliases":["$kickMember","$memberKick"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to kick a member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to kick","rest":false,"type":"Member","pointer":0,"required":true},{"name":"reason","description":"The reason to kick for","rest":false,"type":"String"}],"category":"member"},{"name":"$memberActivity","version":"1.5.0","description":"Returns the activity of a member","aliases":["$activity","$userActivity","$memberActivities"],"unwrap":true,"output":["Unknown[]"],"args":[{"name":"guild ID","description":"The guild to pull the member from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The member to return its activity","required":true,"rest":false,"type":"Member","pointer":0},{"name":"property","description":"The property of the activity to return","rest":false,"type":"Enum","enum":["name","type","details","buttons","flags","timestamp","endTimestamp","startTimestamp","partyID","partySize","syncID","url","largeText","largeImage","smallText","smallImage"],"enumName":"ActivityProperty"},{"name":"separator","description":"The separator to use for every property","rest":false,"type":"String"}],"brackets":false,"category":"member"},{"name":"$memberAddRoles","version":"1.0.0","description":"Adds roles to a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to add roles to","rest":false,"type":"Member","required":true,"pointer":0},{"name":"roles","description":"The roles to add","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberAvatar","version":"1.0.0","description":"Returns the member avatar","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to retrieve the avatar","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$memberAvatarDecoration","version":"2.4.0","description":"Returns the member's avatar decoration","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its avatar decoration","pointer":0,"rest":false,"type":"Member","required":true}],"output":["URL"],"category":"member"},{"name":"$memberBanner","version":"2.1.0","description":"Returns the member banner","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to retrieve the banner","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$memberBoostingSince","version":"1.5.0","aliases":["$boostingSince","$boosterSince","$memberBoosterSince"],"brackets":false,"unwrap":true,"output":["Number"],"description":"Returns when the member started boosting the guild","args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to check boost status for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$memberBotRoleID","version":"2.6.0","description":"Returns the managed bot role of a member, only available for bots","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get the managed bot role from","rest":false,"pointer":0,"type":"Member","required":true}],"output":["Role"],"category":"member"},{"name":"$memberCustomStatus","version":"1.5.0","aliases":["$customStatus","$userCustomStatus"],"description":"Returns the custom status of a member","unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull the user from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The user to return its custom status","required":true,"rest":false,"type":"Member"},{"name":"type","description":"The type of the custom status to fetch","rest":false,"type":"Enum","enum":["state","emoji"],"enumName":"CustomStatusType"}],"brackets":false,"category":"member"},{"name":"$memberDisplayColor","version":"1.0.0","description":"Returns the display color of a member","unwrap":true,"brackets":false,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its color","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberDisplayName","version":"2.3.0","description":"Returns the display name of a member","unwrap":true,"brackets":false,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its display name","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberExists","version":"1.0.0","description":"Returns whether a member id exists on a guild","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to check for the member","type":"Guild","rest":false,"required":true},{"name":"member ID","description":"The member to check for","rest":false,"required":true,"type":"String"}],"category":"member"},{"name":"$memberFlags","version":"1.5.0","description":"Returns the flags of a member","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its flags","rest":false,"type":"Member","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["GuildMemberFlags[]"],"category":"member"},{"name":"$memberHighestRoleID","version":"1.0.0","description":"Returns the highest role id of a member","unwrap":true,"output":["Role"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its highest role id","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberJoinPosition","version":"1.5.0","description":"Returns the position at which the member joined the guild","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its join position","rest":false,"pointer":0,"type":"Member","required":true}],"category":"member"},{"name":"$memberJoinedAt","version":"1.0.0","description":"Returns the timestamp the member joined at","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get its join date","rest":false,"pointer":0,"type":"Member","required":true}],"category":"member"},{"name":"$memberLowestRoleID","version":"1.5.0","description":"Returns the lowest role id of a member","unwrap":true,"output":["Role"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to get its lowest role id","rest":false,"type":"Member","required":true}],"category":"member"},{"name":"$memberPerms","version":"1.0.0","description":"Returns the member perms","brackets":false,"unwrap":true,"output":["PermissionFlagsBits[]"],"args":[{"name":"guild ID","description":"The guild to pull the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its perms","rest":false,"type":"Member","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false},{"name":"return int","description":"Whether to return the perms as bitfield int","type":"Boolean","rest":false}],"category":"member"},{"name":"$memberRawData","version":"1.5.0","description":"Returns the raw data of a member","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to get raw data from","rest":false,"type":"Member","pointer":0,"required":true}],"output":["Json"],"category":"member"},{"name":"$memberRemoveRoles","version":"1.0.0","description":"Removes roles from a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","pointer":0,"description":"The user to remove roles from","rest":false,"type":"Member","required":true},{"name":"roles","description":"The roles to remove","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberRoles","version":"1.0.0","description":"Returns the role ids of a member","unwrap":true,"brackets":false,"output":["Role[]"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to get roles from","rest":false,"pointer":0,"type":"Member","required":true},{"name":"separator","description":"The separator to use for each role","rest":false,"type":"String"}],"category":"member"},{"name":"$memberSetNickname","version":"1.0.7","description":"Edits a member's nickname, returns bool","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to edit its nickname","rest":false,"required":true,"pointer":0,"type":"Member"},{"name":"nickname","description":"The new nickname, leave empty to reset","rest":false,"type":"String"}],"category":"member"},{"name":"$memberSetRoles","version":"1.0.0","description":"Sets roles to a member, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The user to set roles to","rest":false,"type":"Member","pointer":0,"required":true},{"name":"roles","description":"The roles to set","rest":true,"type":"Role","pointer":0}],"category":"member"},{"name":"$memberTimeoutDuration","version":"1.5.0","aliases":["$timeoutDuration","$getTimeoutDuration","$timedOutUntil","$memberTimedOutUntil"],"description":"Returns the timeout duration of a member","unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to get duration for","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$nickname","version":"1.0.0","description":"Returns the member nickname","brackets":false,"aliases":["$memberNickname"],"unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its nickname","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$platform","version":"1.0.0","description":"Returns the member platforms","brackets":false,"aliases":["$memberPlatforms","$platforms","$memberPlatform"],"unwrap":true,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild id to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member id return its platform","rest":false,"type":"Member","pointer":0,"required":true},{"name":"separator","description":"The separator for each platform","rest":false,"type":"String"}],"category":"member"},{"name":"$pruneMembers","version":"1.5.0","aliases":["$prune","$membersPrune"],"description":"Prunes inactive members from the guild, returns number of kicked members","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to prune members from","rest":false,"required":true,"type":"Guild"},{"name":"days","description":"The days of inactivity required to kick","rest":false,"type":"Number"},{"name":"dry","description":"Whether to perform a dry prune","rest":false,"type":"Boolean"},{"name":"reason","description":"The reason for pruning members","rest":false,"type":"String"},{"name":"roles","description":"The roles to include when pruning","rest":true,"type":"Role"}],"category":"member"},{"name":"$randomMemberID","version":"1.0.3","description":"Returns a random member ID of a guild","unwrap":true,"output":["Member"],"brackets":false,"args":[{"name":"guild ID","description":"The guild to get member from","rest":false,"required":true,"type":"Guild"}],"category":"member"},{"name":"$status","version":"1.0.0","description":"Returns the member status","brackets":false,"unwrap":true,"aliases":["$memberStatus","$statuses","$memberStatuses"],"output":["String"],"args":[{"name":"guild ID","description":"The guild to return the member from","rest":false,"type":"Guild","required":true},{"name":"user ID","description":"The member to return its status","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$timeout","version":"1.0.0","description":"Times a member out for X milliseconds, returns bool","unwrap":true,"aliases":["$memberTimeout","$timeoutMember"],"output":["Boolean"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The member to timeout","rest":false,"required":true,"type":"Member","pointer":0},{"name":"duration","description":"The duration to timeout for","rest":false,"type":"Time"},{"name":"reason","description":"The reason to timeout the member","rest":false,"type":"String"}],"category":"member"},{"name":"$unban","version":"1.0.0","brackets":true,"unwrap":true,"aliases":["$memberUnban","$unbanMember"],"output":["Boolean"],"description":"Unbans a user from a guild, returns bool","args":[{"name":"guild ID","description":"The guild to unban user from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","description":"The user to unban","rest":false,"type":"User","required":true},{"name":"reason","description":"The unban reason","rest":false,"type":"String"}],"category":"member"},{"name":"$voiceID","version":"1.0.3","description":"Returns the voice channel id a member is connected to","unwrap":true,"aliases":["$memberVoiceID"],"brackets":false,"output":["Channel"],"args":[{"name":"guild ID","description":"The guild to pull member from","required":true,"rest":false,"type":"Guild"},{"name":"user ID","description":"The member to get its voice channel","rest":false,"type":"Member","pointer":0,"required":true}],"category":"member"},{"name":"$voiceKick","version":"1.4.0","description":"Kicks a member from a voice channel, returns bool","brackets":true,"aliases":["$memberVoiceKick"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to kick"},{"name":"reason","description":"The reason to kick this user","rest":false,"required":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$voiceMove","version":"1.4.0","description":"Moves a member from a voice channel, returns bool","brackets":true,"aliases":["$memberVoiceMove"],"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"user ID","rest":false,"required":true,"type":"Member","pointer":0,"description":"The user to move"},{"name":"channel ID","description":"The voice channel to move this user to","rest":false,"required":false,"type":"Channel"},{"name":"reason","description":"The reason for moving the user","rest":false,"type":"String"}],"unwrap":true,"category":"member"},{"name":"$disableAllMentions","version":"1.3.0","description":"Disables every possible mention","unwrap":false,"category":"mention"},{"name":"$disableEveryoneMention","version":"1.3.0","description":"Disables everyone mention","unwrap":false,"category":"mention"},{"name":"$disableRoleMentions","version":"1.3.0","description":"Disables all role mentions","unwrap":false,"category":"mention"},{"name":"$disableUserMentions","version":"1.3.0","description":"Disables all user mentions","unwrap":false,"category":"mention"},{"name":"$enableAllMentions","version":"2.6.0","description":"Enables every possible mention","unwrap":false,"category":"mention"},{"name":"$enableRoleMentions","version":"1.3.0","description":"Only parses these roles for mentions","unwrap":true,"brackets":false,"args":[{"name":"guild ID","rest":false,"required":true,"type":"Guild","description":"The guild to retrieve roles from"},{"name":"roles","rest":true,"required":true,"pointer":0,"type":"Role","description":"The roles to parse mentions for"}],"category":"mention"},{"name":"$enableUserMentions","version":"1.3.0","description":"Only parses these users for mentions","unwrap":true,"brackets":false,"args":[{"name":"users","rest":true,"required":true,"type":"User","description":"The users to parse mentions for"}],"category":"mention"},{"name":"$isChannelMentioned","version":"1.3.0","description":"Returns whether a channel was mentioned in this message","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"channel ID","rest":false,"required":true,"type":"Channel","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$isRoleMentioned","version":"1.3.0","description":"Returns whether a role was mentioned in this message","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"role ID","rest":false,"required":true,"type":"String","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$isUserMentioned","version":"1.3.0","description":"Returns whether a user was mentioned in this message","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","rest":false,"description":"Channel to pull the message from","required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to get mentions from"},{"name":"user ID","rest":false,"required":true,"type":"User","description":"The entity to check for mentions"}],"category":"mention"},{"name":"$mentioned","version":"1.0.0","brackets":false,"description":"Returns the mentioned users","unwrap":true,"output":["User[]"],"args":[{"name":"index","description":"The index of the user","rest":false,"type":"Number","required":true},{"name":"return author","description":"Return author ID if not found","rest":false,"type":"Boolean"}],"category":"mention"},{"name":"$mentionedChannelCount","aliases":["$mentionedChannelsCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned channel count","unwrap":false,"category":"mention"},{"name":"$mentionedChannels","aliases":["$mentionedChannel"],"output":["Channel[]"],"version":"1.0.0","brackets":false,"description":"Returns the mentioned channels","unwrap":true,"args":[{"name":"index","description":"The index of the channel","rest":false,"type":"Number","required":true},{"name":"return channel","description":"Whether to return current channel if not found","rest":false,"type":"Boolean"}],"category":"mention"},{"name":"$mentionedRoleCount","aliases":["$mentionedRolesCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned role count","unwrap":false,"category":"mention"},{"name":"$mentionedRoles","aliases":["$mentionedRole"],"output":["Role[]"],"version":"1.0.0","brackets":false,"description":"Returns the mentioned roles","unwrap":true,"args":[{"name":"index","description":"The index of the role","rest":false,"type":"Number","required":true}],"category":"mention"},{"name":"$mentionedUserCount","aliases":["$mentionedUsersCount"],"output":["Number"],"version":"1.3.0","description":"Returns the mentioned user count","unwrap":false,"category":"mention"},{"name":"$nomention","version":"1.3.0","description":"Disables reply ping","unwrap":false,"category":"mention"},{"name":"$addMessageReactions","version":"1.0.0","description":"Adds reactions to a message, returns amount of emojis successfully reacted","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to add reactions to","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emojis","description":"The emojis to react with","rest":true,"type":"String","required":true}],"category":"message"},{"name":"$attachment","version":"1.0.0","description":"Adds an attachment to the response","aliases":["$addAttachment"],"unwrap":true,"brackets":true,"args":[{"name":"path","description":"The attachment url or path to file","rest":false,"required":true,"type":"String"},{"name":"name","description":"The name for this attachment, with the extension","rest":false,"type":"String","required":true},{"name":"as text","description":"Whether to use url param as text","rest":false,"type":"Boolean"},{"name":"encoding","description":"Encoding to use for text, utf-8 default","rest":false,"type":"String"},{"name":"description","description":"The description for this attachment","rest":false,"type":"String"},{"name":"title","description":"The title for this attachment","rest":false,"type":"String"}],"category":"message"},{"name":"$deleteAllMessageReactions","version":"1.0.0","description":"Deletes all reactions from a message, returns bool","unwrap":true,"output":["Boolean"],"brackets":false,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove reactions from","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$deleteIn","version":"1.5.0","description":"Deletes the response after the given time","unwrap":true,"brackets":true,"args":[{"name":"duration","description":"The duration to wait for until deletion","rest":false,"required":true,"type":"Time"}],"category":"message"},{"name":"$deleteMessage","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"aliases":["$deleteMessages"],"description":"Deletes given messages, returns the count of messages deleted","args":[{"name":"channel ID","description":"The channel to delete this message from","rest":false,"required":true,"type":"Channel"},{"name":"messages","description":"The message ids to delete","rest":true,"required":true,"pointer":0,"type":"String"}],"category":"message"},{"name":"$deleteUserMessageReaction","version":"1.0.6","description":"Deletes user emoji reaction from a message, returns bool","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove user emoji reaction","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The message reaction to remove user from","rest":false,"required":true,"pointer":1,"type":"Reaction"},{"name":"user ID","description":"The user to delete its reaction","required":true,"rest":false,"type":"User"}],"category":"message"},{"name":"$editMessage","version":"1.0.0","description":"Edits a message in a channel, returns bool","unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to edit this message","required":true,"type":"Channel","rest":false},{"name":"message ID","description":"The message to edit","rest":false,"type":"Message","pointer":0,"required":true},{"name":"content","description":"The content for the message","type":"String","rest":false}],"brackets":true,"category":"message"},{"name":"$fetchComponents","version":"1.0.0","description":"Fetches a message's components, this will override any other component added to the response","aliases":["$fetchRows"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get the components from","pointer":0,"rest":false,"type":"Message","required":true}],"category":"message"},{"name":"$fetchEmbeds","version":"1.4.0","aliases":["$fetchEmbed","$cloneEmbed","$cloneEmbeds"],"description":"Fetches an embed or all embeds from a message to the next response","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get embeds from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The embed index to load","rest":false,"type":"Number"}],"category":"message"},{"name":"$fetchMessage","version":"2.2.0","description":"Fetches all data of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to fetch its data","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$fetchResponse","version":"1.4.0","brackets":false,"unwrap":true,"description":"Fetches all data from the message and loads it to the next response, this includes: embeds, components, attachments, stickers","args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to fetch its data","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$fetchSnapshot","version":"2.7.0","brackets":false,"unwrap":true,"description":"Fetches all data from a message snapshot and loads it to the next response","args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to fetch its data","rest":false,"required":true,"pointer":0,"type":"Message"},{"name":"index","description":"The index of the snapshot to fetch, defaults to 0","rest":false,"type":"Number"}],"category":"message"},{"name":"$forwardMessage","version":"2.2.0","description":"Forwards a message to another channel, returns bool","aliases":["$forward"],"unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to forward","rest":false,"required":true,"type":"Message","pointer":0},{"name":"channel ID","description":"The channel to forward message to","rest":false,"type":"Channel"}],"output":["Boolean"],"category":"message"},{"name":"$getComponents","version":"1.4.0","description":"Retrieves data of a component, not providing any property returns component json","unwrap":true,"brackets":false,"aliases":["$getComponent"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"row index","description":"The row index to get data from","rest":false,"required":false,"type":"Number"},{"name":"component index","description":"The first component index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The first property to pull","rest":false,"type":"Enum","enum":["id","type","customID","label","style","url","disabled","maxValues","minValues","optionCount","options","optionNames","emoji","optionDescriptions","optionValues","content","accentColor","spoiler","divider","spacing","items","itemUrls","fileUrl","accessory","components","thumbnailUrl"],"required":false,"enumName":"ComponentProperty"},{"name":"separator","description":"The separator to use for each value in case of array","rest":false,"type":"String"},{"name":"component index","description":"The second component index to get data from","rest":false,"type":"Number"},{"name":"property","description":"The second property to pull","rest":false,"type":"Enum","enum":["id","type","customID","label","style","url","disabled","maxValues","minValues","optionCount","options","optionNames","emoji","optionDescriptions","optionValues","content","accentColor","spoiler","divider","spacing","items","itemUrls","fileUrl","accessory","components","thumbnailUrl"],"enumName":"ComponentProperty"}],"output":["Json","Unknown"],"category":"message"},{"name":"$getEmbeds","version":"1.0.3","description":"Retrieves data of an embed, not providing any property returns embed json","unwrap":true,"brackets":false,"aliases":["$getEmbed"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"embed index","description":"The embed index to get data from","rest":false,"required":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["title","titleURL","authorName","authorIcon","footerText","image","thumbnail","footerIcon","description","timestamp","authorURL","color","fieldName","fieldInline","fieldValue"],"required":false,"enumName":"EmbedProperty"},{"name":"field index","description":"The index of field to get","rest":false,"type":"Number"}],"output":["Unknown"],"category":"message"},{"name":"$getMessage","version":"1.0.3","description":"Retrieves data of a message, not providing any property returns message json","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","type","flags","username","authorID","channelID","threadID","guildID","webhookID","interactionID","interactionType","timestamp","editTimestamp","hasSnapshots","hasThread","hasPoll","system","pinned","tts","url","attachments","stickers","embeds","crosspostable","deletable","editable","pinnable"],"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"message"},{"name":"$getMessageClientTheme","version":"2.7.0","description":"Retrieves the shared client theme sent with a message","unwrap":true,"brackets":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its client theme","rest":false,"type":"Message","pointer":0,"required":true},{"name":"property","description":"The property to pull","rest":false,"required":true,"type":"Enum","enum":["baseMix","baseTheme","gradientAngle","colors"],"enumName":"ClientThemeProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"message"},{"name":"$getMessageReactionCount","version":"1.0.0","description":"Gets the amount of users that have reacted to a specific emoji","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to get emoji count from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The emoji to get its user count","required":true,"pointer":1,"rest":false,"type":"Reaction"},{"name":"type","description":"The type of the reaction to count users for","rest":false,"type":"Enum","enum":["normal","burst"],"enumName":"ReactionType"}],"category":"message"},{"name":"$getMessageReactionUsers","version":"1.0.0","description":"Gets the user ids that have reacted to a specific emoji","unwrap":true,"output":["User[]"],"brackets":true,"args":[{"name":"channel ID","description":"The channel the message is located","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to get emoji users from","rest":false,"type":"Message","pointer":0,"required":true},{"name":"emoji","description":"The emoji to get its users","required":true,"pointer":1,"rest":false,"type":"Reaction"},{"name":"separator","description":"The separator to use for every user","rest":false,"type":"String"}],"category":"message"},{"name":"$getMessageReactions","version":"2.2.0","description":"Retrieves all reactions of a message","aliases":["$getReactions"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to retrieve reactions from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property of the reactions to return","rest":false,"type":"Enum","enum":["emoji","count","burstCount","normalCount","me","meBurst","burstColors"],"enumName":"ReactionProperty"},{"name":"separator","description":"The separator to use for each property","rest":false,"type":"String"}],"output":["Unknown[]"],"category":"message"},{"name":"$getPoll","version":"2.5.0","description":"Retrieves data of a poll from a message","aliases":["$getMessagePoll"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["question","layoutType","answers","answerCount","totalVotes","expiresTimestamp","allowMultiselect","resultsFinalized"],"required":true,"enumName":"PollProperty"}],"output":["Unknown"],"category":"message"},{"name":"$getSnapshots","version":"2.4.0","description":"Retrieves data of snapshots from a message","aliases":["$getSnapshot"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to retrieve data from","rest":false,"required":true,"type":"Message","pointer":0},{"name":"index","description":"The index of the snapshot to get","rest":false,"type":"Number"},{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","type","flags","username","authorID","channelID","threadID","guildID","webhookID","interactionID","interactionType","timestamp","editTimestamp","hasSnapshots","hasThread","hasPoll","system","pinned","tts","url","attachments","stickers","embeds","crosspostable","deletable","editable","pinnable"],"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Json","Unknown[]"],"category":"message"},{"name":"$hasComponents","version":"2.5.0","description":"Checks whether given message has components","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get message from","type":"Channel","rest":false,"required":true},{"name":"message ID","description":"The message to check for components","rest":false,"required":true,"type":"Message","pointer":0}],"output":["Boolean"],"category":"message"},{"name":"$hasEmbeds","version":"1.2.0","brackets":false,"output":["Boolean"],"description":"Checks whether given message has embeds","unwrap":true,"args":[{"name":"channel ID","description":"The channel to get message from","type":"Channel","rest":false,"required":true},{"name":"message ID","description":"The message to check for embeds","rest":false,"required":true,"type":"Message","pointer":0}],"category":"message"},{"name":"$hasSnapshots","version":"2.7.0","description":"Checks whether given message has snapshots","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get message from","type":"Channel","rest":false,"required":true},{"name":"message ID","description":"The message to check for snapshots","rest":false,"required":true,"type":"Message","pointer":0}],"output":["Boolean"],"category":"message"},{"name":"$isPinned","version":"1.5.0","description":"Returns whether the message is pinned","aliases":["$isMessagePinned","$messagePinned"],"unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to check if its pinned","rest":false,"required":true,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$loadComponents","version":"1.4.0","aliases":["$loadComponent"],"description":"Loads components JSON (or array) to the response","unwrap":true,"brackets":true,"args":[{"name":"component data","type":"Json","rest":false,"required":true,"description":"The components object or array of objects to load"}],"category":"message"},{"name":"$loadEmbeds","version":"1.4.0","aliases":["$loadEmbed"],"description":"Loads embed json (or array) to the response","unwrap":true,"brackets":true,"args":[{"name":"embed data","type":"Json","rest":false,"required":true,"description":"The embed object or array of objects to load"}],"category":"message"},{"name":"$message","version":"1.0.0","output":["String"],"description":"Retrieves arguments from a message command","args":[{"name":"index","description":"Index to get arg","type":"Number","required":true,"rest":false},{"name":"end index","description":"The end index","rest":false,"type":"Number"}],"brackets":false,"unwrap":true,"category":"message"},{"name":"$messageAttachment","version":"1.4.0","output":["URL"],"description":"Retrieves an attachment from this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachments","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"description":"The index of the attachment","type":"Number","required":true}],"category":"message"},{"name":"$messageAttachmentCount","version":"1.4.0","output":["Number"],"description":"Retrieve the amount of attachments in this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachment count","rest":false,"required":true,"type":"Message"}],"category":"message"},{"name":"$messageAttachmentFlags","version":"1.5.0","description":"Returns the flags of an attachment from this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachment flags","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"description":"The index of the attachment","type":"Number","required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"output":["AttachmentFlags[]"],"category":"message"},{"name":"$messageAttachments","version":"1.4.0","output":["Attachment[]"],"description":"Retrieves all attachments of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its attachments","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every attachment","type":"String"}],"category":"message"},{"name":"$messageContent","version":"1.4.0","description":"Retrieves the content of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its content","rest":false,"type":"Message","pointer":0,"required":true}],"output":["String"],"category":"message"},{"name":"$messageCreatedAt","version":"1.0.2","description":"Returns the timestamp of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its timestamp","rest":false,"type":"Message","pointer":0,"required":true}],"output":["Number"],"category":"message"},{"name":"$messageEditedAt","version":"1.5.0","description":"Returns the edited timestamp of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its edited timestamp","rest":false,"type":"Message","pointer":0,"required":true}],"output":["Number"],"category":"message"},{"name":"$messageEmojis","version":"2.4.0","description":"Retrieves all emojis of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its emojis","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every emoji","type":"String"},{"name":"return ids","rest":false,"description":"Whether to return the emoji ids, excludes unicode emojis","type":"Boolean"}],"output":["Emoji[]"],"category":"message"},{"name":"$messageExists","version":"1.0.5","description":"Returns whether given message id exists","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to check for","rest":false,"type":"String","required":true}],"category":"message"},{"name":"$messageFlags","version":"1.5.0","description":"Returns the flags of a message","brackets":false,"unwrap":true,"output":["MessageFlags[]"],"args":[{"name":"channel ID","description":"The channel to get the message from","rest":false,"type":"Channel","required":true},{"name":"message ID","description":"The message to return its flags","rest":false,"type":"Message","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"category":"message"},{"name":"$messageID","version":"1.0.0","description":"Returns the message id","unwrap":false,"output":["Message"],"category":"message"},{"name":"$messageLink","version":"1.0.0","description":"Retrieves a message url","unwrap":true,"brackets":false,"output":["URL"],"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its url","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageRawData","version":"1.5.0","description":"Returns the raw data of a message","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get message from","type":"Channel"},{"name":"message ID","description":"The message to get raw data from","rest":false,"type":"Message","pointer":0,"required":true}],"output":["Json"],"category":"message"},{"name":"$messageReferenceID","version":"1.0.0","description":"Returns the message id that this message replies to","unwrap":true,"output":["Message"],"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its reference","rest":false,"type":"Message","pointer":0,"required":true}],"category":"message"},{"name":"$messageSlice","version":"1.3.0","description":"Slices this message's args","brackets":true,"output":["String"],"args":[{"name":"start","description":"The start index","rest":false,"required":false,"type":"Number"},{"name":"end","description":"The end index","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"message"},{"name":"$messageSticker","version":"1.4.0","output":["Sticker"],"description":"Retrieves a sticker url of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its stickers","rest":false,"required":true,"type":"Message"},{"name":"index","rest":false,"required":true,"description":"The index to get sticker","type":"Number"}],"category":"message"},{"name":"$messageStickerCount","version":"1.4.0","output":["Number"],"description":"Retrieves sticker count of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its sticker count","rest":false,"required":true,"type":"Message"}],"category":"message"},{"name":"$messageStickers","version":"1.4.0","aliases":["$stickers"],"output":["Sticker[]"],"description":"Retrieves all stickers of this message","brackets":false,"unwrap":true,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its stickers","rest":false,"required":true,"type":"Message"},{"name":"separator","rest":false,"description":"The separator to use for every sticker","type":"String"},{"name":"type","rest":false,"description":"The type to return, default is url","type":"Enum","enum":["id","url"],"enumName":"StickerReturnType"}],"category":"message"},{"name":"$messageType","version":"1.0.0","description":"Returns the message type","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its type","rest":false,"required":true,"type":"Message"}],"output":["MessageType"],"category":"message"},{"name":"$messageWebhookID","version":"1.1.0","description":"Returns the message's webhook id","unwrap":true,"brackets":false,"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to pull message from","type":"Channel"},{"name":"message ID","pointer":0,"description":"The message to get its webhook id","rest":false,"required":true,"type":"Message"}],"output":["Webhook"],"category":"message"},{"name":"$noMentionMessage","version":"1.0.0","output":["String"],"description":"Retrieves arguments from a message without mentions","args":[{"name":"index","description":"Index to get arg","type":"Number","required":true,"rest":false},{"name":"end index","description":"The end index","rest":false,"type":"Number"}],"brackets":false,"unwrap":true,"category":"message"},{"name":"$pinMessage","version":"1.1.0","description":"Pins a message in a channel, returns bool","brackets":false,"output":["Boolean"],"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to pin","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$publishMessage","version":"1.1.0","description":"Crossposts a message in an announcement channel, returns bool","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to announce","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$removeAttachments","version":"2.7.0","description":"Removes all attachments from a message, returns bool","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to remove attachments from","rest":false,"type":"Message","pointer":0,"required":true}],"output":["Boolean"],"category":"message"},{"name":"$reply","version":"1.0.0","description":"Marks the response as a reply","unwrap":true,"brackets":false,"args":[{"name":"channel ID","description":"The channel the message is at","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to reply to","rest":false,"required":true,"type":"Message","pointer":0},{"name":"disable ping","description":"Whether to disable ping of reply","rest":false,"type":"Boolean"}],"category":"message"},{"name":"$silent","version":"2.6.0","description":"Marks the response as silent","unwrap":false,"category":"message"},{"name":"$sticker","version":"1.3.0","description":"Attach a sticker to the response","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","rest":false,"required":true,"type":"Sticker","description":"The sticker to use"}],"category":"message"},{"name":"$suppressEmbeds","version":"1.5.0","description":"Suppresses embeds on a message, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to suppress embeds on","rest":false,"required":true,"pointer":0,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$tts","version":"1.5.0","description":"Marks the response as Text-To-Speech","unwrap":false,"category":"message"},{"name":"$unpinMessage","version":"1.1.0","output":["Boolean"],"description":"Unpins a message from a channel, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to unpin","rest":false,"required":true,"pointer":0,"type":"Message"}],"category":"message"},{"name":"$unsuppressEmbeds","version":"1.5.0","description":"Unsuppresses embeds on a message, returns bool","brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","description":"The message to unsuppress embeds on","rest":false,"required":true,"pointer":0,"type":"Message"}],"output":["Boolean"],"category":"message"},{"name":"$abbreviateNumber","version":"1.0.0","output":["String"],"description":"Abbreviates given number","unwrap":true,"args":[{"name":"number","description":"The number to abbreviate","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"number"},{"name":"$average","version":"1.5.0","brackets":true,"unwrap":true,"description":"Calculates the average of given numbers","args":[{"name":"separator","description":"The delimiter of each value","rest":false,"required":true,"type":"String"},{"name":"values","description":"Values separated by `separator`","rest":false,"required":true,"type":"String"}],"category":"number"},{"name":"$hexToInt","version":"1.2.0","brackets":true,"output":["Color"],"description":"Turns hex string to number","unwrap":true,"args":[{"name":"hex","description":"The hex to convert","rest":false,"required":true,"type":"String"}],"category":"number"},{"name":"$inRange","version":"1.0.0","description":"Returns whether a number is in range","brackets":true,"output":["Boolean"],"unwrap":true,"args":[{"name":"number","description":"The number to validate","rest":false,"type":"Number","required":true},{"name":"min","description":"The min value","rest":false,"type":"Number"},{"name":"max","description":"The max value","rest":false,"type":"Number"}],"category":"number"},{"name":"$intToHex","version":"1.2.0","brackets":true,"description":"Turns integer to hex","unwrap":true,"output":["Color"],"args":[{"name":"int","description":"The integer to convert","rest":false,"required":true,"type":"Number"}],"category":"number"},{"name":"$isFloat","version":"1.0.0","description":"Returns whether the number is a float","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$isInteger","version":"1.0.0","description":"Returns whether the number is an integer","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$isNumber","version":"1.0.0","description":"Returns whether the number is valid","unwrap":true,"output":["Boolean"],"args":[{"name":"number","description":"The number to check","required":true,"rest":false,"type":"String"}],"brackets":true,"category":"number"},{"name":"$maxSafeInteger","version":"1.0.6","description":"Returns the highest safe integer","unwrap":false,"output":["Number"],"category":"number"},{"name":"$minSafeInteger","version":"1.0.6","description":"Returns the lowest safe integer","unwrap":false,"output":["Number"],"category":"number"},{"name":"$ordinal","version":"1.3.0","description":"Appends a suffix to the number","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"number","description":"The number to append suffix to","rest":false,"required":true,"type":"Number"}],"category":"number"},{"name":"$parseInt","version":"1.2.0","description":"Implements native parseInt's function into ForgeScript","unwrap":true,"brackets":true,"output":["Number"],"args":[{"name":"value","description":"The number to parse","rest":false,"required":true,"type":"String"},{"name":"radix","rest":false,"required":false,"description":"Radix to use for the parser","type":"Number"}],"category":"number"},{"name":"$randomNumber","version":"1.0.0","description":"Returns a random number (no cache)","unwrap":true,"output":["Number"],"brackets":true,"args":[{"name":"min","description":"The minimum possible number","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max possible number","rest":false,"type":"Number"},{"name":"decimals","description":"Whether to use decimals","rest":false,"type":"Boolean"}],"category":"number"},{"name":"$separateBigint","version":"1.3.0","description":"Separates thousands in the number","unwrap":true,"output":["String"],"args":[{"name":"number","description":"The number to separate","rest":false,"type":"BigInt","required":true},{"name":"separator","description":"The separator to use","type":"String","rest":false}],"brackets":true,"category":"number"},{"name":"$separateNumber","version":"1.0.0","description":"Separates thousands in the number","unwrap":true,"output":["String"],"args":[{"name":"number","description":"The number to separate","rest":false,"type":"Number","required":true},{"name":"separator","description":"The separator to use","type":"String","rest":false}],"brackets":true,"category":"number"},{"name":"$advancedBar","version":"1.5.0","aliases":["$generateAdvancedBar"],"description":"Generates an advanced progress bar","brackets":true,"unwrap":true,"args":[{"name":"current","description":"The current value","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max value of current","rest":false,"required":true,"type":"Number"},{"name":"length","description":"The length of the bar","rest":false,"type":"Number"},{"name":"values","description":"The values to make the bar with, for example `=;~;#` means `0%;33%;66%`","rest":true,"required":true,"type":"String"}],"output":["String"],"category":"other"},{"name":"$awaitComponent","version":"1.4.0","description":"Awaits a component, executing the code as the interaction context, returns bool depending on whether the interaction was received","unwrap":false,"output":["Boolean"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"Channel"},{"name":"message ID","rest":false,"required":true,"type":"Message","pointer":0,"description":"The message to await component on"},{"name":"filter","description":"The filter to run for every interaction received after this, this is called with interaction context","rest":false,"required":true,"condition":true,"type":"String"},{"name":"success code","description":"The code to execute on success, this is called with interaction context","rest":false,"required":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a component"}],"category":"other"},{"name":"$awaitMessage","version":"1.0.7","description":"Awaits a message, returns message ID or nothing if no valid response","unwrap":false,"output":["Message"],"brackets":true,"args":[{"name":"channel ID","description":"The channel to await message on","rest":false,"required":true,"type":"Channel"},{"name":"variable name","description":"The variable to load the message id that was sent as response by a user, get it with $env[]","rest":false,"required":true,"type":"String"},{"name":"filter","description":"The filter to run for every message sent after this","rest":false,"required":true,"condition":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a message"}],"category":"other"},{"name":"$awaitModalSubmit","version":"1.4.0","description":"Awaits a modal submit, executing the code as the interaction context, returns bool depending on whether the interaction was received","unwrap":false,"output":["Boolean"],"brackets":true,"args":[{"name":"custom ID","description":"The modal's custom id to wait for","rest":false,"required":true,"type":"String"},{"name":"success code","description":"The code to execute on success, this is called with interaction context","rest":false,"required":true,"type":"String"},{"name":"time","rest":false,"required":true,"type":"Time","description":"The max time to wait for a component"}],"category":"other"},{"name":"$bar","version":"1.5.0","description":"Generates a progress bar","aliases":["$generateBar"],"brackets":true,"unwrap":true,"args":[{"name":"current","description":"The current value","rest":false,"required":true,"type":"Number"},{"name":"max","description":"The max value of current","rest":false,"required":true,"type":"Number"},{"name":"length","description":"The length of the bar","rest":false,"type":"Number"},{"name":"fill","description":"The string to use as filled points of the bar","rest":false,"type":"String"},{"name":"empty","description":"The string to use as empty points of the bar","rest":false,"type":"String"},{"name":"trunc","description":"Whether to truncate instead of round","rest":false,"type":"Boolean"},{"name":"fillStart","description":"The string to use as filled start of the bar","rest":false,"type":"String"},{"name":"fillEnd","description":"The string to use as filled end of the bar","rest":false,"type":"String"},{"name":"emptyStart","description":"The string to use as empty start of the bar","rest":false,"type":"String"},{"name":"emptyEnd","description":"The string to use as empty end of the bar","rest":false,"type":"String"}],"output":["String"],"category":"other"},{"name":"$c","version":"1.0.0","description":"Marks any code inside as a comment","unwrap":false,"args":[{"name":"comment","rest":true,"required":true,"description":"The comments","type":"String"}],"brackets":true,"category":"other"},{"name":"$callFunction","version":"1.0.0","description":"Calls a forge function made by the user","unwrap":true,"output":["Unknown"],"args":[{"name":"name","description":"The function name","rest":false,"required":true,"type":"String"},{"name":"args","description":"The args to call this function with","rest":true,"type":"String"}],"brackets":true,"category":"other"},{"name":"$callLocalFunction","version":"2.3.0","description":"Calls a local function","aliases":["$callFn"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The local function name","rest":false,"required":true,"type":"String"},{"name":"args","description":"The args to call this local function with","rest":true,"type":"String"}],"output":["Unknown"],"category":"other"},{"name":"$debug","version":"1.0.0","output":["String"],"description":"Returns the debug message","unwrap":false,"category":"other"},{"name":"$disableConsoleErrors","version":"1.4.0","description":"Disables possible outcoming errors that are output to console","unwrap":false,"category":"other"},{"name":"$djsVersion","version":"2.2.0","description":"Returns the discord.js version used","unwrap":false,"output":["String"],"category":"other"},{"name":"$enableConsoleErrors","version":"1.4.0","description":"Enables possible outcoming errors that are output to console","unwrap":false,"category":"other"},{"name":"$error","version":"1.0.0","description":"Returns the error message","unwrap":false,"output":["Unknown"],"category":"other"},{"name":"$escapeCode","version":"1.4.0","description":"Code inside this function will not be executed","unwrap":false,"brackets":true,"aliases":["$esc"],"args":[{"name":"code","description":"The code to ignore","type":"String","required":true,"rest":false}],"output":["String"],"category":"other"},{"name":"$localFunction","version":"2.3.0","description":"Defines a new local function","aliases":["$fn"],"unwrap":false,"brackets":true,"args":[{"name":"name","description":"The local function name","rest":false,"required":true,"type":"String"},{"name":"code","description":"The local function code","rest":false,"required":true,"type":"String"},{"name":"params","description":"The local function params","rest":true,"type":"String"}],"category":"other"},{"name":"$typeof","version":"2.4.0","description":"Returns the type of the provided argument","unwrap":true,"brackets":true,"args":[{"name":"argument","rest":false,"description":"The argument to get its type","type":"String","required":true}],"output":["String"],"category":"other"},{"name":"$poll","version":"1.5.0","description":"Creates a poll","brackets":true,"args":[{"name":"question","description":"The poll question","rest":false,"required":true,"type":"String"},{"name":"duration","description":"The poll's duration","rest":false,"required":true,"type":"Time"},{"name":"multiselect","description":"Whether to allow multi select","rest":false,"type":"Boolean"},{"name":"layout","description":"The layout for this poll","rest":false,"enum":["Default"],"type":"Enum","enumName":"PollLayoutType"}],"unwrap":true,"category":"poll"},{"name":"$pollAnswer","version":"1.5.0","brackets":true,"unwrap":true,"description":"Add a poll answer","args":[{"name":"text","description":"The answer's text","rest":false,"required":true,"type":"String"},{"name":"emoji","rest":false,"description":"The emoji to use","type":"String"}],"category":"poll"},{"name":"$pollAnswerEmoji","version":"1.5.0","description":"Can only be used in poll events, returns the emoji of the poll answer","unwrap":false,"output":["String"],"category":"poll"},{"name":"$pollAnswerID","version":"1.5.0","description":"Can only be used in poll events, returns the answer id used","unwrap":false,"output":["Number"],"category":"poll"},{"name":"$pollAnswerMessageID","version":"1.5.0","description":"Can only be used in poll events, returns the message id of the poll answer","unwrap":false,"output":["Message"],"category":"poll"},{"name":"$pollAnswerText","version":"1.5.0","description":"Can only be used in poll events, returns the text of the poll answer","unwrap":false,"output":["String"],"category":"poll"},{"name":"$pollAnswerVoteCount","version":"1.5.0","description":"Can only be used in poll events, returns the vote count of this poll answer","unwrap":false,"output":["Number"],"category":"poll"},{"name":"$pollAnswerVoterIDs","version":"1.5.0","description":"Can only be used in poll events, returns the vote user ids of this poll answer","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"category":"poll"},{"name":"$pollAnswers","version":"1.5.0","brackets":true,"unwrap":true,"description":"Adds multiple poll answers","args":[{"name":"text;emoji","description":"The answer's text followed by emoji","rest":true,"required":true,"type":"String"}],"category":"poll"},{"name":"$pollEnd","version":"1.5.0","description":"Ends a poll","aliases":["$endPoll"],"brackets":false,"unwrap":true,"args":[{"name":"channel ID","description":"The channel to get the message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to get the poll","rest":false,"required":true,"type":"Message","pointer":0}],"category":"poll"},{"name":"$reactionAuthorID","version":"1.0.0","description":"Returns the reaction author id that reacted","unwrap":false,"output":["User"],"category":"reaction"},{"name":"$reactionCount","version":"1.5.0","description":"Returns the count of reacted users","unwrap":false,"output":["Number"],"category":"reaction"},{"name":"$reactionEmoji","version":"1.0.0","description":"Returns the emoji that was used","unwrap":false,"output":["String"],"category":"reaction"},{"name":"$reactionEmojiID","version":"1.0.0","description":"Returns the reaction id that was used","unwrap":false,"output":["Emoji"],"category":"reaction"},{"name":"$reactionMessageID","version":"1.0.0","description":"Returns the message id of the reacted message","unwrap":false,"output":["Message"],"category":"reaction"},{"name":"$addRole","version":"1.0.0","description":"Adds a role to a guild, returns role id if success","unwrap":true,"brackets":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to add the role to","rest":false,"type":"Guild","required":true},{"name":"name","description":"The role name","rest":false,"required":true,"type":"String"},{"name":"color","description":"The role color","rest":false,"type":"Color"},{"name":"icon","description":"The role icon","rest":false,"type":"String"},{"name":"hoisted","description":"Whether the role is hoisted","type":"Boolean","rest":false},{"name":"mentionable","description":"Whether the role is mentionable","type":"Boolean","rest":false},{"name":"position","description":"The position for this role","rest":false,"type":"Number"},{"name":"perms","description":"The role perms","rest":true,"enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"type":"String","enumName":"PermissionFlagsBits"}],"category":"role"},{"name":"$cloneRole","version":"2.4.0","description":"Clones an existing role of a guild, returns role id if success","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to fetch role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to clone","rest":false,"required":true,"type":"Role","pointer":0},{"name":"name","description":"The role name for the cloned role","rest":false,"type":"String"}],"output":["Role"],"category":"role"},{"name":"$deleteRoles","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given roles, returns the count of roles deleted","args":[{"name":"guild ID","description":"The guild to delete roles from","rest":false,"required":true,"type":"Guild"},{"name":"roles","description":"The roles to delete","rest":true,"required":true,"pointer":0,"type":"Role"}],"category":"role"},{"name":"$editRole","version":"1.0.7","description":"Edits a role on a guild, returns boolean","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit data","rest":false,"required":true},{"name":"name","description":"The new role name, leave empty to not modify","rest":false,"type":"String"},{"name":"color","description":"The new role color, leave empty to not modify","rest":false,"type":"Color"},{"name":"icon","description":"The new role icon, leave empty to not modify","rest":false,"type":"String"},{"name":"hoisted","description":"Whether the role is hoisted, leave empty to not modify","rest":false,"type":"Boolean"},{"name":"mentionable","description":"Whether the role can be mentioned, leave empty to not modify","rest":false,"type":"Boolean"},{"name":"perms","description":"The new perms for the role","rest":true,"type":"Permission"}],"output":["Boolean"],"category":"role"},{"name":"$editRoleColors","version":"2.5.0","description":"Edits a role's colors, returns boolean","aliases":["$editRoleColor"],"unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","type":"Role","description":"The role to edit colors for","rest":false,"required":true,"pointer":0},{"name":"primary","description":"The new primary color","rest":false,"type":"Color","required":true},{"name":"secondary","description":"The new secondary color","rest":false,"type":"Color"},{"name":"tertiary","description":"The new tertiary color","rest":false,"type":"Color"}],"output":["Boolean"],"category":"role"},{"name":"$editRoleIcon","version":"1.0.7","description":"Edits a role's icon, returns boolean","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit icon for","rest":false,"required":true},{"name":"icon","description":"The new icon for the role, omit to clear","rest":false,"type":"String"}],"category":"role"},{"name":"$editRoleName","version":"1.0.7","description":"Edits a role's name, returns boolean","unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit name for","rest":false,"required":true},{"name":"name","description":"The new name for the role","rest":false,"type":"String","required":true}],"brackets":true,"category":"role"},{"name":"$editRolePerms","version":"1.0.7","description":"Edits a role's permissions, returns boolean","aliases":["$modifyRolePerms"],"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit perms for","rest":false,"required":true},{"name":"perms","description":"The new perms for the role, omit to clear perms","rest":true,"type":"Permission"}],"brackets":true,"category":"role"},{"name":"$editRolePosition","version":"1.0.7","description":"Edits a role's position, returns boolean","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit position for","rest":false,"required":true},{"name":"position","description":"The new position for the role","rest":false,"type":"Number","required":true}],"category":"role"},{"name":"$editRoleUnicodeEmoji","version":"1.5.0","description":"Edits a role's unicode emoji, returns boolean","unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","pointer":0,"type":"Role","description":"The role to edit unicode emoji for","rest":false,"required":true},{"name":"emoji","description":"The new unicode emoji for the role, omit to clear","rest":false,"type":"String"}],"brackets":true,"category":"role"},{"name":"$fetchRoles","version":"2.2.0","description":"Caches all roles of a guild","aliases":["$fetchRole"],"unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to cache roles of","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to fetch","rest":false,"type":"Role","pointer":0}],"category":"role"},{"name":"$randomRoleID","version":"1.5.0","description":"Returns a random role ID of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true}],"output":["Role"],"category":"role"},{"name":"$roleColor","version":"1.0.0","description":"Returns the color of a role","brackets":false,"unwrap":true,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its color","rest":false,"type":"Role","pointer":0,"required":true},{"name":"color","description":"The role color to return","rest":false,"type":"Enum","enum":["Primary","Secondary","Tertiary"],"enumName":"RoleColor"}],"category":"role"},{"name":"$roleCount","version":"1.0.0","description":"Returns the role count of all servers","unwrap":false,"output":["Number"],"category":"role"},{"name":"$roleCreatedAt","version":"1.0.0","description":"Returns the role creation date","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its creation date","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleEditable","version":"1.3.0","description":"Returns whether the role is editable by the bot","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its editable state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleExists","version":"1.0.0","description":"Returns whether a role id exists","unwrap":true,"brackets":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","type":"Guild","rest":false,"required":true},{"name":"role ID","description":"The role to check for","rest":false,"required":true,"type":"String"}],"category":"role"},{"name":"$roleFlags","version":"1.3.0","description":"Returns the role flags","brackets":false,"unwrap":true,"output":["RoleFlags[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its flags","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every flag","type":"String","required":false,"rest":false}],"category":"role"},{"name":"$roleHasAnyPerms","version":"2.6.0","description":"Returns whether the role has any of the specified perms","aliases":["$hasRoleAnyPerms"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to get its perms","rest":false,"required":true,"type":"Role","pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"role"},{"name":"$roleHasPerms","version":"2.6.0","description":"Returns whether the role has all specified perms","aliases":["$hasRolePerms"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to get its perms","rest":false,"required":true,"type":"Role","pointer":0},{"name":"perms","description":"The perms to check for","rest":true,"required":true,"type":"Enum","enum":["CreateInstantInvite","KickMembers","BanMembers","Administrator","ManageChannels","ManageGuild","AddReactions","ViewAuditLog","PrioritySpeaker","Stream","ViewChannel","SendMessages","SendTTSMessages","ManageMessages","EmbedLinks","AttachFiles","ReadMessageHistory","MentionEveryone","UseExternalEmojis","ViewGuildInsights","Connect","Speak","MuteMembers","DeafenMembers","MoveMembers","UseVAD","ChangeNickname","ManageNicknames","ManageRoles","ManageWebhooks","ManageEmojisAndStickers","ManageGuildExpressions","UseApplicationCommands","RequestToSpeak","ManageEvents","ManageThreads","CreatePublicThreads","CreatePrivateThreads","UseExternalStickers","SendMessagesInThreads","UseEmbeddedActivities","ModerateMembers","ViewCreatorMonetizationAnalytics","UseSoundboard","CreateGuildExpressions","CreateEvents","UseExternalSounds","SendVoiceMessages","SetVoiceChannelStatus","SendPolls","UseExternalApps","PinMessages","BypassSlowmode"],"enumName":"PermissionFlagsBits"}],"output":["Boolean"],"category":"role"},{"name":"$roleHoisted","version":"1.0.0","description":"Returns whether the role is hoisted","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its hoisted state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleID","version":"1.0.0","description":"Returns a role id with given name","brackets":false,"unwrap":true,"output":["Role"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"name","description":"The role name to return its id","rest":true,"type":"String","pointer":0,"required":true}],"category":"role"},{"name":"$roleIcon","version":"1.0.0","description":"Returns the role icon","brackets":false,"output":["URL"],"args":[{"name":"guild ID","description":"The guild to retrieve the role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to use to get its icon","rest":false,"required":true,"pointer":0,"type":"Role"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"role"},{"name":"$roleIntColor","version":"1.3.0","description":"Returns the role color as int","brackets":false,"unwrap":true,"output":["Color"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its color","rest":false,"type":"Role","pointer":0,"required":true},{"name":"color","description":"The role color to return","rest":false,"type":"Enum","enum":["Primary","Secondary","Tertiary"],"enumName":"RoleColor"}],"category":"role"},{"name":"$roleManageable","version":"1.3.0","description":"Returns whether the role is managed by discord","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its managed state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleMembers","version":"1.0.0","description":"Returns the role member ids","brackets":false,"unwrap":true,"output":["Member[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its members","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for each member","rest":false,"type":"String"}],"category":"role"},{"name":"$roleMentionable","version":"1.0.0","description":"Returns whether the role is mentionable","brackets":false,"unwrap":true,"output":["Boolean"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its mentionable state","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleName","version":"1.0.0","description":"Returns a role name with given id","brackets":false,"unwrap":true,"output":["String"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its name","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleNames","version":"1.0.0","description":"Returns the role names of a guild","brackets":false,"output":["String[]"],"args":[{"name":"guild ID","description":"The guild to return the roles of","rest":false,"type":"Guild","required":true},{"name":"separator","description":"The separator to use for each role","rest":false,"required":true,"type":"String"}],"unwrap":true,"category":"role"},{"name":"$rolePerms","version":"1.0.0","description":"Returns the role perms","brackets":false,"unwrap":true,"output":["PermissionFlagsBits[]"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its perms","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false},{"name":"return int","description":"Whether to return the perms as bitfield int","type":"Boolean","rest":false}],"category":"role"},{"name":"$rolePosition","version":"1.0.0","description":"Returns the role position","brackets":false,"unwrap":true,"output":["Number"],"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its position","rest":false,"type":"Role","pointer":0,"required":true},{"name":"asc order","description":"Whether to count roles in ascending order (top to bottom)","rest":false,"type":"Boolean"}],"category":"role"},{"name":"$roleRawData","version":"1.5.0","description":"Returns the raw data of a role","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to pull role from","rest":false,"type":"Guild","required":true},{"name":"role ID","rest":false,"required":true,"description":"The role to get raw data from","type":"Role","pointer":0}],"output":["Json"],"category":"role"},{"name":"$roleRawPosition","version":"1.0.0","description":"Returns the role raw position","brackets":false,"output":["Number"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its raw position","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$roleTags","version":"1.3.0","description":"Returns all role tags","brackets":false,"output":["String[]"],"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its perms","rest":false,"type":"Role","pointer":0,"required":true},{"name":"separator","description":"The separator to use for every perm","type":"String","required":false,"rest":false}],"category":"role"},{"name":"$roleUnicodeEmoji","version":"1.3.0","output":["String"],"description":"Returns the unicode emoji used by the role","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to pull the role from","rest":false,"type":"Guild","required":true},{"name":"role ID","description":"The role to return its unicode emote","rest":false,"type":"Role","pointer":0,"required":true}],"category":"role"},{"name":"$createSoundboardSound","version":"2.4.0","description":"Creates a new soundboard sound, returns sound id","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to create soundboard sound on","rest":false,"required":true,"type":"Guild"},{"name":"name","description":"The name for the sound","rest":false,"required":true,"type":"String"},{"name":"file","description":"The file for the sound","rest":false,"required":true,"type":"String"},{"name":"emoji","description":"The emoji for the sound","rest":false,"type":"String"},{"name":"volume","description":"The volume for the sound (from 0 to 1)","rest":false,"type":"Number"},{"name":"reason","description":"The reason for creating the sound","rest":false,"type":"String"}],"output":["SoundboardSound"],"category":"soundboard"},{"name":"$deleteSoundboardSounds","version":"2.4.0","description":"Deletes given soundboard sounds, returns the count of sounds deleted","aliases":["$deleteSoundboardSound"],"brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to delete soundboard sounds from","rest":false,"required":true,"type":"Guild"},{"name":"sounds","description":"The soundboard sounds to delete","rest":true,"required":true,"pointer":0,"type":"SoundboardSound"}],"output":["Number"],"category":"soundboard"},{"name":"$editSoundboardSound","version":"2.4.0","description":"Edits given soundboard sound, returns bool","brackets":true,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to edit soundboard sound on","rest":false,"required":true,"type":"Guild"},{"name":"sound ID","description":"The soundboard sound to edit","rest":false,"required":true,"pointer":0,"type":"SoundboardSound"},{"name":"name","description":"The new name for the sound","rest":false,"type":"String"},{"name":"emoji","description":"The new emoji for the sound","rest":false,"type":"String"},{"name":"volume","description":"The new volume for the sound (from 0 to 1)","rest":false,"type":"Number"},{"name":"reason","description":"The reason for editing the sound","rest":false,"type":"String"}],"output":["Boolean"],"category":"soundboard"},{"name":"$getSoundboardSound","version":"2.4.0","description":"Returns a soundboard sound of a guild","unwrap":true,"brackets":false,"args":[{"name":"guild ID","description":"The guild to get soundboard sound from","rest":false,"required":true,"type":"Guild"},{"name":"sound ID","description":"The soundboard sound to get","rest":false,"required":true,"type":"SoundboardSound","pointer":0},{"name":"property","description":"The property of the sound to return","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"enumName":"SoundboardSoundProperty"}],"output":["Json","Unknown"],"category":"soundboard"},{"name":"$soundAvailable","version":"2.4.0","description":"Returns whether a sound is available","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its available status","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Boolean"],"category":"soundboard"},{"name":"$soundCreatedAt","version":"2.4.0","description":"Returns the creation timestamp of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its creation timestamp","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Number"],"category":"soundboard"},{"name":"$soundEmoji","version":"2.4.0","description":"Returns the emoji of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its emoji","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["String"],"category":"soundboard"},{"name":"$soundGuildID","version":"2.4.0","description":"Returns the guild id of a sound","unwrap":false,"output":["Guild"],"category":"soundboard"},{"name":"$soundID","version":"2.4.0","description":"Returns a sound id with given name","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"name","description":"The sound name to return its id","rest":true,"required":true,"type":"String"}],"output":["SoundboardSound"],"category":"soundboard"},{"name":"$soundName","version":"2.4.0","description":"Returns the name of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its name","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["String"],"category":"soundboard"},{"name":"$soundURL","version":"2.4.0","description":"Returns the url of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its url","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["URL"],"category":"soundboard"},{"name":"$soundUserID","version":"2.4.0","description":"Returns the user who created the sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its creator","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["User"],"category":"soundboard"},{"name":"$soundVolume","version":"2.4.0","description":"Returns the volume of a sound","brackets":false,"unwrap":true,"args":[{"name":"guild ID","description":"The guild to get sound from","rest":false,"type":"Guild","required":true},{"name":"sound ID","description":"The sound to return its volume","rest":false,"required":true,"type":"SoundboardSound","pointer":0}],"output":["Number"],"category":"soundboard"},{"name":"$auditLog","version":"1.0.3","description":"Retrieves new data from an event whose context was an audit log instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","targetID","timestamp","reason","executorID","actionType","targetType","action","changes","extra"],"required":true,"enumName":"AuditProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$bulk","version":"1.4.0","description":"Retrieves data from an event whose context was a bulk delete event","brackets":false,"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["messages","contents","timestamps","attachments","stickers","users","count"],"required":true,"enumName":"BulkProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown","Json"],"category":"state"},{"name":"$effect","version":"2.3.0","description":"Retrieves data from an event whose context was a voice channel effect event","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["emoji","channelID","guildID","userID","soundID","soundVolume","animationID","animationType"],"required":true,"enumName":"VoiceEffectProperty"}],"category":"state"},{"name":"$newAutomodRule","version":"1.5.0","description":"Retrieves new data from an event whose context was an automod rule instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"required":true,"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newChannel","version":"1.0.0","description":"Retrieves new data from an event whose context was a channel instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","url","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked","deletable","manageable","lastMessageID","lastPinTimestamp"],"required":true,"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newEmoji","version":"1.0.0","description":"Retrieves new data from an event whose context was an emoji instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["guildID","name","id","authorID","identifier","requiresColons","roles","managed","timestamp","animated","url","format"],"required":true,"enumName":"EmojiProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newEntitlement","version":"1.5.0","description":"Retrieves new data from an event whose context was an entitlement instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["userID","consumed","guildId","id","skuID","type","endTimestamp","startTimestamp","active","test","guildSubscription","userSubscription"],"required":true,"enumName":"EntitlementProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newGuild","version":"1.0.0","description":"Retrieves new data from an event whose context was a guild instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","ownerID","name","nameAcronym","description","timestamp","features","icon","banner","splash","discoverySplash","afkTimeout","afkChannelID","systemChannelID","systemChannelFlags","publicUpdatesChannelID","safetyAlertsChannelID","rulesChannelID","widgetChannelID","widgetEnabled","bans","roles","emojis","stickers","channels","soundboardSounds","autoModerationRules","memberCount","boostCount","boostLevel","mfaLevel","nsfwLevel","verificationLevel","preferredLocale","large","verified","partnered","maximumMembers","maximumStageBitrate","approximateMemberCount","approximatePresenceCount"],"required":true,"enumName":"GuildProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newInvite","version":"1.0.3","description":"Retrieves new data from an event whose context was an invite instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"required":true,"enumName":"InviteProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newMember","version":"1.0.0","description":"Retrieves new data from an event whose context was a guild member instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","moderatable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newMessage","version":"1.0.0","description":"Retrieves new data from an event whose context was a message instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","type","flags","username","authorID","channelID","threadID","guildID","webhookID","interactionID","interactionType","timestamp","editTimestamp","hasSnapshots","hasThread","hasPoll","system","pinned","tts","url","attachments","stickers","embeds","crosspostable","deletable","editable","pinnable"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newPresence","version":"1.1.0","description":"Retrieves new data from an event whose context was a presence instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","guildID","status","platform"],"required":true,"enumName":"PresenceProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newRole","version":"1.0.0","description":"Retrieves new data from an event whose context was a role instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"required":true,"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newScheduledEvent","version":"1.4.0","description":"Retrieves new data from an event whose context was a scheduled event instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"required":true,"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSound","version":"2.4.0","description":"Retrieves new data from an event whose context was a soundboard sound instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"required":true,"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newStage","version":"1.4.0","description":"Retrieves new data from an event whose context was a stage instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"required":true,"enumName":"StageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newState","version":"1.0.0","description":"Retrieves new data from an event whose context was a voice state instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","guildID","authorID","deaf","selfDeaf","guildDeaf","muted","selfMuted","guildMuted","timestamp","selfVideo","streaming","suppressed"],"required":true,"enumName":"VoiceStateProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSticker","version":"1.4.0","description":"Retrieves new data from an event whose context was a sticker instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","guildID","authorID","timestamp","url","format","available","tags","sortValue","packID","description"],"required":true,"enumName":"StickerProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$newSubscription","version":"2.5.0","description":"Retrieves new data from an event whose context was a subscription instance","brackets":true,"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","status","country","skuIDs","renewalSkuIDs","entitlementIDs","canceledTimestamp","periodEndTimestamp","periodStartTimestamp"],"required":true,"enumName":"SubscriptionProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"state"},{"name":"$newUser","version":"1.0.0","description":"Retrieves new data from an event whose context was a user instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","tag","username","displayName","globalName","discriminator","timestamp","bot","badges","banner","avatar","avatarDecoration","defaultAvatar","accentColor","dmChannelID","primaryGuildTag","primaryGuildBadge","primaryGuildEnabled","primaryGuildID"],"required":true,"enumName":"UserProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldAutomodRule","version":"1.5.0","description":"Retrieves old data from an event whose context was an automod rule instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","authorID","enabled","eventType","triggerType","triggerMetadata","exemptRoles","exemptChannels","actions","keywordFilter","regexPatterns","presets","allowList","mentionTotalLimit","mentionRaidProtectionEnabled"],"required":true,"enumName":"AutomodRuleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldChannel","version":"1.0.0","description":"Retrieves old data from an event whose context was a channel instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","type","topic","bitrate","members","timestamp","url","nsfw","flags","parentID","position","rawPosition","slowmode","appliedTags","availableTags","archived","locked","deletable","manageable","lastMessageID","lastPinTimestamp"],"required":true,"enumName":"ChannelProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldEmoji","version":"1.0.0","description":"Retrieves old data from an event whose context was an emoji instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["guildID","name","id","authorID","identifier","requiresColons","roles","managed","timestamp","animated","url","format"],"required":true,"enumName":"EmojiProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldEntitlement","version":"1.5.0","description":"Retrieves old data from an event whose context was an entitlement instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["userID","consumed","guildId","id","skuID","type","endTimestamp","startTimestamp","active","test","guildSubscription","userSubscription"],"required":true,"enumName":"EntitlementProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldGuild","version":"1.0.0","description":"Retrieves old data from an event whose context was a guild instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","ownerID","name","nameAcronym","description","timestamp","features","icon","banner","splash","discoverySplash","afkTimeout","afkChannelID","systemChannelID","systemChannelFlags","publicUpdatesChannelID","safetyAlertsChannelID","rulesChannelID","widgetChannelID","widgetEnabled","bans","roles","emojis","stickers","channels","soundboardSounds","autoModerationRules","memberCount","boostCount","boostLevel","mfaLevel","nsfwLevel","verificationLevel","preferredLocale","large","verified","partnered","maximumMembers","maximumStageBitrate","approximateMemberCount","approximatePresenceCount"],"required":true,"enumName":"GuildProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldInvite","version":"1.0.3","description":"Retrieves old data from an event whose context was an invite instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["authorID","channelID","guildID","uses","maxUses","maxAge","timestamp","code","url","type","expiresTimestamp","temporary","deletable","memberCount","presenceCount","targetType","targetUser"],"required":true,"enumName":"InviteProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldMember","version":"1.0.0","description":"Retrieves old data from an event whose context was a guild member instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["nickname","displayName","displayColor","roles","flags","mention","avatar","banner","bannable","kickable","guildID","id","manageable","moderatable","timeout","timedOutUntil","status","addedRoles","roleCount","removedRoles","platform","timestamp","boosting","boostingSince","permissions","avatarDecoration"],"required":true,"enumName":"MemberProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldMessage","version":"1.0.0","description":"Retrieves old data from an event whose context was a message instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","content","type","flags","username","authorID","channelID","threadID","guildID","webhookID","interactionID","interactionType","timestamp","editTimestamp","hasSnapshots","hasThread","hasPoll","system","pinned","tts","url","attachments","stickers","embeds","crosspostable","deletable","editable","pinnable"],"required":true,"enumName":"MessageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldPresence","version":"1.1.0","description":"Retrieves old data from an event whose context was a presence instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","guildID","status","platform"],"required":true,"enumName":"PresenceProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldRole","version":"1.0.0","description":"Retrieves old data from an event whose context was a role instance","brackets":true,"output":["Unknown"],"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","icon","color","hoisted","managed","mentionable","rawPosition","position","timestamp","permissions","tags","members","unicodeEmoji","secondaryColor","tertiaryColor"],"required":true,"enumName":"RoleProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldScheduledEvent","version":"1.4.0","description":"Retrieves old data from an event whose context was a scheduled event instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","guildID","channelID","name","userCount","description","startTimestamp","endTimestamp","timestamp","url","cover","entityID","location","entityType","privacyLevel","status"],"required":true,"enumName":"ScheduledEventProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSound","version":"2.4.0","description":"Retrieves old data from an event whose context was a soundboard sound instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["name","id","guildID","userID","emoji","volume","timestamp","available","url"],"required":true,"enumName":"SoundboardSoundProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldStage","version":"1.4.0","description":"Retrieves old data from an event whose context was a stage instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","id","topic","timestamp","guildID","privacyLevel","eventId"],"required":true,"enumName":"StageProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldState","version":"1.0.0","description":"Retrieves old data from an event whose context was a voice state instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["channelID","guildID","authorID","deaf","selfDeaf","guildDeaf","muted","selfMuted","guildMuted","timestamp","selfVideo","streaming","suppressed"],"required":true,"enumName":"VoiceStateProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSticker","version":"1.4.0","description":"Retrieves old data from an event whose context was a sticker instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","name","guildID","authorID","timestamp","url","format","available","tags","sortValue","packID","description"],"required":true,"enumName":"StickerProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$oldSubscription","version":"2.5.0","description":"Retrieves old data from an event whose context was a subscription instance","brackets":true,"unwrap":true,"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","userID","status","country","skuIDs","renewalSkuIDs","entitlementIDs","canceledTimestamp","periodEndTimestamp","periodStartTimestamp"],"required":true,"enumName":"SubscriptionProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"output":["Unknown"],"category":"state"},{"name":"$oldUser","version":"1.0.0","description":"Retrieves old data from an event whose context was a user instance","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["id","tag","username","displayName","globalName","discriminator","timestamp","bot","badges","banner","avatar","avatarDecoration","defaultAvatar","accentColor","dmChannelID","primaryGuildTag","primaryGuildBadge","primaryGuildEnabled","primaryGuildID"],"required":true,"enumName":"UserProperty"},{"name":"separator","description":"The separator to use in case of array","rest":false,"type":"String"}],"category":"state"},{"name":"$voiceServer","version":"2.7.0","description":"Retrieves data from an event whose context was a voice server update event","brackets":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"property","description":"The property to pull","rest":false,"type":"Enum","enum":["guildID","endpoint","token"],"required":true,"enumName":"VoiceServerProperty"}],"category":"state"},{"name":"$async","version":"1.0.0","description":"Runs code asynchronously, will not return any value","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"type":"String","required":true}],"experimental":true,"category":"statement"},{"name":"$break","version":"1.0.3","description":"Breaks the loop","unwrap":false,"category":"statement"},{"name":"$case","version":"1.0.3","description":"Adds a switch case","brackets":true,"experimental":true,"unwrap":true,"output":["Unknown"],"args":[{"name":"value","description":"The match case","rest":false,"required":true,"type":"String"},{"name":"code","description":"Code to execute if it matches this case","rest":false,"required":true,"type":"String"}],"category":"statement"},{"name":"$continue","version":"1.0.3","description":"Skips executing bottom code of the loop","unwrap":false,"category":"statement"},{"name":"$default","version":"1.0.6","brackets":true,"unwrap":true,"description":"Returns right hand value if the left hand value is falsy","args":[{"name":"left hand","description":"Left hand value","rest":false,"required":true,"type":"String"},{"name":"right hand","description":"Right hand value","rest":false,"required":true,"type":"String"}],"output":["String"],"category":"statement"},{"name":"$else","version":"1.2.0","description":"Creates an else statement","unwrap":true,"output":["Unknown"],"args":[{"name":"else","description":"The code to run","required":true,"type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$elseIf","version":"1.2.0","description":"Creates an else if statement","unwrap":false,"output":["Unknown"],"args":[{"name":"condition","description":"The condition to check against","rest":false,"type":"String","condition":true},{"name":"if true","description":"The code to run if true","required":true,"type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$if","version":"1.0.0","description":"Creates an if statement","unwrap":false,"output":["Unknown"],"args":[{"name":"condition","description":"The condition to check against","rest":false,"type":"String","condition":true},{"name":"if true","description":"The code to run if true","required":true,"type":"String","rest":false},{"name":"if false","description":"The code to run if false","type":"String","rest":false}],"brackets":true,"category":"statement"},{"name":"$ifx","version":"1.2.0","description":"WIP if statements","brackets":true,"unwrap":false,"args":[{"name":"block","description":"The if, elseif, else blocks","rest":false,"required":true,"type":"String"}],"experimental":true,"category":"statement"},{"name":"$loop","version":"1.4.0","description":"Executes given code for N times","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"times","description":"How many times to run the code","rest":false,"required":true,"type":"Number"},{"name":"code","rest":false,"required":true,"type":"String","description":"The code to execute"},{"name":"variable","description":"The variable to load the current iteration count for $env","rest":false,"type":"String"},{"name":"asc","description":"Whether to use asc order for iteration count","rest":false,"type":"Boolean"}],"category":"statement"},{"name":"$return","version":"1.0.0","description":"Returns a value","unwrap":true,"output":["Unknown"],"args":[{"name":"value","description":"The value to return","rest":false,"required":true,"type":"String"}],"brackets":false,"category":"statement"},{"name":"$scope","version":"1.4.0","description":"Runs functions in a cloned context","brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"sync vars","description":"Whether to pass vars as reference","type":"Boolean","rest":false}],"unwrap":false,"output":["Unknown"],"category":"statement"},{"name":"$switch","version":"1.0.3","description":"Switch-case statement for javascript","unwrap":false,"experimental":true,"output":["Unknown"],"args":[{"name":"value","description":"The value to match with","rest":false,"required":true,"type":"String"},{"name":"cases","rest":false,"description":"The cases to use ($case), use $case[default;...] to add a default case","type":"String","required":true}],"brackets":true,"category":"statement"},{"name":"$try","version":"1.0.0","experimental":true,"description":"Handles a possible error from given code","unwrap":false,"args":[{"name":"code","rest":false,"type":"String","required":true,"description":"The code to safely execute"},{"name":"catch code","description":"The code to run in case of an error","rest":false,"type":"String"},{"name":"variable","description":"Variable to load the error message to","rest":false,"type":"String"}],"brackets":true,"category":"statement"},{"name":"$while","version":"1.0.3","description":"Executes code while a condition is true","unwrap":false,"brackets":true,"experimental":true,"args":[{"name":"condition","condition":true,"description":"The condition to validate","rest":false,"required":true,"type":"String"},{"name":"code","rest":false,"required":true,"type":"String","description":"The code to execute"}],"category":"statement"},{"name":"$addSticker","version":"1.0.0","description":"Adds a sticker to a guild, returns sticker id","unwrap":true,"output":["Sticker"],"brackets":true,"args":[{"name":"guild ID","description":"The guild to add the sticker to","rest":false,"type":"Guild","required":true},{"name":"url","description":"The url or file path for this sticker","rest":false,"required":true,"type":"String"},{"name":"name","description":"The sticker name","rest":false,"type":"String","required":true},{"name":"tags","description":"The tags to use for this sticker","type":"String","required":true,"rest":false},{"name":"description","description":"The description for the sticker","rest":false,"type":"String"}],"category":"sticker"},{"name":"$deleteStickers","version":"1.0.0","brackets":true,"unwrap":true,"output":["Number"],"description":"Deletes given stickers, returns the count of stickers deleted","args":[{"name":"guild ID","description":"The guild to delete stickers from","rest":false,"required":true,"type":"Guild"},{"name":"stickers","description":"The stickers to delete","rest":true,"required":true,"pointer":0,"type":"String"}],"category":"sticker"},{"name":"$editSticker","version":"1.4.0","description":"Edits a sticker on a guild, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"name","description":"The new name for the sticker","rest":false,"type":"String"},{"name":"description","description":"The new description for the sticker","rest":false,"type":"String"},{"name":"tags","description":"The new tags for the sticker","rest":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerDescription","version":"1.4.0","description":"Sets a sticker's description, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"description","description":"The new description for the sticker","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerName","version":"1.4.0","description":"Sets a sticker's name, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"name","description":"The new name for the sticker","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$setStickerTags","version":"1.4.0","description":"Sets a sticker's tags, returns bool","brackets":true,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to edit","rest":false,"required":true,"type":"Sticker"},{"name":"tags","description":"The new tags for the sticker","rest":true,"required":true,"type":"String"}],"output":["Boolean"],"category":"sticker"},{"name":"$stickerAvailable","version":"1.4.0","description":"Returns whether a sticker is available","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get availability of","rest":false,"required":true,"type":"Sticker"}],"output":["Boolean"],"category":"sticker"},{"name":"$stickerCreatedAt","version":"1.4.0","description":"Returns a sticker's creation timestamp","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull timestamp of","rest":false,"required":true,"type":"Sticker"}],"output":["Number"],"category":"sticker"},{"name":"$stickerDescription","version":"1.4.0","description":"Returns a sticker's description","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull description of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerFormat","version":"1.4.0","description":"Returns a sticker's format","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get format of","rest":false,"required":true,"type":"Sticker"}],"output":["StickerFormatType"],"category":"sticker"},{"name":"$stickerGuildID","version":"1.4.0","description":"Returns a sticker's guild id","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull guild of","rest":false,"required":true,"type":"Sticker"}],"output":["Guild"],"category":"sticker"},{"name":"$stickerID","version":"1.4.0","description":"Returns the sticker id","unwrap":false,"output":["Sticker"],"category":"sticker"},{"name":"$stickerName","version":"1.4.0","description":"Returns a sticker name","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull name of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerOwnerID","version":"1.4.0","description":"Returns the user who added the sticker","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull owner of","rest":false,"required":true,"type":"Sticker"}],"output":["User"],"category":"sticker"},{"name":"$stickerPackID","version":"1.4.0","description":"Returns a sticker's pack id","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull pack of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerRawData","version":"1.5.0","description":"Returns the raw data of a sticker","unwrap":true,"brackets":false,"args":[{"name":"sticker ID","rest":false,"required":true,"description":"The sticker to get raw data from","type":"Sticker"}],"output":["Json"],"category":"sticker"},{"name":"$stickerSortValue","version":"1.4.0","description":"Returns a sticker's sort value","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get sort value of","rest":false,"required":true,"type":"Sticker"}],"output":["Number"],"category":"sticker"},{"name":"$stickerTags","version":"1.4.0","description":"Returns a sticker's tags","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull tags of","rest":false,"required":true,"type":"Sticker"}],"output":["String"],"category":"sticker"},{"name":"$stickerType","version":"1.4.0","description":"Returns the sticker's type","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to get type of","rest":false,"required":true,"type":"Sticker"}],"output":["StickerType"],"category":"sticker"},{"name":"$stickerURL","version":"2.3.0","description":"Returns a sticker url","brackets":false,"unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to pull url of","rest":false,"required":true,"type":"Sticker"}],"output":["URL"],"category":"sticker"},{"name":"$advancedReplace","version":"1.5.0","aliases":["$advancedReplaceText"],"output":["String"],"description":"Replaces text in a string multiple times","unwrap":true,"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match;replacement","description":"The text to match and their replacement","required":true,"rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$argCount","version":"1.0.0","description":"Counts the number of args in a message","aliases":["$argsCount"],"unwrap":true,"brackets":false,"output":["Number"],"args":[{"name":"text","description":"Text to count arguments","required":true,"rest":false,"type":"String"}],"category":"string"},{"name":"$charCodeAt","version":"1.0.6","description":"Returns the char code at given index","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"message","description":"The string to get char code of","rest":false,"required":true,"type":"String"},{"name":"index","description":"The index to get its char code","type":"Number","rest":false,"required":true}],"category":"string"},{"name":"$charCount","version":"1.0.0","aliases":["$textLength"],"description":"Gets the char count of a text","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"text","description":"The text to get its length","rest":false,"type":"String","required":true},{"name":"char","description":"The character to count in the text","rest":false,"type":"String"}],"category":"string"},{"name":"$checkContains","version":"1.0.0","aliases":["$includes"],"output":["Boolean"],"description":"Checks whether a string contains a set of other strings","unwrap":true,"args":[{"name":"text","description":"The text to check on","required":true,"rest":false,"type":"String"},{"name":"matches","description":"The list of strings to try match","rest":true,"type":"String","required":true}],"brackets":true,"category":"string"},{"name":"$cropArgs","version":"1.4.0","description":"Crops given args","brackets":true,"output":["String"],"args":[{"name":"args","description":"The args to crop","rest":false,"required":true,"type":"String"},{"name":"start index","description":"The start index to start cropping","rest":false,"required":true,"type":"Number"},{"name":"end index","description":"The end index to finish cropping","rest":false,"type":"Number"}],"unwrap":true,"category":"string"},{"name":"$cropText","version":"1.0.3","description":"Crops given text","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to crop","rest":false,"required":true,"type":"String"},{"name":"start index","description":"The start index to start cropping","rest":false,"required":true,"type":"Number"},{"name":"end index","description":"The end index to finish cropping","rest":false,"type":"Number"},{"name":"ending","description":"Add extra text to the end","rest":false,"type":"String"}],"unwrap":true,"category":"string"},{"name":"$endsWith","version":"1.0.0","description":"Checks whether given string ends with X string","unwrap":true,"output":["Boolean"],"args":[{"name":"string","description":"The string to check against","type":"String","rest":false,"required":true},{"name":"values","required":true,"description":"The values to match at the end","rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$fromCharCode","version":"1.0.6","description":"Returns the characters from given codes","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"codes","description":"The codes to get its char codes","type":"Number","rest":true,"required":true}],"category":"string"},{"name":"$localeCompare","version":"2.7.0","description":"Compares two strings, returns their relative order","unwrap":true,"brackets":true,"args":[{"name":"first","description":"The first string to compare","type":"String","rest":false,"required":true},{"name":"second","description":"The second string to compare against first string","required":true,"rest":false,"type":"String"}],"output":["Number"],"category":"string"},{"name":"$padEnd","version":"1.0.6","description":"Pads a string at the end","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to pad at the end","rest":false,"required":true,"type":"String"},{"name":"max length","description":"The max length of the string","rest":false,"required":true,"type":"Number"},{"name":"filler","description":"The filler to use to pad","rest":false,"type":"String"}],"category":"string"},{"name":"$padStart","version":"1.0.6","description":"Pads a string at the start","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to pad at the start","rest":false,"required":true,"type":"String"},{"name":"max length","description":"The max length of the string","rest":false,"required":true,"type":"Number"},{"name":"filler","description":"The filler to use to pad","rest":false,"type":"String"}],"category":"string"},{"name":"$randomString","version":"1.2.0","description":"Creates a random string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"length","description":"The length of the random string","rest":false,"required":true,"type":"Number"},{"name":"characters","description":"The characters to use for this string","rest":false,"required":false,"type":"String"}],"category":"string"},{"name":"$randomText","version":"1.0.0","description":"Returns a random text (no cache)","unwrap":true,"brackets":true,"output":["String"],"args":[{"name":"texts","description":"The texts to use","rest":true,"required":true,"type":"String"}],"category":"string"},{"name":"$randomUUID","version":"1.2.0","description":"Returns a random uuid","unwrap":false,"output":["String"],"category":"string"},{"name":"$repeat","version":"1.1.0","aliases":["$repeatText"],"description":"Repeats given text for x times","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to repeat","type":"String","rest":false,"required":true},{"name":"amount","rest":false,"required":true,"type":"Number","description":"How many times to repeat this text"}],"category":"string"},{"name":"$replace","version":"1.0.0","aliases":["$replaceText"],"output":["String"],"description":"Replace text in a string","unwrap":true,"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match","description":"Text to match in base","rest":false,"required":true,"type":"String"},{"name":"new value","description":"The text to replace matches with","type":"String","rest":false,"required":true},{"name":"amount","description":"How many times to perform this replacement","rest":false,"type":"Number"}],"brackets":true,"category":"string"},{"name":"$replaceRegex","version":"1.0.0","description":"Replace text in a string using regex","unwrap":true,"output":["String"],"args":[{"name":"text","description":"The base text","rest":false,"required":true,"type":"String"},{"name":"match","description":"Regex to match in base","rest":false,"required":true,"type":"String","pointer":2},{"name":"flags","description":"The flags to use for the regex","rest":false,"required":true,"type":"String"},{"name":"new value","description":"The text to replace matches with","type":"String","rest":false,"required":true},{"name":"amount","description":"How many times to perform this replacement","rest":false,"type":"Number"}],"brackets":true,"category":"string"},{"name":"$reverseText","version":"1.5.0","description":"Reverses given text","aliases":["$reverse"],"brackets":true,"unwrap":true,"args":[{"name":"string","description":"The string to use","rest":false,"required":true,"type":"String"}],"output":["String"],"category":"string"},{"name":"$sliceText","version":"1.3.0","description":"Slices given text","brackets":true,"output":["String"],"args":[{"name":"text","description":"The text to slice","rest":false,"required":true,"type":"String"},{"name":"start","description":"The start index","rest":false,"required":false,"type":"Number"},{"name":"end","description":"The end index","rest":false,"required":false,"type":"Number"}],"unwrap":true,"category":"string"},{"name":"$snowflake","version":"1.4.0","description":"Generates a snowflake, this value will never clash","unwrap":false,"output":["String"],"category":"string"},{"name":"$startsWith","version":"1.0.0","description":"Checks whether given string starts with X string","unwrap":true,"output":["Boolean"],"args":[{"name":"string","description":"The string to check against","type":"String","rest":false,"required":true},{"name":"values","required":true,"description":"The values to match at the start","rest":true,"type":"String"}],"brackets":true,"category":"string"},{"name":"$toCamelCase","version":"1.0.6","description":"Converts a string to camel case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn camel case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toKebabCase","version":"1.0.6","description":"Converts a string to kebab case","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"message","description":"The string to turn kebab case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toLowerCase","version":"1.0.0","description":"Makes a string lowercase","unwrap":true,"output":["String"],"args":[{"name":"string","description":"The string to turn lowercase","type":"String","rest":true,"required":true}],"brackets":true,"category":"string"},{"name":"$toSnakeCase","version":"1.0.6","description":"Converts a string to snake case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn snake case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toTitleCase","version":"1.0.6","description":"Converts a string to title case","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"message","description":"The string to turn title case","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$toUpperCase","version":"1.0.0","description":"Makes a string uppercase","unwrap":true,"output":["String"],"args":[{"name":"string","description":"The string to turn uppercase","type":"String","rest":true,"required":true}],"brackets":true,"category":"string"},{"name":"$trim","version":"1.0.6","aliases":["$trimSpace"],"description":"Trims a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimEnd","version":"1.0.6","description":"Trims at the end of a string","brackets":true,"output":["String"],"unwrap":true,"args":[{"name":"text","description":"The text to trim at the end","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimLines","version":"1.5.0","description":"Trims empty lines from a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim empty lines","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$trimStart","version":"1.0.6","description":"Trims at the start of a string","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"text","description":"The text to trim at the start","rest":false,"required":true,"type":"String"}],"category":"string"},{"name":"$cpu","version":"1.0.0","description":"Returns the cpu usage of the host (not accurate)","aliases":["$cpuUsage"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$cpuArch","version":"1.0.7","output":["String"],"description":"Returns the cpu architecture","unwrap":false,"category":"system"},{"name":"$cpuCores","version":"1.0.7","output":["Number"],"description":"Returns the amount of cpu cores","unwrap":false,"category":"system"},{"name":"$cpuModel","version":"1.0.7","description":"Returns the cpu model","unwrap":false,"output":["String"],"category":"system"},{"name":"$cpuSpeed","version":"1.0.7","description":"Returns the cpu speed in MHz","unwrap":false,"output":["Number"],"category":"system"},{"name":"$networkCardIPs","version":"1.2.0","description":"Returns your network's card ips","unwrap":true,"output":["String[]"],"brackets":false,"args":[{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"system"},{"name":"$networkCardNames","version":"1.2.0","description":"Returns your network's card names","unwrap":true,"output":["String[]"],"brackets":false,"args":[{"name":"separator","description":"The separator to use","rest":false,"required":true,"type":"String"}],"category":"system"},{"name":"$nodeVersion","version":"1.0.0","description":"Returns the node version","unwrap":false,"output":["String"],"category":"system"},{"name":"$os","version":"1.0.7","description":"Returns the operating system name","unwrap":false,"output":["String"],"category":"system"},{"name":"$osUptime","version":"1.0.7","description":"Returns the operating system uptime (seconds)","unwrap":false,"output":["Number"],"category":"system"},{"name":"$ram","version":"1.0.0","description":"Returns the current ram usage in MB","aliases":["$memory","$ramUsage"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$ramTotal","version":"2.2.0","description":"Returns the maximum total ram capacity of the system in GB","aliases":["$memoryTotal","$maxRam"],"unwrap":false,"output":["Number"],"category":"system"},{"name":"$calendarDay","version":"1.5.0","description":"Returns the calendar day","unwrap":false,"output":["Number"],"category":"time"},{"name":"$calendarWeek","version":"1.5.0","description":"Returns the calendar week","unwrap":false,"output":["Number"],"category":"time"},{"name":"$clearInterval","version":"2.3.0","description":"Clears an active interval, returns bool","aliases":["$stopInterval"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The name of the interval","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"time"},{"name":"$clearTimeout","version":"2.3.0","description":"Clears an active timeout, returns bool","aliases":["$stopTimeout"],"unwrap":true,"brackets":true,"args":[{"name":"name","description":"The name of the timeout","rest":false,"required":true,"type":"String"}],"output":["Boolean"],"category":"time"},{"name":"$day","version":"1.2.0","description":"Returns current day of month","aliases":["$dayOfMonth"],"unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the day","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["String"],"category":"time"},{"name":"$discordTimestamp","version":"1.4.0","description":"Creates a discord timestamp","unwrap":true,"brackets":true,"args":[{"name":"time","description":"The time to turn into timestamp","rest":false,"required":true,"type":"Time"},{"name":"style","rest":false,"required":true,"enum":["ShortTime","MediumTime","LongTime","ShortDate","LongDate","LongDateShortTime","ShortDateTime","FullDateShortTime","LongDateTime","ShortDateShortTime","ShortDateMediumTime","RelativeTime"],"type":"Enum","description":"The timestamp style","enumName":"TimestampStyles"}],"output":["String"],"category":"time"},{"name":"$executionTime","version":"1.0.3","description":"Returns current execution time","unwrap":false,"output":["Number"],"category":"time"},{"name":"$getTimestamp","version":"1.0.0","description":"Gets the current timestamp","unwrap":false,"output":["Number"],"category":"time"},{"name":"$hour","version":"1.2.0","description":"Returns current hour","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the hour","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$minute","version":"1.2.0","description":"Returns current minute","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the minute","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$month","version":"1.2.0","description":"Returns current month","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the month","rest":false,"type":"Enum","enum":["Numeric","TwoDigit","Long","Short","Narrow"],"enumName":"ExtendedTimeFormat"}],"output":["String"],"category":"time"},{"name":"$parseDate","version":"1.0.2","description":"Parses valid ms to a date","brackets":true,"output":["Date"],"args":[{"name":"ms","description":"The ms to convert to date","rest":false,"type":"Number","required":true},{"name":"type","description":"The date type","enum":["LocaleDate","LocaleTime","Locale","Date","ISO","UTC","Time"],"rest":false,"required":true,"type":"Enum","enumName":"DateType"}],"unwrap":true,"category":"time"},{"name":"$parseDigital","version":"1.5.0","description":"Parses given ms to digital format","brackets":true,"unwrap":true,"output":["String"],"args":[{"name":"ms","description":"The ms to convert to digital format","rest":false,"type":"Number","required":true}],"category":"time"},{"name":"$parseMS","version":"1.0.2","description":"Parses valid ms to duration","brackets":true,"output":["String"],"args":[{"name":"ms","description":"The ms to convert to string","rest":false,"type":"Number","required":true},{"name":"limit","description":"Limit of units to use","rest":false,"type":"Number"},{"name":"separator","description":"The separator to use for every unit","rest":false,"type":"String"},{"name":"and","rest":false,"description":"Whether to use and word for last unit","type":"Boolean"}],"unwrap":true,"category":"time"},{"name":"$parseString","version":"1.0.2","description":"Parses valid duration string to ms","brackets":true,"output":["Number"],"args":[{"name":"duration","description":"The valid string to convert to ms","rest":false,"type":"String","required":true}],"unwrap":true,"category":"time"},{"name":"$second","version":"1.2.0","description":"Returns current second","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the second","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$setCalendar","version":"1.5.0","description":"Sets the calendar for time functions","aliases":["$calendar"],"unwrap":true,"brackets":true,"experimental":true,"args":[{"name":"type","description":"The calendar type to use","rest":false,"type":"Enum","enum":["Buddhist","Chinese","Coptic","Dangi","Ethioaa","Ethiopic","Gregory","Hebrew","Indian","Islamic","IslamicUmalqura","IslamicTbla","IslamicCivil","IslamicRgsa","Iso8601","Japanese","Persian","Roc"],"required":true,"enumName":"CalendarType"}],"category":"time"},{"name":"$setInterval","version":"1.0.2","description":"Executes code after given duration until canceled","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"time","description":"How long to wait for before running this code","rest":false,"type":"Time"},{"name":"name","description":"The name for this interval","rest":false,"type":"String"}],"category":"time"},{"name":"$setTimeout","version":"1.0.2","description":"Executes code after given duration","unwrap":false,"brackets":true,"args":[{"name":"code","description":"The code to execute","rest":false,"required":true,"type":"String"},{"name":"time","description":"How long to wait for before running this code","rest":false,"type":"Time"},{"name":"name","description":"The name for this timeout","rest":false,"type":"String"}],"category":"time"},{"name":"$setTimezone","version":"1.5.0","aliases":["$timezone"],"description":"Sets the timezone for time functions","unwrap":true,"brackets":true,"args":[{"name":"timezone","description":"The timezone to set","rest":false,"type":"String","required":true}],"category":"time"},{"name":"$unparseDate","version":"1.2.0","description":"Unparses given date to ms","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"date","description":"The date to get its ms","type":"Date","rest":false,"required":true}],"category":"time"},{"name":"$unparseDigital","version":"1.5.0","description":"Unparses given digital format to ms","brackets":true,"unwrap":true,"output":["Number"],"args":[{"name":"digital","description":"The digital format to convert to ms","rest":false,"type":"String","required":true}],"category":"time"},{"name":"$wait","version":"1.0.0","description":"Delays the code below for x milliseconds","brackets":true,"unwrap":true,"args":[{"name":"duration","description":"The duration to wait for","rest":false,"type":"Time","required":true}],"category":"time"},{"name":"$week","version":"1.5.0","description":"Returns current week of month","unwrap":false,"output":["Number"],"category":"time"},{"name":"$weekday","version":"2.3.0","description":"Returns current day of week","aliases":["$dayOfWeek"],"unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the day","rest":false,"type":"Enum","enum":["Numeric","TwoDigit","Long","Short","Narrow"],"enumName":"ExtendedTimeFormat"}],"output":["String"],"category":"time"},{"name":"$year","version":"1.2.0","description":"Returns current year","unwrap":true,"brackets":false,"args":[{"name":"format","description":"The format of the year","rest":false,"type":"Enum","enum":["Numeric","TwoDigit"],"enumName":"BasicTimeFormat"}],"output":["Number"],"category":"time"},{"name":"$api","version":"1.5.0","description":"Sends a discord api request, using a discord-api-types route","unwrap":true,"aliases":["$discordAPI"],"args":[{"name":"route name","description":"Route name, like so `channel`","type":"String","rest":false},{"name":"route method","description":"Route method, like so `get`","type":"String","rest":false,"required":true},{"name":"route params;body","description":"Parameters for this route, body has to be json","rest":true,"required":true,"type":"String"}],"output":["Unknown"],"brackets":true,"category":"unsafe"},{"name":"$coroutine","version":"1.2.0","description":"Runs given code in a separate thread","experimental":true,"unwrap":false,"args":[{"name":"code","description":"The code to run","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"unsafe"},{"name":"$djsEval","version":"1.0.0","aliases":["$js"],"description":"Evaluates JavaScript code","unwrap":true,"output":["Unknown"],"args":[{"name":"code","description":"The code to eval","rest":true,"required":true,"type":"String"}],"brackets":true,"category":"unsafe"},{"name":"$eval","version":"1.0.0","description":"Evaluates given code","unwrap":true,"output":["Unknown"],"brackets":true,"args":[{"name":"code","type":"String","rest":false,"required":true,"description":"The code to eval"},{"name":"send","type":"Boolean","rest":false,"description":"Whether to send as new message"}],"category":"unsafe"},{"name":"$exec","version":"1.0.0","brackets":true,"description":"Runs a command in console","unwrap":true,"output":["Unknown"],"args":[{"name":"command","description":"The command to execute","rest":false,"type":"String","required":true}],"category":"unsafe"},{"name":"$function","version":"1.0.0","description":"Runs a function","unwrap":false,"experimental":true,"output":["Unknown"],"args":[{"name":"code","description":"Code to execute","required":true,"type":"String","rest":true}],"brackets":true,"category":"unsafe"},{"name":"$gc","version":"1.5.0","description":"Triggers JavaScript's garbage collector, only available if passed --expose-gc flag to node","unwrap":false,"output":["Boolean"],"category":"unsafe"},{"name":"$instanceName","version":"1.4.0","aliases":["$instance","$contextInstance"],"description":"Returns the context's instance name","output":["String"],"unwrap":false,"category":"unsafe"},{"name":"$loadChannelContext","version":"1.4.0","aliases":["$useChannelContext","$asChannelContext"],"brackets":true,"description":"Loads a channel instance to the current context, this is not reversible and is adviced to use with $scope","unwrap":true,"args":[{"name":"channel ID","description":"The channel to adapt context with","rest":false,"required":true,"type":"Channel"}],"category":"unsafe"},{"name":"$loadEmojiContext","version":"2.7.0","description":"Loads an emoji instance to the current context, this is not reversible and is adviced to use with $scope","aliases":["$useEmojiContext","$asEmojiContext"],"brackets":true,"unwrap":true,"args":[{"name":"emoji ID","description":"The emoji to adapt context with","rest":false,"required":true,"type":"Emoji"}],"category":"unsafe"},{"name":"$loadGuildContext","version":"1.4.0","aliases":["$useGuildContext","$asGuildContext"],"brackets":true,"description":"Loads a guild instance to the current context, this is not reversible and is adviced to use with $scope","unwrap":true,"args":[{"name":"guild ID","description":"The guild to adapt context with","rest":false,"required":true,"type":"Guild"}],"category":"unsafe"},{"name":"$loadMemberContext","version":"1.4.0","aliases":["$useMemberContext","$asMemberContext"],"description":"Loads a member instance to the current context, this is not reversible and is adviced to use with $scope","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull member from","rest":false,"required":true,"type":"Guild"},{"name":"member ID","description":"The member to adapt context with","rest":false,"required":true,"type":"Member","pointer":0}],"category":"unsafe"},{"name":"$loadMessageContext","version":"1.4.0","aliases":["$useMessageContext","$asMessageContext"],"description":"Loads a message instance to the current context, this is not reversible and is adviced to use with $scope","unwrap":true,"brackets":true,"args":[{"name":"channel ID","description":"The channel to pull message from","rest":false,"required":true,"type":"TextChannel"},{"name":"message ID","description":"The message to adapt context with","rest":false,"required":true,"type":"Message","pointer":0}],"category":"unsafe"},{"name":"$loadRoleContext","version":"1.4.0","aliases":["$useRoleContext","$asRoleContext"],"description":"Loads a role instance to the current context, this is not reversible and is adviced to use with $scope","unwrap":true,"brackets":true,"args":[{"name":"guild ID","description":"The guild to pull role from","rest":false,"required":true,"type":"Guild"},{"name":"role ID","description":"The role to adapt context with","rest":false,"required":true,"type":"Role","pointer":0}],"category":"unsafe"},{"name":"$loadStickerContext","version":"1.4.0","aliases":["$useStickerContext","$asStickerContext"],"brackets":true,"description":"Loads a sticker instance to the current context, this is not reversible and is adviced to use with $scope","unwrap":true,"args":[{"name":"sticker ID","description":"The sticker to adapt context with","rest":false,"required":true,"type":"Sticker"}],"category":"unsafe"},{"name":"$loadUserContext","version":"1.4.0","aliases":["$useUserContext","$asUserContext"],"brackets":true,"description":"Loads a user instance to the current context, this is not reversible and is adviced to use with $scope","unwrap":true,"args":[{"name":"user ID","description":"The user to adapt context with","rest":false,"required":true,"type":"User"}],"category":"unsafe"},{"name":"$authorID","version":"1.0.0","aliases":["$userID"],"description":"Retrieves a user's id","unwrap":false,"output":["User"],"category":"user"},{"name":"$deleteDM","version":"2.7.0","description":"Deletes the DM channel between the client and a user","unwrap":true,"brackets":true,"args":[{"name":"user ID","description":"The user whose DM channel should be deleted","rest":false,"type":"User","required":true}],"output":["Boolean"],"category":"user"},{"name":"$discriminator","version":"1.4.0","description":"Returns the discriminator of a user","brackets":false,"unwrap":true,"args":[{"name":"user ID","description":"The user to get its discriminator","rest":false,"required":true,"type":"User"}],"output":["String"],"category":"user"},{"name":"$isBot","version":"1.0.0","description":"Returns whether the user is a bot","unwrap":true,"output":["Boolean"],"args":[{"name":"user ID","description":"The user to check whether its a bot","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$isBotVerified","version":"1.0.0","description":"Returns whether the bot is verified","unwrap":true,"output":["Boolean"],"args":[{"name":"user ID","description":"The bot to check whether its verified","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$isUserDMEnabled","version":"1.2.0","description":"Checks whether the given user can be DMed","unwrap":true,"brackets":false,"output":["Boolean"],"args":[{"name":"user","description":"The user to test DMs","rest":false,"required":true,"type":"User"}],"category":"user"},{"name":"$randomUserID","version":"1.0.3","description":"Returns a random user ID","unwrap":false,"output":["User"],"category":"user"},{"name":"$sendDM","version":"1.0.0","description":"Sends a DM to the user","unwrap":true,"brackets":true,"output":["Message"],"args":[{"name":"user ID","description":"The user to direct message","rest":false,"type":"User","required":true},{"name":"content","description":"The content to send","rest":false,"type":"String"},{"name":"return message ID","description":"Whether to return the id of the newly created message","rest":false,"type":"Boolean"}],"category":"user"},{"name":"$userAccentColor","version":"1.0.0","description":"Returns the accent color of a user","brackets":false,"output":["Color"],"args":[{"name":"user ID","description":"The user to retrieve the accent color","rest":false,"required":true,"type":"User"}],"unwrap":true,"category":"user"},{"name":"$userAvatar","version":"1.0.0","description":"Returns the avatar of a user","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the avatar","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userAvatarDecoration","version":"1.0.0","description":"Returns the avatar decoration of a user","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the decoration","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userBadges","version":"1.0.0","description":"Returns the public badges of a user","aliases":["$userFlags"],"unwrap":true,"output":["UserFlags[]"],"args":[{"name":"user ID","description":"The user to return its badges","required":true,"rest":false,"type":"User"},{"name":"separator","description":"The separator to use for every badge","rest":false,"type":"String"}],"brackets":false,"category":"user"},{"name":"$userBanner","version":"1.0.0","description":"Returns the banner of a user","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the banner","rest":false,"required":true,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"unwrap":true,"category":"user"},{"name":"$userCount","version":"1.0.0","description":"Returns the user count of the bot","unwrap":false,"output":["Number"],"category":"user"},{"name":"$userCreatedAt","version":"1.0.2","description":"Returns the timestamp this user created their account","unwrap":true,"output":["Number"],"args":[{"name":"user ID","description":"The user to return its creation date","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userDefaultAvatar","version":"1.5.0","description":"Returns the default user avatar","brackets":false,"output":["URL"],"args":[{"name":"user ID","description":"The user to retrieve the default avatar","rest":false,"required":true,"type":"User"}],"unwrap":true,"category":"user"},{"name":"$userDisplayName","version":"1.0.0","description":"Returns the display name of a user","unwrap":true,"output":["String"],"args":[{"name":"user ID","description":"The user to return its display name","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userExists","version":"1.0.0","description":"Returns whether a user id exists","unwrap":true,"output":["Boolean"],"brackets":true,"args":[{"name":"user ID","description":"The user to check","rest":false,"required":true,"type":"String"}],"category":"user"},{"name":"$userGlobalName","version":"1.0.0","description":"Returns the global name of a user","unwrap":true,"output":["String"],"args":[{"name":"user ID","description":"The user to return its global name","required":true,"rest":false,"type":"User"}],"brackets":false,"category":"user"},{"name":"$userGuildBadge","version":"2.5.0","description":"Returns the primary guild tag badge of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"},{"name":"size","description":"The size to use for the image","rest":false,"type":"Number"},{"name":"extension","description":"The extension to use for the image","rest":false,"type":"String"}],"output":["URL"],"category":"user"},{"name":"$userGuildEnabled","version":"2.5.0","description":"Returns whether the primary guild of a user is enabled","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["Boolean"],"category":"user"},{"name":"$userGuildID","version":"2.5.0","description":"Returns the primary guild id of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["Guild"],"category":"user"},{"name":"$userGuildTag","version":"2.5.0","description":"Returns the primary guild tag name of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get its primary guild","required":true,"rest":false,"type":"User"}],"output":["String"],"category":"user"},{"name":"$userIDs","version":"1.4.0","description":"Returns all the users that are currently cached","unwrap":true,"brackets":false,"args":[{"name":"separator","description":"The separator to use for every id","rest":false,"type":"String"}],"output":["User[]"],"category":"user"},{"name":"$userRawData","version":"1.5.0","description":"Returns the raw data of a user","unwrap":true,"brackets":false,"args":[{"name":"user ID","description":"The user to get raw data from","rest":false,"type":"User","required":true}],"output":["Json"],"category":"user"},{"name":"$userReferenceID","version":"1.5.0","description":"Returns the id of the user this message replies to","unwrap":true,"output":["User"],"args":[{"name":"channel ID","rest":false,"required":true,"description":"The channel to get the message from","type":"Channel"},{"name":"message ID","description":"The message to get its reference user","rest":false,"type":"Message","pointer":0,"required":true}],"brackets":false,"category":"user"},{"name":"$userTag","version":"1.4.0","description":"Returns the legacy tag of a user","brackets":false,"unwrap":true,"args":[{"name":"user ID","description":"The user to get its tag","rest":false,"required":true,"type":"User"}],"output":["String"],"category":"user"},{"name":"$userURL","version":"2.7.0","description":"Returns the url of a user","brackets":false,"unwrap":true,"args":[{"name":"user ID","description":"The user to get its url","rest":false,"type":"User","required":true}],"output":["URL"],"category":"user"},{"name":"$username","version":"1.0.0","description":"Returns the username of a user","brackets":false,"output":["String"],"args":[{"name":"id","description":"The user id to get the username of","type":"User","rest":false}],"unwrap":true,"category":"user"},{"name":"$delete","version":"1.0.0","description":"Deletes a keyword","unwrap":true,"output":["Boolean"],"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true}],"brackets":true,"category":"variable"},{"name":"$env","version":"1.0.0","aliases":["$jsonDump"],"output":["Unknown"],"description":"Retrieves an environment value","args":[{"name":"key","description":"The key to return its value","required":true,"type":"String","rest":true}],"brackets":true,"unwrap":true,"category":"variable"},{"name":"$get","version":"1.0.0","output":["Unknown"],"description":"Get a keyword value","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true}],"brackets":true,"category":"variable"},{"name":"$has","version":"1.0.0","description":"Checks whether a keyword exists","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"name","description":"The name of the keyword","rest":false,"type":"String","required":true}],"category":"variable"},{"name":"$let","version":"1.0.0","description":"Create a keyword","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The key value","rest":false,"required":true,"type":"String"}],"brackets":true,"category":"variable"},{"name":"$letDivide","version":"1.3.0","description":"Short-hand for $let[...;$divide[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to divide with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letMulti","version":"1.3.0","description":"Short-hand for $let[...;$multi[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to multiply with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letSub","version":"1.3.0","description":"Short-hand for $let[...;$sub[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to sub with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$letSum","version":"1.3.0","description":"Short-hand for $let[...;$sum[$get[...];...]]","unwrap":true,"args":[{"name":"key","description":"The key name","rest":false,"type":"String","required":true},{"name":"value","description":"The value to sum with","rest":false,"required":true,"type":"Number"}],"brackets":true,"category":"variable"},{"name":"$getWebhook","version":"2.6.0","description":"Returns a webhook from a channel","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to get","rest":false,"type":"Webhook","required":true},{"name":"property","description":"The property of the webhook to return","rest":false,"type":"Enum","enum":["id","name","type","avatar","ownerID","channelID","guildID","sourceChannelID","sourceGuildID","timestamp","token","url"],"enumName":"WebhookProperty"}],"output":["Json","Unknown"],"category":"webhook"},{"name":"$webhookCreate","version":"1.0.0","description":"Creates a webhook in a channel, returns the webhook id","brackets":true,"unwrap":true,"output":["Webhook"],"args":[{"name":"channel ID","description":"The channel to create the webhook","type":"Channel","rest":false,"required":true},{"name":"name","description":"The webhook name","rest":false,"required":true,"type":"String"},{"name":"url","description":"The avatar url","rest":false,"type":"String"}],"category":"webhook"},{"name":"$webhookDelete","version":"1.0.0","description":"Deletes webhook with given id","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to delete","rest":false,"type":"Webhook","required":true}],"category":"webhook"},{"name":"$webhookEdit","version":"1.0.0","description":"Edits webhook with given id, returns bool","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to edit","rest":false,"type":"Webhook","required":true},{"name":"name","description":"The new name for the webhook","rest":false,"type":"String"},{"name":"url","description":"The new avatar for the webhook","rest":false,"type":"String"}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookEditMessage","version":"1.5.0","description":"Edits a webhook message, returns bool","brackets":true,"unwrap":true,"output":["Boolean"],"args":[{"name":"url","description":"The webhook url","rest":false,"required":true,"type":"String"},{"name":"message ID","description":"The message to edit","rest":false,"required":true,"type":"String"},{"name":"content","description":"The new content for the message","rest":false,"type":"String"},{"name":"thread ID","description":"The thread this message belongs to","rest":false,"type":"Channel"}],"category":"webhook"},{"name":"$webhookExists","version":"1.0.0","description":"Checks whether given webhook id exists","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook id to check for","rest":false,"type":"String","required":true}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookIsUserCreated","version":"2.3.0","description":"Checks whether given webhook is user created","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["Boolean"],"category":"webhook"},{"name":"$webhookSend","version":"1.0.0","description":"Sends a message with a webhook","brackets":true,"unwrap":true,"output":["Message"],"args":[{"name":"url","description":"The webhook url","rest":false,"required":true,"type":"String"},{"name":"content","description":"The content for the message","rest":false,"type":"String"},{"name":"return message ID","description":"Return the message id of the sent message","rest":false,"type":"Boolean"},{"name":"username","description":"The username for the message","rest":false,"type":"String"},{"name":"avatar","description":"The avatar for the message","rest":false,"type":"String"},{"name":"thread ID","description":"The thread to send message to","rest":false,"type":"Channel"},{"name":"post name","description":"The name for the created forum post","rest":false,"type":"String"},{"name":"tags","description":"The tags for the created forum post","rest":true,"type":"String"}],"category":"webhook"},{"name":"$webhookToken","version":"1.0.0","description":"Returns the token of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["String"],"category":"webhook"},{"name":"$webhookType","version":"2.3.0","description":"Returns the type of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["WebhookType"],"category":"webhook"},{"name":"$webhookURL","version":"1.0.0","description":"Returns the url of a webhook","brackets":true,"unwrap":true,"args":[{"name":"webhook ID","description":"The webhook to pull data from","rest":false,"type":"Webhook","required":true}],"output":["URL"],"category":"webhook"},{"name":"$ws","version":"1.5.0","description":"Creates a WebSocket connection to a server","aliases":["$websocket"],"brackets":true,"unwrap":true,"args":[{"name":"host","description":"The WS host, formatted as wss://hostname:port","rest":false,"required":true,"type":"String"}],"output":["Number"],"category":"websocket"},{"name":"$wsClose","version":"1.5.0","description":"Closes a websocket connection and removes all listeners of it","aliases":["$websocketClose"],"brackets":true,"unwrap":true,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"code","description":"The status code to send","rest":false,"type":"Number"}],"category":"websocket"},{"name":"$wsOn","version":"1.5.0","description":"Attach a listener to a websocket","unwrap":false,"aliases":["$websocketOn"],"brackets":true,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"listener name","description":"The name of the event to listen to","rest":false,"required":true,"type":"String"},{"name":"callback","description":"The code to execute every time this event is fired","rest":false,"required":true,"type":"String"},{"name":"params","description":"The arguments that will contain the data of the event that was sent","rest":true,"required":true,"type":"String"}],"category":"websocket"},{"name":"$wsSend","version":"1.5.0","description":"Sends a websocket message","aliases":["$websocketSend"],"brackets":true,"unwrap":false,"args":[{"name":"websocket ID","description":"The id of the websocket to attach this listener to","rest":false,"required":true,"type":"Number"},{"name":"value","description":"The json value to send over","rest":false,"required":true,"type":"Json"},{"name":"callback","description":"Code to execute on completion of request","rest":false,"type":"String"},{"name":"variable name","description":"Variable to store error on if callback was called for an error","rest":false,"required":false,"type":"String"}],"category":"websocket"},{"name":"$wsState","version":"1.5.0","output":["ConnectionState"],"description":"Returns a websocket's connection state","unwrap":true,"brackets":true,"args":[{"name":"websocket ID","description":"The websocket to get its state","rest":false,"required":true,"type":"Number"}],"category":"websocket"}] \ No newline at end of file diff --git a/metadata/translations/en.json b/metadata/translations/en.json new file mode 100644 index 0000000000..b31fff3382 --- /dev/null +++ b/metadata/translations/en.json @@ -0,0 +1 @@ +{"functions":{"$advancedTextSplit":{"description":"Split and get all at the same time multiple times","args":{"text":{"description":"The text to use"},"split;index":{"description":"The split followed by the index to get"}}},"$arrayAdvancedSort":{"description":"Advanced array sort","args":{"variable":{"description":"The variable the array is held on"},"var1":{"description":"The $env variable 1 to hold x value"},"var2":{"description":"The $env variable 2 to hold y value"},"code":{"description":"Optional code to use for sorting, previous 2 vars must have been given"},"other variable":{"description":"The variable to load result to, leave empty to return output"}}},"$arrayAt":{"description":"Returns the element at given index","args":{"variable":{"description":"The variable the array is held on"},"index":{"description":"The index to get the element of"}}},"$arrayClear":{"description":"Clears all elements from an array","args":{"variable":{"description":"The variable the array is held on"}}},"$arrayConcat":{"description":"Concat arrays and load them into another variable","args":{"variable":{"description":"The variable to load the result to, leave empty to return output"},"variables":{"description":"The variable names to concat"}}},"$arrayCreate":{"description":"Initializes an array and loads it to a variable","args":{"variable":{"description":"The variable to load it to, accessed with $env"},"length":{"description":"The default length of the array, defaults to 0"}}},"$arrayEvery":{"description":"Loops through every element of the array with a condition that must pass every element","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"}}},"$arrayFill":{"description":"Fills an array with given value","args":{"variable":{"description":"The variable to load array from"},"value":{"description":"The value to fill the array with"}}},"$arrayFilter":{"description":"Filters through every element of the array and loads the results to another array","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"},"other variable":{"description":"The other variable to load the result to, leave empty to return output"}}},"$arrayFind":{"description":"Finds the value of a first found element in the array","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"}}},"$arrayFindIndex":{"description":"Finds the index of a first found element in the array","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"}}},"$arrayFindLast":{"description":"Finds the value of a last found element in the array","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"}}},"$arrayFindLastIndex":{"description":"Finds the index of a last found element in the array","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"}}},"$arrayForEach":{"description":"Loops through every element of the array","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"}}},"$arrayIncludes":{"description":"Checks whether a value exists in an array","args":{"variable":{"description":"The variable the array is held on"},"value":{"description":"The value to check for"}}},"$arrayIndexOf":{"description":"Gets the index of a first found element in the array","args":{"name":{"description":"The variable that holds the array"},"value":{"description":"The exact value to get its index"}}},"$arrayJoin":{"description":"Joins all elements from an array with given separator","args":{"variable":{"description":"The variable the array is held on"},"separator":{"description":"The separator to use for every element"}}},"$arrayLastIndexOf":{"description":"Gets the index of a last found element in the array","args":{"name":{"description":"The variable that holds the array"},"value":{"description":"The exact value to get its last index"}}},"$arrayLength":{"description":"Returns the numbers of elements in an array","args":{"name":{"description":"The variable that holds the array"}}},"$arrayLoad":{"description":"Loads an array to an environment variable","args":{"variable":{"description":"The variable name to load this array to"},"separator":{"description":"The separator to use for the array elements"},"values":{"description":"The elements of the array"}}},"$arrayMap":{"description":"Maps through every element of the array and loads the results to another array","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"},"other variable":{"description":"The other variable to load the result to, leave empty to return output"}}},"$arrayPop":{"description":"Deletes the last element of the array and returns it","args":{"name":{"description":"The variable that holds the array"}}},"$arrayPush":{"description":"Appends an element to an array","args":{"name":{"description":"The variable that holds the array"},"values":{"description":"The values to append at the end of the array"}}},"$arrayPushJSON":{"description":"Appends an element to an array","args":{"name":{"description":"The variable that holds the array"},"values":{"description":"The values to append at the end of the array"}}},"$arrayRandomIndex":{"description":"Returns a random index","args":{"variable":{"description":"The variable the array is held on"}}},"$arrayRandomValue":{"description":"Returns a random element","args":{"variable":{"description":"The variable the array is held on"}}},"$arrayReduce":{"description":"Reduces an array of elements and returns the result","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"other variable":{"description":"The other variable to load the second element to"},"code":{"description":"The code to execute for every element, must return a number"},"default value":{"description":"The default value, defaults to 0"}}},"$arrayReverse":{"description":"Reverses an array and loads it to another variable","args":{"variable":{"description":"The variable where the array is held"},"other variable":{"description":"The variable to load the result to, leave empty to return output"}}},"$arrayShift":{"description":"Deletes the first element of the array and returns it","args":{"name":{"description":"The variable that holds the array"}}},"$arrayShuffle":{"description":"Shuffles given array","args":{"variable":{"description":"The variable the array is held on"}}},"$arraySlice":{"description":"Slices an array and loads it to another variable","args":{"variable":{"description":"The variable where the array is held"},"other variable":{"description":"The variable to load the result to, leave empty to return output"},"start":{"description":"The start index to slice"},"end":{"description":"The end index to slice"}}},"$arraySome":{"description":"Loops through every element of the array to find a match","args":{"name":{"description":"The variable that holds the array"},"variable":{"description":"The variable to load the element value to"},"code":{"description":"The code to execute for every element"}}},"$arraySort":{"description":"Sorts given array","args":{"variable":{"description":"The variable the array is held on"},"other variable":{"description":"The variable to load result to, leave empty to return output"},"sort type":{"description":"The sort type, omit to use default sort order"}}},"$arraySplice":{"description":"Removes x elements starting from y index, returns deleted elements","args":{"variable":{"description":"The variable the array is held on"},"index":{"description":"The start index"},"delete count":{"description":"The number of items to delete"},"elements":{"description":"The elements to insert in the deleted indexes"}}},"$arrayUnique":{"description":"Removes duplicate elements from the array","args":{"variable":{"description":"The variable the array is held on"},"other variable":{"description":"The variable to load result to, leave empty to return output"}}},"$arrayUnload":{"description":"Unloads an array from an environment variable","args":{"variable":{"description":"The variable name to unload this array from"}}},"$arrayUnshift":{"description":"Adds elements to the beginning of an array","args":{"name":{"description":"The variable that holds the array"},"values":{"description":"The values to append at the start of the array"}}},"$arrayUnshiftJSON":{"description":"Adds elements to the beginning of an array","args":{"name":{"description":"The variable that holds the array"},"values":{"description":"The values to append at the start of the array"}}},"$getSplitTextLength":{"description":"Gets count of elements from $textSplit"},"$getTextSplitIndex":{"description":"Gets the index of a textSplit element","args":{"element":{"description":"The element to get index of"}}},"$isArray":{"description":"Checks whether given array is valid","args":{"array":{"description":"The array to check for"}}},"$segmentTextSplit":{"description":"Creates an array on given text using segmenter","args":{"text":{"description":"The text to split"}}},"$splitText":{"description":"Gets element of textSplit","args":{"index":{"description":"The index to get split at"}}},"$splitTextJoin":{"description":"Joins all elements from array with given separator","args":{"separator":{"description":"The separator to use for every element"}}},"$textSplit":{"description":"Creates an array on given text with a separator","args":{"text":{"description":"The text to split"},"separator":{"description":"The separator to use"}}},"$fetchAuditLog":{"description":"Fetches an audit log using the type of it","args":{"guild ID":{"description":"The guild to get audit log from"},"type":{"description":"The event type of the log"},"property":{"description":"The property to pull from the audit log"},"index":{"description":"The index of the entry to use"},"separator":{"description":"The separator to use in case of array output"}}},"$fetchAuditLogCount":{"description":"Fetches audit log count using the type of it","args":{"guild ID":{"description":"The guild to get audit log from"},"type":{"description":"The event type of the log"},"user":{"description":"The user to filter by"}}},"$fetchUserAuditLog":{"description":"Fetches an audit log from a user using the type of it","args":{"guild ID":{"description":"The guild to get audit log from"},"user":{"description":"The user to filter by"},"type":{"description":"The event type of the log"},"property":{"description":"The property to pull from the audit log"},"index":{"description":"The index of the entry to use"},"separator":{"description":"The separator to use in case of array output"}}},"$setAuditLogReason":{"description":"Sets the reason for audit log entries","args":{"reason":{"description":"The reason to set"}}},"$automodActionType":{"description":"Returns the action type automod used"},"$automodAlertSystemMessageID":{"description":"Returns the message sent by automod"},"$automodChannelID":{"description":"Returns the channel id for automod"},"$automodContent":{"description":"Returns the content automod acted upon"},"$automodCustomMessage":{"description":"Returns the custom message used by automod on this detection"},"$automodDuration":{"description":"Returns the duration in ms by this automod action"},"$automodMatchedContent":{"description":"Returns the matched content automod acted upon"},"$automodMatchedKeyword":{"description":"Returns the matched keyword the automod caught"},"$automodRuleID":{"description":"Returns the rule id used by automod"},"$automodRuleTriggerType":{"description":"Returns the rule trigger type used by automod"},"$createAutomodRule":{"description":"Creates a new automod rule for a guild, returns rule id","args":{"guild ID":{"description":"The guild to create automod rule on"},"name":{"description":"The name of the automod rule"},"trigger":{"description":"The trigger type of the automod rule"},"event":{"description":"The event type of the automod rule"},"enabled":{"description":"Whether the automod rule should be enabled"},"reason":{"description":"The reason for creating the automod rule"}}},"$deleteAutomodRule":{"description":"Deletes an automod rule from a guild, returns bool","args":{"guild ID":{"description":"The guild to delete automod rule from"},"rule ID":{"description":"The automod rule to delete"},"reason":{"description":"The reason for deleting the rule"}}},"$editAutomodRule":{"description":"Edits an automod rule on a guild, returns bool","args":{"guild ID":{"description":"The guild to edit automod rule on"},"rule ID":{"description":"The automod rule to edit"},"name":{"description":"The new name for the automod rule"},"event":{"description":"The new event type for the automod rule"},"enabled":{"description":"Whether the automod rule should be enabled"},"reason":{"description":"The reason for editing the automod rule"}}},"$getAutomodRule":{"description":"Returns an automod rule of a guild","args":{"guild ID":{"description":"The guild to get automod rule from"},"rule ID":{"description":"The automod rule to get"},"property":{"description":"The property of the automod rule to return"},"separator":{"description":"The separator to use in case of array"}}},"$getAutomodRuleActions":{"description":"Returns the actions of an automod rule from a guild","args":{"guild ID":{"description":"The guild to get automod rule from"},"rule ID":{"description":"The automod rule to get its actions"},"property":{"description":"The property of each action to return"},"separator":{"description":"The separator to use for every property"}}},"$setAutomodAction":{"description":"Sets a new action for current automod rule","args":{"type":{"description":"The type of the automod rule action"},"channel ID":{"description":"The channel to which content will be logged"},"duration":{"description":"The timeout duration in seconds"},"message":{"description":"The custom message that is shown whenever a message is blocked"}}},"$setAutomodAllowList":{"description":"Sets allowed words for current automod rule","args":{"words":{"description":"The words to allow and whitelist"}}},"$setAutomodExemptChannels":{"description":"Sets exempt channels for current automod rule","args":{"channels":{"description":"The channels that should not be affected by the automod rule"}}},"$setAutomodExemptRoles":{"description":"Sets exempt roles for current automod rule","args":{"roles":{"description":"The roles that should not be affected by the automod rule"}}},"$setAutomodKeywordFilter":{"description":"Sets disallowed words for current automod rule","args":{"words":{"description":"The words to disallow and blacklist"}}},"$setAutomodMentionRaidProtection":{"description":"Sets mention raid protection for current automod rule","args":{"enabled":{"description":"Whether to enable mention raid protection"}}},"$setAutomodMentionTotalLimit":{"description":"Sets a total mention limit for current automod rule","args":{"limit":{"description":"The limit of mentions to set"}}},"$setAutomodPresets":{"description":"Sets preset keyword wordsets for current automod rule","args":{"presets":{"description":"The preset keyword types to set"}}},"$setAutomodRegexFilter":{"description":"Sets regex filter for current automod rule","args":{"regexes":{"description":"The regexes to use for filtering"}}},"$applicationCommandCount":{"description":"Returns the amount of application commands registered by this bot","args":{"guild ID":{"description":"The guild to get application command count from"},"count sub":{"description":"Whether to count sub commands"}}},"$applicationCommands":{"description":"Returns all application commands","args":{"guild ID":{"description":"The guild to get application commands from"}}},"$botCount":{"description":"Returns the bot count of the bot"},"$botCustomInvite":{"description":"Returns the client's custom invite link"},"$botDescription":{"description":"Returns the description of the bot"},"$botDestroy":{"description":"Destroys the discord.js client"},"$botID":{"description":"Returns the client's id"},"$botInvite":{"description":"Returns a bot's invite link","args":{"perms":{"description":"The perms for the invite link"}}},"$botMutualGuilds":{"description":"Returns the client's mutual guilds with a user","args":{"user ID":{"description":"The user to get mutual guilds from"},"separator":{"description":"The separator to use for every guild"}}},"$botOwnerID":{"description":"Returns the bot's owner id or team members","args":{"return members":{"description":"Whether to return all members"},"separator":{"description":"The separator to use for every id"}}},"$botTags":{"description":"Returns the client tags","args":{"separator":{"description":"The separator to use for every tag"}}},"$botTeamCreatedAt":{"description":"Returns the client's team creation timestamp"},"$botTeamID":{"description":"Returns the client's team id"},"$botTeamIcon":{"description":"Returns the client's team icon","args":{"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$botTeamMembers":{"description":"Returns the client's team members","args":{"property":{"description":"The property of each team member to return"},"separator":{"description":"The separator to use for every property"}}},"$botTeamName":{"description":"Returns the client's team name"},"$botToken":{"description":"Returns the client token"},"$botUserAuthorizationCount":{"description":"Returns the user authorization count of the bot"},"$botUserInstallCount":{"description":"Returns the user install count of the bot"},"$botWebhookEvents":{"description":"Returns the client webhook event types","args":{"separator":{"description":"The separator to use for every type"}}},"$botWebhookStatus":{"description":"Returns the client webhook event status"},"$botWebhookURL":{"description":"Returns the client webhook event url"},"$deleteGlobalApplicationCommands":{"description":"Deletes all global commands of your bot"},"$extensionVersion":{"description":"Returns the version an extension is running on","args":{"name":{"description":"The extension name to retrieve its version"}}},"$fetchApplication":{"description":"Fetches the application of the client"},"$hasExtension":{"description":"Checks whether client has an extension","args":{"name":{"description":"The extension name to check for"}}},"$ping":{"description":"The current bot ping"},"$setBotAvatar":{"description":"Sets the bot profile icon","args":{"url":{"description":"The icon url"}}},"$setBotBanner":{"description":"Sets the bot banner","args":{"url":{"description":"The banner url"}}},"$setBotDescription":{"description":"Sets the bot description","args":{"description":{"description":"The new description"}}},"$setBotGuildAvatar":{"description":"Sets the bot avatar on a guild","args":{"guild ID":{"description":"The guild to set avatar on"},"url":{"description":"The icon url"}}},"$setBotGuildBanner":{"description":"Sets the bot banner on a guild","args":{"guild ID":{"description":"The guild to set banner on"},"url":{"description":"The banner url"}}},"$setBotGuildDescription":{"description":"Sets the bot description on a guild","args":{"guild ID":{"description":"The guild to set description on"},"description":{"description":"The new description"}}},"$setBotName":{"description":"Sets the bot name","args":{"name":{"description":"The new name"}}},"$setBotTags":{"description":"Sets the bot tags","args":{"tags":{"description":"The new tags"}}},"$setStatus":{"description":"Sets the client's status","args":{"presence":{"description":"The presence status"},"type":{"description":"The activity type"},"name":{"description":"The status name"},"state":{"description":"The status state"},"url":{"description":"The url to use for the stream"}}},"$shardCount":{"description":"Returns the shard count of the client"},"$shardID":{"description":"Returns the shard id of the client","args":{"separator":{"description":"The separator to use for every id"}}},"$shardStatus":{"description":"Returns the shard status of the client","args":{"separator":{"description":"The separator to use for every status"}}},"$updateApplicationCommands":{"description":"Updates application commands, also registers new ones"},"$updateCommands":{"description":"Updates bot commands, also registers new ones"},"$uptime":{"description":"Returns the bots uptime"},"$version":{"description":"Returns the package version the client is using"},"$bufferAlloc":{"description":"Allocates given number of bytes in a buffer","args":{"variable name":{"description":"The variable to load it to, accessed with $env[]"},"bytes":{"description":"The number of bytes to alloc"}}},"$bufferAllocUnsafe":{"description":"Unsafely allocates given number of bytes in a buffer","args":{"variable name":{"description":"The variable to load it to, accessed with $env[]"},"bytes":{"description":"The number of bytes to alloc"}}},"$bufferLength":{"description":"Returns the length of a buffer","args":{"variable name":{"description":"The variable the buffer is allocated on"}}},"$bufferReadInt32":{"description":"Reads int from a buffer","args":{"variable name":{"description":"The variable the buffer is allocated on"},"index":{"description":"The index to start reading at"}}},"$bufferReadUtf8":{"description":"Reads utf8 string from a buffer","args":{"variable name":{"description":"The variable the buffer is allocated on"},"index":{"description":"The index to start reading at"},"end index":{"description":"The index to end reading at"}}},"$bufferResize":{"description":"Resizes a buffer","args":{"variable name":{"description":"The variable the buffer is allocated on"},"length":{"description":"The new length for this buffer"}}},"$bufferToString":{"description":"Stringifies a buffer","args":{"variable name":{"description":"The variable the buffer is allocated on"},"encoding":{"description":"The encoding to stringify with"}}},"$bufferWriteInt32":{"description":"Writes int32 to a buffer","args":{"variable name":{"description":"The variable the buffer is allocated on"},"index":{"description":"The index to start writing on"},"int":{"description":"The int to write"}}},"$bufferWriteUtf8":{"description":"Writes utf8 string to a buffer","args":{"variable name":{"description":"The variable the buffer is allocated on"},"index":{"description":"The index to start writing on"},"text":{"description":"The text to write"}}},"$addChannelPerms":{"description":"Adds permission overwrites to a channel, returns bool","args":{"channel ID":{"description":"The channel to add perms to"},"id":{"description":"The role or member id to add these perms to"},"perms":{"description":"The perms to add to the id"}}},"$addPermissionOverwrite":{"description":"Adds a new permission overwrite to the channel","args":{"roleOrUser":{"description":"The role or member to set perms for"},"perms":{"description":"The permissions to allow or disallow, (+,-)Perm"}}},"$addPostTags":{"description":"Adds tags to a forum post, returns bool","args":{"channel ID":{"description":"The post to edit tags on"},"reason":{"description":"The reason for adding post tags"},"tags":{"description":"The tags for the post"}}},"$addThreadMember":{"description":"Adds a member to a thread, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"channel ID":{"description":"The thread to add member to"},"user ID":{"description":"The member to add"}}},"$archiveThread":{"description":"Archives a thread, returns bool","args":{"channel ID":{"description":"The thread to archive"},"reason":{"description":"The reason to archive this thread"}}},"$channelBitrate":{"description":"Returns the bitrate of the voice channel","args":{"channel ID":{"description":"The id of the channel"}}},"$channelCategoryID":{"description":"Returns the channel category id","args":{"channel ID":{"description":"The id of the channel"}}},"$channelChildrenCount":{"description":"Returns the amount of children this category has","args":{"channel ID":{"description":"The category to get its child count"}}},"$channelChildrenIDs":{"description":"Returns the children ids this category has","args":{"channel ID":{"description":"The category to get its children"},"separator":{"description":"The separator to use for every channel"}}},"$channelCount":{"description":"Returns the channel count of all servers","args":{"categories":{"description":"The categories to filter by"}}},"$channelCreatedAt":{"description":"Returns the channel timestamp","args":{"channel ID":{"description":"The id of the channel"}}},"$channelDeletable":{"description":"Returns whether the channel is deletable","args":{"channel ID":{"description":"The id of the channel"}}},"$channelExists":{"description":"Returns whether a channel id exists","args":{"channel ID":{"description":"The channel to check"}}},"$channelFlags":{"description":"Returns the flags of a channel","args":{"channel ID":{"description":"The id of the channel"},"separator":{"description":"The separator to use for every flag"}}},"$channelFull":{"description":"Returns whether the voice channel is full","args":{"channel ID":{"description":"The id of the channel"}}},"$channelGuildID":{"description":"Returns the channel guild id","args":{"channel ID":{"description":"The id of the channel"}}},"$channelHasAnyPerms":{"description":"Returns whether role or member has any of the perms in a channel","args":{"channel ID":{"description":"The channel to get perms from"},"id":{"description":"The role or user to get perms of"},"permissions":{"description":"The perms to check for"}}},"$channelHasPerms":{"description":"Returns whether role or member has perms in a channel","args":{"channel ID":{"description":"The channel to get perms from"},"id":{"description":"The role or user to get perms of"},"permissions":{"description":"The perms to check for"}}},"$channelID":{"description":"Gets the channel id of a channel name","args":{"name":{"description":"The channel name to get its id"}}},"$channelIDs":{"description":"Returns every channel id","args":{"separator":{"description":"The separator to use for every channel"}}},"$channelIsChildrenOf":{"description":"Checks whether given channel is a children of a category","args":{"channel ID":{"description":"The channel to know if is children of category"},"category ID":{"description":"The category to check against"}}},"$channelJoinable":{"description":"Returns whether the voice channel is joinable by the bot","args":{"channel ID":{"description":"The id of the channel"}}},"$channelManageable":{"description":"Returns whether the channel is manageable","args":{"channel ID":{"description":"The id of the channel"}}},"$channelMembers":{"description":"Returns the members of a channel","args":{"channel ID":{"description":"The id of the channel to get its members"},"separator":{"description":"The separator to use for each member"}}},"$channelNSFW":{"description":"Returns whether the channel is nsfw","args":{"channel ID":{"description":"The id of the channel"}}},"$channelName":{"description":"Returns the channel name","args":{"channel ID":{"description":"The id of the channel"}}},"$channelNames":{"description":"Returns the channel names of a guild","args":{"guild ID":{"description":"The guild to return the channels of"},"separator":{"description":"The separator to use for each channel"}}},"$channelPermissions":{"description":"Returns all permission overwrites of a channel","args":{"channel ID":{"description":"The channel to get perms from"},"property":{"description":"The property of the overwrites to return"},"separator":{"description":"The separator to use for every overwrite"}}},"$channelPermissionsFor":{"description":"Returns permissions for a role or member in a channel","args":{"channel ID":{"description":"The channel to get perms from"},"id":{"description":"The role or user to get perms for"},"separator":{"description":"The separator to use for every perm"}}},"$channelPermissionsOf":{"description":"Returns specific permissions of a role or member in a channel","args":{"channel ID":{"description":"The channel to get perms from"},"id":{"description":"The role or user to get perms of"},"state":{"description":"The state of the perms to return"},"separator":{"description":"The separator to use for every perm"}}},"$channelPinnedMessages":{"description":"Returns the pinned messages of a channel","args":{"channel ID":{"description":"The channel to pull pinned messages from"},"separator":{"description":"The separator to use for each message id"}}},"$channelPosition":{"description":"Returns the channel position","args":{"channel ID":{"description":"The id of the channel to get its position"}}},"$channelRawData":{"description":"Returns the raw data of a channel","args":{"channel ID":{"description":"The channel to get raw data from"}}},"$channelSlowmode":{"description":"Returns the channel slowmode in seconds","args":{"channel ID":{"description":"The id of the channel to get its slowmode"}}},"$channelTags":{"description":"Retrieves tags from a forum thread","args":{"channel ID":{"description":"The channel to get tags of"},"separator":{"description":"The separator to use for every tag"}}},"$channelThreadIDs":{"description":"Returns the thread ids of a channel","args":{"channel ID":{"description":"The channel to get its threads"},"separator":{"description":"The separator to use for every thread"}}},"$channelTopic":{"description":"Returns the channel topic","args":{"channel ID":{"description":"The id of the channel"}}},"$channelType":{"description":"Returns the channel type","args":{"channel ID":{"description":"The id of the channel"}}},"$channelURL":{"description":"Returns the url of a channel","args":{"channel ID":{"description":"The id of the channel"}}},"$channelUserLimit":{"description":"Returns the user limit of the voice channel","args":{"channel ID":{"description":"The id of the channel"}}},"$channelVoiceMemberCount":{"description":"Returns the member count that are connected to this voice channel","args":{"channel ID":{"description":"The id of the channel"}}},"$channelVoiceMemberIDs":{"description":"Returns the members that are connected to this voice channel","args":{"channel ID":{"description":"The id of the channel"},"separator":{"description":"Separator to use for every id"}}},"$channelVoiceRegion":{"description":"Returns the region of a voice channel","args":{"channel ID":{"description":"The channel to get its region"}}},"$channelWebhooks":{"description":"Returns all webhooks of a channel","args":{"channel ID":{"description":"The channel to get its webhooks"},"property":{"description":"The property to return"},"separator":{"description":"The separator to use for every property"}}},"$clearChannelPerms":{"description":"Deletes all permission overwrites from the channel or given id, returns bool","args":{"channel ID":{"description":"The channel to delete perms from"},"id":{"description":"The role or member id to delete all perms for"}}},"$clearMessages":{"description":"Clears x amount of messages from a channel, returns the number of messages deleted","args":{"channel ID":{"description":"The channel to clear messages on"},"amount":{"description":"The amount of messages to delete"},"delete pinned":{"description":"Whether to delete pinned messages"},"delete bots":{"description":"Whether to delete messages of bots"}}},"$clearUserMessages":{"description":"Clears x amount of messages from a channel of given user, returns the number of messages deleted","args":{"channel ID":{"description":"The channel to clear messages on"},"user ID":{"description":"The user to delete their messages"},"amount":{"description":"The amount of messages to delete"},"delete pinned":{"description":"Whether to delete pinned messages"}}},"$cloneChannel":{"description":"Clones the given channel","args":{"channel ID":{"description":"The channel to clone"},"name":{"description":"The name for the cloned channel"}}},"$cloneChannelPerms":{"description":"Clones the given channel's perms to another channel, returns bool","args":{"channel ID":{"description":"The other channel to set new perms for"}}},"$createChannel":{"description":"Creates a channel in a guild, returns the channel id","args":{"guild ID":{"description":"The guild to create this channel on"},"name":{"description":"The name for the channel"},"type":{"description":"The type of the channel, some are not supported"},"topic":{"description":"The topic for the channel"},"parent ID":{"description":"The parent id for the channel"}}},"$createForumPost":{"description":"Creates a forum post, returns the post channel id","args":{"channel ID":{"description":"The channel to create a post on"},"title":{"description":"The post title"},"description":{"description":"The post description"},"tags":{"description":"The tags for the post"}}},"$createForumTag":{"description":"Creates a forum tag, returns tag id","args":{"channel ID":{"description":"The forum to create tag on"},"name":{"description":"The name for the tag"},"emoji":{"description":"The emoji for the tag"},"moderated":{"description":"Whether the tag can only be applied by mods"}}},"$createInvite":{"description":"Creates an invite, returns the invite code","args":{"channel ID":{"description":"The channel to make the invite for"},"max uses":{"description":"The max amount of uses for this invite"},"max age":{"description":"The max age for this invite"},"reason":{"description":"The reason for creating this invite"}}},"$createStageInstance":{"description":"Creates a new stage instance, returns instance id","args":{"channel ID":{"description":"The channel to create stage instance on"},"topic":{"description":"The topic of the stage instance"},"privacy level":{"description":"The privacy level of the stage instance"},"notify":{"description":"Whether to notify @everyone that the stage instance has started"},"event ID":{"description":"The scheduled event associated with the stage instance"}}},"$createThread":{"description":"Creates a thread, returns thread channel id on success","args":{"channel ID":{"description":"The channel to create the thread at"},"name":{"description":"The name for the thread"},"message ID":{"description":"The message to start thread for"},"private":{"description":"Whether this thread is private"},"reason":{"description":"The reason for creating thread"}}},"$deleteChannelPerms":{"description":"Deletes some permission overwrites from a channel, returns bool","args":{"channel ID":{"description":"The channel to clear perms from"},"id":{"description":"The role or member id to clear these perms for"},"perms":{"description":"The perms to clear from the id"}}},"$deleteChannels":{"description":"Deletes given channels, returns the count of channels deleted","args":{"channels":{"description":"The channels to delete"}}},"$deleteForumTags":{"description":"Deletes tags from a forum, returns bool","args":{"channel ID":{"description":"The forum to delete tags from"},"tags":{"description":"The tags to delete"}}},"$deleteStageInstance":{"description":"Deletes a stage instance, returns bool","args":{"stage ID":{"description":"The stage instance to delete"}}},"$deleteThread":{"description":"Deletes a thread, returns bool","args":{"channel ID":{"description":"The thread to delete"},"reason":{"description":"The reason to delete this thread"}}},"$dmChannelID":{"description":"Returns the dm channel id of a user","args":{"user ID":{"description":"User to get the dm channel"}}},"$editForumTag":{"description":"Edits an existing forum tag, returns bool","args":{"channel ID":{"description":"The forum to edit tag on"},"tag ID":{"description":"The tag to edit"},"name":{"description":"The new name for the tag"},"emoji":{"description":"The new emoji for the tag"},"moderated":{"description":"Whether the tag can only be applied by mods"}}},"$editStageInstance":{"description":"Edits a stage instance, returns bool","args":{"stage ID":{"description":"The stage instance to edit"},"topic":{"description":"The new topic of the stage instance"},"privacy level":{"description":"The new privacy level of the stage instance"}}},"$fetchChannels":{"description":"Caches all channels of a guild","args":{"guild ID":{"description":"The guild to cache channels of"},"channel ID":{"description":"The channel to fetch"}}},"$fetchThreads":{"description":"Caches all threads of a channel","args":{"channel ID":{"description":"The channel to cache its threads"},"archived":{"description":"Whether to cache archived threads, otherwise active"},"private":{"description":"Whether to cache archived private threads, otherwise public"}}},"$firstMessageID":{"description":"Returns the first message sent in a channel","args":{"channel ID":{"description":"The channel to pull first message from"}}},"$followChannel":{"description":"Follows given announcement channel, returns webhook id","args":{"channel ID":{"description":"The channel to crosspost messages in"},"reason":{"description":"The reason for following the channel"}}},"$forumDefaultLayout":{"description":"Returns the default layout of a forum","args":{"channel ID":{"description":"The channel to get default layout from"}}},"$forumDefaultReactionEmoji":{"description":"Returns the default reaction emoji of a forum","args":{"channel ID":{"description":"The channel to get default reaction emoji from"}}},"$forumDefaultSortOrder":{"description":"Returns the default sort order of a forum","args":{"channel ID":{"description":"The channel to get default sort order from"}}},"$forumDefaultThreadArchiveDuration":{"description":"Returns the default auto archive duration for threads of a forum","args":{"channel ID":{"description":"The channel to get default sort order from"}}},"$forumDefaultThreadSlowmode":{"description":"Returns the default slowmode for threads of a forum","args":{"channel ID":{"description":"The channel to get default slowmode from"}}},"$forumTags":{"description":"Returns all available tags of a forum","args":{"channel ID":{"description":"The channel to get tags of"},"property":{"description":"The property to return for every tag"},"separator":{"description":"The separator to use for every tag property"}}},"$getForumTag":{"description":"Returns the tag of a forum","args":{"channel ID":{"description":"The forum to pull tags from"},"tag ID":{"description":"The tag to retrieve"},"property":{"description":"The property of the tag to return"}}},"$getStageInstance":{"description":"Returns a stage instance of a guild","args":{"stage ID":{"description":"The stage instance to get"},"property":{"description":"The property of the stage instance to return"}}},"$getThreadMembers":{"description":"Returns all members from a thread","args":{"channel ID":{"description":"The thread to pull members from"},"separator":{"description":"The separator for every id"}}},"$guildChannelID":{"description":"Gets the guild channel id of a channel name","args":{"guild ID":{"description":"The guild to use"},"name":{"description":"The channel name to get its id"}}},"$lastMessageID":{"description":"Returns the latest message sent in a channel","args":{"channel ID":{"description":"The channel to pull last message from"},"user ID":{"description":"The user id to get its last message sent"}}},"$lastPinTimestamp":{"description":"Returns the latest pin timestamp of a channel","args":{"channel ID":{"description":"The channel to pull last pin from"}}},"$lockThread":{"description":"Locks a thread, returns bool","args":{"channel ID":{"description":"The thread to lock"},"reason":{"description":"The reason to lock this thread"}}},"$modifyChannelPerms":{"description":"Modifies given channel perms for a role or user","args":{"channel ID":{"description":"The channel to modify perms for"},"roleOrUser":{"description":"The role or user to modify perms for"},"perms":{"description":"The permissions to allow, nullify or disallow, (+,/,-)Perm"}}},"$modifyPostTags":{"description":"Modifies tags of a forum post, returns bool","args":{"channel ID":{"description":"The post to edit tags on"},"reason":{"description":"The reason for modifying post tags"},"tags":{"description":"The tags for the post"}}},"$randomChannelID":{"description":"Returns a random channel ID","args":{"types":{"description":"The channel types to get an id from"}}},"$randomGuildChannelID":{"description":"Returns a random channel ID of a guild","args":{"guild ID":{"description":"The guild to get channel from"},"types":{"description":"The channel types to get an id from"}}},"$removeChannelPerms":{"description":"Removes permission overwrites from a channel, returns bool","args":{"channel ID":{"description":"The channel to remove perms from"},"id":{"description":"The role or member id to remove these perms from"},"perms":{"description":"The perms to remove from the id"}}},"$removeThreadMember":{"description":"Removes a member from a thread, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"channel ID":{"description":"The thread to remove member from"},"user ID":{"description":"The member to remove"}}},"$sendMessage":{"description":"Sends a message to a channel","args":{"channel ID":{"description":"The channel to send this message to"},"content":{"description":"The content for the message"},"return message ID":{"description":"Whether to return the message id of the newly sent message"}}},"$setChannelArchiveDuration":{"description":"Modifies a channel's archive duration","args":{"channel ID":{"description":"The channel to modify"},"duration":{"description":"The new duration of archive"},"reason":{"description":"The reason for modifying archive duration"}}},"$setChannelCategory":{"description":"Sets a channel's category, returns bool","args":{"channel ID":{"description":"The channel to set its category"},"category ID":{"description":"The category to set"}}},"$setChannelNSFW":{"description":"Sets a channel nsfw state, returns bool","args":{"channel ID":{"description":"The channel to set its nsfw state"},"state":{"description":"The state to set"}}},"$setChannelName":{"description":"Sets a channel name, returns bool","args":{"channel ID":{"description":"The channel to set its name"},"name":{"description":"The name to set"}}},"$setChannelSlowmode":{"description":"Sets a channel slowmode, returns bool","args":{"channel ID":{"description":"The channel to set its nsfw state"},"seconds":{"description":"The number of seconds per message"}}},"$setChannelTopic":{"description":"Sets a channel topic, returns bool","args":{"channel ID":{"description":"The channel to set its topic"},"topic":{"description":"The topic to set"}}},"$setDefaultForumLayout":{"description":"Sets a forum's default layout of posts","args":{"channel ID":{"description":"The forum to modify"},"layout":{"description":"The new default layout"},"reason":{"description":"The reason for modifying default layout"}}},"$setDefaultReactionEmoji":{"description":"Sets a forum's default reaction emoji for posts","args":{"channel ID":{"description":"The forum to modify"},"emoji":{"description":"The new default reaction emoji"},"reason":{"description":"The reason for modifying default emoji"}}},"$setDefaultSortOrder":{"description":"Sets a forum's default sort order of posts","args":{"channel ID":{"description":"The forum to modify"},"layout":{"description":"The new default sort order, leave empty to reset"},"reason":{"description":"The reason for modifying default sort order"}}},"$setDefaultThreadArchiveDuration":{"description":"Sets a forum's default auto archive duration of posts","args":{"channel ID":{"description":"The forum to modify"},"duration":{"description":"The new duration of auto archive"},"reason":{"description":"The reason for modifying archive duration"}}},"$setDefaultThreadSlowmode":{"description":"Sets a forum's default slowmode for posts","args":{"channel ID":{"description":"The forum to modify"},"seconds":{"description":"The new default slowmode"},"reason":{"description":"The reason for modifying default slowmode"}}},"$setPostTags":{"description":"Sets tags to a forum post, returns bool","args":{"channel ID":{"description":"The post to set tags on"},"reason":{"description":"The reason for setting post tags"},"tags":{"description":"The tags for the post"}}},"$setThreadArchiveDuration":{"description":"Sets a thread's auto archive duration","args":{"channel ID":{"description":"The thread to modify"},"duration":{"description":"The new duration of auto archive"},"reason":{"description":"The reason for modifying archive duration"}}},"$setVoiceBitrate":{"description":"Sets the bitrate quality of a voice channel, returns bool","args":{"channel ID":{"description":"The channel to edit bitrate"},"bitrate":{"description":"The new bitrate"},"reason":{"description":"The reason to change the bitrate"}}},"$setVoiceDeaf":{"description":"Deafens a member from voice channel","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to deafen"},"reason":{"description":"The reason to deafen this user"}}},"$setVoiceMute":{"description":"Mutes a member from voice channel","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to mute"},"reason":{"description":"The reason to mute this user"}}},"$setVoiceRegion":{"description":"Sets the region of a voice channel, returns bool","args":{"channel ID":{"description":"The channel to set region"},"region":{"description":"The region to set, leave empty to remove a fixed region"},"reason":{"description":"The reason to set the voice region"}}},"$setVoiceUndeaf":{"description":"Undeafens a member from voice channel","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to undeafen"},"reason":{"description":"The reason to undeafen this user"}}},"$setVoiceUnmute":{"description":"Unmutes a member from voice channel","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to unmute"},"reason":{"description":"The reason to unmute this user"}}},"$setVoiceUserLimit":{"description":"Sets the limit of users that can connect to this voice channel","args":{"channel ID":{"description":"The channel to edit user limit"},"limit":{"description":"The new user limit"},"reason":{"description":"The reason to change the user limit"}}},"$setVoiceVideoQuality":{"description":"Sets the video quality of a voice channel, returns bool","args":{"channel ID":{"description":"The channel to edit video quality"},"quality":{"description":"The new video quality"},"reason":{"description":"The reason to change the video quality"}}},"$startTyping":{"description":"Starts typing in a channel","args":{"channel ID":{"description":"The channel to start typing at"}}},"$threadIsArchived":{"description":"Returns whether a thread is archived","args":{"channel ID":{"description":"The thread to check if its archived"}}},"$threadIsLocked":{"description":"Returns whether a thread is locked","args":{"channel ID":{"description":"The thread to check if its locked"}}},"$threadOwnerID":{"description":"Returns the owner of the thread","args":{"channel ID":{"description":"The thread to retrieve owner of"}}},"$threadStarterMessageID":{"description":"Returns the id of the message that started this thread","args":{"channel ID":{"description":"The thread to get its starter message id"}}},"$threadTotalMessagesSent":{"description":"Returns the total count of sent messages in a thread","args":{"channel ID":{"description":"The thread to pull data from"}}},"$transcript":{"description":"Creates a channel transcript","args":{"channel ID":{"description":"The channel to create transcript of"},"variable":{"description":"The $env variable name to load the message id to"},"code":{"description":"The code to use for every message, make sure to use $return"},"separator":{"description":"The separator to use for every result"},"full":{"description":"Whether to load entire message object to the variable"}}},"$unarchiveThread":{"description":"Unarchives a thread, returns bool","args":{"channel ID":{"description":"The thread to unarchive"},"reason":{"description":"The reason to unarchive this thread"}}},"$unlockThread":{"description":"Unlocks a thread, returns bool","args":{"channel ID":{"description":"The thread to unlock"},"reason":{"description":"The reason to unlock this thread"}}},"$commandCount":{"description":"Returns the command count","args":{"categories":{"description":"The event types to filter by"}}},"$commandInfo":{"description":"Retrieves command info","args":{"type":{"description":"The command type"},"name":{"description":"The command name"},"property":{"description":"The property to retrieve"}}},"$commandName":{"description":"Returns the current command name"},"$commandNames":{"description":"Return commands with given type","args":{"type":{"description":"The command type to pull names from"},"separator":{"description":"The separator to use for every name"}}},"$deleteCommand":{"description":"Deletes the author's message"},"$addActionRow":{"description":"Adds an action row"},"$addActionRowTo":{"description":"Adds an action row (or rows) to a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to add row to"},"components":{"description":"Components for this row"},"keep existing rows":{"description":"Whether to keep or remove existing rows of given message"}}},"$addButton":{"description":"Adds a button component to the newest row","args":{"custom ID":{"description":"The custom id for this component"},"label":{"description":"The button label"},"style":{"description":"The style for this button"},"emoji":{"description":"The emoji for this button"},"disabled":{"description":"Whether to disable the button"}}},"$addButtonTo":{"description":"Adds a button component to the newest row in a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to add button to"},"custom ID":{"description":"The custom id for this component"},"label":{"description":"The button label"},"style":{"description":"The style for this button"},"emoji":{"description":"The emoji for this button"},"disabled":{"description":"Whether to disable the button"}}},"$addChannelSelectMenu":{"description":"Creates a channel select menu","args":{"custom ID":{"description":"The custom id for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"disabled":{"description":"Whether the menu is disabled by default"},"required":{"description":"Whether this menu is required inside a modal"}}},"$addChannelSelectMenuTo":{"description":"Creates a channel select menu on a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to add select menu to"},"custom ID":{"description":"The custom id for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"disabled":{"description":"Whether the menu is disabled by default"},"default channels":{"description":"The default selected channels to use"}}},"$addChannelType":{"description":"Adds channel types to the last select menu","args":{"types":{"description":"The channel types to add"}}},"$addCheckbox":{"description":"Adds a new checkbox component to the newest modal label","args":{"custom ID":{"description":"The custom id for this field"},"default":{"description":"Whether this field is checked by default"}}},"$addCheckboxGroup":{"description":"Adds a new checkbox group component to the newest modal label","args":{"custom ID":{"description":"The custom id for this field"},"min options":{"description":"The min options that can be selected"},"max options":{"description":"The max options that can be selected"},"required":{"description":"Whether selecting an option is required"}}},"$addCheckboxOption":{"description":"Adds a new option to the newest checkbox group component","args":{"name":{"description":"The option name"},"value":{"description":"The value to use for this option"},"description":{"description":"The description for this option"},"default":{"description":"Whether to set this option as default"}}},"$addChoice":{"description":"Adds an autocomplete choice","args":{"choice name":{"description":"The name for this choice"},"choice value":{"description":"The value for this choice"}}},"$addContainer":{"description":"Adds a new container component","args":{"components":{"description":"The components to add"},"color":{"description":"The color to set"},"spoiler":{"description":"Whether to set a spoiler"}}},"$addDefaultChannelOption":{"description":"Adds default channel options to the last select menu","args":{"channel IDs":{"description":"The channel ids"}}},"$addDefaultRoleOption":{"description":"Adds default role options to the last select menu","args":{"role IDs":{"description":"The role ids"}}},"$addDefaultUserOption":{"description":"Adds default user options to the last select menu","args":{"user IDs":{"description":"The user ids"}}},"$addFile":{"description":"Adds a new file component","args":{"url":{"description":"The url of the file (must use attachment://)"},"spoiler":{"description":"Whether to set a spoiler"}}},"$addFileUpload":{"description":"Adds a new file upload component to the newest modal label","args":{"custom ID":{"description":"The custom id for this field"},"min values":{"description":"The min values of file uploads"},"max values":{"description":"The max values of file uploads"},"required":{"description":"Whether this field is required"}}},"$addLabel":{"description":"Adds a new label component to the modal","args":{"name":{"description":"The name for the label"},"description":{"description":"The description for the label"},"component":{"description":"The component to attach to the label"}}},"$addMediaGallery":{"description":"Adds a new media gallery component","args":{"items":{"description":"The media items to add"}}},"$addMediaItem":{"description":"Adds a new media gallery item","args":{"url":{"description":"The url for the media item"},"description":{"description":"The description of the media item"},"spoiler":{"description":"Whether to set a spoiler"}}},"$addMentionableSelectMenu":{"description":"Creates a mentionable select menu","args":{"custom ID":{"description":"The custom id for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"disabled":{"description":"Whether the menu is disabled by default"},"required":{"description":"Whether this menu is required inside a modal"}}},"$addMentionableSelectMenuTo":{"description":"Creates a mentionable select menu on a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to add row to"},"custom ID":{"description":"The custom id for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"disabled":{"description":"Whether the menu is disabled by default"},"default roles/users":{"description":"The default selected roles or users to use"}}},"$addOption":{"description":"Adds a select menu option","args":{"name":{"description":"The option name"},"description":{"description":"The description for this option"},"value":{"description":"The value to use for this option"},"emoji":{"description":"The emoji to use for this option"},"default":{"description":"Whether to set this option as default"}}},"$addRadioGroup":{"description":"Adds a new radio group component to the newest modal label","args":{"custom ID":{"description":"The custom id for this field"},"required":{"description":"Whether selecting an option is required"}}},"$addRadioOption":{"description":"Adds a new option to the newest radio group component","args":{"name":{"description":"The option name"},"value":{"description":"The value to use for this option"},"description":{"description":"The description for this option"},"default":{"description":"Whether to set this option as default"}}},"$addRoleSelectMenu":{"description":"Creates a role select menu","args":{"custom ID":{"description":"The custom id for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"disabled":{"description":"Whether the menu is disabled by default"},"required":{"description":"Whether this menu is required inside a modal"}}},"$addRoleSelectMenuTo":{"description":"Creates a role select menu on a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to add select menu to"},"custom ID":{"description":"The custom id for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"disabled":{"description":"Whether the menu is disabled by default"},"default roles":{"description":"The default selected roles to use"}}},"$addSection":{"description":"Adds a new section component","args":{"components":{"description":"The components and accessory to add"}}},"$addSeparator":{"description":"Adds a new separator component","args":{"spacing":{"description":"The spacing of this separator"},"divider":{"description":"Whether to show a divider line"}}},"$addStringSelectMenu":{"description":"Creates a string select menu","args":{"custom ID":{"description":"The custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"required":{"description":"Whether this menu is required inside a modal"}}},"$addStringSelectMenuTo":{"description":"Creates a string select menu on a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to add select menu to"},"custom ID":{"description":"The custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"}}},"$addTextDisplay":{"description":"Adds a new text display component","args":{"content":{"description":"The content of this text display"}}},"$addTextInput":{"description":"Adds a text input field to the modal","args":{"custom ID":{"description":"The custom id for this field"},"name":{"description":"The field name, will be overwritten when used inside a label"},"type":{"description":"Paragraph or short"},"required":{"description":"Whether this field is required"},"placeholder":{"description":"The placeholder to use for the field"},"default value":{"description":"The default value for the field"},"minimum length":{"description":"The minimum length needed"},"maximum length":{"description":"The max length needed"}}},"$addThumbnail":{"description":"Adds a new thumbnail accessory","args":{"url":{"description":"The url for the thumbnail"},"description":{"description":"The description of the thumbnail"},"spoiler":{"description":"Whether to set a spoiler"}}},"$addUserSelectMenu":{"description":"Creates a user select menu","args":{"custom ID":{"description":"The custom id for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"disabled":{"description":"Whether the menu is disabled by default"},"required":{"description":"Whether this menu is required inside a modal"}}},"$addUserSelectMenuTo":{"description":"Creates a user select menu on a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to add select menu to"},"custom ID":{"description":"The custom id for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"disabled":{"description":"Whether the menu is disabled by default"},"default users":{"description":"The default selected users to use"}}},"$deleteActionRow":{"description":"Deletes an action row or top level component at given index","args":{"index":{"description":"The row index to delete"}}},"$deleteActionRowFrom":{"description":"Deletes an action row or top level component at given index","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to remove row from"},"index":{"description":"The row index to delete"}}},"$deleteComponent":{"description":"Deletes a message component with given custom id","args":{"custom ID":{"description":"The component's custom id to delete"}}},"$deleteComponentFrom":{"description":"Deletes a message component with given custom id from a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to remove component from"},"custom ID":{"description":"The component's custom id to delete"}}},"$disableButtons":{"description":"Disables all buttons on the current message","args":{"index":{"description":"The index of the row to disable"}}},"$disableButtonsOf":{"description":"Disables all buttons of a message, returns bool","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to disable buttons on"},"index":{"description":"The index of the row to disable"}}},"$disableComponents":{"description":"Disables all components on the current message"},"$disableComponentsOf":{"description":"Disables all components of a message, returns bool","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to disable components on"}}},"$editButton":{"description":"Edits a button component","args":{"custom ID":{"description":"The custom id to find the component"},"new custom ID":{"description":"The new custom id for this component"},"label":{"description":"The new button label"},"style":{"description":"The new style for this button"},"emoji":{"description":"The new emoji for this button"},"disabled":{"description":"Whether to disable the button"}}},"$editButtonOf":{"description":"Edits a button component of a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to edit button for"},"custom ID":{"description":"The custom id to find the component"},"new custom ID":{"description":"The new custom id for this component"},"label":{"description":"The new button label"},"style":{"description":"The new style for this button"},"emoji":{"description":"The new emoji for this button"},"disabled":{"description":"Whether to disable the button"}}},"$editChannelSelectMenu":{"description":"Edits a channel select menu","args":{"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"default channels":{"description":"The default selected channels of the menu"}}},"$editChannelSelectMenuOf":{"description":"Edits a channel select menu of a message, returns bool","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to edit select menu for"},"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"default channels":{"description":"The default selected channels of the menu"}}},"$editMentionableSelectMenu":{"description":"Edits a mentionable select menu","args":{"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"default roles/users":{"description":"The default selected roles or users to use"}}},"$editMentionableSelectMenuOf":{"description":"Edits a mentionable select menu of a message, returns bool","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to edit select menu for"},"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"default roles/users":{"description":"The default selected roles or users to use"}}},"$editOption":{"description":"Edits a select menu option","args":{"name":{"description":"The option name to find"},"new name":{"description":"The new option name"},"description":{"description":"The new description for this option"},"value":{"description":"The new value for this option"},"emoji":{"description":"The new emoji for this option"},"default":{"description":"Whether to set this option as default"}}},"$editRoleSelectMenu":{"description":"Edits a role select menu","args":{"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"default roles":{"description":"The default selected roles of the menu"}}},"$editRoleSelectMenuOf":{"description":"Edits a role select menu of a message, returns bool","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to edit select menu for"},"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"default roles":{"description":"The default selected roles of the menu"}}},"$editStringSelectMenu":{"description":"Edits a string select menu","args":{"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"}}},"$editStringSelectMenuOf":{"description":"Edits a string select menu of a message","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to edit select menu for"},"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"}}},"$editUserSelectMenu":{"description":"Edits a user select menu","args":{"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"default users":{"description":"The default selected users of the menu"}}},"$editUserSelectMenuOf":{"description":"Edits a user select menu of a message, returns bool","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to edit select menu for"},"old custom ID":{"description":"The custom id of the menu to edit"},"new custom ID":{"description":"The new custom id to use for this menu"},"placeholder":{"description":"The placeholder to use for the menu"},"disabled":{"description":"Whether to keep this menu disabled"},"min values":{"description":"The min values to choose for the menu"},"max values":{"description":"The max values to choose for the menu"},"default users":{"description":"The default selected users of the menu"}}},"$enableButtons":{"description":"Enables all buttons on the current message","args":{"index":{"description":"The index of the row to enable"}}},"$enableButtonsOf":{"description":"Enables all buttons of a message, returns bool","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to enable buttons on"},"index":{"description":"The index of the row to enable"}}},"$enableComponents":{"description":"Enables all components on the current message"},"$enableComponentsOf":{"description":"Enables all components of a message, returns bool","args":{"channel ID":{"description":"The channel id to pull message from"},"message ID":{"description":"The message to enable components on"}}},"$setChannelType":{"description":"Sets channel types for the last select menu","args":{"types":{"description":"The channel types to set"}}},"$and":{"description":"Validates multiple conditions","args":{"conditions":{"description":"The conditions that must match"}}},"$checkCondition":{"description":"Checks whether a condition is valid","args":{"condition":{"description":"The condition to use"}}},"$isBoolean":{"description":"Checks whether given value is bool like","args":{"value":{"description":"Value to check if its a valid bool"}}},"$isValidHex":{"description":"Checks whether given hex is a valid integer number between 0x00000 and 0xffffff","args":{"hex":{"description":"The hex to check for"}}},"$isValidLink":{"description":"Checks whether a link is valid, this will not make sure that a site actually exists or returns success HTTP responses","args":{"link":{"description":"The link to check"}}},"$or":{"description":"Validates one condition","args":{"conditions":{"description":"The conditions that must match one"}}},"$channelCooldown":{"description":"Adds a cooldown binded to a channel and command","args":{"channel ID":{"description":"The channel id to assign the cooldown to"},"duration":{"description":"The duration of the cooldown"},"code":{"description":"The code to execute if the cooldown is active"}}},"$cooldown":{"description":"Adds a command cooldown","args":{"id":{"description":"The id to assign the cooldown to, can be anything"},"duration":{"description":"The duration of the cooldown"},"code":{"description":"The code to execute if the cooldown is active"}}},"$deleteChannelCooldown":{"description":"Deletes cooldown for given channel id, binded to current command","args":{"channel ID":{"description":"The id to delete its cooldown"}}},"$deleteCooldown":{"description":"Deletes cooldown of given id","args":{"id":{"description":"The id to delete its cooldown"}}},"$deleteGuildCooldown":{"description":"Deletes cooldown for given guild id, binded to current command","args":{"guild ID":{"description":"The id to delete its cooldown"}}},"$deleteMemberCooldown":{"description":"Deletes cooldown for given guild and user id, binded to current command","args":{"guild ID":{"description":"The id to delete its cooldown"},"user ID":{"description":"The id to delete its cooldown"}}},"$deleteUserCooldown":{"description":"Deletes cooldown for given user id, binded to current command","args":{"user ID":{"description":"The id to delete its cooldown"}}},"$getCooldownTime":{"description":"Retrieves current cooldown time in ms for given id","args":{"id":{"description":"The id to get its cooldown"}}},"$getGuildCooldownTime":{"description":"Retrieves current cooldown time in ms for given guild id, binded to current command","args":{"guild ID":{"description":"The guild id to get its cooldown"}}},"$getMemberCooldownTime":{"description":"Retrieves current cooldown time in ms for given guild and user id, binded to current command","args":{"guild ID":{"description":"The guild id to get its cooldown"},"user ID":{"description":"The user id to get its cooldown"}}},"$getUserCooldownTime":{"description":"Retrieves current cooldown time in ms for given user id, binded to current command","args":{"user ID":{"description":"The user id to get its cooldown"}}},"$guildCooldown":{"description":"Adds a cooldown binded to a guild and command","args":{"guild ID":{"description":"The guild id to assign the cooldown to"},"duration":{"description":"The duration of the cooldown"},"code":{"description":"The code to execute if the cooldown is active"}}},"$memberCooldown":{"description":"Adds a cooldown binded to a guild member and command","args":{"guild ID":{"description":"The guild id to assign the cooldown to"},"user ID":{"description":"The user id to assign the cooldown to"},"duration":{"description":"The duration of the cooldown"},"code":{"description":"The code to execute if the cooldown is active"}}},"$userCooldown":{"description":"Adds a cooldown binded to a user and command","args":{"user ID":{"description":"The user id to assign the cooldown to"},"duration":{"description":"The duration of the cooldown"},"code":{"description":"The code to execute if the cooldown is active"}}},"$createQueryParams":{"description":"Creates query params with given fields","args":{"param name;param value":{"description":"The param name followed by the value, (param1;value1)"}}},"$decodeURI":{"description":"Decodes text from a url","args":{"text":{"description":"The text to decode"}}},"$decodeURIComponent":{"description":"Decodes text from a url","args":{"text":{"description":"The text to decode"}}},"$decrypt":{"description":"Decrypts given text with a key","args":{"text":{"description":"The text to decrypt"},"key":{"description":"The key to use to decrypt the text"}}},"$deflate":{"description":"Compresses given input","args":{"input":{"description":"The text to compress"},"encoding":{"description":"The output encoding to use"}}},"$encodeURI":{"description":"Encodes text for a url","args":{"text":{"description":"The text to encode"}}},"$encodeURIComponent":{"description":"Encodes text for a url","args":{"text":{"description":"The text to encode"}}},"$encrypt":{"description":"Encrypts given text with a key","args":{"text":{"description":"The text to encrypt"},"key":{"description":"The key to use to encrypt text"}}},"$inflate":{"description":"Decompresses given input","args":{"input":{"description":"The text to decompress"},"encoding":{"description":"The input encoding to use"}}},"$md5":{"description":"Creates a md5 key from given input","args":{"input":{"description":"Input to use for feeding"},"encoding":{"description":"The output encoding"}}},"$randomBytes":{"description":"Generates a string of random bytes, in hex","args":{"length":{"description":"The length of the hex string"}}},"$sha256":{"description":"Creates a sha256 key from given input","args":{"input":{"description":"Input to use for feeding"},"encoding":{"description":"The output encoding"}}},"$sha512":{"description":"Creates a sha512 key from given input","args":{"input":{"description":"Input to use for feeding"},"encoding":{"description":"The output encoding"}}},"$addField":{"description":"Adds an embed field","args":{"name":{"description":"The name for the field"},"value":{"description":"The value for the field"},"inline":{"description":"Whether this field will be inline"},"index":{"description":"The index to add this data to"}}},"$author":{"description":"Adds an embed author","args":{"name":{"description":"Adds a name to the embed author"},"icon":{"description":"The icon url"},"hyperlink":{"description":"The hyperlink url"},"index":{"description":"The index to add this data to"}}},"$color":{"description":"Adds an embed color","args":{"color":{"description":"The color for the embed"},"index":{"description":"The index to add this data to"}}},"$deleteField":{"description":"Deletes an embed field","args":{"field index":{"description":"The index field to delete"},"index":{"description":"The index to delete this field on"}}},"$description":{"description":"Adds an embed description","args":{"description":{"description":"The description for the embed"},"index":{"description":"The index to add this data to"}}},"$editField":{"description":"Edits an embed field","args":{"field index":{"description":"The index field to edit"},"name":{"description":"The name for the field"},"value":{"description":"The value for the field"},"inline":{"description":"Whether this field will be inline"},"index":{"description":"The index to edit this data on"}}},"$footer":{"description":"Adds an embed footer","args":{"text":{"description":"The text for the embed footer"},"icon":{"description":"The icon url for the embed footer"},"index":{"description":"The index to add this data to"}}},"$image":{"description":"Adds an embed image","args":{"url":{"description":"The url for the embed image"},"index":{"description":"The index to add this data to"}}},"$thumbnail":{"description":"Adds an embed thumbnail","args":{"url":{"description":"The url for the embed thumbnail"},"index":{"description":"The index to add this data to"}}},"$timestamp":{"description":"Adds an embed timestamp","args":{"ms":{"description":"The timestamp time to add"},"index":{"description":"The index to add this data to"}}},"$title":{"description":"Adds an embed title","args":{"title":{"description":"Adds a title to the embed"},"hyperlink":{"description":"The hyperlink url"},"index":{"description":"The index to add this data to"}}},"$addApplicationEmoji":{"description":"Adds an application emoji, returns the emoji id","args":{"name":{"description":"The name for the emoji"},"url":{"description":"The emoji icon to use"},"return emoji ID":{"description":"Whether to return the emoji id"}}},"$addEmoji":{"description":"Adds an emoji to a guild, returns the emoji id","args":{"guild ID":{"description":"The guild to add this emote to"},"name":{"description":"The name for the emoji"},"url":{"description":"The emoji icon to use"},"return emoji ID":{"description":"Whether to return the emoji id"},"roles":{"description":"The roles to limit usage of this emote"}}},"$deleteApplicationEmojis":{"description":"Deletes application emojis, returns the count of emojis deleted","args":{"emojis":{"description":"The emojis to delete"}}},"$deleteEmojiMessageReactions":{"description":"Deletes all emoji reactions from a message, returns amount of reaction emojis successfully deleted","args":{"channel ID":{"description":"The channel the message is located"},"message ID":{"description":"The message to remove emoji reactions from"},"emojis":{"description":"The emojis to delete from this message"}}},"$deleteEmojis":{"description":"Deletes given emojis from a guild, returns the count of emotes deleted","args":{"guild ID":{"description":"The guild to delete emotes from"},"emojis":{"description":"The emojis to delete"}}},"$editApplicationEmoji":{"description":"Edits an application emoji, returns bool","args":{"emoji ID":{"description":"The emoji to edit"},"name":{"description":"The new name for the emoji"}}},"$editEmoji":{"description":"Edits an emoji of a guild, returns bool","args":{"guild ID":{"description":"The guild to edit this emoji on"},"emoji ID":{"description":"The emoji to edit"},"name":{"description":"The new name for the emoji"},"reason":{"description":"The reason for editing the emoji"},"roles":{"description":"The new roles to limit usage of this emoji to"}}},"$emoji":{"description":"Formats given emoji","args":{"emoji ID":{"description":"The emoji id to format"}}},"$emojiAnimated":{"description":"Returns whether the emoji is animated","args":{"emoji ID":{"description":"The emoji to return its animation state"}}},"$emojiAuthorID":{"description":"Returns the author id of an emoji","args":{"emoji ID":{"description":"The emoji to return its author"}}},"$emojiCount":{"description":"Returns the emoji count of all servers","args":{"type":{"description":"The type of the emotes to count"}}},"$emojiCreatedAt":{"description":"Returns the emoji creation timestamp","args":{"emoji ID":{"description":"The emoji to return its creation timestamp"}}},"$emojiExists":{"description":"Returns whether an emoji id exists","args":{"emoji ID":{"description":"The emoji id to check"}}},"$emojiGuildID":{"description":"Returns the emoji guild id","args":{"emoji ID":{"description":"The emoji to return its guild id"}}},"$emojiID":{"description":"Returns the emoji id","args":{"emoji name":{"description":"The emoji name to return its id"}}},"$emojiIDs":{"description":"Returns every guild emoji id","args":{"separator":{"description":"The separator to use for every emoji"}}},"$emojiIdentifier":{"description":"Returns the emoji identifier","args":{"emoji ID":{"description":"The emoji to return its identifier"}}},"$emojiName":{"description":"Returns the emoji name","args":{"emoji ID":{"description":"The emoji to return its name"}}},"$emojiNames":{"description":"Returns the emote names of a guild","args":{"guild ID":{"description":"The guild to return the emotes of"},"separator":{"description":"The separator to use for each emoji"}}},"$emojiRawData":{"description":"Returns the raw data of an emoji","args":{"emoji ID":{"description":"The emoji to get raw data from"}}},"$emojiRequiresColons":{"description":"Returns whether the emoji requires colons","args":{"emoji ID":{"description":"The emoji to return its colons state"}}},"$emojiRoles":{"description":"Returns the role ids that can use this emote","args":{"emoji ID":{"description":"The emoji to return its roles"},"separator":{"description":"The separator to use for every role"}}},"$emojiURL":{"description":"Returns the emoji url","args":{"emoji ID":{"description":"The emoji to return its url"}}},"$fetchApplicationEmojis":{"description":"Caches all application emojis of the client"},"$getApplicationEmojis":{"description":"Gets all application emojis","args":{"property":{"description":"The property to return for every emoji"},"separator":{"description":"The separator to use for every emoji property"}}},"$randomApplicationEmojiID":{"description":"Returns a random emoji ID of the application"},"$randomEmojiID":{"description":"Returns a random emoji ID"},"$randomGuildEmojiID":{"description":"Returns a random emoji ID of a guild","args":{"guild ID":{"description":"The guild to get emoji from"}}},"$entitlementConsume":{"description":"Consumes an entitlement from an interaction","args":{"entitlement name":{"description":"The name of the entitlement to consume"}}},"$entitlementEndTimestamp":{"description":"Returns the time at which this entitlement ends"},"$entitlementGuildID":{"description":"Returns this entitlement's guild id"},"$entitlementID":{"description":"Returns this entitlement's id"},"$entitlementIsActive":{"description":"Returns whether this entitlement is active"},"$entitlementIsConsumed":{"description":"Returns whether this entitlement is consumed"},"$entitlementIsDeleted":{"description":"Returns whether this entitlement is deleted"},"$entitlementIsGuildSubscription":{"description":"Returns whether this entitlement is for a guild"},"$entitlementIsUserSubscription":{"description":"Returns whether this entitlement is for a user"},"$entitlementSkuID":{"description":"Returns this entitlement's sku id"},"$entitlementStartTimestamp":{"description":"Returns the time at which this entitlement starts"},"$entitlementType":{"description":"Returns this entitlement's type"},"$entitlementUserID":{"description":"Returns this entitlement's user id"},"$hasAllEntitlements":{"description":"Checks whether this interaction user has all of the given entitlements","args":{"entitlement name":{"description":"The name of the entitlements to validate"}}},"$hasAnyEntitlement":{"description":"Checks whether this interaction user has any of the given entitlements","args":{"entitlement name":{"description":"The name of the entitlements to validate"}}},"$hasEntitlement":{"description":"Checks whether this interaction user has given entitlement","args":{"entitlement name":{"description":"The name of the entitlement to validate"}}},"$createScheduledEvent":{"description":"Creates a new scheduled event on a guild, returns event id","args":{"guild ID":{"description":"The guild to create scheduled event on"},"name":{"description":"The name of the scheduled event"},"description":{"description":"The description of the scheduled event"},"type":{"description":"The entity type of the scheduled event"},"start":{"description":"The start time of the scheduled event"},"end":{"description":"The end time of the scheduled event"},"cover":{"description":"The cover image of the scheduled event"}}},"$deleteScheduledEvent":{"description":"Deletes a scheduled event from a guild, returns bool","args":{"guild ID":{"description":"The guild to delete scheduled event from"},"event ID":{"description":"The scheduled event to delete"}}},"$editScheduledEvent":{"description":"Edits an existing scheduled event on a guild, returns bool","args":{"guild ID":{"description":"The guild to edit scheduled event on"},"event ID":{"description":"The scheduled event to edit"},"name":{"description":"The new name for the scheduled event"},"description":{"description":"The new description for the scheduled event"},"type":{"description":"The new entity type for the scheduled event"},"start":{"description":"The new start time for the scheduled event"},"end":{"description":"The new end time for the scheduled event"},"cover":{"description":"The new cover image for the scheduled event"}}},"$getScheduledEvent":{"description":"Returns a scheduled event of a guild","args":{"guild ID":{"description":"The guild to get scheduled event from"},"event ID":{"description":"The scheduled event to get"},"property":{"description":"The property of the scheduled event to return"}}},"$setScheduledEventChannel":{"description":"Sets a channel for the current scheduled event","args":{"channel ID":{"description":"The voice channel of the scheduled event"}}},"$setScheduledEventLocation":{"description":"Sets a location for the current scheduled event","args":{"location":{"description":"The location of the scheduled event"}}},"$appendFile":{"description":"Appends text to a file","args":{"path":{"description":"The path to the file"},"text":{"description":"The text to append"},"encoding":{"description":"The encoding to use for text"}}},"$copyFile":{"description":"Copies given path to another path","args":{"path":{"description":"The path to make a copy of"},"destination":{"description":"The output path to copy to"}}},"$deleteFile":{"description":"Deletes a file","args":{"path":{"description":"The path to the file"}}},"$fileAccessedAt":{"description":"Gets last time a file was accessed","args":{"path":{"description":"The path to file or directory"}}},"$fileBlockCount":{"description":"Gets block count of a file or directory","args":{"path":{"description":"The path to file or directory"}}},"$fileBlockSize":{"description":"Gets block size of a file or directory","args":{"path":{"description":"The path to file or directory"}}},"$fileChangedAt":{"description":"Gets last time a file was changed","args":{"path":{"description":"The path to file or directory"}}},"$fileCreatedAt":{"description":"Gets timestamp of a file or directory","args":{"path":{"description":"The path to file or directory"}}},"$fileExists":{"description":"Checks whether a path exists","args":{"path":{"description":"The path to file or directory"}}},"$fileModifiedAt":{"description":"Gets timestamp of a file or directory when it was last modified","args":{"path":{"description":"The path to file or directory"}}},"$fileSize":{"description":"Gets size of a file or directory in bytes","args":{"path":{"description":"The path to file or directory"}}},"$isDirectory":{"description":"Checks whether a path is a directory","args":{"path":{"description":"The path to file or directory"}}},"$isFile":{"description":"Checks whether a path is a file","args":{"path":{"description":"The path to file or directory"}}},"$isSymbolicLink":{"description":"Checks whether a path is a symbolic link","args":{"path":{"description":"The path to file or directory"}}},"$mkdir":{"description":"Creates a directory","args":{"path":{"description":"The path for the dir"}}},"$mktdir":{"description":"Creates a temporary directory","args":{"prefix":{"description":"The prefix for the temp dir"}}},"$moveFile":{"description":"Moves a path to another","args":{"path":{"description":"The path to make to move"},"destination":{"description":"The output path"}}},"$pathExtensionName":{"description":"Returns the extension name of a path","args":{"path":{"description":"The path to get extension name from"}}},"$pathJoin":{"description":"Joins paths together","args":{"paths":{"description":"The paths to join with"}}},"$pathResolve":{"description":"Resolves paths into an absolute path","args":{"paths":{"description":"The paths to resolve"}}},"$readDir":{"description":"Reads the contents of a directory","args":{"path":{"description":"The path to the directory"},"separator":{"description":"The separator to use for each result"},"encoding":{"description":"The encoding to use for the result"}}},"$readFile":{"description":"Reads text from a file","args":{"path":{"description":"The path to the file"},"encoding":{"description":"The encoding to use for the text"}}},"$renameFile":{"description":"Renames a file","args":{"old path":{"description":"The old path to the file"},"new path":{"description":"The new path to the file"}}},"$symlink":{"description":"Creates a symbolic link to another path","args":{"path":{"description":"The path to make to use as reference"},"other path":{"description":"The other path to link"}}},"$truncateFile":{"description":"Truncates text in a file to given length","args":{"path":{"description":"The path to the file"},"length":{"description":"The new length for the file"}}},"$writeFile":{"description":"Writes text to a file","args":{"path":{"description":"The path to the file"},"text":{"description":"The text to write"},"encoding":{"description":"The encoding to use for text"}}},"$bold":{"description":"Makes given text bold","args":{"text":{"description":"The text to make bold, this will attempt to escape all *"}}},"$codeBlock":{"description":"Creates a code block with given text","args":{"text":{"description":"The text to create block with, this will attempt to escape all `"},"lang":{"description":"The language to give to this code block"}}},"$hyperlink":{"description":"Creates a hyperlink text","args":{"text":{"description":"The text to make hyperlink"},"url":{"description":"The url to use for hyperlink"}}},"$inlineCode":{"description":"Adds backticks to text","args":{"text":{"description":"The text to mark down, this will attempt to escape all `"}}},"$italic":{"description":"Makes given text italic","args":{"text":{"description":"The text to make italic, this will attempt to escape all _ and *"}}},"$spoiler":{"description":"Makes given text a spoiler","args":{"text":{"description":"The text to make spoiler, this will attempt to escape all |"}}},"$strikethrough":{"description":"Makes given text strikethrough","args":{"text":{"description":"The text to make strikethrough, this will attempt to escape all ~"}}},"$subtext":{"description":"Makes given text a subtext","args":{"text":{"description":"The text to make subtext"}}},"$underline":{"description":"Adds an underline to text","args":{"text":{"description":"The text to add underline to, this will attempt to escape all _"}}},"$createGuild":{"description":"Creates a new guild, returns guild id","args":{"name":{"description":"The name for the guild"},"icon":{"description":"The icon for the guild"},"template":{"description":"The template to use for the guild"}}},"$createGuildTemplate":{"description":"Creates template for a guild, returns template code","args":{"guild ID":{"description":"The guild to create template on"},"name":{"description":"The name for the template"},"description":{"description":"The description for the template"}}},"$deleteGuild":{"description":"Deletes a guild, returns bool","args":{"guild ID":{"description":"The guild to delete"}}},"$deleteGuildApplicationCommands":{"description":"Deletes all guild commands of your bot from a guild","args":{"guild ID":{"description":"The guild to delete commands from"}}},"$deleteGuildTemplate":{"description":"Deletes template from a guild, returns bool","args":{"template code":{"description":"The code of the template to delete"}}},"$editGuildTemplate":{"description":"Edits template on a guild, returns bool","args":{"template code":{"description":"The code of the template to edit"},"name":{"description":"The new name for the template"},"description":{"description":"The new description for the template"}}},"$getGuildInvite":{"description":"Returns information about a guild invite","args":{"guild ID":{"description":"The guild to fetch invite from"},"code":{"description":"The invite code"},"property":{"description":"The property of the invite to return"}}},"$getGuildPreview":{"description":"Returns the preview of a guild","args":{"guild ID":{"description":"The guild to fetch preview from"},"property":{"description":"The property to return"},"separator":{"description":"The separator to use in case of array"}}},"$getGuildTemplate":{"description":"Gets the data of a guild template","args":{"template code":{"description":"The code of the template to get"},"property":{"description":"The property of the template to return"}}},"$guildAfkChannelID":{"description":"Returns the server's afk channel ID","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildAfkTimeout":{"description":"Returns the server's afk timeout","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildApproximateMemberCount":{"description":"Returns the approximated member count","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildApproximatePresenceCount":{"description":"Returns the approximated presence count","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildAutomodRules":{"description":"Returns all automod rules of a guild","args":{"guild ID":{"description":"The guild to get automod rules from"},"property":{"description":"The property of each automod rule to return"},"separator":{"description":"The separator to use for each property"}}},"$guildAvailable":{"description":"Returns whether the server is available","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildBanReason":{"description":"Fetches a ban reason of a user","args":{"guild ID":{"description":"The guild to pull ban from"},"user ID":{"description":"The user to pull ban reason"}}},"$guildBannedMembers":{"description":"Returns banned member ids of a guild","args":{"guild ID":{"description":"The guild to pull banned members from"},"separator":{"description":"The separator for each id"}}},"$guildBanner":{"description":"Returns the guild banner","args":{"guild ID":{"description":"The guild to retrieve the banner"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$guildBoostCount":{"description":"Returns the server boost count","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildBoostLevel":{"description":"Returns the server boost tier","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildBoostProgressBarEnabled":{"description":"Returns whether a guild has the boost progress bar enabled","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildBoostRoleID":{"description":"Returns the server boost role id","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildBoosterIDs":{"description":"Returns all current boosters of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"},"separator":{"description":"The separator to use for every member"}}},"$guildBotCount":{"description":"Returns the bot count of a guild","args":{"guild ID":{"description":"The guild to retrieve bot count from"}}},"$guildChannelCount":{"description":"Returns the server channel count","args":{"guild ID":{"description":"The guild to get channels from"},"categories":{"description":"The categories to filter by"}}},"$guildChannelExists":{"description":"Returns whether a guild channel id exists","args":{"guild ID":{"description":"The guild to check for the guild channel"},"channel ID":{"description":"The role to guild channel"}}},"$guildChannelIDs":{"description":"Returns every channel id of the guild","args":{"guild ID":{"description":"The guild to get channel ids from"},"separator":{"description":"The separator to use for every channel"}}},"$guildCount":{"description":"Returns the guild count"},"$guildCreatedAt":{"description":"Returns the server creation timestamp","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildDefaultMessageNotifications":{"description":"Returns the default message notifications for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildDescription":{"description":"Returns the server description","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildDiscoverySplash":{"description":"Returns the guild discovery splash","args":{"guild ID":{"description":"The guild to retrieve the discovery splash"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$guildDmSpamDetectedAt":{"description":"Returns when a direct message spam was detected on a guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildDmsDisabledUntil":{"description":"Returns the direct messages disabled timestamp of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildEmojiCount":{"description":"Returns the emoji count of a guild","args":{"guild ID":{"description":"The guild to get emotes from"},"type":{"description":"The type of the emotes to count"}}},"$guildEmojiExists":{"description":"Returns whether an emoji id exists on a guild","args":{"guild ID":{"description":"The guild to pull emoji from"},"emoji ID":{"description":"The emoji to check for"}}},"$guildEmojiIDs":{"description":"Returns every emoji id of the guild","args":{"guild ID":{"description":"The guild to get emoji ids from"},"separator":{"description":"The separator to use for every emoji"}}},"$guildEmojiLimit":{"description":"Returns the emoji limit of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildEmojis":{"description":"Returns every emoji of the guild","args":{"guild ID":{"description":"The guild to get emoji from"},"separator":{"description":"The separator to use for every emoji"}}},"$guildExists":{"description":"Returns whether a guild id exists","args":{"guild ID":{"description":"The guild to check"}}},"$guildExplicitContentFilter":{"description":"Returns the explicit content filter level for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildFeatures":{"description":"Returns the guild features","args":{"guild ID":{"description":"The guild to retrieve the data"},"separator":{"description":"The separator to use"}}},"$guildHasAnyFeatures":{"description":"Returns whether this guild has any of the given features","args":{"guild ID":{"description":"The guild to check for features"},"features":{"description":"The features to check for"}}},"$guildHasFeatures":{"description":"Returns whether this guild has all the given features","args":{"guild ID":{"description":"The guild to check for features"},"features":{"description":"The features to check for"}}},"$guildHasTemplate":{"description":"Returns whether this guild has a template","args":{"guild ID":{"description":"The guild to check for template"}}},"$guildHighestRoleID":{"description":"Returns the highest role id of a guild","args":{"guild ID":{"description":"The guild to retrieve its highest role"}}},"$guildID":{"description":"Returns the guild id with given name","args":{"name":{"description":"The guild name to return the id"}}},"$guildIDs":{"description":"Returns all the guilds this bot is in","args":{"separator":{"description":"The separator for each guild"}}},"$guildIcon":{"description":"Returns the server icon","args":{"guild ID":{"description":"The guild to retrieve the guild icon"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$guildInviteExists":{"description":"Returns whether a guild invite code exists","args":{"guild ID":{"description":"The guild to pull invites from"},"code":{"description":"The invite to check"}}},"$guildInvites":{"description":"Returns all invites of a guild","args":{"guild ID":{"description":"The guild to pull invites from"},"property":{"description":"The property of the invites to return"},"separator":{"description":"The separator to use for each property"}}},"$guildInvitesDisabledUntil":{"description":"Returns the invites disabled timestamp of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildLarge":{"description":"Returns whether a guild is considered as large","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildLeave":{"description":"Leaves a guild","args":{"guild ID":{"description":"The guild to leave"}}},"$guildLowestRoleID":{"description":"Returns the lowest role id of a guild","args":{"guild ID":{"description":"The guild to retrieve its lowest role"}}},"$guildMFALevel":{"description":"Returns the mfa level for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildMaxStageVideoChannelUsers":{"description":"Returns the maximum video channel users for stage channels of this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildMaxVideoChannelUsers":{"description":"Returns the maximum video channel users for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildMaximumBitrate":{"description":"Returns the maximum bitrate for voice channels of this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildMaximumMembers":{"description":"Returns the maximum members for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildMaximumPresences":{"description":"Returns the maximum presences for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildMaximumStageBitrate":{"description":"Returns the maximum bitrate for stage channels of this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildMemberCount":{"description":"Returns the user count of a guild","args":{"guild ID":{"description":"The guild to retrieve member count from"},"presence":{"description":"The presence of the users to count"},"count bots":{"description":"Whether to count bots"}}},"$guildMemberIDs":{"description":"Returns all cached member ids of a guild","args":{"guild ID":{"description":"The guild to pull members from"},"separator":{"description":"The separator to use for each member"}}},"$guildNSFWLevel":{"description":"Returns the nsfw level for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildName":{"description":"Returns the server name","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildNameAcronym":{"description":"Returns the server name acronym","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildNames":{"description":"Returns the server names of the bot","args":{"separator":{"description":"The separator to use for each guild"}}},"$guildOwnerID":{"description":"Returns the server owner id","args":{"guild ID":{"description":"The guild to retrieve the owner from"}}},"$guildPartnered":{"description":"Returns whether the server is partnered","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildPreferredLocale":{"description":"Returns the server's preferred locale","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildPublicUpdatesChannelID":{"description":"Returns the server's public updates channel ID","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildRaidDetectedAt":{"description":"Returns when a raid was detected on a guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildRawData":{"description":"Returns the raw data of a guild","args":{"guild ID":{"description":"The guild to get raw data from"}}},"$guildRoleCount":{"description":"Returns the role count of a guild","args":{"guild ID":{"description":"The guild to get roles from"}}},"$guildRoleIDs":{"description":"Returns every role id of the guild","args":{"guild ID":{"description":"The guild to get role ids from"},"separator":{"description":"The separator to use for every role"},"everyone":{"description":"Whether to include the @everyone role, defaults to true"}}},"$guildRulesChannelID":{"description":"Returns the server's rules channel ID","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildSafetyAlertsChannelID":{"description":"Returns the server's safety alerts channel ID","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildScheduledEvents":{"description":"Returns all scheduled events of a guild","args":{"guild ID":{"description":"The guild to get scheduled events from"},"property":{"description":"The property of the scheduled events to return"},"separator":{"description":"The separator to use for each property"}}},"$guildShardID":{"description":"Returns the server shard ID","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildSoundboardLimit":{"description":"Returns the soundboard sound limit of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildSoundboardSounds":{"description":"Returns all soundboard sounds of a guild","args":{"guild ID":{"description":"The guild to get soundboard sounds from"},"property":{"description":"The property of each sound to return"},"separator":{"description":"The separator to use for each property"}}},"$guildSplashURL":{"description":"Returns the guild splash url","args":{"guild ID":{"description":"The guild to retrieve the splash"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$guildStageInstances":{"description":"Returns all active stage instances of a guild","args":{"guild ID":{"description":"The guild to get stage instances from"},"property":{"description":"The property of each stage instance to return"},"separator":{"description":"The separator to use for each property"}}},"$guildStickerExists":{"description":"Returns whether a sticker id exists on a guild","args":{"guild ID":{"description":"The guild to pull sticker from"},"sticker ID":{"description":"The sticker to check for"}}},"$guildStickerIDs":{"description":"Returns every sticker id of the guild","args":{"guild ID":{"description":"The guild to get sticker ids from"},"separator":{"description":"The separator to use for every sticker"}}},"$guildStickerLimit":{"description":"Returns the sticker limit of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildSystemChannelFlags":{"description":"Returns the system channel flags of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"},"separator":{"description":"The separator to use for every flag"}}},"$guildSystemChannelID":{"description":"Returns the system channel ID of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildTemplateCode":{"description":"Returns the template code of a guild","args":{"guild ID":{"description":"The guild to get template from"}}},"$guildTimedOutMembers":{"description":"Returns all current timed out members of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"},"separator":{"description":"The separator to use for every member"}}},"$guildVanityCode":{"description":"Returns the guilds vanity code","args":{"guild ID":{"description":"The guild to return its vanity code"}}},"$guildVanityUses":{"description":"Returns the guilds vanity uses","args":{"guild ID":{"description":"The guild to return its vanity uses"}}},"$guildVerificationLevel":{"description":"Returns the server verification level","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildVerified":{"description":"Returns whether the server is verified","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildWebhooks":{"description":"Returns all webhooks of a guild","args":{"guild ID":{"description":"The guild to retrieve the data"},"property":{"description":"The property to return"},"separator":{"description":"The separator to use for every property"}}},"$guildWidgetChannelEnabled":{"description":"Returns whether widget channel is enabled for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$guildWidgetChannelID":{"description":"Returns the widget channel for this guild","args":{"guild ID":{"description":"The guild to retrieve the data"}}},"$randomGuildID":{"description":"Returns a random guild ID"},"$registerGuildApplicationCommands":{"description":"Registers all application commands with type: 1 to a guild","args":{"guild ID":{"description":"The guild to register commands to"}}},"$setGuildAFKChannel":{"description":"Sets the AFK channel for a guild, returns bool","args":{"guild ID":{"description":"The guild to set AFK channel for"},"channel ID":{"description":"The new AFK channel"},"reason":{"description":"The reason for this action"}}},"$setGuildAFKTimeout":{"description":"Sets the AFK timeout for a guild, returns bool","args":{"guild ID":{"description":"The guild to set AFK timeout for"},"seconds":{"description":"The new AFK timeout in seconds (60, 300, 900, 1800, 3600)"},"reason":{"description":"The reason for this action"}}},"$setGuildBanner":{"description":"Sets a guild banner, returns boolean","args":{"guild ID":{"description":"The guild to set banner on"},"url":{"description":"The new banner"},"reason":{"description":"The reason for this action"}}},"$setGuildBoostProgressBar":{"description":"Sets a guild boost progress bar, returns bool","args":{"guild ID":{"description":"The guild to set boost progress bar for"},"enabled":{"description":"Whether to enable the boost progress bar"},"reason":{"description":"The reason for enabling/disabling boost progress bar"}}},"$setGuildDefaultMessageNotifications":{"description":"Sets the default message notifications setting for a guild, returns bool","args":{"guild ID":{"description":"The guild to set default message notifications for"},"setting":{"description":"The new default message notifications setting"},"reason":{"description":"The reason for this action"}}},"$setGuildDiscoverySplash":{"description":"Sets the discovery splash for a guild, returns bool","args":{"guild ID":{"description":"The guild to set discovery splash for"},"url":{"description":"The new discovery splash"},"reason":{"description":"The reason for this action"}}},"$setGuildDmsDisabled":{"description":"Sets the guild's DMs activity disabled for a specific duration, returns bool","args":{"guild ID":{"description":"The guild to disable DMs for"},"duration":{"description":"The duration for disabling DMs, omit to enable DMs again"}}},"$setGuildExplicitContentFilter":{"description":"Sets the explicit content filter for a guild, returns bool","args":{"guild ID":{"description":"The guild to set explicit content filter for"},"filter":{"description":"The new explicit content filter"},"reason":{"description":"The reason for this action"}}},"$setGuildIcon":{"description":"Sets a guild icon, returns boolean","args":{"guild ID":{"description":"The guild to set icon on"},"url":{"description":"The new icon"},"reason":{"description":"The reason for this action"}}},"$setGuildInvitesDisabled":{"description":"Sets the guild's invites disabled for a specific duration, returns bool","args":{"guild ID":{"description":"The guild to disable invites for"},"duration":{"description":"The duration for disabling invites, omit to enable invites again"}}},"$setGuildMFALevel":{"description":"Sets the MFA level for a guild, returns bool","args":{"guild ID":{"description":"The guild to set MFA level for"},"level":{"description":"The new MFA level"},"reason":{"description":"The reason for this action"}}},"$setGuildName":{"description":"Sets a guild name, returns boolean","args":{"guild ID":{"description":"The guild to set name"},"name":{"description":"The new name"},"reason":{"description":"The reason for this action"}}},"$setGuildOwner":{"description":"Sets the owner of a guild, returns bool","args":{"guild ID":{"description":"The guild to set owner on"},"user ID":{"description":"The new owner"},"reason":{"description":"The reason for this action"}}},"$setGuildPausedInvites":{"description":"Sets a guild paused invite status, returns bool","args":{"guild ID":{"description":"The guild to set paused invites for"},"disabled":{"description":"Whether to disable the invites"}}},"$setGuildPreferredLocale":{"description":"Sets the preferred locale of a guild, returns bool","args":{"guild ID":{"description":"The guild to set preferred locale on"},"locale":{"description":"The new preferred locale"},"reason":{"description":"The reason for this action"}}},"$setGuildPublicUpdatesChannel":{"description":"Sets the public updates channel for a guild, returns bool","args":{"guild ID":{"description":"The guild to set public updates channel for"},"channel ID":{"description":"The new public updates channel"},"reason":{"description":"The reason for this action"}}},"$setGuildRulesChannel":{"description":"Sets the rules channel for a guild, returns bool","args":{"guild ID":{"description":"The guild to set rules channel for"},"channel ID":{"description":"The new rules channel"},"reason":{"description":"The reason for this action"}}},"$setGuildSafetyAlertsChannel":{"description":"Sets the safety alerts channel for a guild, returns bool","args":{"guild ID":{"description":"The guild to set safety alerts channel for"},"channel ID":{"description":"The new safety alerts channel"},"reason":{"description":"The reason for this action"}}},"$setGuildSplash":{"description":"Sets a guild splash, returns boolean","args":{"guild ID":{"description":"The guild to set splash on"},"url":{"description":"The new splash"},"reason":{"description":"The reason for this action"}}},"$setGuildSystemChannel":{"description":"Sets the system channel for a guild, returns bool","args":{"guild ID":{"description":"The guild to set system channel for"},"channel ID":{"description":"The new system channel"},"reason":{"description":"The reason for this action"}}},"$setGuildVerificationLevel":{"description":"Sets the verification level of a guild, returns bool","args":{"guild ID":{"description":"The guild to set verification level on"},"level":{"description":"The new verification level"},"reason":{"description":"The reason for this action"}}},"$setGuildWidgetSettings":{"description":"Sets the widget settings of a guild, returns bool","args":{"guild ID":{"description":"The guild to set widget settings on"},"channel ID":{"description":"The invite channel for the widget"},"enabled":{"description":"Whether to enable the widget"},"reason":{"description":"The reason for this action"}}},"$syncGuildTemplate":{"description":"Syncs this template to the current state of the guild, returns bool","args":{"template code":{"description":"The code of the template to sync"}}},"$httpAddForm":{"description":"Adds form data to request"},"$httpAddHeader":{"description":"Adds an HTTP header","args":{"name":{"description":"The header name"},"value":{"description":"The header value"}}},"$httpAppendFile":{"description":"Appends a file to form data","args":{"key":{"description":"The key name to add this value to"},"url / path":{"description":"The path or url to use"}}},"$httpAppendValue":{"description":"Appends a key-value to form data","args":{"key":{"description":"The key name to add this value to"},"value":{"description":"The value to set"}}},"$httpGetHeader":{"description":"Gets an HTTP header","args":{"name":{"description":"The header name"}}},"$httpPing":{"description":"Returns the response time of the HTTP request"},"$httpRemoveHeader":{"description":"Removes an HTTP header","args":{"name":{"description":"The header name"}}},"$httpRequest":{"description":"Performs an http request, returns the status code","args":{"url":{"description":"The url to perform this request to"},"method":{"description":"The method to use"},"variable":{"description":"Environment variable name to load the response to"}}},"$httpResult":{"description":"Retrieve an http result value","args":{"key":{"description":"The key to return its value"}}},"$httpSetBody":{"description":"Sets a JSON body for the request","args":{"body":{"description":"The JSON body"}}},"$httpSetContentType":{"description":"Forces the http request to be decoded using given content type","args":{"type":{"description":"The content type of the result"}}},"$applicationCommandDescription":{"description":"Returns an application command description","args":{"id":{"description":"The id of the command to pull its description"}}},"$applicationCommandDisplay":{"description":"Gets the full command interaction with all options","args":{"hide option name":{"description":"Whether to suppress option names from being displayed"}}},"$applicationCommandID":{"description":"Returns the application command id","args":{"name":{"description":"The name of the command to pull its id"}}},"$applicationCommandName":{"description":"Returns an application command name","args":{"id":{"description":"The id of the command to pull its name"}}},"$applicationCommandOptions":{"description":"Returns an application command options in JSON format","args":{"id":{"description":"The id of the command to pull its options"}}},"$applicationSubCommandGroupName":{"description":"Returns the application sub command group name of this interaction"},"$applicationSubCommandName":{"description":"Returns the application sub command name of this interaction"},"$authorizingIntegrationOwners":{"description":"Returns the authorizing integration owners of this interaction","args":{"type":{"description":"The type of authorizing integration owners to return"}}},"$autocomplete":{"description":"Forces autocomplete response"},"$context":{"description":"Returns the context of this interaction"},"$customID":{"description":"Retrieves the custom id of the interaction"},"$defer":{"description":"Defers this interaction"},"$deferUpdate":{"description":"Defers this interaction as an update"},"$ephemeral":{"description":"Marks this reply as ephemeral"},"$focusedOptionName":{"description":"Returns the focused option of the command"},"$focusedOptionValue":{"description":"Returns the focused option value of the command"},"$input":{"description":"Returns the value from a modal field","args":{"custom ID":{"description":"The custom id to get its field value"},"separator":{"description":"The separator to use in case of array"}}},"$interactionDelete":{"description":"Deletes this interaction's reply"},"$interactionFollowUp":{"description":"Forces an interaction follow up","args":{"content":{"description":"The content to use for this follow up"},"return message ID":{"description":"Whether to fetch and return the message id of the follow up"}}},"$interactionRawData":{"description":"Returns the raw data of this interaction"},"$interactionReply":{"description":"Forces an interaction reply","args":{"content":{"description":"The content to use for this response"},"return message ID":{"description":"Whether to fetch and return the message id of the reply"}}},"$interactionRequirePremium":{"description":"Requires premium to use this interaction"},"$interactionUpdate":{"description":"Forces an interaction update","args":{"content":{"description":"The content to use for this response"}}},"$isActivityCommand":{"description":"Returns whether the interaction is an activity command"},"$isAnySelectMenu":{"description":"Returns whether the context is a select menu"},"$isAutocomplete":{"description":"Returns whether the interaction is autocomplete"},"$isButton":{"description":"Returns whether the interaction is a button"},"$isChannelSelectMenu":{"description":"Returns whether the context is a channel select menu"},"$isCommand":{"description":"Returns whether the interaction is a command"},"$isContextMenu":{"description":"Returns whether the interaction is a context menu"},"$isMentionableSelectMenu":{"description":"Returns whether the context is a mentionable select menu"},"$isMessageComponent":{"description":"Returns whether the interaction is a message component"},"$isMessageContextMenu":{"description":"Returns whether the interaction is a message context menu"},"$isModal":{"description":"Returns whether the context is a modal"},"$isRepliable":{"description":"Returns whether this interaction can be replied to"},"$isRoleSelectMenu":{"description":"Returns whether the context is a role select menu"},"$isSlashCommand":{"description":"Returns whether the interaction is a slash command"},"$isStringSelectMenu":{"description":"Returns whether the context is a string select menu"},"$isUserContextMenu":{"description":"Returns whether the interaction is a user context menu"},"$isUserSelectMenu":{"description":"Returns whether the context is a user select menu"},"$launchActivity":{"description":"Launches the activity of the client, if enabled"},"$locale":{"description":"Retrieves the user locale of the interaction"},"$modal":{"description":"Creates a modal","args":{"custom ID":{"description":"The custom id for this modal"},"title":{"description":"The title for the modal"}}},"$option":{"description":"Returns an option value with given name (interaction command)","args":{"option name":{"description":"The option name to retrieve its value"}}},"$selectMenuValues":{"description":"Returns select menu values","args":{"index":{"description":"The index of the value"},"separator":{"description":"The separator to use for each value"}}},"$showModal":{"description":"Shows the modal immediately"},"$targetMember":{"description":"Retrieves data of the target member","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$targetMessage":{"description":"Retrieves data of the target message","args":{"property":{"description":"The property to pull"},"separator":{"description":"Separator to use in case of array"}}},"$targetMessageEmbeds":{"description":"Retrieves data of embeds from the target message","args":{"embed index":{"description":"The embed index to get data from"},"property":{"description":"The property to pull"},"field index":{"description":"The index of the field to get"}}},"$deleteInvite":{"description":"Deletes an invite, returns bool","args":{"code":{"description":"The invite code"},"reason":{"description":"The reason for deleting the invite"}}},"$getInvite":{"description":"Returns information about an invite","args":{"code":{"description":"The invite code"},"property":{"description":"The property of the invite to return"}}},"$inviteExists":{"description":"Returns whether an invite code exists","args":{"code":{"description":"The invite to check"}}},"$inviterCode":{"description":"Returns the invite code that was used by this person","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The member to get its invite code"}}},"$inviterID":{"description":"Returns the user who invited this person","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The member to get its inviter"}}},"$isJSON":{"description":"Checks whether given JSON is valid","args":{"json":{"description":"The json to check for"}}},"$jsonAssign":{"description":"Combines multiple JSON objects into a single JSON object","args":{"variable":{"description":"The variable that holds the target object"},"other variable":{"description":"The variable to load the result to, leave empty to return output"},"objects":{"description":"The objects from which to copy properties"}}},"$jsonDelete":{"description":"Deletes a key from a traversed JSON","args":{"keys":{"description":"The keys to use to traverse the object"}}},"$jsonEntries":{"description":"Gets entries from a JSON variable","args":{"variable":{"description":"The variable to get entries from"}}},"$jsonFromEntries":{"description":"Converts an array of entries into an object","args":{"variable":{"description":"The variable to get entries from"}}},"$jsonHas":{"description":"Returns whether a key exists in a JSON object","args":{"variable":{"description":"The variable that holds json"},"key":{"description":"The key to check for"}}},"$jsonKeys":{"description":"Gets keys from a JSON variable","args":{"variable":{"description":"The variable to get keys from"}}},"$jsonLoad":{"description":"Loads JSON to an env variable","args":{"variable":{"description":"The variable to load json to"},"json":{"description":"The json data"}}},"$jsonSet":{"description":"Adds a JSON key with a value","args":{"keys;value":{"description":"The keys to traverse, with the value to use at the end"}}},"$jsonStringify":{"description":"Returns the JSON in stringified format","args":{"variable":{"description":"The variable to stringify"},"space":{"description":"The space to use"}}},"$jsonValues":{"description":"Gets values from a JSON variable","args":{"variable":{"description":"The variable to get values from"},"separator":{"description":"The separator to use for each value"}}},"$onlyForCategories":{"description":"Only executes code if given ids match the current category","args":{"code":{"description":"The code to execute if category is not whitelisted"},"channels":{"description":"The categories to check for"}}},"$onlyForChannels":{"description":"Only executes code if given ids match the current channel","args":{"code":{"description":"The code to execute if channel is not whitelisted"},"channels":{"description":"The channels to check for"}}},"$onlyForGuilds":{"description":"Only executes code if given ids match the guild","args":{"code":{"description":"The code to execute if guild is not whitelisted"},"guilds":{"description":"The guilds to check for"}}},"$onlyForRoles":{"description":"Only executes code if user has given roles","args":{"code":{"description":"The code to execute if user does not meet the roles"},"roles":{"description":"The roles to check for"}}},"$onlyForUsers":{"description":"Only executes code if given ids match the author","args":{"code":{"description":"The code to execute if user is not whitelisted"},"users":{"description":"The users to check for"}}},"$onlyIf":{"description":"Stop execution if condition is not matched","args":{"condition":{"description":"The condition to use"},"code":{"description":"The code to execute if error"}}},"$stop":{"description":"Stops code execution"},"$chalkLog":{"description":"Logs styled text to the console using Chalk","args":{"text":{"description":"The text to log"},"styles":{"description":"The styles to apply to the text"}}},"$log":{"description":"Log something to console","args":{"message":{"description":"The message to log to console"}}},"$logger":{"description":"Implements Logger API of ForgeScript","args":{"log type":{"description":"The log type"},"text":{"description":"The text to log"}}},"$findApplicationEmoji":{"description":"Finds an application emoji of the client","args":{"query":{"description":"The id, format or emoji name to find"}}},"$findChannel":{"description":"Finds a channel","args":{"query":{"description":"The id, mention or channel name to find"},"return channel":{"description":"Returns the current channel id if none found"}}},"$findChannels":{"description":"Finds channels of a guild using a query","args":{"guild ID":{"description":"The guild to find the channels on"},"query":{"description":"The id, mention or channel name to find"},"limit":{"description":"The limit of results"},"property":{"description":"The property to return"},"separator":{"description":"The separator to use for every result"},"method":{"description":"The method to use for searching"}}},"$findEmoji":{"description":"Finds an emoji","args":{"query":{"description":"The id, format or emoji name to find"}}},"$findGuild":{"description":"Finds a guild","args":{"query":{"description":"The id or guild name to find"},"return guild":{"description":"Returns the current guild id if none found"}}},"$findGuildChannel":{"description":"Finds a channel of a guild","args":{"guild ID":{"description":"The guild to find the channel on"},"query":{"description":"The id, mention or channel name to find"},"return channel":{"description":"Returns the current channel id if none found"}}},"$findGuildEmoji":{"description":"Finds an emoji of a guild","args":{"guild ID":{"description":"The guild to find the emoji on"},"query":{"description":"The id, format or emoji name to find"}}},"$findMember":{"description":"Finds a member of a guild","args":{"guild ID":{"description":"The guild to find the member on"},"query":{"description":"The id, mention or name to find"},"return author":{"description":"Returns the current author id if none found"}}},"$findMembers":{"description":"Finds member of a guild using a query","args":{"guild ID":{"description":"The guild to use"},"query":{"description":"The query to use"},"limit":{"description":"The limit of results"},"enum value":{"description":"The enum value to use"},"separator":{"description":"The separator to use for every result"}}},"$findRole":{"description":"Finds a role of a guild","args":{"guild ID":{"description":"The guild to find the role on"},"query":{"description":"The id, mention or role name to find"}}},"$findRoles":{"description":"Finds roles of a guild using a query","args":{"guild ID":{"description":"The guild to find the roles on"},"query":{"description":"The id, mention or role name to find"},"limit":{"description":"The limit of results"},"property":{"description":"The property to return"},"separator":{"description":"The separator to use for every result"},"method":{"description":"The method to use for searching"}}},"$findUser":{"description":"Finds a user","args":{"query":{"description":"The id, mention or user name to find"},"return author":{"description":"Returns the current author id if none found"}}},"$abs":{"description":"Returns the absolute value of a number (the value without regard to whether it is positive or negative)","args":{"number":{"description":"The number to use"}}},"$base":{"description":"Convert number from one base to another","args":{"number":{"description":"The target number for conversion"},"to":{"description":"The target base"},"from":{"description":"The source base"}}},"$bigintDivide":{"description":"Divides multiple numbers","args":{"numbers":{"description":"Numbers to divide"}}},"$bigintMulti":{"description":"Multiplies multiple numbers","args":{"numbers":{"description":"Numbers to multiply"}}},"$bigintSub":{"description":"Subtracts multiple numbers","args":{"numbers":{"description":"Numbers to sub"}}},"$bigintSum":{"description":"Adds multiple numbers","args":{"numbers":{"description":"Numbers to add"}}},"$ceil":{"description":"Returns the smallest integer greater than or equal to its numeric argument","args":{"number":{"description":"The number to use"}}},"$divide":{"description":"Divides multiple numbers","args":{"numbers":{"description":"Numbers to divide"}}},"$floor":{"description":"Returns the greatest integer less than or equal to its numeric argument","args":{"number":{"description":"The number to use"}}},"$logn":{"description":"Returns the natural logarithm (base e) of a number","args":{"number":{"description":"Number to get its logarithm"}}},"$math":{"description":"Runs math expression, returns nothing if incorrect expression","args":{"expr":{"description":"The math expression to run"}}},"$max":{"description":"Returns the largest number of the ones given","args":{"numbers":{"description":"Numbers among which to find the largest"}}},"$min":{"description":"Returns the smallest number of the ones given","args":{"numbers":{"description":"Numbers among which to find the smallest"}}},"$modulo":{"description":"Returns the remainder of multiple numbers","args":{"numbers":{"description":"Numbers to get their remainders"}}},"$multi":{"description":"Multiplies multiple numbers","args":{"numbers":{"description":"Numbers to multiply"}}},"$pi":{"description":"Returns the constant pi"},"$pow":{"description":"Exponentially multiply multiple numbers","args":{"numbers":{"description":"Numbers to power by"}}},"$round":{"description":"Rounds provided number to a certain number of decimal places","args":{"number":{"description":"The number to use"},"decimal places":{"description":"The number of decimal places to round to"}}},"$sign":{"description":"Returns the sign of the x, indicating whether x is positive, negative or zero","args":{"number":{"description":"The number to use"}}},"$sqrt":{"description":"Returns the square root of a number","args":{"number":{"description":"The number to use"}}},"$sub":{"description":"Subtracts multiple numbers","args":{"numbers":{"description":"Numbers to sub"}}},"$sum":{"description":"Adds multiple numbers","args":{"numbers":{"description":"Numbers to add"}}},"$trunc":{"description":"Returns the integer part of the a numeric expression, x, removing any fractional digits. If x is already an integer, the result is x","args":{"number":{"description":"The number to use"}}},"$ban":{"description":"Bans a member from the guild, returns true or false depending on whether the action was successfully performed","args":{"guild ID":{"description":"The guild to ban a member from"},"user ID":{"description":"The member to ban"},"reason":{"description":"The reason to ban for"},"delete message seconds":{"description":"Delete messages from this member that were sent in this seconds time span"}}},"$fetchMembers":{"description":"Caches all members of a guild","args":{"guild ID":{"description":"The guild to cache members of"},"user ID":{"description":"The member to fetch"}}},"$hasAnyPerms":{"description":"Returns whether given member has any of the provided perms","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to check for perms"},"perms":{"description":"The perms to check for"}}},"$hasAnyRole":{"description":"Returns whether given member has any role","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to check for roles"},"roles":{"description":"The roles to check for"}}},"$hasPerms":{"description":"Returns whether given member has X perms","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to check for perms"},"perms":{"description":"The perms to check for"}}},"$hasRoles":{"description":"Returns whether given member has all roles","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to check for roles"},"roles":{"description":"The roles to check for"}}},"$isBannable":{"description":"Returns whether a member is bannable","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to check for"}}},"$isBanned":{"description":"Returns whether this user is banned","args":{"guild ID":{"description":"The guild to check bans on"},"user ID":{"description":"The user to check ban status for"}}},"$isBoosting":{"description":"Returns whether this member is boosting","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to check boost status for"}}},"$isDeaf":{"description":"Returns whether a member is deafened","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to get its voice state"}}},"$isGuildDeaf":{"description":"Returns whether a member is server deafened","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to get its voice state"}}},"$isGuildMuted":{"description":"Returns whether a member is server muted","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to get its voice state"}}},"$isKickable":{"description":"Returns whether a member is kickable","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to check for"}}},"$isManageable":{"description":"Returns whether a member is manageable","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to check for"}}},"$isModeratable":{"description":"Returns whether a member is moderatable","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to check for"}}},"$isMuted":{"description":"Returns whether a member is muted","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to get its voice state"}}},"$isSelfDeaf":{"description":"Returns whether a member is self deafened","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to get its voice state"}}},"$isSelfMuted":{"description":"Returns whether a member is self muted","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to get its voice state"}}},"$isTimedOut":{"description":"Returns whether a member is timed out","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The member to check for timeout"}}},"$isVerified":{"description":"Returns whether a member is verified","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to get its verified status"}}},"$kick":{"description":"Kicks a member from the guild, returns true or false depending on whether the action was successfully performed","args":{"guild ID":{"description":"The guild to kick a member from"},"user ID":{"description":"The user to kick"},"reason":{"description":"The reason to kick for"}}},"$memberActivity":{"description":"Returns the activity of a member","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to return its activity"},"property":{"description":"The property of the activity to return"},"separator":{"description":"The separator to use for every property"}}},"$memberAddRoles":{"description":"Adds roles to a member, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to add roles to"},"roles":{"description":"The roles to add"}}},"$memberAvatar":{"description":"Returns the member avatar","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to retrieve the avatar"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$memberAvatarDecoration":{"description":"Returns the member's avatar decoration","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get its avatar decoration"}}},"$memberBanner":{"description":"Returns the member banner","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to retrieve the banner"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$memberBoostingSince":{"description":"Returns when the member started boosting the guild","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to check boost status for"}}},"$memberBotRoleID":{"description":"Returns the managed bot role of a member, only available for bots","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get the managed bot role from"}}},"$memberCustomStatus":{"description":"Returns the custom status of a member","args":{"guild ID":{"description":"The guild to pull the user from"},"user ID":{"description":"The user to return its custom status"},"type":{"description":"The type of the custom status to fetch"}}},"$memberDisplayColor":{"description":"Returns the display color of a member","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get its color"}}},"$memberDisplayName":{"description":"Returns the display name of a member","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get its display name"}}},"$memberExists":{"description":"Returns whether a member id exists on a guild","args":{"guild ID":{"description":"The guild to check for the member"},"member ID":{"description":"The member to check for"}}},"$memberFlags":{"description":"Returns the flags of a member","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get its flags"},"separator":{"description":"The separator to use for every flag"}}},"$memberHighestRoleID":{"description":"Returns the highest role id of a member","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get its highest role id"}}},"$memberJoinPosition":{"description":"Returns the position at which the member joined the guild","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get its join position"}}},"$memberJoinedAt":{"description":"Returns the timestamp the member joined at","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get its join date"}}},"$memberLowestRoleID":{"description":"Returns the lowest role id of a member","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get its lowest role id"}}},"$memberPerms":{"description":"Returns the member perms","args":{"guild ID":{"description":"The guild to pull the member from"},"user ID":{"description":"The member to return its perms"},"separator":{"description":"The separator to use for every perm"},"return int":{"description":"Whether to return the perms as bitfield int"}}},"$memberRawData":{"description":"Returns the raw data of a member","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The member to get raw data from"}}},"$memberRemoveRoles":{"description":"Removes roles from a member, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to remove roles from"},"roles":{"description":"The roles to remove"}}},"$memberRoles":{"description":"Returns the role ids of a member","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to get roles from"},"separator":{"description":"The separator to use for each role"}}},"$memberSetNickname":{"description":"Edits a member's nickname, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The member to edit its nickname"},"nickname":{"description":"The new nickname, leave empty to reset"}}},"$memberSetRoles":{"description":"Sets roles to a member, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to set roles to"},"roles":{"description":"The roles to set"}}},"$memberTimeoutDuration":{"description":"Returns the timeout duration of a member","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The member to get duration for"}}},"$nickname":{"description":"Returns the member nickname","args":{"guild ID":{"description":"The guild to return the member from"},"user ID":{"description":"The member to return its nickname"}}},"$platform":{"description":"Returns the member platforms","args":{"guild ID":{"description":"The guild id to return the member from"},"user ID":{"description":"The member id return its platform"},"separator":{"description":"The separator for each platform"}}},"$pruneMembers":{"description":"Prunes inactive members from the guild, returns number of kicked members","args":{"guild ID":{"description":"The guild to prune members from"},"days":{"description":"The days of inactivity required to kick"},"dry":{"description":"Whether to perform a dry prune"},"reason":{"description":"The reason for pruning members"},"roles":{"description":"The roles to include when pruning"}}},"$randomMemberID":{"description":"Returns a random member ID of a guild","args":{"guild ID":{"description":"The guild to get member from"}}},"$status":{"description":"Returns the member status","args":{"guild ID":{"description":"The guild to return the member from"},"user ID":{"description":"The member to return its status"}}},"$timeout":{"description":"Times a member out for X milliseconds, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The member to timeout"},"duration":{"description":"The duration to timeout for"},"reason":{"description":"The reason to timeout the member"}}},"$unban":{"description":"Unbans a user from a guild, returns bool","args":{"guild ID":{"description":"The guild to unban user from"},"user ID":{"description":"The user to unban"},"reason":{"description":"The unban reason"}}},"$voiceID":{"description":"Returns the voice channel id a member is connected to","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The member to get its voice channel"}}},"$voiceKick":{"description":"Kicks a member from a voice channel, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to kick"},"reason":{"description":"The reason to kick this user"}}},"$voiceMove":{"description":"Moves a member from a voice channel, returns bool","args":{"guild ID":{"description":"The guild to pull member from"},"user ID":{"description":"The user to move"},"channel ID":{"description":"The voice channel to move this user to"},"reason":{"description":"The reason for moving the user"}}},"$disableAllMentions":{"description":"Disables every possible mention"},"$disableEveryoneMention":{"description":"Disables everyone mention"},"$disableRoleMentions":{"description":"Disables all role mentions"},"$disableUserMentions":{"description":"Disables all user mentions"},"$enableAllMentions":{"description":"Enables every possible mention"},"$enableRoleMentions":{"description":"Only parses these roles for mentions","args":{"guild ID":{"description":"The guild to retrieve roles from"},"roles":{"description":"The roles to parse mentions for"}}},"$enableUserMentions":{"description":"Only parses these users for mentions","args":{"users":{"description":"The users to parse mentions for"}}},"$isChannelMentioned":{"description":"Returns whether a channel was mentioned in this message","args":{"channel ID":{"description":"The entity to check for mentions"},"message ID":{"description":"The message to get mentions from"}}},"$isRoleMentioned":{"description":"Returns whether a role was mentioned in this message","args":{"channel ID":{"description":"Channel to pull the message from"},"message ID":{"description":"The message to get mentions from"},"role ID":{"description":"The entity to check for mentions"}}},"$isUserMentioned":{"description":"Returns whether a user was mentioned in this message","args":{"channel ID":{"description":"Channel to pull the message from"},"message ID":{"description":"The message to get mentions from"},"user ID":{"description":"The entity to check for mentions"}}},"$mentioned":{"description":"Returns the mentioned users","args":{"index":{"description":"The index of the user"},"return author":{"description":"Return author ID if not found"}}},"$mentionedChannelCount":{"description":"Returns the mentioned channel count"},"$mentionedChannels":{"description":"Returns the mentioned channels","args":{"index":{"description":"The index of the channel"},"return channel":{"description":"Whether to return current channel if not found"}}},"$mentionedRoleCount":{"description":"Returns the mentioned role count"},"$mentionedRoles":{"description":"Returns the mentioned roles","args":{"index":{"description":"The index of the role"}}},"$mentionedUserCount":{"description":"Returns the mentioned user count"},"$nomention":{"description":"Disables reply ping"},"$addMessageReactions":{"description":"Adds reactions to a message, returns amount of emojis successfully reacted","args":{"channel ID":{"description":"The channel the message is located"},"message ID":{"description":"The message to add reactions to"},"emojis":{"description":"The emojis to react with"}}},"$attachment":{"description":"Adds an attachment to the response","args":{"path":{"description":"The attachment url or path to file"},"name":{"description":"The name for this attachment, with the extension"},"as text":{"description":"Whether to use url param as text"},"encoding":{"description":"Encoding to use for text, utf-8 default"},"description":{"description":"The description for this attachment"},"title":{"description":"The title for this attachment"}}},"$deleteAllMessageReactions":{"description":"Deletes all reactions from a message, returns bool","args":{"channel ID":{"description":"The channel the message is located"},"message ID":{"description":"The message to remove reactions from"}}},"$deleteIn":{"description":"Deletes the response after the given time","args":{"duration":{"description":"The duration to wait for until deletion"}}},"$deleteMessage":{"description":"Deletes given messages, returns the count of messages deleted","args":{"channel ID":{"description":"The channel to delete this message from"},"messages":{"description":"The message ids to delete"}}},"$deleteUserMessageReaction":{"description":"Deletes user emoji reaction from a message, returns bool","args":{"channel ID":{"description":"The channel the message is located"},"message ID":{"description":"The message to remove user emoji reaction"},"emoji":{"description":"The message reaction to remove user from"},"user ID":{"description":"The user to delete its reaction"}}},"$editMessage":{"description":"Edits a message in a channel, returns bool","args":{"channel ID":{"description":"The channel to edit this message"},"message ID":{"description":"The message to edit"},"content":{"description":"The content for the message"}}},"$fetchComponents":{"description":"Fetches a message's components, this will override any other component added to the response","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get the components from"}}},"$fetchEmbeds":{"description":"Fetches an embed or all embeds from a message to the next response","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get embeds from"},"index":{"description":"The embed index to load"}}},"$fetchMessage":{"description":"Fetches all data of a message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to fetch its data"}}},"$fetchResponse":{"description":"Fetches all data from the message and loads it to the next response, this includes: embeds, components, attachments, stickers","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to fetch its data"}}},"$fetchSnapshot":{"description":"Fetches all data from a message snapshot and loads it to the next response","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to fetch its data"},"index":{"description":"The index of the snapshot to fetch, defaults to 0"}}},"$forwardMessage":{"description":"Forwards a message to another channel, returns bool","args":{"channel ID":{"description":"The channel to forward message to"},"message ID":{"description":"The message to forward"}}},"$getComponents":{"description":"Retrieves data of a component, not providing any property returns component json","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to retrieve data from"},"row index":{"description":"The row index to get data from"},"component index":{"description":"The second component index to get data from"},"property":{"description":"The second property to pull"},"separator":{"description":"The separator to use for each value in case of array"}}},"$getEmbeds":{"description":"Retrieves data of an embed, not providing any property returns embed json","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to retrieve data from"},"embed index":{"description":"The embed index to get data from"},"property":{"description":"The property to pull"},"field index":{"description":"The index of field to get"}}},"$getMessage":{"description":"Retrieves data of a message, not providing any property returns message json","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to retrieve data from"},"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$getMessageClientTheme":{"description":"Retrieves the shared client theme sent with a message","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to get its client theme"},"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$getMessageReactionCount":{"description":"Gets the amount of users that have reacted to a specific emoji","args":{"channel ID":{"description":"The channel the message is located"},"message ID":{"description":"The message to get emoji count from"},"emoji":{"description":"The emoji to get its user count"},"type":{"description":"The type of the reaction to count users for"}}},"$getMessageReactionUsers":{"description":"Gets the user ids that have reacted to a specific emoji","args":{"channel ID":{"description":"The channel the message is located"},"message ID":{"description":"The message to get emoji users from"},"emoji":{"description":"The emoji to get its users"},"separator":{"description":"The separator to use for every user"}}},"$getMessageReactions":{"description":"Retrieves all reactions of a message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to retrieve reactions from"},"property":{"description":"The property of the reactions to return"},"separator":{"description":"The separator to use for each property"}}},"$getPoll":{"description":"Retrieves data of a poll from a message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to retrieve data from"},"property":{"description":"The property to pull"}}},"$getSnapshots":{"description":"Retrieves data of snapshots from a message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to retrieve data from"},"index":{"description":"The index of the snapshot to get"},"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$hasComponents":{"description":"Checks whether given message has components","args":{"channel ID":{"description":"The channel to get message from"},"message ID":{"description":"The message to check for components"}}},"$hasEmbeds":{"description":"Checks whether given message has embeds","args":{"channel ID":{"description":"The channel to get message from"},"message ID":{"description":"The message to check for embeds"}}},"$hasSnapshots":{"description":"Checks whether given message has snapshots","args":{"channel ID":{"description":"The channel to get message from"},"message ID":{"description":"The message to check for snapshots"}}},"$isPinned":{"description":"Returns whether the message is pinned","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to check if its pinned"}}},"$loadComponents":{"description":"Loads components JSON (or array) to the response","args":{"component data":{"description":"The components object or array of objects to load"}}},"$loadEmbeds":{"description":"Loads embed json (or array) to the response","args":{"embed data":{"description":"The embed object or array of objects to load"}}},"$message":{"description":"Retrieves arguments from a message command","args":{"index":{"description":"Index to get arg"},"end index":{"description":"The end index"}}},"$messageAttachment":{"description":"Retrieves an attachment from this message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its attachments"},"index":{"description":"The index of the attachment"}}},"$messageAttachmentCount":{"description":"Retrieve the amount of attachments in this message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its attachment count"}}},"$messageAttachmentFlags":{"description":"Returns the flags of an attachment from this message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its attachment flags"},"index":{"description":"The index of the attachment"},"separator":{"description":"The separator to use for every flag"}}},"$messageAttachments":{"description":"Retrieves all attachments of this message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its attachments"},"separator":{"description":"The separator to use for every attachment"}}},"$messageContent":{"description":"Retrieves the content of a message","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to get its content"}}},"$messageCreatedAt":{"description":"Returns the timestamp of a message","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to get its timestamp"}}},"$messageEditedAt":{"description":"Returns the edited timestamp of a message","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to get its edited timestamp"}}},"$messageEmojis":{"description":"Retrieves all emojis of this message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its emojis"},"separator":{"description":"The separator to use for every emoji"},"return ids":{"description":"Whether to return the emoji ids, excludes unicode emojis"}}},"$messageExists":{"description":"Returns whether given message id exists","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to check for"}}},"$messageFlags":{"description":"Returns the flags of a message","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to return its flags"},"separator":{"description":"The separator to use for every flag"}}},"$messageID":{"description":"Returns the message id"},"$messageLink":{"description":"Retrieves a message url","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to get its url"}}},"$messageRawData":{"description":"Returns the raw data of a message","args":{"channel ID":{"description":"The channel to get message from"},"message ID":{"description":"The message to get raw data from"}}},"$messageReferenceID":{"description":"Returns the message id that this message replies to","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to get its reference"}}},"$messageSlice":{"description":"Slices this message's args","args":{"start":{"description":"The start index"},"end":{"description":"The end index"}}},"$messageSticker":{"description":"Retrieves a sticker url of this message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its stickers"},"index":{"description":"The index to get sticker"}}},"$messageStickerCount":{"description":"Retrieves sticker count of this message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its sticker count"}}},"$messageStickers":{"description":"Retrieves all stickers of this message","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its stickers"},"separator":{"description":"The separator to use for every sticker"},"type":{"description":"The type to return, default is url"}}},"$messageType":{"description":"Returns the message type","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its type"}}},"$messageWebhookID":{"description":"Returns the message's webhook id","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to get its webhook id"}}},"$noMentionMessage":{"description":"Retrieves arguments from a message without mentions","args":{"index":{"description":"Index to get arg"},"end index":{"description":"The end index"}}},"$pinMessage":{"description":"Pins a message in a channel, returns bool","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to pin"}}},"$publishMessage":{"description":"Crossposts a message in an announcement channel, returns bool","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to announce"}}},"$removeAttachments":{"description":"Removes all attachments from a message, returns bool","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to remove attachments from"}}},"$reply":{"description":"Marks the response as a reply","args":{"channel ID":{"description":"The channel the message is at"},"message ID":{"description":"The message to reply to"},"disable ping":{"description":"Whether to disable ping of reply"}}},"$silent":{"description":"Marks the response as silent"},"$sticker":{"description":"Attach a sticker to the response","args":{"sticker ID":{"description":"The sticker to use"}}},"$suppressEmbeds":{"description":"Suppresses embeds on a message, returns bool","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to suppress embeds on"}}},"$tts":{"description":"Marks the response as Text-To-Speech"},"$unpinMessage":{"description":"Unpins a message from a channel, returns bool","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to unpin"}}},"$unsuppressEmbeds":{"description":"Unsuppresses embeds on a message, returns bool","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to unsuppress embeds on"}}},"$abbreviateNumber":{"description":"Abbreviates given number","args":{"number":{"description":"The number to abbreviate"}}},"$average":{"description":"Calculates the average of given numbers","args":{"separator":{"description":"The delimiter of each value"},"values":{"description":"Values separated by `separator`"}}},"$hexToInt":{"description":"Turns hex string to number","args":{"hex":{"description":"The hex to convert"}}},"$inRange":{"description":"Returns whether a number is in range","args":{"number":{"description":"The number to validate"},"min":{"description":"The min value"},"max":{"description":"The max value"}}},"$intToHex":{"description":"Turns integer to hex","args":{"int":{"description":"The integer to convert"}}},"$isFloat":{"description":"Returns whether the number is a float","args":{"number":{"description":"The number to check"}}},"$isInteger":{"description":"Returns whether the number is an integer","args":{"number":{"description":"The number to check"}}},"$isNumber":{"description":"Returns whether the number is valid","args":{"number":{"description":"The number to check"}}},"$maxSafeInteger":{"description":"Returns the highest safe integer"},"$minSafeInteger":{"description":"Returns the lowest safe integer"},"$ordinal":{"description":"Appends a suffix to the number","args":{"number":{"description":"The number to append suffix to"}}},"$parseInt":{"description":"Implements native parseInt's function into ForgeScript","args":{"value":{"description":"The number to parse"},"radix":{"description":"Radix to use for the parser"}}},"$randomNumber":{"description":"Returns a random number (no cache)","args":{"min":{"description":"The minimum possible number"},"max":{"description":"The max possible number"},"decimals":{"description":"Whether to use decimals"}}},"$separateBigint":{"description":"Separates thousands in the number","args":{"number":{"description":"The number to separate"},"separator":{"description":"The separator to use"}}},"$separateNumber":{"description":"Separates thousands in the number","args":{"number":{"description":"The number to separate"},"separator":{"description":"The separator to use"}}},"$advancedBar":{"description":"Generates an advanced progress bar","args":{"current":{"description":"The current value"},"max":{"description":"The max value of current"},"length":{"description":"The length of the bar"},"values":{"description":"The values to make the bar with, for example `=;~;#` means `0%;33%;66%`"}}},"$awaitComponent":{"description":"Awaits a component, executing the code as the interaction context, returns bool depending on whether the interaction was received","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to await component on"},"filter":{"description":"The filter to run for every interaction received after this, this is called with interaction context"},"success code":{"description":"The code to execute on success, this is called with interaction context"},"time":{"description":"The max time to wait for a component"}}},"$awaitMessage":{"description":"Awaits a message, returns message ID or nothing if no valid response","args":{"channel ID":{"description":"The channel to await message on"},"variable name":{"description":"The variable to load the message id that was sent as response by a user, get it with $env[]"},"filter":{"description":"The filter to run for every message sent after this"},"time":{"description":"The max time to wait for a message"}}},"$awaitModalSubmit":{"description":"Awaits a modal submit, executing the code as the interaction context, returns bool depending on whether the interaction was received","args":{"custom ID":{"description":"The modal's custom id to wait for"},"success code":{"description":"The code to execute on success, this is called with interaction context"},"time":{"description":"The max time to wait for a component"}}},"$bar":{"description":"Generates a progress bar","args":{"current":{"description":"The current value"},"max":{"description":"The max value of current"},"length":{"description":"The length of the bar"},"fill":{"description":"The string to use as filled points of the bar"},"empty":{"description":"The string to use as empty points of the bar"},"trunc":{"description":"Whether to truncate instead of round"},"fillStart":{"description":"The string to use as filled start of the bar"},"fillEnd":{"description":"The string to use as filled end of the bar"},"emptyStart":{"description":"The string to use as empty start of the bar"},"emptyEnd":{"description":"The string to use as empty end of the bar"}}},"$c":{"description":"Marks any code inside as a comment","args":{"comment":{"description":"The comments"}}},"$callFunction":{"description":"Calls a forge function made by the user","args":{"name":{"description":"The function name"},"args":{"description":"The args to call this function with"}}},"$callLocalFunction":{"description":"Calls a local function","args":{"name":{"description":"The local function name"},"args":{"description":"The args to call this local function with"}}},"$debug":{"description":"Returns the debug message"},"$disableConsoleErrors":{"description":"Disables possible outcoming errors that are output to console"},"$djsVersion":{"description":"Returns the discord.js version used"},"$enableConsoleErrors":{"description":"Enables possible outcoming errors that are output to console"},"$error":{"description":"Returns the error message"},"$escapeCode":{"description":"Code inside this function will not be executed","args":{"code":{"description":"The code to ignore"}}},"$localFunction":{"description":"Defines a new local function","args":{"name":{"description":"The local function name"},"code":{"description":"The local function code"},"params":{"description":"The local function params"}}},"$typeof":{"description":"Returns the type of the provided argument","args":{"argument":{"description":"The argument to get its type"}}},"$poll":{"description":"Creates a poll","args":{"question":{"description":"The poll question"},"duration":{"description":"The poll's duration"},"multiselect":{"description":"Whether to allow multi select"},"layout":{"description":"The layout for this poll"}}},"$pollAnswer":{"description":"Add a poll answer","args":{"text":{"description":"The answer's text"},"emoji":{"description":"The emoji to use"}}},"$pollAnswerEmoji":{"description":"Can only be used in poll events, returns the emoji of the poll answer"},"$pollAnswerID":{"description":"Can only be used in poll events, returns the answer id used"},"$pollAnswerMessageID":{"description":"Can only be used in poll events, returns the message id of the poll answer"},"$pollAnswerText":{"description":"Can only be used in poll events, returns the text of the poll answer"},"$pollAnswerVoteCount":{"description":"Can only be used in poll events, returns the vote count of this poll answer"},"$pollAnswerVoterIDs":{"description":"Can only be used in poll events, returns the vote user ids of this poll answer","args":{"separator":{"description":"The separator to use for every id"}}},"$pollAnswers":{"description":"Adds multiple poll answers","args":{"text;emoji":{"description":"The answer's text followed by emoji"}}},"$pollEnd":{"description":"Ends a poll","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to get the poll"}}},"$reactionAuthorID":{"description":"Returns the reaction author id that reacted"},"$reactionCount":{"description":"Returns the count of reacted users"},"$reactionEmoji":{"description":"Returns the emoji that was used"},"$reactionEmojiID":{"description":"Returns the reaction id that was used"},"$reactionMessageID":{"description":"Returns the message id of the reacted message"},"$addRole":{"description":"Adds a role to a guild, returns role id if success","args":{"guild ID":{"description":"The guild to add the role to"},"name":{"description":"The role name"},"color":{"description":"The role color"},"icon":{"description":"The role icon"},"hoisted":{"description":"Whether the role is hoisted"},"mentionable":{"description":"Whether the role is mentionable"},"position":{"description":"The position for this role"},"perms":{"description":"The role perms"}}},"$cloneRole":{"description":"Clones an existing role of a guild, returns role id if success","args":{"guild ID":{"description":"The guild to fetch role from"},"role ID":{"description":"The role to clone"},"name":{"description":"The role name for the cloned role"}}},"$deleteRoles":{"description":"Deletes given roles, returns the count of roles deleted","args":{"guild ID":{"description":"The guild to delete roles from"},"roles":{"description":"The roles to delete"}}},"$editRole":{"description":"Edits a role on a guild, returns boolean","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to edit data"},"name":{"description":"The new role name, leave empty to not modify"},"color":{"description":"The new role color, leave empty to not modify"},"icon":{"description":"The new role icon, leave empty to not modify"},"hoisted":{"description":"Whether the role is hoisted, leave empty to not modify"},"mentionable":{"description":"Whether the role can be mentioned, leave empty to not modify"},"perms":{"description":"The new perms for the role"}}},"$editRoleColors":{"description":"Edits a role's colors, returns boolean","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to edit colors for"},"primary":{"description":"The new primary color"},"secondary":{"description":"The new secondary color"},"tertiary":{"description":"The new tertiary color"}}},"$editRoleIcon":{"description":"Edits a role's icon, returns boolean","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to edit icon for"},"icon":{"description":"The new icon for the role, omit to clear"}}},"$editRoleName":{"description":"Edits a role's name, returns boolean","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to edit name for"},"name":{"description":"The new name for the role"}}},"$editRolePerms":{"description":"Edits a role's permissions, returns boolean","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to edit perms for"},"perms":{"description":"The new perms for the role, omit to clear perms"}}},"$editRolePosition":{"description":"Edits a role's position, returns boolean","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to edit position for"},"position":{"description":"The new position for the role"}}},"$editRoleUnicodeEmoji":{"description":"Edits a role's unicode emoji, returns boolean","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to edit unicode emoji for"},"emoji":{"description":"The new unicode emoji for the role, omit to clear"}}},"$fetchRoles":{"description":"Caches all roles of a guild","args":{"guild ID":{"description":"The guild to cache roles of"},"role ID":{"description":"The role to fetch"}}},"$randomRoleID":{"description":"Returns a random role ID of a guild","args":{"guild ID":{"description":"The guild to pull the role from"}}},"$roleColor":{"description":"Returns the color of a role","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its color"},"color":{"description":"The role color to return"}}},"$roleCount":{"description":"Returns the role count of all servers"},"$roleCreatedAt":{"description":"Returns the role creation date","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its creation date"}}},"$roleEditable":{"description":"Returns whether the role is editable by the bot","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its editable state"}}},"$roleExists":{"description":"Returns whether a role id exists","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to check for"}}},"$roleFlags":{"description":"Returns the role flags","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its flags"},"separator":{"description":"The separator to use for every flag"}}},"$roleHasAnyPerms":{"description":"Returns whether the role has any of the specified perms","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to get its perms"},"perms":{"description":"The perms to check for"}}},"$roleHasPerms":{"description":"Returns whether the role has all specified perms","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to get its perms"},"perms":{"description":"The perms to check for"}}},"$roleHoisted":{"description":"Returns whether the role is hoisted","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its hoisted state"}}},"$roleID":{"description":"Returns a role id with given name","args":{"guild ID":{"description":"The guild to pull the role from"},"name":{"description":"The role name to return its id"}}},"$roleIcon":{"description":"Returns the role icon","args":{"guild ID":{"description":"The guild to retrieve the role from"},"role ID":{"description":"The role to use to get its icon"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$roleIntColor":{"description":"Returns the role color as int","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its color"},"color":{"description":"The role color to return"}}},"$roleManageable":{"description":"Returns whether the role is managed by discord","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its managed state"}}},"$roleMembers":{"description":"Returns the role member ids","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its members"},"separator":{"description":"The separator to use for each member"}}},"$roleMentionable":{"description":"Returns whether the role is mentionable","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its mentionable state"}}},"$roleName":{"description":"Returns a role name with given id","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its name"}}},"$roleNames":{"description":"Returns the role names of a guild","args":{"guild ID":{"description":"The guild to return the roles of"},"separator":{"description":"The separator to use for each role"}}},"$rolePerms":{"description":"Returns the role perms","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its perms"},"separator":{"description":"The separator to use for every perm"},"return int":{"description":"Whether to return the perms as bitfield int"}}},"$rolePosition":{"description":"Returns the role position","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its position"},"asc order":{"description":"Whether to count roles in ascending order (top to bottom)"}}},"$roleRawData":{"description":"Returns the raw data of a role","args":{"guild ID":{"description":"The guild to pull role from"},"role ID":{"description":"The role to get raw data from"}}},"$roleRawPosition":{"description":"Returns the role raw position","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its raw position"}}},"$roleTags":{"description":"Returns all role tags","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its perms"},"separator":{"description":"The separator to use for every perm"}}},"$roleUnicodeEmoji":{"description":"Returns the unicode emoji used by the role","args":{"guild ID":{"description":"The guild to pull the role from"},"role ID":{"description":"The role to return its unicode emote"}}},"$createSoundboardSound":{"description":"Creates a new soundboard sound, returns sound id","args":{"guild ID":{"description":"The guild to create soundboard sound on"},"name":{"description":"The name for the sound"},"file":{"description":"The file for the sound"},"emoji":{"description":"The emoji for the sound"},"volume":{"description":"The volume for the sound (from 0 to 1)"},"reason":{"description":"The reason for creating the sound"}}},"$deleteSoundboardSounds":{"description":"Deletes given soundboard sounds, returns the count of sounds deleted","args":{"guild ID":{"description":"The guild to delete soundboard sounds from"},"sounds":{"description":"The soundboard sounds to delete"}}},"$editSoundboardSound":{"description":"Edits given soundboard sound, returns bool","args":{"guild ID":{"description":"The guild to edit soundboard sound on"},"sound ID":{"description":"The soundboard sound to edit"},"name":{"description":"The new name for the sound"},"emoji":{"description":"The new emoji for the sound"},"volume":{"description":"The new volume for the sound (from 0 to 1)"},"reason":{"description":"The reason for editing the sound"}}},"$getSoundboardSound":{"description":"Returns a soundboard sound of a guild","args":{"guild ID":{"description":"The guild to get soundboard sound from"},"sound ID":{"description":"The soundboard sound to get"},"property":{"description":"The property of the sound to return"}}},"$soundAvailable":{"description":"Returns whether a sound is available","args":{"guild ID":{"description":"The guild to get sound from"},"sound ID":{"description":"The sound to return its available status"}}},"$soundCreatedAt":{"description":"Returns the creation timestamp of a sound","args":{"guild ID":{"description":"The guild to get sound from"},"sound ID":{"description":"The sound to return its creation timestamp"}}},"$soundEmoji":{"description":"Returns the emoji of a sound","args":{"guild ID":{"description":"The guild to get sound from"},"sound ID":{"description":"The sound to return its emoji"}}},"$soundGuildID":{"description":"Returns the guild id of a sound"},"$soundID":{"description":"Returns a sound id with given name","args":{"guild ID":{"description":"The guild to get sound from"},"name":{"description":"The sound name to return its id"}}},"$soundName":{"description":"Returns the name of a sound","args":{"guild ID":{"description":"The guild to get sound from"},"sound ID":{"description":"The sound to return its name"}}},"$soundURL":{"description":"Returns the url of a sound","args":{"guild ID":{"description":"The guild to get sound from"},"sound ID":{"description":"The sound to return its url"}}},"$soundUserID":{"description":"Returns the user who created the sound","args":{"guild ID":{"description":"The guild to get sound from"},"sound ID":{"description":"The sound to return its creator"}}},"$soundVolume":{"description":"Returns the volume of a sound","args":{"guild ID":{"description":"The guild to get sound from"},"sound ID":{"description":"The sound to return its volume"}}},"$auditLog":{"description":"Retrieves new data from an event whose context was an audit log instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$bulk":{"description":"Retrieves data from an event whose context was a bulk delete event","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$effect":{"description":"Retrieves data from an event whose context was a voice channel effect event","args":{"property":{"description":"The property to pull"}}},"$newAutomodRule":{"description":"Retrieves new data from an event whose context was an automod rule instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newChannel":{"description":"Retrieves new data from an event whose context was a channel instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newEmoji":{"description":"Retrieves new data from an event whose context was an emoji instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newEntitlement":{"description":"Retrieves new data from an event whose context was an entitlement instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newGuild":{"description":"Retrieves new data from an event whose context was a guild instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newInvite":{"description":"Retrieves new data from an event whose context was an invite instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newMember":{"description":"Retrieves new data from an event whose context was a guild member instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newMessage":{"description":"Retrieves new data from an event whose context was a message instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newPresence":{"description":"Retrieves new data from an event whose context was a presence instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newRole":{"description":"Retrieves new data from an event whose context was a role instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newScheduledEvent":{"description":"Retrieves new data from an event whose context was a scheduled event instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newSound":{"description":"Retrieves new data from an event whose context was a soundboard sound instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newStage":{"description":"Retrieves new data from an event whose context was a stage instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newState":{"description":"Retrieves new data from an event whose context was a voice state instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newSticker":{"description":"Retrieves new data from an event whose context was a sticker instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newSubscription":{"description":"Retrieves new data from an event whose context was a subscription instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$newUser":{"description":"Retrieves new data from an event whose context was a user instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldAutomodRule":{"description":"Retrieves old data from an event whose context was an automod rule instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldChannel":{"description":"Retrieves old data from an event whose context was a channel instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldEmoji":{"description":"Retrieves old data from an event whose context was an emoji instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldEntitlement":{"description":"Retrieves old data from an event whose context was an entitlement instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldGuild":{"description":"Retrieves old data from an event whose context was a guild instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldInvite":{"description":"Retrieves old data from an event whose context was an invite instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldMember":{"description":"Retrieves old data from an event whose context was a guild member instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldMessage":{"description":"Retrieves old data from an event whose context was a message instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldPresence":{"description":"Retrieves old data from an event whose context was a presence instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldRole":{"description":"Retrieves old data from an event whose context was a role instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldScheduledEvent":{"description":"Retrieves old data from an event whose context was a scheduled event instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldSound":{"description":"Retrieves old data from an event whose context was a soundboard sound instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldStage":{"description":"Retrieves old data from an event whose context was a stage instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldState":{"description":"Retrieves old data from an event whose context was a voice state instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldSticker":{"description":"Retrieves old data from an event whose context was a sticker instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldSubscription":{"description":"Retrieves old data from an event whose context was a subscription instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$oldUser":{"description":"Retrieves old data from an event whose context was a user instance","args":{"property":{"description":"The property to pull"},"separator":{"description":"The separator to use in case of array"}}},"$voiceServer":{"description":"Retrieves data from an event whose context was a voice server update event","args":{"property":{"description":"The property to pull"}}},"$async":{"description":"Runs code asynchronously, will not return any value","args":{"code":{"description":"The code to execute"}}},"$break":{"description":"Breaks the loop"},"$case":{"description":"Adds a switch case","args":{"value":{"description":"The match case"},"code":{"description":"Code to execute if it matches this case"}}},"$continue":{"description":"Skips executing bottom code of the loop"},"$default":{"description":"Returns right hand value if the left hand value is falsy","args":{"left hand":{"description":"Left hand value"},"right hand":{"description":"Right hand value"}}},"$else":{"description":"Creates an else statement","args":{"else":{"description":"The code to run"}}},"$elseIf":{"description":"Creates an else if statement","args":{"condition":{"description":"The condition to check against"},"if true":{"description":"The code to run if true"}}},"$if":{"description":"Creates an if statement","args":{"condition":{"description":"The condition to check against"},"if true":{"description":"The code to run if true"},"if false":{"description":"The code to run if false"}}},"$ifx":{"description":"WIP if statements","args":{"block":{"description":"The if, elseif, else blocks"}}},"$loop":{"description":"Executes given code for N times","args":{"times":{"description":"How many times to run the code"},"code":{"description":"The code to execute"},"variable":{"description":"The variable to load the current iteration count for $env"},"asc":{"description":"Whether to use asc order for iteration count"}}},"$return":{"description":"Returns a value","args":{"value":{"description":"The value to return"}}},"$scope":{"description":"Runs functions in a cloned context","args":{"code":{"description":"The code to execute"},"sync vars":{"description":"Whether to pass vars as reference"}}},"$switch":{"description":"Switch-case statement for javascript","args":{"value":{"description":"The value to match with"},"cases":{"description":"The cases to use ($case), use $case[default;...] to add a default case"}}},"$try":{"description":"Handles a possible error from given code","args":{"code":{"description":"The code to safely execute"},"catch code":{"description":"The code to run in case of an error"},"variable":{"description":"Variable to load the error message to"}}},"$while":{"description":"Executes code while a condition is true","args":{"condition":{"description":"The condition to validate"},"code":{"description":"The code to execute"}}},"$addSticker":{"description":"Adds a sticker to a guild, returns sticker id","args":{"guild ID":{"description":"The guild to add the sticker to"},"url":{"description":"The url or file path for this sticker"},"name":{"description":"The sticker name"},"tags":{"description":"The tags to use for this sticker"},"description":{"description":"The description for the sticker"}}},"$deleteStickers":{"description":"Deletes given stickers, returns the count of stickers deleted","args":{"guild ID":{"description":"The guild to delete stickers from"},"stickers":{"description":"The stickers to delete"}}},"$editSticker":{"description":"Edits a sticker on a guild, returns bool","args":{"sticker ID":{"description":"The sticker to edit"},"name":{"description":"The new name for the sticker"},"description":{"description":"The new description for the sticker"},"tags":{"description":"The new tags for the sticker"}}},"$setStickerDescription":{"description":"Sets a sticker's description, returns bool","args":{"sticker ID":{"description":"The sticker to edit"},"description":{"description":"The new description for the sticker"}}},"$setStickerName":{"description":"Sets a sticker's name, returns bool","args":{"sticker ID":{"description":"The sticker to edit"},"name":{"description":"The new name for the sticker"}}},"$setStickerTags":{"description":"Sets a sticker's tags, returns bool","args":{"sticker ID":{"description":"The sticker to edit"},"tags":{"description":"The new tags for the sticker"}}},"$stickerAvailable":{"description":"Returns whether a sticker is available","args":{"sticker ID":{"description":"The sticker to get availability of"}}},"$stickerCreatedAt":{"description":"Returns a sticker's creation timestamp","args":{"sticker ID":{"description":"The sticker to pull timestamp of"}}},"$stickerDescription":{"description":"Returns a sticker's description","args":{"sticker ID":{"description":"The sticker to pull description of"}}},"$stickerFormat":{"description":"Returns a sticker's format","args":{"sticker ID":{"description":"The sticker to get format of"}}},"$stickerGuildID":{"description":"Returns a sticker's guild id","args":{"sticker ID":{"description":"The sticker to pull guild of"}}},"$stickerID":{"description":"Returns the sticker id"},"$stickerName":{"description":"Returns a sticker name","args":{"sticker ID":{"description":"The sticker to pull name of"}}},"$stickerOwnerID":{"description":"Returns the user who added the sticker","args":{"sticker ID":{"description":"The sticker to pull owner of"}}},"$stickerPackID":{"description":"Returns a sticker's pack id","args":{"sticker ID":{"description":"The sticker to pull pack of"}}},"$stickerRawData":{"description":"Returns the raw data of a sticker","args":{"sticker ID":{"description":"The sticker to get raw data from"}}},"$stickerSortValue":{"description":"Returns a sticker's sort value","args":{"sticker ID":{"description":"The sticker to get sort value of"}}},"$stickerTags":{"description":"Returns a sticker's tags","args":{"sticker ID":{"description":"The sticker to pull tags of"}}},"$stickerType":{"description":"Returns the sticker's type","args":{"sticker ID":{"description":"The sticker to get type of"}}},"$stickerURL":{"description":"Returns a sticker url","args":{"sticker ID":{"description":"The sticker to pull url of"}}},"$advancedReplace":{"description":"Replaces text in a string multiple times","args":{"text":{"description":"The base text"},"match;replacement":{"description":"The text to match and their replacement"}}},"$argCount":{"description":"Counts the number of args in a message","args":{"text":{"description":"Text to count arguments"}}},"$charCodeAt":{"description":"Returns the char code at given index","args":{"message":{"description":"The string to get char code of"},"index":{"description":"The index to get its char code"}}},"$charCount":{"description":"Gets the char count of a text","args":{"text":{"description":"The text to get its length"},"char":{"description":"The character to count in the text"}}},"$checkContains":{"description":"Checks whether a string contains a set of other strings","args":{"text":{"description":"The text to check on"},"matches":{"description":"The list of strings to try match"}}},"$cropArgs":{"description":"Crops given args","args":{"args":{"description":"The args to crop"},"start index":{"description":"The start index to start cropping"},"end index":{"description":"The end index to finish cropping"}}},"$cropText":{"description":"Crops given text","args":{"text":{"description":"The text to crop"},"start index":{"description":"The start index to start cropping"},"end index":{"description":"The end index to finish cropping"},"ending":{"description":"Add extra text to the end"}}},"$endsWith":{"description":"Checks whether given string ends with X string","args":{"string":{"description":"The string to check against"},"values":{"description":"The values to match at the end"}}},"$fromCharCode":{"description":"Returns the characters from given codes","args":{"codes":{"description":"The codes to get its char codes"}}},"$localeCompare":{"description":"Compares two strings, returns their relative order","args":{"first":{"description":"The first string to compare"},"second":{"description":"The second string to compare against first string"}}},"$padEnd":{"description":"Pads a string at the end","args":{"message":{"description":"The string to pad at the end"},"max length":{"description":"The max length of the string"},"filler":{"description":"The filler to use to pad"}}},"$padStart":{"description":"Pads a string at the start","args":{"message":{"description":"The string to pad at the start"},"max length":{"description":"The max length of the string"},"filler":{"description":"The filler to use to pad"}}},"$randomString":{"description":"Creates a random string","args":{"length":{"description":"The length of the random string"},"characters":{"description":"The characters to use for this string"}}},"$randomText":{"description":"Returns a random text (no cache)","args":{"texts":{"description":"The texts to use"}}},"$randomUUID":{"description":"Returns a random uuid"},"$repeat":{"description":"Repeats given text for x times","args":{"text":{"description":"The text to repeat"},"amount":{"description":"How many times to repeat this text"}}},"$replace":{"description":"Replace text in a string","args":{"text":{"description":"The base text"},"match":{"description":"Text to match in base"},"new value":{"description":"The text to replace matches with"},"amount":{"description":"How many times to perform this replacement"}}},"$replaceRegex":{"description":"Replace text in a string using regex","args":{"text":{"description":"The base text"},"match":{"description":"Regex to match in base"},"flags":{"description":"The flags to use for the regex"},"new value":{"description":"The text to replace matches with"},"amount":{"description":"How many times to perform this replacement"}}},"$reverseText":{"description":"Reverses given text","args":{"string":{"description":"The string to use"}}},"$sliceText":{"description":"Slices given text","args":{"text":{"description":"The text to slice"},"start":{"description":"The start index"},"end":{"description":"The end index"}}},"$snowflake":{"description":"Generates a snowflake, this value will never clash"},"$startsWith":{"description":"Checks whether given string starts with X string","args":{"string":{"description":"The string to check against"},"values":{"description":"The values to match at the start"}}},"$toCamelCase":{"description":"Converts a string to camel case","args":{"message":{"description":"The string to turn camel case"}}},"$toKebabCase":{"description":"Converts a string to kebab case","args":{"message":{"description":"The string to turn kebab case"}}},"$toLowerCase":{"description":"Makes a string lowercase","args":{"string":{"description":"The string to turn lowercase"}}},"$toSnakeCase":{"description":"Converts a string to snake case","args":{"message":{"description":"The string to turn snake case"}}},"$toTitleCase":{"description":"Converts a string to title case","args":{"message":{"description":"The string to turn title case"}}},"$toUpperCase":{"description":"Makes a string uppercase","args":{"string":{"description":"The string to turn uppercase"}}},"$trim":{"description":"Trims a string","args":{"text":{"description":"The text to trim"}}},"$trimEnd":{"description":"Trims at the end of a string","args":{"text":{"description":"The text to trim at the end"}}},"$trimLines":{"description":"Trims empty lines from a string","args":{"text":{"description":"The text to trim empty lines"}}},"$trimStart":{"description":"Trims at the start of a string","args":{"text":{"description":"The text to trim at the start"}}},"$cpu":{"description":"Returns the cpu usage of the host (not accurate)"},"$cpuArch":{"description":"Returns the cpu architecture"},"$cpuCores":{"description":"Returns the amount of cpu cores"},"$cpuModel":{"description":"Returns the cpu model"},"$cpuSpeed":{"description":"Returns the cpu speed in MHz"},"$networkCardIPs":{"description":"Returns your network's card ips","args":{"separator":{"description":"The separator to use"}}},"$networkCardNames":{"description":"Returns your network's card names","args":{"separator":{"description":"The separator to use"}}},"$nodeVersion":{"description":"Returns the node version"},"$os":{"description":"Returns the operating system name"},"$osUptime":{"description":"Returns the operating system uptime (seconds)"},"$ram":{"description":"Returns the current ram usage in MB"},"$ramTotal":{"description":"Returns the maximum total ram capacity of the system in GB"},"$calendarDay":{"description":"Returns the calendar day"},"$calendarWeek":{"description":"Returns the calendar week"},"$clearInterval":{"description":"Clears an active interval, returns bool","args":{"name":{"description":"The name of the interval"}}},"$clearTimeout":{"description":"Clears an active timeout, returns bool","args":{"name":{"description":"The name of the timeout"}}},"$day":{"description":"Returns current day of month","args":{"format":{"description":"The format of the day"}}},"$discordTimestamp":{"description":"Creates a discord timestamp","args":{"time":{"description":"The time to turn into timestamp"},"style":{"description":"The timestamp style"}}},"$executionTime":{"description":"Returns current execution time"},"$getTimestamp":{"description":"Gets the current timestamp"},"$hour":{"description":"Returns current hour","args":{"format":{"description":"The format of the hour"}}},"$minute":{"description":"Returns current minute","args":{"format":{"description":"The format of the minute"}}},"$month":{"description":"Returns current month","args":{"format":{"description":"The format of the month"}}},"$parseDate":{"description":"Parses valid ms to a date","args":{"ms":{"description":"The ms to convert to date"},"type":{"description":"The date type"}}},"$parseDigital":{"description":"Parses given ms to digital format","args":{"ms":{"description":"The ms to convert to digital format"}}},"$parseMS":{"description":"Parses valid ms to duration","args":{"ms":{"description":"The ms to convert to string"},"limit":{"description":"Limit of units to use"},"separator":{"description":"The separator to use for every unit"},"and":{"description":"Whether to use and word for last unit"}}},"$parseString":{"description":"Parses valid duration string to ms","args":{"duration":{"description":"The valid string to convert to ms"}}},"$second":{"description":"Returns current second","args":{"format":{"description":"The format of the second"}}},"$setCalendar":{"description":"Sets the calendar for time functions","args":{"type":{"description":"The calendar type to use"}}},"$setInterval":{"description":"Executes code after given duration until canceled","args":{"code":{"description":"The code to execute"},"time":{"description":"How long to wait for before running this code"},"name":{"description":"The name for this interval"}}},"$setTimeout":{"description":"Executes code after given duration","args":{"code":{"description":"The code to execute"},"time":{"description":"How long to wait for before running this code"},"name":{"description":"The name for this timeout"}}},"$setTimezone":{"description":"Sets the timezone for time functions","args":{"timezone":{"description":"The timezone to set"}}},"$unparseDate":{"description":"Unparses given date to ms","args":{"date":{"description":"The date to get its ms"}}},"$unparseDigital":{"description":"Unparses given digital format to ms","args":{"digital":{"description":"The digital format to convert to ms"}}},"$wait":{"description":"Delays the code below for x milliseconds","args":{"duration":{"description":"The duration to wait for"}}},"$week":{"description":"Returns current week of month"},"$weekday":{"description":"Returns current day of week","args":{"format":{"description":"The format of the day"}}},"$year":{"description":"Returns current year","args":{"format":{"description":"The format of the year"}}},"$api":{"description":"Sends a discord api request, using a discord-api-types route","args":{"route name":{"description":"Route name, like so `channel`"},"route method":{"description":"Route method, like so `get`"},"route params;body":{"description":"Parameters for this route, body has to be json"}}},"$coroutine":{"description":"Runs given code in a separate thread","args":{"code":{"description":"The code to run"}}},"$djsEval":{"description":"Evaluates JavaScript code","args":{"code":{"description":"The code to eval"}}},"$eval":{"description":"Evaluates given code","args":{"code":{"description":"The code to eval"},"send":{"description":"Whether to send as new message"}}},"$exec":{"description":"Runs a command in console","args":{"command":{"description":"The command to execute"}}},"$function":{"description":"Runs a function","args":{"code":{"description":"Code to execute"}}},"$gc":{"description":"Triggers JavaScript's garbage collector, only available if passed --expose-gc flag to node"},"$instanceName":{"description":"Returns the context's instance name"},"$loadChannelContext":{"description":"Loads a channel instance to the current context, this is not reversible and is adviced to use with $scope","args":{"channel ID":{"description":"The channel to adapt context with"}}},"$loadEmojiContext":{"description":"Loads an emoji instance to the current context, this is not reversible and is adviced to use with $scope","args":{"emoji ID":{"description":"The emoji to adapt context with"}}},"$loadGuildContext":{"description":"Loads a guild instance to the current context, this is not reversible and is adviced to use with $scope","args":{"guild ID":{"description":"The guild to adapt context with"}}},"$loadMemberContext":{"description":"Loads a member instance to the current context, this is not reversible and is adviced to use with $scope","args":{"guild ID":{"description":"The guild to pull member from"},"member ID":{"description":"The member to adapt context with"}}},"$loadMessageContext":{"description":"Loads a message instance to the current context, this is not reversible and is adviced to use with $scope","args":{"channel ID":{"description":"The channel to pull message from"},"message ID":{"description":"The message to adapt context with"}}},"$loadRoleContext":{"description":"Loads a role instance to the current context, this is not reversible and is adviced to use with $scope","args":{"guild ID":{"description":"The guild to pull role from"},"role ID":{"description":"The role to adapt context with"}}},"$loadStickerContext":{"description":"Loads a sticker instance to the current context, this is not reversible and is adviced to use with $scope","args":{"sticker ID":{"description":"The sticker to adapt context with"}}},"$loadUserContext":{"description":"Loads a user instance to the current context, this is not reversible and is adviced to use with $scope","args":{"user ID":{"description":"The user to adapt context with"}}},"$authorID":{"description":"Retrieves a user's id"},"$deleteDM":{"description":"Deletes the DM channel between the client and a user","args":{"user ID":{"description":"The user whose DM channel should be deleted"}}},"$discriminator":{"description":"Returns the discriminator of a user","args":{"user ID":{"description":"The user to get its discriminator"}}},"$isBot":{"description":"Returns whether the user is a bot","args":{"user ID":{"description":"The user to check whether its a bot"}}},"$isBotVerified":{"description":"Returns whether the bot is verified","args":{"user ID":{"description":"The bot to check whether its verified"}}},"$isUserDMEnabled":{"description":"Checks whether the given user can be DMed","args":{"user":{"description":"The user to test DMs"}}},"$randomUserID":{"description":"Returns a random user ID"},"$sendDM":{"description":"Sends a DM to the user","args":{"user ID":{"description":"The user to direct message"},"content":{"description":"The content to send"},"return message ID":{"description":"Whether to return the id of the newly created message"}}},"$userAccentColor":{"description":"Returns the accent color of a user","args":{"user ID":{"description":"The user to retrieve the accent color"}}},"$userAvatar":{"description":"Returns the avatar of a user","args":{"user ID":{"description":"The user to retrieve the avatar"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$userAvatarDecoration":{"description":"Returns the avatar decoration of a user","args":{"user ID":{"description":"The user to retrieve the decoration"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$userBadges":{"description":"Returns the public badges of a user","args":{"user ID":{"description":"The user to return its badges"},"separator":{"description":"The separator to use for every badge"}}},"$userBanner":{"description":"Returns the banner of a user","args":{"user ID":{"description":"The user to retrieve the banner"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$userCount":{"description":"Returns the user count of the bot"},"$userCreatedAt":{"description":"Returns the timestamp this user created their account","args":{"user ID":{"description":"The user to return its creation date"}}},"$userDefaultAvatar":{"description":"Returns the default user avatar","args":{"user ID":{"description":"The user to retrieve the default avatar"}}},"$userDisplayName":{"description":"Returns the display name of a user","args":{"user ID":{"description":"The user to return its display name"}}},"$userExists":{"description":"Returns whether a user id exists","args":{"user ID":{"description":"The user to check"}}},"$userGlobalName":{"description":"Returns the global name of a user","args":{"user ID":{"description":"The user to return its global name"}}},"$userGuildBadge":{"description":"Returns the primary guild tag badge of a user","args":{"user ID":{"description":"The user to get its primary guild"},"size":{"description":"The size to use for the image"},"extension":{"description":"The extension to use for the image"}}},"$userGuildEnabled":{"description":"Returns whether the primary guild of a user is enabled","args":{"user ID":{"description":"The user to get its primary guild"}}},"$userGuildID":{"description":"Returns the primary guild id of a user","args":{"user ID":{"description":"The user to get its primary guild"}}},"$userGuildTag":{"description":"Returns the primary guild tag name of a user","args":{"user ID":{"description":"The user to get its primary guild"}}},"$userIDs":{"description":"Returns all the users that are currently cached","args":{"separator":{"description":"The separator to use for every id"}}},"$userRawData":{"description":"Returns the raw data of a user","args":{"user ID":{"description":"The user to get raw data from"}}},"$userReferenceID":{"description":"Returns the id of the user this message replies to","args":{"channel ID":{"description":"The channel to get the message from"},"message ID":{"description":"The message to get its reference user"}}},"$userTag":{"description":"Returns the legacy tag of a user","args":{"user ID":{"description":"The user to get its tag"}}},"$userURL":{"description":"Returns the url of a user","args":{"user ID":{"description":"The user to get its url"}}},"$username":{"description":"Returns the username of a user","args":{"id":{"description":"The user id to get the username of"}}},"$delete":{"description":"Deletes a keyword","args":{"key":{"description":"The key name"}}},"$env":{"description":"Retrieves an environment value","args":{"key":{"description":"The key to return its value"}}},"$get":{"description":"Get a keyword value","args":{"key":{"description":"The key name"}}},"$has":{"description":"Checks whether a keyword exists","args":{"name":{"description":"The name of the keyword"}}},"$let":{"description":"Create a keyword","args":{"key":{"description":"The key name"},"value":{"description":"The key value"}}},"$letDivide":{"description":"Short-hand for $let[...;$divide[$get[...];...]]","args":{"key":{"description":"The key name"},"value":{"description":"The value to divide with"}}},"$letMulti":{"description":"Short-hand for $let[...;$multi[$get[...];...]]","args":{"key":{"description":"The key name"},"value":{"description":"The value to multiply with"}}},"$letSub":{"description":"Short-hand for $let[...;$sub[$get[...];...]]","args":{"key":{"description":"The key name"},"value":{"description":"The value to sub with"}}},"$letSum":{"description":"Short-hand for $let[...;$sum[$get[...];...]]","args":{"key":{"description":"The key name"},"value":{"description":"The value to sum with"}}},"$getWebhook":{"description":"Returns a webhook from a channel","args":{"webhook ID":{"description":"The webhook to get"},"property":{"description":"The property of the webhook to return"}}},"$webhookCreate":{"description":"Creates a webhook in a channel, returns the webhook id","args":{"channel ID":{"description":"The channel to create the webhook"},"name":{"description":"The webhook name"},"url":{"description":"The avatar url"}}},"$webhookDelete":{"description":"Deletes webhook with given id","args":{"webhook ID":{"description":"The webhook to delete"}}},"$webhookEdit":{"description":"Edits webhook with given id, returns bool","args":{"webhook ID":{"description":"The webhook to edit"},"name":{"description":"The new name for the webhook"},"url":{"description":"The new avatar for the webhook"}}},"$webhookEditMessage":{"description":"Edits a webhook message, returns bool","args":{"url":{"description":"The webhook url"},"message ID":{"description":"The message to edit"},"content":{"description":"The new content for the message"},"thread ID":{"description":"The thread this message belongs to"}}},"$webhookExists":{"description":"Checks whether given webhook id exists","args":{"webhook ID":{"description":"The webhook id to check for"}}},"$webhookIsUserCreated":{"description":"Checks whether given webhook is user created","args":{"webhook ID":{"description":"The webhook to pull data from"}}},"$webhookSend":{"description":"Sends a message with a webhook","args":{"url":{"description":"The webhook url"},"content":{"description":"The content for the message"},"return message ID":{"description":"Return the message id of the sent message"},"username":{"description":"The username for the message"},"avatar":{"description":"The avatar for the message"},"thread ID":{"description":"The thread to send message to"},"post name":{"description":"The name for the created forum post"},"tags":{"description":"The tags for the created forum post"}}},"$webhookToken":{"description":"Returns the token of a webhook","args":{"webhook ID":{"description":"The webhook to pull data from"}}},"$webhookType":{"description":"Returns the type of a webhook","args":{"webhook ID":{"description":"The webhook to pull data from"}}},"$webhookURL":{"description":"Returns the url of a webhook","args":{"webhook ID":{"description":"The webhook to pull data from"}}},"$ws":{"description":"Creates a WebSocket connection to a server","args":{"host":{"description":"The WS host, formatted as wss://hostname:port"}}},"$wsClose":{"description":"Closes a websocket connection and removes all listeners of it","args":{"websocket ID":{"description":"The id of the websocket to attach this listener to"},"code":{"description":"The status code to send"}}},"$wsOn":{"description":"Attach a listener to a websocket","args":{"websocket ID":{"description":"The id of the websocket to attach this listener to"},"listener name":{"description":"The name of the event to listen to"},"callback":{"description":"The code to execute every time this event is fired"},"params":{"description":"The arguments that will contain the data of the event that was sent"}}},"$wsSend":{"description":"Sends a websocket message","args":{"websocket ID":{"description":"The id of the websocket to attach this listener to"},"value":{"description":"The json value to send over"},"callback":{"description":"Code to execute on completion of request"},"variable name":{"description":"Variable to store error on if callback was called for an error"}}},"$wsState":{"description":"Returns a websocket's connection state","args":{"websocket ID":{"description":"The websocket to get its state"}}}},"events":{"autoModerationActionExecution":{"description":"This event is fired when an automod is fired under a message"},"autoModerationRuleCreate":{"description":"This event is fired when an automod rule is created"},"autoModerationRuleDelete":{"description":"This event is fired when an automod rule is deleted"},"autoModerationRuleUpdate":{"description":"This event is fired when an automod rule is updated"},"channelCreate":{"description":"This event is fired when a channel is created"},"channelDelete":{"description":"This event is fired when a channel is deleted"},"channelPinsUpdate":{"description":"This event is fired when a channel's pins are updated"},"channelUpdate":{"description":"This event is fired when a channel is updated"},"clientReady":{"description":"This event is fired when the bot becomes ready"},"debug":{"description":"This event is fired when discord.js sends out debug info"},"emojiCreate":{"description":"This event is fired when an emoji is created"},"emojiDelete":{"description":"This event is fired when an emoji is deleted"},"emojiUpdate":{"description":"This event is fired when an emoji is updated"},"entitlementCreate":{"description":"This event is fired when an entitlement is created"},"entitlementDelete":{"description":"This event is fired when an entitlement is deleted"},"entitlementUpdate":{"description":"This event is fired when an entitlement is updated"},"error":{"description":"This event is fired when an error happens on the client"},"guildAuditLogEntryCreate":{"description":"This event is fired when a guild audit log entry is created"},"guildAvailable":{"description":"This event is fired when a guild becomes available"},"guildBanAdd":{"description":"This event is fired when a member is banned from the guild"},"guildBanRemove":{"description":"This event is fired when a member is unbanned from a guild"},"guildCreate":{"description":"This event is fired when the bot is added to a guild"},"guildDelete":{"description":"This event is fired when a guild is deleted"},"guildIntegrationsUpdate":{"description":"This event is fired when an integration is updated on a guild"},"guildMemberAdd":{"description":"This event is fired when a member joins the guild"},"guildMemberAvailable":{"description":"This event is fired when a member of a guild becomes available"},"guildMemberRemove":{"description":"This event is fired when a member leaves, is kicked or banned from a guild"},"guildMemberUpdate":{"description":"This event is fired when a member is updated in a guild"},"guildScheduledEventCreate":{"description":"This event is called when a scheduled event is created"},"guildScheduledEventDelete":{"description":"This event is called when a scheduled event is deleted"},"guildScheduledEventUpdate":{"description":"This event is called when a scheduled event is updated"},"guildScheduledEventUserAdd":{"description":"This event is called when a user is added to a scheduled event"},"guildScheduledEventUserRemove":{"description":"This event is called when a user is removed from a scheduled event"},"guildSoundboardSoundCreate":{"description":"This event is fired when a soundboard sound is created"},"guildSoundboardSoundDelete":{"description":"This event is fired when a soundboard sound is deleted"},"guildSoundboardSoundUpdate":{"description":"This event is fired when a soundboard sound is updated"},"guildUnavailable":{"description":"This event is fired when a guild becomes unavailable"},"guildUpdate":{"description":"This event is fired when a guild updates their settings"},"interactionCreate":{"description":"This event is fired every time a user uses a slash command, context menu, button, etc"},"inviteCreate":{"description":"This event is fired when an invite is created"},"inviteDelete":{"description":"This event is fired when an invite is deleted"},"messageCreate":{"description":"This event is fired when someone sends a message"},"messageDelete":{"description":"This event is fired when a message is deleted"},"messageDeleteBulk":{"description":"This event is fired when a row of messages is deleted"},"messagePollVoteAdd":{"description":"This event is fired when a poll vote is added"},"messagePollVoteRemove":{"description":"This event is fired when a poll vote is removed"},"messageReactionAdd":{"description":"This event is fired when a reaction is added"},"messageReactionRemove":{"description":"This event is fired when a user stops reacting"},"messageReactionRemoveAll":{"description":"This event is fired when all emojis are removed from a message's reactions"},"messageReactionRemoveEmoji":{"description":"This event is fired when an emoji is removed from a message's reactions"},"messageUpdate":{"description":"This event is fired when a message is updated"},"presenceUpdate":{"description":"This event is fired when a presence is updated"},"roleCreate":{"description":"This event is fired when a role is created"},"roleDelete":{"description":"This event is fired when a role is deleted"},"roleUpdate":{"description":"This event is fired when a role is updated"},"shardDisconnect":{"description":"This event is fired when a shard is disconnected"},"shardError":{"description":"This event is fired when a shard throws an error"},"shardReady":{"description":"Event is executed when a shard of this bot becomes ready"},"shardReconnecting":{"description":"This event is fired when a shard starts reconnecting"},"shardResume":{"description":"This event is fired when a shard starts resuming"},"stageInstanceCreate":{"description":"This event is fired when a stage is created"},"stageInstanceDelete":{"description":"This event is fired when a stage is deleted"},"stageInstanceUpdate":{"description":"This event is fired when a stage is updated"},"stickerCreate":{"description":"This event is fired when an sticker is created"},"stickerDelete":{"description":"This event is fired when an sticker is deleted"},"stickerUpdate":{"description":"This event is fired when an sticker is updated"},"subscriptionCreate":{"description":"This event is fired when a subscription is created"},"subscriptionDelete":{"description":"This event is fired when a subscription is deleted"},"subscriptionUpdate":{"description":"This event is fired when a subscription is updated"},"threadCreate":{"description":"This event is fired when a thread is created"},"threadDelete":{"description":"This event is fired when a thread is deleted"},"threadMemberUpdate":{"description":"This event is fired when a thread member is updated in a guild"},"threadUpdate":{"description":"This event is fired when a thread is updated"},"typingStart":{"description":"This event is fired when a user starts typing in a channel"},"userUpdate":{"description":"This event is fired when a user updates their profile"},"voiceChannelEffectSend":{"description":"This event is fired when a user sends an effect in a voice channel"},"voiceServerUpdate":{"description":"This event is fired when a voice server is updated"},"voiceStateUpdate":{"description":"This event is fired when a user joins/leaves a voice channel"},"webhooksUpdate":{"description":"This event is fired when a webhook is updated"}}} \ No newline at end of file diff --git a/metadata/translations/es.json b/metadata/translations/es.json deleted file mode 100644 index ac784be965..0000000000 --- a/metadata/translations/es.json +++ /dev/null @@ -1 +0,0 @@ -{"events":{"guildAvailable":{"descriptionHash":"c9a75894d5ce2f759039ffa8483e8d703c80e38fa18d89a576c40759294b237a","description":"Este evento se activa cuando un servidor está disponible"},"guildBanRemove":{"descriptionHash":"85774d9fe994be8a7e955381f867bb5660ea4b26f4e27574feaf6799c0c7d210","description":"Este evento se activa cuando un miembro no está baneado de un servidor."},"guildAuditLogEntryCreate":{"descriptionHash":"219e391096c186e0e61f312fe392e8d1eef8dd1d35e9933d425ba603985228fe","description":"Este evento se activa cuando se crea una entrada de registro de auditoría del servidor"},"guildCreate":{"descriptionHash":"a1a8c9c05bb14ac2e0b6979289b861c36e36bc7e55ee41b871afb828deedf310","description":"Este evento se activa cuando el bot se agrega a un servidor."},"channelPinsUpdate":{"descriptionHash":"0b3b5271d2c1936de4728f0bf220810bf4a82ba08848069b2c9ef209e3725cf4","description":"Este evento se activa cuando se actualizan los pines de un canal."},"guildBanAdd":{"descriptionHash":"3a7c6ae819997fc8ff8a2fb3378b72d1e90f8768a1146455dce5a6f4d6e9770a","description":"Este evento se activa cuando un miembro es expulsado del servidor."},"channelCreate":{"descriptionHash":"0380193f0fea55ba5e4318b174ddc254a7b3de5b5639a49d4df2668b87743d4a","description":"Este evento se activa cuando se crea un canal."},"emojiCreate":{"descriptionHash":"91e1b6173728c805a100e33050531754d86df5f210df3b723adcc0d575bf081f","description":"Este evento se activa cuando se crea un emoji"},"error":{"descriptionHash":"fc26fbd70aa9bb159bd742230051767f1505199c89e4ec1d15bafc597cde986d","description":"Este evento se activa cuando ocurre un error en el cliente."},"emojiDelete":{"descriptionHash":"9d31662e4e5607e0e02a6faa071b4396a197336ee7dd0ec61a46fa61336f66d6","description":"Este evento se activa cuando se elimina un emoji"},"channelUpdate":{"descriptionHash":"bce38164955d678af8db6d570662ccd0d0d1fdfcb398aaea8691da4e22e03651","description":"Este evento se activa cuando se actualiza un canal."},"emojiUpdate":{"descriptionHash":"3840147d8a8f54305f98dc69df74f713e2f074d2266e8585a73a7b1bb88ce4f3","description":"Este evento se activa cuando se actualiza un emoji"},"debug":{"descriptionHash":"49597415c47b48186aea10a9697e26dc5d5af8007fceed8f35bc0018c1f3b857","description":"Este evento se activa cuando discord.js envía información de depuración"},"channelDelete":{"descriptionHash":"edd3bc1875a9c97c9f51f8bf2b123e4e7ff4b61e3a0b710d31bd9c921d9f6e93","description":"Este evento se activa cuando se elimina un canal."},"autoModerationActionExecution":{"descriptionHash":"2df6f0ca9b73978dd2afdf500d4cec857e50e56c29f54fe7caebb8911674faac","description":"Este evento se activa cuando se activa un automod bajo un mensaje"},"inviteCreate":{"descriptionHash":"2bf3a243b29fa5d04ca48d6580a85a536d5237aee55c6804b894c21490bb5673","description":"Este evento se activa cuando se crea una invitación."},"guildDelete":{"descriptionHash":"44bad8aec69e80a18f955c484b659e8271e3b5825963cf408ed05bd304fc8b1a","description":"Este evento se activa cuando se elimina un servidor"},"guildUpdate":{"descriptionHash":"41649188e20a7bc7a32c222dbb965b417d809161e6290c51cc1ddfd7fc84ef43","description":"Este evento se activa cuando un servidor actualiza su configuración."},"guildScheduledEventUpdate":{"descriptionHash":"d9392249479f435d54638d9838c58e4cc9473b87ef573bf656d96b8ee1b5e96f","description":"Este evento se llama cuando se actualiza un evento programado"},"guildMemberRemove":{"descriptionHash":"298dab21e83e8ee4076cf1a0bc74f0229de642c04044f175691c44c6c7d705d1","description":"Este evento se activa cuando un miembro se va, es expulsado o baneado de un servidor."},"inviteDelete":{"descriptionHash":"a27672b1fdf5371c8131674489950d825bc65c700b5e879bf872dce71ac6ff4b","description":"Este evento se activa cuando se elimina una invitación."},"guildScheduledEventUserAdd":{"descriptionHash":"c1f66dbd939b1d0307e9607e1c731cb5028a89169436f9c4328f1c6a77461a5e","description":"Este evento se llama cuando se agrega un usuario a un evento programado"},"guildScheduledEventCreate":{"descriptionHash":"57373eb81df66c44dbcf2c2dd1bbdf4980c08d55684b9450b9b0d6717797ff11","description":"Este evento se llama cuando se crea un evento programado"},"interactionCreate":{"descriptionHash":"5041822f13271f5c67f1bc6cd44c1bfad8ab1f99243fd8cfe02000de5658e45e","description":"Este evento se activa cada vez que un usuario usa un comando de barra diagonal, menú contextual, botón, etc."},"guildMemberAvailable":{"descriptionHash":"a01f6b7db025f98aaaecd2ebd4e3364dac943d10db8afd92885b66cb160fc50a","description":"Este evento se activa cuando un miembro de un servidor está disponible"},"guildMemberAdd":{"descriptionHash":"064760d5961c09c824a0510e13c6155360b0bf83e38a724b7d9c4e27ae86446a","description":"Este evento se activa cuando un miembro se une al servidor."},"guildMemberUpdate":{"descriptionHash":"398f9b099531dc3eb6b8e2b7f9c4969ce33ee3022a18f3729ddfa3213cf82509","description":"Este evento se activa cuando un miembro se actualiza en un servidor."},"guildUnavailable":{"descriptionHash":"eb592a120d6fab825fae156ef2ef35f5fdc99868ef46565ba0d1b3042203edef","description":"Este evento se activa cuando un servidor deja de estar disponible"},"guildScheduledEventUserRemove":{"descriptionHash":"3096458e29f5481994e5428c55c231aeea3a53b3c904c0b38f64ae0705624f53","description":"Este evento se llama cuando un usuario es eliminado de un evento programado"},"guildScheduledEventDelete":{"descriptionHash":"b146df9edf99f8f140b19a791b24879ff78416789287a834cd3b7c90d0b957ad","description":"Este evento se llama cuando se elimina un evento programado"},"messageReactionAdd":{"descriptionHash":"211411e89ad3b23e6e06a598b3a34850c5d9908417edc15e1cc4b53b0cf1e596","description":"Este evento se activa cuando se agrega una reacción."},"shardError":{"descriptionHash":"5411018b7c699da2a4e439a86b12c60d3ade60588745692ecaddf6eaab0ed9ce","description":"Este evento se activa cuando un fragmento arroja un error"},"messageReactionRemoveAll":{"descriptionHash":"40531c43755a59758e3b45f8362ce47a89993fe40b535f82b7c8e3624c2f7a5f","description":"Este evento se activa cuando se eliminan todos los emojis de las reacciones de un mensaje."},"messageDelete":{"descriptionHash":"fd48621d9d51777dffeac4fefdf4d8fc8ef174e082862a59d1e62fcf77145093","description":"Este evento se activa cuando se elimina un mensaje."},"messageUpdate":{"descriptionHash":"b691c11fda249dac8a2f925a296220e271c962328258c181e8342616cd487fab","description":"Este evento se activa cuando se actualiza un mensaje."},"messageDeleteBulk":{"descriptionHash":"a60717292e1870f2508b113d202ea433bed342098d9d8bd414e08df115344398","description":"Este evento se activa cuando se elimina una fila de mensajes."},"roleUpdate":{"descriptionHash":"d81f2519441bd564335e960cfcfbfd0ab05ddebc545638a4a812696ce84ebd69","description":"Este evento se activa cuando se actualiza una identificación de rol"},"ready":{"descriptionHash":"4af9071f363b9b64a67aa80b3398c09af2ac715e2a267c8fbbd23c3e924a6624","description":"Este evento se activa cuando el bot está listo."},"messageCreate":{"descriptionHash":"cb0331f80b4119084d18f8bc94e75a69f1054ff9dc9e73af553c0bd4f702151d","description":"Este evento se activa cuando alguien envía un mensaje."},"shardDisconnect":{"descriptionHash":"e946de721feda9ae266c7ba48301b25ff2a3e21ac4fb6189f07c313d78174f3f","description":"Este evento se activa cuando se desconecta un fragmento"},"roleDelete":{"descriptionHash":"ba2b19b4f8184c245c562b872dcfac6b511f96266eb1bbc41bc76a1e1bcaf634","description":"Este evento se activa cuando se elimina una identificación de rol"},"messageReactionRemoveEmoji":{"descriptionHash":"ef6db590ad396b535a42d1ef23c96378b1727a78694c8a505c3d0910418afa83","description":"Este evento se activa cuando se elimina un emoji de las reacciones de un mensaje."},"presenceUpdate":{"descriptionHash":"77a50817c07e0702a7e5bfc39287e3a4b48ec16188f981e8e6a809d6fa83aa92","description":"Este evento se activa cuando se actualiza una presencia."},"messageReactionRemove":{"descriptionHash":"3b3eb7d00da572af7ccb1b96d55e2c7eaa1b46d411ddef783eca7d2729ea86e4","description":"Este evento se activa cuando un usuario deja de reaccionar."},"roleCreate":{"descriptionHash":"7387af927a9558540610cf4cd159db3424cfe4ef038dd1d930e5feb8f1875d9d","description":"Este evento se activa cuando se crea una identificación de rol"},"stickerCreate":{"descriptionHash":"4b5c078572ec3e85717e8aa2cf22b574bbc52261d1f69dba62651cdb817d4c21","description":"Este evento se activa cuando se crea una pegatina."},"stageInstanceDelete":{"descriptionHash":"c8aaed7d347bead122887d4d42abfc03c1d11deb525acee637b4290da7d419bd","description":"Este evento se activa cuando se elimina una etapa."},"threadUpdate":{"descriptionHash":"dd19b9229f092300dd14aba6a7c0c2de7d5439fb821384f01cc916604b9c41f0","description":"Este evento se activa cuando se actualiza un hilo."},"stickerDelete":{"descriptionHash":"4d1ea5e80d7ef13d78c72c828bc3966f2695784c898781ba327bc08e2fa794ed","description":"Este evento se activa cuando se elimina una pegatina."},"stageInstanceCreate":{"descriptionHash":"81baa87c638d61d90de5707bf60802628cfa031349d1654729718f65ea61524a","description":"Este evento se activa cuando se crea una etapa."},"shardResume":{"descriptionHash":"d1a6b97e44b7d59f89f5bdd85955e6e642a30628bc79d259a65e5790b66d481f","description":"Este evento se activa cuando un fragmento comienza a reanudarse"},"threadMemberUpdate":{"descriptionHash":"84fd67f96db885188cb130c05fef6a5f258439110fc083ae0fc60fa37fbff7aa","description":"Este evento se activa cuando un miembro del hilo se actualiza en un servidor."},"stageInstanceUpdate":{"descriptionHash":"9c4f63976d885171b422b4720eeb03b540a141bb3919dd85cfba02c56c88cae2","description":"Este evento se activa cuando se actualiza una etapa."},"userUpdate":{"descriptionHash":"5a007763a636fced892f81c7b45087535c99b23c7fbfdf16d7bfa25f68792790","description":"Este evento se activa cuando un usuario actualiza su perfil."},"threadCreate":{"descriptionHash":"535740cf01a9737ed14f3da4df8f8da64d25800226cc72f4ba5c5882b385ad74","description":"Este evento se activa cuando se crea un hilo."},"typingStart":{"descriptionHash":"10aa2344018f6c5a3830c666d9eecc05e188c102b3026d3d803231b8cae9f57a","description":"Este evento se activa cuando un usuario comienza a escribir"},"threadDelete":{"descriptionHash":"4eb74d6c4c16579057658ef0f8c9c189a724a706a6518e3beea1d9f216a584e0","description":"Este evento se activa cuando se elimina un hilo."},"shardReconnecting":{"descriptionHash":"3ef354947b0d2e2b359990fbb725c1780167f160c379fa23f08acd43121f3336","description":"Este evento se activa cuando un fragmento comienza a reconectarse"},"shardReady":{"descriptionHash":"f7a1130c1ba25c7466747da9d45f38871fe8bdfa2456d345543f618bbf47e40f","description":"El evento se ejecuta cuando un fragmento de este bot está listo"},"stickerUpdate":{"descriptionHash":"12941d3d27ef790c6859aa72f336a40158cd2a6083653108f15ca5a51bbf0703","description":"Este evento se activa cuando se actualiza una pegatina."},"entitlementCreate":{"descriptionHash":"6f841c47e399f61a2ebc9ffa41cb9c2ec7d3af7da781c909f19c9a2966c63995","description":"Este evento se activa cuando se crea un derecho"},"entitlementDelete":{"descriptionHash":"e02f4358f6baf5ca3c5e7c0cdbbbe3b60303777e19e9d53f1711b2e218a1cadb","description":"Este evento se activa cuando se elimina un derecho"},"entitlementUpdate":{"descriptionHash":"347903259e9b94abad7685c504b909b3efe46e37632b3b3daad295d989c87971","description":"Este evento se activa cuando se actualiza un derecho"},"messagePollVoteRemove":{"descriptionHash":"4704eefe4c6ee817ab54d3f59864f87b9256887cd6a6eba43ffa52f000f3b38c","description":"Este evento se activa cuando se elimina un voto de encuesta"},"messagePollVoteAdd":{"descriptionHash":"72c49fa55924952fc689830681e7e268873b9d5234a8249c4f62e7359eb58f1a","description":"Este evento se activa cuando se agrega una votación de encuesta"},"autoModerationRuleDelete":{"descriptionHash":"7af8467ad4fb474e5367ac7bd9c7752d94afeeb0036bf680bc7de17a483d4620","description":"Este evento se activa cuando se elimina una regla de automod"},"autoModerationRuleUpdate":{"descriptionHash":"444b31fe173697598a209f9bc0e5c9d13eed07682530bb8292188c179fa182ff","description":"Este evento se activa cuando se actualiza una regla de automod"},"autoModerationRuleCreate":{"descriptionHash":"8328d60124f255b1186658473b375e97b3099957550dc967f3b9d1412624b2fd","description":"Este evento se activa cuando se crea una regla de automod"},"guildSoundboardSoundUpdate":{"descriptionHash":"2e89b5da5a5d5dfe46b5b5276c400138138dc4089da4211f56e69bfae39abeee","description":"Este evento se dispara cuando se actualiza un sonido de la tabla de resonancia."},"guildSoundboardSoundDelete":{"descriptionHash":"a0a65e1e608443218b811445d8bccd9ff095fcae14eb22908ff54246f50fe41d","description":"Este evento se dispara cuando se elimina un sonido de la tabla de resonancia"},"guildSoundboardSoundCreate":{"descriptionHash":"36f4f5b818c433a22abed165898d2acb9302c3fd4387b7ed43ea0722b04d4cec","description":"Este evento se dispara cuando se crea un sonido de la tabla de resonancia"}},"functions":{"$arrayPop":{"descriptionHash":"54184642c80d7830601015b1a6096d118e35fe6886ce31c26a791d7c191fbf04","description":"Elimina el último elemento de la matriz y lo devuelve.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."}]},"$arrayLength":{"descriptionHash":"83ce394b8dbca1f0fa268a7ba8884ad3d303b93ec4ef8118a28720eb643ace53","description":"Devuelve el número de elementos de una matriz.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."}]},"$arrayClear":{"descriptionHash":"088b2ababc23a54d2e4dec1759d360d3c02e5c017e6c2c65e907cdabbffb114c","description":"Borra todos los elementos de una matriz","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"}]},"$arrayPushJSON":{"descriptionHash":"30f3809ac7c20b7f50f0f5abd581aca56de09563ece085e6ca4b81e9a76d8473","description":"Agrega un elemento a una matriz","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"328e0ca691e1befe3ad6a92ff802c3484c64aee990af54dd60dbe15e71fad656","description":"Los valores para agregar al final de la matriz."}]},"$arrayIncludes":{"descriptionHash":"5324daa2cc44608b7dd332b260b845428d7d6e64b74dac32476cbbdfbfcc3a52","description":"Comprueba si existe un valor en una matriz","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"91f21c9bbdad48692bef9803275d0395ab18fd001d0816555cfcd6344b286baf","description":"El valor a comprobar"}]},"$arrayJoin":{"descriptionHash":"2b10d8631ad2b52833c296d9fea440fb701e802c812fd4f821777f38f48ad157","description":"Une todos los elementos de una matriz con un separador dado","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"20debb789f9fdb607b539290ad3b5e8f675c0f0ee789f451ee6ea75a7538e7b9","description":"El separador a utilizar para cada elemento."}]},"$arrayAt":{"descriptionHash":"e1ef373bc1239fcfee7eeb725ad1dd5bba391671f064a0b5150a4410bb28845e","description":"Devuelve el elemento en el índice dado.","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"638cdb766123b4247a38ff0dd24df620cf872c53c05b12891c0ae9fe98b187d0","description":"El índice para obtener el elemento de"}]},"$arrayConcat":{"descriptionHash":"d03c7c39f3ce11f17af97112ff6a66d86092361f71762f25ed52100daa8f7bc3","description":"Concat matrices y cargarlas en otra variable","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"a0be252ca2a2a372400f531fda15974e36498cca2ad4260488b4cee555d96962","description":"La variable para cargar el resultado, déjela vacía para devolver el resultado."},{"nameHash":"7af0b3e47c35820fabef69cc542392bd2d0f6e37c349851728f0c683013563ce","name":"variables","descriptionHash":"2feab968a46ed0672ab6c227af573d88c5fb1a3bd9c94ce39b3676d1798457f3","description":"Los nombres de las variables para concat"}]},"$arrayPush":{"descriptionHash":"30f3809ac7c20b7f50f0f5abd581aca56de09563ece085e6ca4b81e9a76d8473","description":"Agrega un elemento a una matriz","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"328e0ca691e1befe3ad6a92ff802c3484c64aee990af54dd60dbe15e71fad656","description":"Los valores para agregar al final de la matriz."}]},"$arrayFindIndex":{"descriptionHash":"ded43a46f26f9af0230bebb8e66b0c6307c6d2f76a9410dfca97539d3eaf5849","description":"Encuentra el índice de un primer elemento encontrado en la matriz","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"e5735fcd6db8387b4b751e4fdcba86f40055123a40198b1e36aac8b0dc9c3a27","description":"La variable para cargar el valor del elemento"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"09e91a4a70a4d92f0e3af6da68d60bbc53474128caa21debb95e4c744f14f7fc","description":"El código a ejecutar para cada elemento."}]},"$arrayIndexOf":{"descriptionHash":"f5efa7acf3cddfa798f5f9f7f882468cf175103d8a7e686dcb3980e1007ec214","description":"Obtiene el índice del primer elemento encontrado en la matriz.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"601d6b54e6eec493009ae2acec84b22b4935a17be38c4959e0e53be4e703f194","description":"El valor exacto para obtener su índice."}]},"$arrayEvery":{"descriptionHash":"962f2bd40cfd55de8f2c55a9f7e5325f1c54874f17ac363c657f367f363307c3","description":"Recorre cada elemento de la matriz con una condición que debe pasar cada elemento.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"e5735fcd6db8387b4b751e4fdcba86f40055123a40198b1e36aac8b0dc9c3a27","description":"La variable para cargar el valor del elemento"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"09e91a4a70a4d92f0e3af6da68d60bbc53474128caa21debb95e4c744f14f7fc","description":"El código a ejecutar para cada elemento."}]},"$arrayForEach":{"descriptionHash":"c70dc4286625f8e80613c8c450640fd28d1d05cdd10b023e373f93f04e5eed2d","description":"Recorre cada elemento de la matriz.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"e5735fcd6db8387b4b751e4fdcba86f40055123a40198b1e36aac8b0dc9c3a27","description":"La variable para cargar el valor del elemento"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"09e91a4a70a4d92f0e3af6da68d60bbc53474128caa21debb95e4c744f14f7fc","description":"El código a ejecutar para cada elemento."}]},"$arrayLoad":{"descriptionHash":"92de9c632763ecef7c40e68daea394740150c912be2bdd2ac082848fbf98bc6f","description":"Carga una matriz en una variable de entorno","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"83543387c25e0c9d3ebaf8cab1506741c7d6e5743cc14e86f21b2996fbb6052f","description":"El nombre de la variable para cargar esta matriz"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3d75f7a01c8e08be867f7bbfba1cb33231ea2011c51fbf8e6f594e1e0a7aa20a","description":"El separador a utilizar para los elementos de la matriz."},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"17eeb327baaa7eee7d4b03f4db6d6f38c69da660637608f8ceead4abbf3997a1","description":"Los elementos de la matriz."}]},"$arrayMap":{"descriptionHash":"9beb1f8d550055f6e202a849b97a2cf4c30f0be7bd7e5624710e9010dbaf98be","description":"Asigna cada elemento de la matriz y carga los resultados en otra matriz.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"e5735fcd6db8387b4b751e4fdcba86f40055123a40198b1e36aac8b0dc9c3a27","description":"La variable para cargar el valor del elemento"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"09e91a4a70a4d92f0e3af6da68d60bbc53474128caa21debb95e4c744f14f7fc","description":"El código a ejecutar para cada elemento."},{"nameHash":"755abb34dd374b9590209120cb2931db46aac8a84012a57037c2295116194fec","name":"otra variable","descriptionHash":"2db09ac26f6cbaf7274fffe21c99ffefe5b73ca667e366d5cbe573510e7832cd","description":"La otra variable para cargar el resultado, déjela vacía para devolver el resultado."}]},"$arraySort":{"descriptionHash":"5689369116bcf45b8edbc4186bb872d3b1520039d5f93880008dda0e8b3ac4cd","description":"Ordena la matriz dada","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"},{"nameHash":"755abb34dd374b9590209120cb2931db46aac8a84012a57037c2295116194fec","name":"otra variable","descriptionHash":"22dea814394d8827c55f1020435ea9386f7af455e32ba8e68022646842c6e893","description":"La variable para cargar el resultado, déjela vacía para devolver el resultado."},{"nameHash":"6edc34523637df49d53c2af5118539d4fddec7b425e648f67b199902dfd70a37","name":"tipo de clasificación","descriptionHash":"4fb58e9d52b8b0f84f8a85c71d9fc35bf9a70bffcdf384773e15ea550a63fa73","description":"El tipo de clasificación, omitir para usar el orden de clasificación predeterminado"}]},"$arrayShift":{"descriptionHash":"04f6911797f9131da83030722e18bcdca7af731cf0ba421bd583b5a1bbd903d4","description":"Elimina el primer elemento de la matriz y lo devuelve.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."}]},"$arrayRandomValue":{"descriptionHash":"83d3e8342aa46169dc23ad2ca1764fc60a5d5930955835655cfc5492b58967a7","description":"Devuelve un elemento aleatorio","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"}]},"$splitText":{"descriptionHash":"dd3df8e7020fe981673730100aedfc71b9aeddb7574b9b7f7efc412ca845a3b7","description":"Obtiene el elemento de textSplit","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"d2c05e24ccf81d536439a07cffe9b661194a32b9f842d58ad5e244ece49f9f5c","description":"El índice para dividirse en"}]},"$arrayReverse":{"descriptionHash":"06372650be330df462308f10dfe2fff72a6957fff4a905856f5f7050379761df","description":"Invierte una matriz y la carga en otra variable","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"b1fecefb84fd0fee1719346d43ca48db46782eff74fc8b9e5a765daac3e35e1b","description":"La variable donde se mantiene la matriz."},{"nameHash":"755abb34dd374b9590209120cb2931db46aac8a84012a57037c2295116194fec","name":"otra variable","descriptionHash":"a0be252ca2a2a372400f531fda15974e36498cca2ad4260488b4cee555d96962","description":"La variable para cargar el resultado, déjela vacía para devolver el resultado."}]},"$arrayUnshiftJSON":{"descriptionHash":"de6e5ef497141f146b5e0579178e5795dcced351a8c236e2948176b8586b77e7","description":"Agrega elementos al comienzo de una matriz.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"524257af51a762b2dd431618136b26aa10ec52b5e4dd1116299460d6eb0e15f9","description":"Los valores para agregar al inicio de la matriz."}]},"$arrayRandomIndex":{"descriptionHash":"441ebcd400283b025e057c16fcc124e76a4de463ce86eabbff4e222970a37bfe","description":"Devuelve un índice aleatorio","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"}]},"$arrayUnload":{"descriptionHash":"59890783eee747e0a66b051e1d1cb769e3dfd4b54e7c8206775fd4204d37e492","description":"Descarga una matriz de una variable de entorno","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"e9e9b2df7a314c1da86842f7709ab11b3cfff6b763739ab54436c536c517a889","description":"El nombre de la variable para descargar esta matriz desde"}]},"$arrayUnshift":{"descriptionHash":"de6e5ef497141f146b5e0579178e5795dcced351a8c236e2948176b8586b77e7","description":"Agrega elementos al comienzo de una matriz.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"524257af51a762b2dd431618136b26aa10ec52b5e4dd1116299460d6eb0e15f9","description":"Los valores para agregar al inicio de la matriz."}]},"$textSplit":{"descriptionHash":"a294def2fd83872ec3c7ec3687d8a03f296bf682adbf2276613f11d4536a0604","description":"Crea una matriz en un texto dado con un separador","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"0510ca9d4764b185ba05a6ba0cf94e5413047d09783122613b230742339eebef","description":"El texto a dividir"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"220c586af3dfe196f3e256d0b3d1b894709b92ee6ff1e2f31605c472ad9260eb","description":"El separador a utilizar"}]},"$arraySplice":{"descriptionHash":"80f25bacee2eb1e91690de0c157bb23c03475584d0e26ccef1b9a6e57c3fac00","description":"Elimina x elementos a partir del índice y, devuelve elementos eliminados","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"fc9d6ee6740f3a3e55ec039a764dfbd2f63f4127041b459f11864c61adf08520","description":"El índice de inicio"},{"nameHash":"7321cb1413b196c58f6008cb81befc9aae3c9fa82c2b1b7fab356970a81a6669","name":"eliminar recuento","descriptionHash":"438a57cdfd157755f52204304ce372a5ea20ebb770088657713f1ee91d4e5e06","description":"El número de elementos a eliminar"},{"nameHash":"b0b17893a51343979e2090deee730538430cff2a88498e3885eb0ba179c58b6b","name":"elementos","descriptionHash":"1f48b95bd4dcdba6945e5abc8eaecc6322fc14dae5ea779bfcdde2c0ff6c9bbb","description":"Los elementos a insertar en los índices eliminados."}]},"$arraySome":{"descriptionHash":"b911743560359b5c5302178b030a56e5dfeefb75ce34f1e68c73f1338218636d","description":"Recorre cada elemento de la matriz para encontrar una coincidencia.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"e5735fcd6db8387b4b751e4fdcba86f40055123a40198b1e36aac8b0dc9c3a27","description":"La variable para cargar el valor del elemento"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"09e91a4a70a4d92f0e3af6da68d60bbc53474128caa21debb95e4c744f14f7fc","description":"El código a ejecutar para cada elemento."}]},"$arraySlice":{"descriptionHash":"78043b06da1868a1cbb901d49d47a59d3e98df8bcafb35a41955d7d69f7af6ec","description":"Corta una matriz y la carga en otra variable","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"b1fecefb84fd0fee1719346d43ca48db46782eff74fc8b9e5a765daac3e35e1b","description":"La variable donde se mantiene la matriz."},{"nameHash":"755abb34dd374b9590209120cb2931db46aac8a84012a57037c2295116194fec","name":"otra variable","descriptionHash":"a0be252ca2a2a372400f531fda15974e36498cca2ad4260488b4cee555d96962","description":"La variable para cargar el resultado, déjela vacía para devolver el resultado."},{"nameHash":"cced28c6dc3f99c2396a5eaad732bf6b28142335892b1cd0e6af6cdb53f5ccfa","name":"comenzar","descriptionHash":"82240f88324e8fe081c650c1cbb6fed18c2ff40626ef8dc91c7f02d67be2ed33","description":"El índice inicial para cortar"},{"nameHash":"361e48d0308f20e32dba5fb56328baf18d72ef0ccb43b84f5c262d2a6a1fc6c8","name":"fin","descriptionHash":"54400ff691b6c112ecf832173ae5e47f643db59f62b6fdff36205d59452b96b7","description":"El índice final para cortar"}]},"$arrayReduce":{"descriptionHash":"16a1e8260b7f790a93bccaa0deca13c70dcbccf7373fae99c5cff796c0d790d3","description":"Reduce una serie de elementos y devuelve el resultado.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"e5735fcd6db8387b4b751e4fdcba86f40055123a40198b1e36aac8b0dc9c3a27","description":"La variable para cargar el valor del elemento"},{"nameHash":"755abb34dd374b9590209120cb2931db46aac8a84012a57037c2295116194fec","name":"otra variable","descriptionHash":"a8565ccadc4106048c216ca3c409cb2b0ea25ff35b9b5a092e74e7fed86a59cb","description":"La otra variable para cargar el segundo elemento"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"277e8d4a24ee171754bbb72b5cebbcdcf3084bb93af1a5eb6bec52ae986194bc","description":"El código a ejecutar para cada elemento, debe devolver un número."},{"nameHash":"0ebf48e40af236a1a7203f955e358f34ed5ef1310e55f6095f9005e0dd6badd0","name":"valor por defecto","descriptionHash":"becdc8d1262794340de5b70fa96c6ef71500dede4b4dffb7dbb783826fd0677f","description":"El valor predeterminado, por defecto es 0."}]},"$fetchAuditLog":{"descriptionHash":"e404220f5b1cd13ebb854e6e871fff95665925f19e7f57ed9a9c629977d2abd2","description":"Obtiene un registro de auditoría utilizando su tipo","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"a1c154b3dbdc0dbbf7b105063e4c46355cde8abb03d4acb5a5b1d7ed9b0dba88","description":"El servidor del que obtener el registro de auditoría"},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"52d66cd8608235bc6ef56eeba4ffd3efa25f2782cbe7cb40f47e6f4272e4e852","description":"El tipo de evento del registro."},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"c072bd13cf4c3c6dde5f0e4e0411960f0ca38f9ef46e507960665095bb81ee0c","description":"La propiedad que se extraerá del registro de auditoría"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"73fe24bd2e8311013acd88501d17db2435a31e5598ae912cbd94cdb0ca07fd9a","description":"El índice de la entrada a utilizar."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"4bc11b5ea21b73ee552d385b0589b29f97c3cf942b2cdd7470f47b3f1496a0c1","description":"El separador a utilizar en caso de salida de matriz"}]},"$botID":{"descriptionHash":"067ce2ea87677c817536517610ba2e84602eafe8a2606d8b4bf882f7614c4999","description":"Devuelve la identificación del cliente."},"$automodActionType":{"descriptionHash":"529b9449a1dce17840532bfb1b251c6c0fb27eb8bfc322f6046e1ca2a04b28b0","description":"Devuelve el tipo de acción automod utilizado"},"$automodCustomMessage":{"descriptionHash":"7fdc7c8affb47fd2332bc00a4155ecef99dd23334300371e35397610e9263301","description":"Devuelve el mensaje personalizado utilizado por automod en esta detección."},"$automodMatchedContent":{"descriptionHash":"b6465c23522df811e5ffcf28c00d5766d1265673c8b9f82a0000a5c3714f3305","description":"Devuelve el contenido coincidente sobre el que actuó el automod."},"$automodContent":{"descriptionHash":"1699919fa17a4012ea6ecbbec1b497e87fbe7fb41305fb8ead005b016a18d6a7","description":"Devuelve el contenido sobre el que actuó Automod."},"$botCount":{"descriptionHash":"885822104218e208516a8b25a46dd0fd642fe3b20212f2a4598851cd0d0a219d","description":"Devuelve el recuento de bots del bot."},"$automodAlertSystemMessageID":{"descriptionHash":"193ddba7da1992a853b727884e6fe9bd87929e9e4ce23d090788a1cbb3948431","description":"Devuelve el mensaje enviado por automod"},"$automodChannelID":{"descriptionHash":"2e2833dfe4a3560f664af73cad0fd5934291a2c4fe634174531c6ceefb19a92b","description":"Devuelve la identificación del canal para automod."},"$automodMatchedKeyword":{"descriptionHash":"1675f10d794c281a7c3c47c2cb3e67f7ecde6fb88b07055e4ed6d05f2b8e99de","description":"Devuelve la palabra clave coincidente que captó el automod."},"$automodRuleTriggerType":{"descriptionHash":"472a0f0a13d90c3262274fa435a7c80d5f2b4a6261f4041e30557d221e3a3513","description":"Devuelve el tipo de activación de regla utilizado por automod"},"$botDestroy":{"descriptionHash":"d59e50d161b4b6e614ed11f57e2be860f973e6b902520259852b829430ee3e72","description":"Destruye el cliente discord.js"},"$automodRuleID":{"descriptionHash":"1a1123809b70343c99c1c04b281dbfdfc0aa1823ce258b7af2ace1813ac486a1","description":"Devuelve la identificación de la regla utilizada por automod"},"$automodDuration":{"descriptionHash":"d6b42fe1cb7dcbc49e874328fb201546dd0e5de117ecc4160f756dd753e82c36","description":"Devuelve la duración en ms de esta acción de automod"},"$fetchAuditLogCount":{"descriptionHash":"8361c05f475bad3d77e63e69633df71d6b793e7507b1bd7cc30cdf317f3995af","description":"Obtiene el recuento de registros de auditoría utilizando su tipo","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"a1c154b3dbdc0dbbf7b105063e4c46355cde8abb03d4acb5a5b1d7ed9b0dba88","description":"El servidor del que obtener el registro de auditoría"},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"52d66cd8608235bc6ef56eeba4ffd3efa25f2782cbe7cb40f47e6f4272e4e852","description":"El tipo de evento del registro."},{"nameHash":"04f8996da763b7a969b1028ee3007569eaf3a635486ddab211d512c85b9df8fb","name":"usuario","descriptionHash":"ce95cb3df48e1d6ea5f63a698fd1bc54f9bb49d97a1b05ee74c71098b5a003c1","description":"El usuario por el que filtrar"}]},"$fetchUserAuditLog":{"descriptionHash":"dcf2bffa71b857d545b2884d2e870e042122648170ea4ae6272bd7bdbe26b2e7","description":"Obtiene un registro de auditoría de un usuario utilizando su tipo","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"a1c154b3dbdc0dbbf7b105063e4c46355cde8abb03d4acb5a5b1d7ed9b0dba88","description":"El servidor del que obtener el registro de auditoría"},{"nameHash":"04f8996da763b7a969b1028ee3007569eaf3a635486ddab211d512c85b9df8fb","name":"usuario","descriptionHash":"ce95cb3df48e1d6ea5f63a698fd1bc54f9bb49d97a1b05ee74c71098b5a003c1","description":"El usuario por el que filtrar"},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"52d66cd8608235bc6ef56eeba4ffd3efa25f2782cbe7cb40f47e6f4272e4e852","description":"El tipo de evento del registro."},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"c072bd13cf4c3c6dde5f0e4e0411960f0ca38f9ef46e507960665095bb81ee0c","description":"La propiedad que se extraerá del registro de auditoría"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"73fe24bd2e8311013acd88501d17db2435a31e5598ae912cbd94cdb0ca07fd9a","description":"El índice de la entrada a utilizar."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"4bc11b5ea21b73ee552d385b0589b29f97c3cf942b2cdd7470f47b3f1496a0c1","description":"El separador a utilizar en caso de salida de matriz"}]},"$updateCommands":{"descriptionHash":"fcb860551208e63afaf75907d430fb01de865336c194e45a64703ef8b2da262c","description":"Actualiza los comandos del bot y también registra otros nuevos."},"$shardID":{"descriptionHash":"8e553f64b1fda69a796355bae5db08126b7230aceca0ae91ce0c0a5e527453f4","description":"Devuelve la identificación del fragmento del cliente.","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"2068e4316c164a8847aa41c65fcb9103b9ccc2d41b7aff47c302859dc682efa2","description":"El separador a usar para cada identificación."}]},"$botToken":{"descriptionHash":"de16b7a22bf749cca5b69c5678bc3cc7d99f588309fccca9feb585b9193dec27","description":"Devuelve el token del cliente"},"$updateApplicationCommands":{"descriptionHash":"f2c8fe21bda417d88e9a4a4521e4ea0450f297365ebb8c3bb05cb277c24c2530","description":"Actualiza los comandos de la aplicación y también registra otros nuevos."},"$version":{"descriptionHash":"1d1d419d236ca468634582bd3179abc819b4694ea89c5940f34fb6dc2cb03cea","description":"Devuelve la versión del paquete que está usando el cliente."},"$uptime":{"descriptionHash":"cd6b4e4d1898c9f04777c4654db8bdbdc56f8fefc8191b7b0f79da2c6838e46a","description":"Devuelve el tiempo de actividad de los bots."},"$ping":{"descriptionHash":"d2b7de06814d2d6e20776a1356c338f390bad1e315fb784f4747336ca80a2f52","description":"El ping del bot actual"},"$botInvite":{"descriptionHash":"d0b7cb38efd1d86525370691473a90b4939c1e1f6100b2dc13369b7972e22740","description":"Devuelve el enlace de invitación de un bot.","fields":[{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"5c15778612dccf6b941b306d15a5a0c6ab39c469a7dd445675eadcd614784615","description":"Los permisos para el enlace de invitación."}]},"$hasExtension":{"descriptionHash":"cbd67bfbd803ba767bc584361033c3a06333fb9e415608600f4614fa317447c0","description":"Comprueba si el cliente tiene una extensión.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"6c2fd23a843c79d48288f3e9004a1f12aa6ef256040cc52c13970be4066f06d0","description":"El nombre de la extensión para verificar"}]},"$botOwnerID":{"descriptionHash":"892c759d5ee4fbd83610e189ae6b9da549cae4eec82dff4919e5ab0e4c349f9a","description":"Devuelve la identificación del propietario del bot o los miembros del equipo","fields":[{"nameHash":"ed3ce57483ae8b965dda38516a7d3b9d57a7d846ae746f9bb1c065cfaab5e0b0","name":"regresar miembros?","descriptionHash":"da563da52d0031a2a1d7ec2318615703cd9c5207c886f17e57333af39dbc5628","description":"Si devolver a todos los miembros (true) o no (false)"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"2068e4316c164a8847aa41c65fcb9103b9ccc2d41b7aff47c302859dc682efa2","description":"El separador a usar para cada identificación."}]},"$setBotName":{"descriptionHash":"90b7942b61ede28b65a9be01fa2ebc9fc5384d02c823cf50c76fb7ebe3ff54ed","description":"Establece el nombre del bot","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"0e89d468008dfb528395ae68bdee48efd39367046862637cd5a714f417dbd3f9","description":"el nuevo nombre"}]},"$extensionVersion":{"descriptionHash":"13cec7cb0c8ad7e4f70a6fb0ef9d5bad232accc241ac3b7c46e334d732988d14","description":"Devuelve la versión en la que se ejecuta una extensión.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"d075b927a5665db068b697a47d8c67ce4409ddb75c0c5dda4634745f67d644b4","description":"El nombre de la extensión para recuperar su versión."}]},"$setBotAvatar":{"descriptionHash":"8b39799dc458cbeaf97d0d631627d36c02ecd39e6723d842fa09f51574f36e7d","description":"Establece el icono del perfil del bot","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"f76b2a495b45080e3d2c990296fd9850637ed2738f5ae6763a0f8ca2236a9327","description":"La URL del icono"}]},"$bufferAlloc":{"descriptionHash":"17d9dc4acfa63b37ef0faed0d83eb48556813a4677d4ec3da7dfd13b3a1e8481","description":"Asigna un número determinado de bytes en un búfer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"b520b622d34137b1fe1cdf2dfaff490750f035f6c8f72e87207c80251c2492c7","description":"La variable para cargarlo, a la que se accede con $env[]"},{"nameHash":"277089d91c0bdf4f2e6862ba7e4a07605119431f5d13f726dd352b06f1b206a9","name":"bytes","descriptionHash":"887a548299bb90cbd1ec511676999006404092af17a55b2eae1ed5e6215023c4","description":"El número de bytes a asignar."}]},"$setStatus":{"descriptionHash":"5d1a1ca0de9b3acf8804314984bd384caea062a0fe15ec93394eee70ca7b3fe8","description":"Establece el estado del cliente.","fields":[{"nameHash":"dff0669b4df441c26626db0001cd5bee7fc888cecab2a00d03144e90915d6272","name":"presencia","descriptionHash":"4aa557d198079f5ae75a1a06d99705da8a4a3b5da8cf7961ae1981f5e223ca86","description":"El estado de presencia"},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"65e3dae49008e268a309cc9167967db4693ed66dacc42ea7704df47a3bf0170a","description":"el tipo de actividad"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"43196c21bff6b8e8e5eaa004922f5ed3128c43fac8b4febea9e0ad9146b19bf1","description":"El nombre del estado"},{"nameHash":"4ba69735ca53765ed6a709edb56c6ea236b7193a3b29a6b390c346f0f4340e4e","name":"estado","descriptionHash":"5efe29b7f3057d5570eca60d33d104022999d3a3928ad82b7144da9a5df39687","description":"El estado de estatus"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"44ce2dc556727ade1ba75caac6eed7c8946e5f4fac9f361af005f27614aca61d","description":"La URL que se utilizará para la transmisión."}]},"$channelChildrenCount":{"descriptionHash":"dc38c3a2f750ff1a50a10c0717b1934d9e4057777fe1c9acdd22668b9439f349","description":"Devuelve la cantidad de hijos que tiene esta categoría.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"64ecdceeb8952b05b0a726407f5e9bb788136c8aea879b220a30fd78baccd32f","description":"La categoría para obtener el recuento de niños."}]},"$bufferToString":{"descriptionHash":"4b0b55e0a9b76ea05e8844eeb987b7ce39a1c02c1f043351a80d7d98da33ddf2","description":"Stringifica un buffer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"af11a3416af71133dd99d83b89055a7c1b1846539d2b34c9d50fa5577892898e","description":"La variable en la que se asigna el búfer"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"9ee1cab884dd893382d26ee443e686cd3bc4bff66988a8824e0946f202e26682","description":"La codificación para stringificar con"}]},"$bufferLength":{"descriptionHash":"71f9e7ede68c52d069326d5e769c220b1d553303494ff13016550d52551462e1","description":"Devuelve la longitud de un buffer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"af11a3416af71133dd99d83b89055a7c1b1846539d2b34c9d50fa5577892898e","description":"La variable en la que se asigna el búfer"}]},"$channelCategoryID":{"descriptionHash":"b1292e03f972f1f3d6376d110ebdc59091bc34194fbbd4aeea2e70fe014d858e","description":"Devuelve el ID de la categoría del canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelBitrate":{"descriptionHash":"06c0b27875cf331fc33835d07e5dfeaa4dcb147858dd8647b58fd981608166d7","description":"Devuelve la tasa de bits del canal de voz.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelChildrenIDs":{"descriptionHash":"6a8afd238b42275eb9f5fb8b0df31b5d404f3c5089c7e2124616b0a6fd7a9625","description":"Devuelve los identificadores secundarios que tiene esta categoría.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"63948e965b5660275e0b4a5c874a3dd9d6974e834e8bf7d70361e9ef4182de5f","description":"La categoría para conseguir a sus hijos"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"b2a52b5a4bc30709fa2616693ba9f2957bf5bc760a3cce141a3fd9dbcf700b4d","description":"El separador a utilizar para cada canal."}]},"$bufferResize":{"descriptionHash":"37845d077b0c1100acd387a4e5456745f5c78f3fd50790964238488c9fab916a","description":"Cambia el tamaño de un buffer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"af11a3416af71133dd99d83b89055a7c1b1846539d2b34c9d50fa5577892898e","description":"La variable en la que se asigna el búfer"},{"nameHash":"0f82aca66af91493b1ff401de5f1f7e3e24e14560df3f6f7e465dbc915b9947d","name":"longitud","descriptionHash":"93208101fb0685da9524a1db63aa57f3c09e8d6d4e8235fadb625ec60a159015","description":"La nueva longitud de este buffer."}]},"$bufferAllocUnsafe":{"descriptionHash":"e5525396490b131c935d2c81b6ff4cc4e8cf670b1e15502ea31f3ce07f16e4b8","description":"Asigna de forma insegura un número determinado de bytes en un búfer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"b520b622d34137b1fe1cdf2dfaff490750f035f6c8f72e87207c80251c2492c7","description":"La variable para cargarlo, a la que se accede con $env[]"},{"nameHash":"277089d91c0bdf4f2e6862ba7e4a07605119431f5d13f726dd352b06f1b206a9","name":"bytes","descriptionHash":"887a548299bb90cbd1ec511676999006404092af17a55b2eae1ed5e6215023c4","description":"El número de bytes a asignar."}]},"$archiveThread":{"descriptionHash":"97065719b21730f9ad64dc49808c7dab89e4a54f5182ecabd45110c68249ef7d","description":"Archiva un hilo, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"07800eef1e58a07430e9eafb1401e3b047eba4032d0ef187c6d0fe58ea271523","description":"El hilo para archivar"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"603d323a164f7abf170fa587482d8a377f79d3bbe594b44cf95da3f67b77b56c","description":"El motivo para archivar este hilo."}]},"$addChannelPerms":{"descriptionHash":"77500a6ad62b5ba832ce070b6f16e281de5f23a54d7bb1023abddfdf9a109955","description":"Agrega permisos de sobrescritura a un canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"fde17518343e10892c5e3487af9d8280a2a2319ee82cb1752075474d45795c1b","description":"El canal para agregar permisos"},{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"cc901a777314792764579e1c2888710a39e23162b1d5113173d086bcc0c13b0b","description":"La identificación del rol o la identificación del miembro al que agregar estos permisos"},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"ff12bf343fbe52787e76c8c161b4ac0c795f2a5cd747401383f522e2dc5f9b2d","description":"Los permisos para agregar a la identificación."}]},"$bufferReadInt32":{"descriptionHash":"ef255ce28ef8b4de240b7815b365d489138a4462bcbedd420712c96fc4cb8b88","description":"Lee int de un buffer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"af11a3416af71133dd99d83b89055a7c1b1846539d2b34c9d50fa5577892898e","description":"La variable en la que se asigna el búfer"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"7c91e7587c4a357880ff6e62d23908284019f519ab73056dec96ec7e0bac64d5","description":"El índice para empezar a leer en"}]},"$bufferWriteUtf8":{"descriptionHash":"96d158a2a524c21d32b56242c35f139aa040cfb4127c003f6615dcd67e14e00c","description":"Escribe una cadena utf8 en un búfer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"af11a3416af71133dd99d83b89055a7c1b1846539d2b34c9d50fa5577892898e","description":"La variable en la que se asigna el búfer"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"017eb13f25d2f5a5b6b35e163f84870b8089aeb7b95ef022facb7fc17ef2e838","description":"El índice para empezar a escribir."},{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"a79edec7366e9ef6ff5da494ebb180f354669ea9b29125135ab1df7023ab3fbf","description":"El texto a escribir"}]},"$bufferReadUtf8":{"descriptionHash":"4e3bcd0d38963421a1e4d9dbb2332c737c7a71a5c7dcd366c64ee0108d794d47","description":"Lee la cadena utf8 de un búfer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"af11a3416af71133dd99d83b89055a7c1b1846539d2b34c9d50fa5577892898e","description":"La variable en la que se asigna el búfer"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"7c91e7587c4a357880ff6e62d23908284019f519ab73056dec96ec7e0bac64d5","description":"El índice para empezar a leer en"},{"nameHash":"1facfbb48b6cb5b9580176a913d252b1be9b410fa111fc08fafd0ad39a1be902","name":"índice final","descriptionHash":"51a7858a217ceee4b51162924fffa7b1beb6337215809269311e6c19027f1e6a","description":"El índice para finalizar la lectura en"}]},"$bufferWriteInt32":{"descriptionHash":"30f5d6d0e4a76d6442121d860c3a7453982a0c77eaddd2540d9ff8089d5943c1","description":"Escribe int32 en un buffer","fields":[{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"af11a3416af71133dd99d83b89055a7c1b1846539d2b34c9d50fa5577892898e","description":"La variable en la que se asigna el búfer"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"017eb13f25d2f5a5b6b35e163f84870b8089aeb7b95ef022facb7fc17ef2e838","description":"El índice para empezar a escribir."},{"nameHash":"6da88c34ba124c41f977db66a4fc5c1a951708d285c81bb0d47c3206f4c27ca8","name":"En t","descriptionHash":"89fffbfb35d5b27ce5461cc935a8ec70dd133e9aff128fe242cf8771f4f65552","description":"El int para escribir"}]},"$addThreadMember":{"descriptionHash":"202888941b0a118cbf7fd806b5f20b49ec61c06d87a99b7a696a8c75fa687109","description":"Agrega un miembro a un hilo, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"24a4e24fbc1cebd4de41641ff97696da749720f5193fa64c60459d4f41e18986","description":"El hilo al que agregar miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"f7cd0fe851f148b5737b31a6dc46d5306749ed84dbe27bbe18cc9526c317dcf6","description":"El miembro a agregar"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"157f5ed272fc108628dd20a6ca9869cd9c461f7e5f73f837f0b4b8e4385f20d0","description":"El motivo para agregar este miembro al hilo."}]},"$channelJoinable":{"descriptionHash":"48a8d07f814f13058dbc3d275d2fd92930ac449f2cf8795b90bbf56c010771eb","description":"Devuelve si el bot puede unirse al canal de voz.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelID":{"descriptionHash":"c3e4687edc63e5e8a716bd1508dddf2c448767b32be29fb256442b19b6ac26e7","description":"Obtiene la identificación del canal de un nombre de canal.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"8f80aca15b0412f9dd6e885c5f832f54ee9a529e8c2ca64a380664423d1bbbb4","description":"El nombre del canal para obtener su identificación"}]},"$channelFull":{"descriptionHash":"c5667dc8cec25350140959966ac6b1e0dff1d104ddb9d2d65e31c66b81f29d1b","description":"Devuelve si el canal de voz está lleno","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelExists":{"descriptionHash":"06fbd6d8e653f9c367389f85294525fdb23c35a7645cd3fd8ada05cec8f19882","description":"Devuelve si existe una identificación de canal","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"bca05c9de5a2f6fd40a8d80256240098969077b85fdc355853a6e63334ef19d0","description":"El canal para comprobar"}]},"$channelIDs":{"descriptionHash":"02f6fb9a1fc81a53ca140bbe4da9b97068553ce5f2b6fd8652c63633b67b10a3","description":"Devuelve cada ID de canal","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"b2a52b5a4bc30709fa2616693ba9f2957bf5bc760a3cce141a3fd9dbcf700b4d","description":"El separador a utilizar para cada canal."}]},"$channelPosition":{"descriptionHash":"9424a42a400723a772d0326bee33cf2cabebe2fe7fd1a44ff3447d2ec70aff17","description":"Devuelve la posición del canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"2c0a21779372660de05d0223506885456b2ed7f9967dee05189c171649483005","description":"La identificación del canal para obtener su posición."}]},"$channelCount":{"descriptionHash":"189e18fcf8de7a285e41605c5e6419358a6f2c0c566b091dcecab2085f4ea0d7","description":"Devuelve el recuento de canales de todos los servidores.","fields":[{"nameHash":"a6216ea03e578f212dd604ec5d675c5274a86891bac4e87f80bea10ef511f533","name":"categorias","descriptionHash":"2f0a03a81460b5a82d7341b39f1bd59f5ecfce2104205b550449b0f05d04d320","description":"Las categorías por las que filtrar"}]},"$channelGuildID":{"descriptionHash":"5f67109e6750aac46a47b17c11c15eab5b5244e17d3705bf152d5e6ab7d46423","description":"Devuelve la identificación del servidor del canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelCreatedAt":{"descriptionHash":"b814c673231ef4cd26d4b290d61a261e733e3ee71419631ccda4efea7ee0ccda","description":"Devuelve la marca de tiempo del canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelNSFW":{"descriptionHash":"d19fe153090babbaee602fd945f90968c25266b0a9cc835916cb4203df8448f4","description":"Devuelve si el canal es nsfw","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelName":{"descriptionHash":"660eeb0a7aa8483f06300674ed1196b3929a22bef5ba70494855c91c54a39db6","description":"Devuelve el nombre del canal","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelHasPerms":{"descriptionHash":"a298fcb05f5c5fe728af92e7ddade70be3f6b1259ed6946807f50c66ba284551","description":"Devuelve si el ID de rol o el miembro tiene permisos en un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"628c2b2ee460a624771fa27b651384516399bdb6eba0ae013bfc4652ed9b9aa5","description":"El canal para obtener permisos"},{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"c06c2f1bc8f29ec31e7baaaad920755cba30586cc3cd0ab14803890ad12f40de","description":"La identificación del rol o el usuario para obtener permisos."},{"nameHash":"4fe3cdd404ea0290bad96d3e1ccd92979d33ac63c4c18ad80e94d0452ce43391","name":"permisos","descriptionHash":"a1cb090e8e8fa02f715fc6226bb55a6432750205e4ad984699b4a75ea6364b0e","description":"Los permisos para comprobar"}]},"$channelNames":{"descriptionHash":"a991cc7d6fdb8c84f383d74bd2f155b3b12933c51ef05034b2012a68637c63c2","description":"Devuelve los nombres de los canales de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"0063d9e4089625828ed4fc72af94ff1f20b36fe3b435c10600ef1dc98df0daed","description":"El servidor para devolver los canales de"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"d99241bd47c7ef420f6a69e50bbcb591f25357566f65dea76f1cc9676b431013","description":"El separador a utilizar para cada canal."}]},"$channelHasAnyPerms":{"descriptionHash":"a5ea8e0aa81cb283e44b26deff046d1da46538f074be36a89766718ad7032f29","description":"Devuelve si el ID de rol o el miembro tiene alguno de los permisos en un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"628c2b2ee460a624771fa27b651384516399bdb6eba0ae013bfc4652ed9b9aa5","description":"El canal para obtener permisos"},{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"c06c2f1bc8f29ec31e7baaaad920755cba30586cc3cd0ab14803890ad12f40de","description":"La identificación del rol o el usuario para obtener permisos."},{"nameHash":"4fe3cdd404ea0290bad96d3e1ccd92979d33ac63c4c18ad80e94d0452ce43391","name":"permisos","descriptionHash":"a1cb090e8e8fa02f715fc6226bb55a6432750205e4ad984699b4a75ea6364b0e","description":"Los permisos para comprobar"}]},"$channelPermissionsFor":{"descriptionHash":"358da2fdb3d4d9ebe421beb6c187754ac701cf850a761f957adc1ddb867fa501","description":"Devuelve permisos para una identificación de rol o miembro en un canal","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"628c2b2ee460a624771fa27b651384516399bdb6eba0ae013bfc4652ed9b9aa5","description":"El canal para obtener permisos"},{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"544b5c22bd46f96926d1c21a11cc0e3c669bee1c77d414fae2c7361393dea6fa","description":"La identificación del rol o el usuario para obtener permisos."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"037716f5dcfaef037c6ea1edb85e05787c5f97584634e5a36c08665e3fd13cdc","description":"El separador a utilizar para cada permiso."}]},"$deleteChannels":{"descriptionHash":"6a40e41a9e169a2c65635515eba0608278977216a97b2fa13b118cfc707d2098","description":"Elimina canales dados, devuelve el recuento de canales eliminados","fields":[{"nameHash":"61ffa9c8c703dd5e4e5aaaf434f3f6a301ed4a6656144bff6b81a8de9057cbad","name":"canales","descriptionHash":"694c52c2b2ab15d2153060d762a67f78357af2f41759de46e6378addc377732b","description":"Los canales a eliminar"}]},"$cloneChannel":{"descriptionHash":"4c1699ba8f81f6fcf57d56240bd7e5a6ba4ace20aabf8fb34b1ff2f544f7e9e5","description":"Clona el canal dado","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"30c5afdd5dfc2590cd4dcf9fc28b507d2df8ccb763b4b31fc8c7ef8a1343c29c","description":"El canal a clonar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"53201da53256d88abfffabebdba828b6e6daffe0f6c94e36b1918d0b3abc1eb6","description":"El nombre del canal clonado."}]},"$channelTopic":{"descriptionHash":"171ecaf53f151ff6487f03f23da4716e35a27e06181312cd359def077664e7d7","description":"Devuelve el tema del canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$clearMessages":{"descriptionHash":"b249a2c78e974eb865ddc4660ed3f10c7b157b2e9231598df10b6bbe8f0ad349","description":"Borra x cantidad de mensajes de un canal, devuelve la cantidad de mensajes eliminados","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"9e1f5cd8d7fb31aa392e28570e0c15986662bf870f7d9ea68c329210b5792428","description":"El canal para borrar mensajes"},{"nameHash":"cf38d95c9c6b1d9d5125c04d41a54df57727ef4cfb3f5116a602fe2b25115c13","name":"cantidad","descriptionHash":"43235c4dc679b66aa361c8c90c65174b9ef39ddb17852fdd0668934db50296d3","description":"La cantidad de mensajes a eliminar"},{"nameHash":"3b2cc36882b211b69cfb2710a9a5b9b6cfa368eedf6cc0c4f86683a7a8ab692f","name":"eliminar anclado","descriptionHash":"dfe17a536e3d4603201b6ae52152d1abaa1417fe8e9780544132d84882fd1e8a","description":"Ya sea para eliminar mensajes anclados"},{"nameHash":"41ffab7468d391d5eb23d9fbc34625dbd9b50cb4c904e8bf8792a22ebaaff329","name":"eliminar robots","descriptionHash":"1168323815243f88eb8a061c2be886c72f2c430f550b70029e4c341b18618c1a","description":"Si eliminar mensajes de bots"}]},"$channelUserLimit":{"descriptionHash":"0b53d7eb7472e8545b46ae30f6885da4e0963c162603d30e70a8a669d5cea3a1","description":"Devuelve el límite de usuarios del canal de voz.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$dmChannelID":{"descriptionHash":"f652ef3fd3d0477a9d11f68f189abf5c9bc173cf38fdcb8dce3868bcf5f455e7","description":"Devuelve la identificación del canal dm de un usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"9b5cbb3cb7c9854482d906056b8265e327c3c097bed639e2d366b770a903690c","description":"Usuario para obtener el canal dm"}]},"$channelType":{"descriptionHash":"5353d3d32725c31908444bdb93dd4be372b8d1aacc55aa1f2e1a266819232dc8","description":"Devuelve el tipo de canal","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$clearUserMessages":{"descriptionHash":"3f67c87ff2e913775e13a4fd6ad6c19833a88d8d982e25ed40b7c4163815a9e0","description":"Borra x cantidad de mensajes de un canal de un usuario determinado, devuelve la cantidad de mensajes eliminados","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"9e1f5cd8d7fb31aa392e28570e0c15986662bf870f7d9ea68c329210b5792428","description":"El canal para borrar mensajes"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"98fdd615ac2c6860f0a00072d8e3ecd4dd0819cc3d6347a87c9580eab8496d51","description":"El usuario puede borrar sus mensajes."},{"nameHash":"cf38d95c9c6b1d9d5125c04d41a54df57727ef4cfb3f5116a602fe2b25115c13","name":"cantidad","descriptionHash":"43235c4dc679b66aa361c8c90c65174b9ef39ddb17852fdd0668934db50296d3","description":"La cantidad de mensajes a eliminar"},{"nameHash":"3b2cc36882b211b69cfb2710a9a5b9b6cfa368eedf6cc0c4f86683a7a8ab692f","name":"eliminar anclado","descriptionHash":"dfe17a536e3d4603201b6ae52152d1abaa1417fe8e9780544132d84882fd1e8a","description":"Ya sea para eliminar mensajes anclados"}]},"$clearChannelPerms":{"descriptionHash":"fe4f1f54220851ca4567a3a2ba65039f91d2bc9c5f559fa8669ba5474205183e","description":"Elimina todas las sobrescrituras de permisos del canal o de la identificación dada, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"7ac593f2f5b8c52ab7072a0714c6a2eadfa1093df6bb367a93ca72774f40975f","description":"El canal para eliminar permisos"},{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"1a0a9b8f69cfbde2295202165301d5730f74359107a854328f43f25801bf6252","description":"La identificación del rol o la identificación del miembro para eliminar todos los permisos."}]},"$deleteChannelPerms":{"descriptionHash":"345cb4acd167c6f594ac06b5725a141021f9ceb76b599991654aa1b4805b0186","description":"Elimina algunas sobrescrituras de permisos de un canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"34fc43cd6fe823fa076e31ce5b5019f1e6bfe005602dc3f26a0ae34141ded15b","description":"El canal para borrar permisos de"},{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"82ba97c5a86d8dccd008769af0af07a5911c605cd3b7658d9c8d044e364c50b9","description":"La identificación del rol o la identificación del miembro para borrar estos permisos."},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"b20bbba866306d307a985edf927f9df447729126799c71e8b17f018dfe0d64e7","description":"Los permisos para borrar de la identificación."}]},"$channelTags":{"descriptionHash":"7548de7fef806afbc934e1ae300c7ee4413b96e6060cb311d4c59b29858dd121","description":"Recupera etiquetas de un hilo del foro","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"bab78c538d939be5f07a62599ee227d4f671b88ed5a9d8a4edac200db2e2f81f","description":"El canal para obtener etiquetas de"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"2c0fade8f497946e27ac330f54d47db1f844e087651eaf5e4f29e24cac45595c","description":"El separador a utilizar para cada etiqueta."}]},"$createThread":{"descriptionHash":"a7c0c1913e60c9a7ea588556f0e0f7239369fd9d00a4870a70ae87fcc7c22e76","description":"Crea un hilo, devuelve la identificación del canal del hilo en caso de éxito","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"e67b35c23d24cc2e1457d2eb727f4db660708123230bc1b598157a449e8e3b53","description":"El canal para crear el hilo en"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"18ee13863f77fae4d6181f1996df8ce4d88c1240fdd2170fe5c5dcca437d2f0a","description":"El nombre del hilo."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"dee275deb7dce956633652156a774e7c0d2ee0bda9ec169af94de0e6076a4041","description":"El mensaje para iniciar el hilo para"},{"nameHash":"715dc8493c36579a5b116995100f635e3572fdf8703e708ef1a08d943b36774e","name":"privado","descriptionHash":"e325d3da7165f4fbcf628d90ada88e71e3767572ae79892cd3437ed5d5502768","description":"Si este hilo es privado"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"be01021b692c8749ad3d8daa5d4f89d994de70e42763972aedc846bdf5c710d5","description":"Razón para crear hilo"}]},"$createForumPost":{"descriptionHash":"ddbe89106a938e56b05f1c386260243e208a72e314ab1ad217fae178db2a74fd","description":"Crea una publicación en el foro, devuelve la identificación del canal de publicación","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"becc7e5616492c72d4f52ee98b6c3f8d86e97c2cef924fdcaaef028b6acfee0c","description":"El canal para crear una publicación en"},{"nameHash":"aaf2320646108059a87ab5017a86aee454f5378ed95003dbb2e12f4ca5266e0e","name":"título","descriptionHash":"81b45d6d076ab30fb04781e430babe3c31340f27a256c74c2a0e89c083f7f62a","description":"El título de la publicación."},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"3b6398445d15ed7753f534b69d3d550c8b298df758f7f89720c82969da756e12","description":"La descripción de la publicación."},{"nameHash":"978c2f8941354cf552831bb8b5b648bb3748e83f5d0a69e3301569af01e1de93","name":"etiquetas","descriptionHash":"b3ee1df398fa04446f6f23143c7b08f2782f59673bd25c0c7463e8ef3f07ede0","description":"Las etiquetas de la publicación."}]},"$createInvite":{"descriptionHash":"180ea5bc67ca99cfa6ffff4039861783915ce8a9b1be57a1a7762fe784c01709","description":"Crea una invitación, devuelve el código.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"774ee97fac64142a418e3eb1b15117ab6fdd110daae4b455871e802037b323ec","description":"El canal para hacer la invitación"},{"nameHash":"e1085805b2507d59ee0e7039affa990fff11e2a5277bd6bb1bb2698c32a2cb8e","name":"usos máximos","descriptionHash":"9fc92ef58f34a5dfaa181a57420eec839406931c54af2ffe934ff9d86a80f5e5","description":"La cantidad máxima de usos para esta invitación"},{"nameHash":"6585b3bf39d704beebf637aa392b21a64ef92977de2d6888aca341244fb65cdd","name":"edad máxima","descriptionHash":"bab323b63d340edd7f260b98fe307824924dd45ace3de1d333411693bce7f298","description":"La edad máxima para esta invitación."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"10d4250c52f2fd0570c2a090789299a09d0ff3c30d87d21300772e92cfaadc66","description":"El motivo de crear esta invitación."}]},"$createChannel":{"descriptionHash":"aa6e9611f219ef428b3d5ea7d23587d1807ad29edee49cb3f8dd36319171a6b3","description":"Crea un canal en un servidor, devuelve la identificación del canal.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"dc199c1bc713340128124ed9bb1514e1d1d2f07456139fd9ec3637252c5ddd60","description":"El servidor para crear este canal"},{"nameHash":"00c9f285f09648a250158b900709a5c5e1f1181cbb7e542f3f4c92e2788dd822","name":"Nombre del Canal","descriptionHash":"99cb47b7c95a51ffac69027f4c3d1a5789ed539188f244836c80892d0c561c26","description":"El nombre del canal."},{"nameHash":"677055f2bc381b1dfa6ee6c21b3d3a3ee31e8106a0f6d92594b8703e7b9ff395","name":"tipo de canal","descriptionHash":"9d15a5aaea397fdf468e5f7b7eeff309f3a499ab68f50885de5f1dedb54e8511","description":"El tipo de canal, algunos no son compatibles."},{"nameHash":"23d611a6f6f8e3ef8775959efd61eee094c1e6b147ab978e7bf7ca452e51110b","name":"tema","descriptionHash":"b2b623f1dcb86610fcb498cd5975b8ff63b881c74c6b7e151cb9fa7ac590a2d2","description":"El tema del canal."},{"nameHash":"38f2d20041c681fac220f52e5756c32ec3c29f879982eb740c7669869281dad3","name":"Identificación de los padres","descriptionHash":"7fdc1d6e49a314baf03bf32dc081f7d94cce5ef6c213969e79498a1a86020748","description":"La identificación principal del canal."}]},"$randomChannelID":{"descriptionHash":"93948ba8b3aee64fd9ca49972f0d6c8111e9fc505509d5c9725a84fcbce30699","description":"Devuelve un ID de canal aleatorio"},"$setChannelNSFW":{"descriptionHash":"de2fa0910e6d9eefc94dc6f93220596acc21a972cd56e217539a7570f79c62d1","description":"Establece un estado nsfw de canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"ffccabf6e1535390b0895436127b777f945b19d548d5db9b539e6c90da6ea785","description":"La identificación del canal para establecer su estado nsfw."},{"nameHash":"4ba69735ca53765ed6a709edb56c6ea236b7193a3b29a6b390c346f0f4340e4e","name":"estado","descriptionHash":"86e23cc59c32d65d1f0e1f7f1d6ef7c07ad85e50c951c19ef4a59d7e3cada2dd","description":"El estado a establecer"}]},"$setChannelTopic":{"descriptionHash":"48781e60f85de8c363276045d3cf85102ed88b42311273b7923130ffabc74e7d","description":"Establece un tema de canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"09bbc96152a8f913a6e9215f7fcefe09e6c5784cecdfdf8f58bcc1e4667101ee","description":"La identificación del canal para establecer su tema."},{"nameHash":"23d611a6f6f8e3ef8775959efd61eee094c1e6b147ab978e7bf7ca452e51110b","name":"tema","descriptionHash":"7286b0e26cee48c68095b19d13211737bfc35955fcf1160576535309be797397","description":"El tema a establecer"}]},"$setChannelSlowmode":{"descriptionHash":"421e588ea91eb23da290d3682d6acbdb459e8b00eaea25d04965fc986fd0c4f5","description":"Establece un canal en modo lento, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"ffccabf6e1535390b0895436127b777f945b19d548d5db9b539e6c90da6ea785","description":"La identificación del canal para establecer su estado nsfw."},{"nameHash":"59f006d63bd009b7f1f1d7bd7e29e1f3b9db6505ce784ca3216ea90c6d6dcb11","name":"segundos","descriptionHash":"9b3193e58d2d36d7f9b636f6d5c49c859ce69f043d5d5e4adf9661dc928e9bde","description":"El número de segundos por mensaje."}]},"$setChannelName":{"descriptionHash":"2aaf13e945612ac37f9287a0034b532325da5a0b516f8af981eeeea37e73a756","description":"Establece un nombre de canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"8dbfdb680691011f50ac6bf3ffdd0c6229104bc9f05604520406c81208952245","description":"La identificación del canal para establecer su nombre."},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"d0ff230d9bf28be91c9ff25084ba6b462b99e0b667b38e3de88dbc862043c4f3","description":"El nombre a establecer"}]},"$lastMessageID":{"descriptionHash":"052fc138e189603c40ac81d18e1103c446c933083d5009ad3066d2700278752a","description":"Devuelve el último mensaje enviado en un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"a12fe8235f2457e0dd6a6c0aeb3adbe0ed5dc294ed7ca0f758310f314f450756","description":"El canal del que extraer el último mensaje"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"0ece722b1e5c5cd1a85f617d83991b4c02066f1025280bf3d6c030bff9751595","description":"La identificación del usuario para recibir su último mensaje enviado."}]},"$randomGuildChannelID":{"descriptionHash":"aace35b81743e8ac15b6334c23b5651b832a7647c61024f29485fa61511798e1","description":"Devuelve un ID de canal aleatorio de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"fe983a55cdd2adb6861977350980724de6f5b78b0eb494ec2dcacd29dd035401","description":"El servidor del que obtener el canal"},{"nameHash":"8d8460221bf4eb295f964884b40a9ba6302a9c2af2f9b1997cbed42fda139de8","name":"tipos","descriptionHash":"81fb0d228863469cfb6ded35f040a26409ec81242a42f37373ff8e79b01ae6f4","description":"Los tipos de canales para obtener una identificación"}]},"$modifyChannelPerms":{"descriptionHash":"f07910703c992a0690559ffe7a66a2019c20c65a7301b0406e1f57f33be69d06","description":"Modifica los permisos de canal dados para una identificación de rol o usuario","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"58bc7ea74f15e3286161e2f64bc0136331c72bf080bed5b447ef83084b347bb9","description":"El canal para modificar permisos para"},{"nameHash":"67dc4c314d1671798cee687e99af252795600f9aabfc264bda299b6e610ca23a","name":"ID de rol o usuario","descriptionHash":"a957571012e648a74f016b69e5458086eec3bc635c0327fd567ad0d9e91dd2b0","description":"La identificación del rol o el usuario para modificar los permisos."},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"6f8c978d7dea9249447312ff81a326d60df78d71ae86e15d8fd3cae1b26ec1ef","description":"Los permisos para permitir, anular o no permitir, (+,/,-)Perm"}]},"$setVoiceMute":{"descriptionHash":"b23c2179e6c21321cac9479f6a21088857908e159bb675817599839af098c31a","description":"Silencia a un miembro del canal de voz","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e325dd681f99b5d01f9351231447225fb8f78cb0d617660c753a80375334d78f","description":"El usuario a silenciar"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"222c0fbbd4c43ef02e63895c432662a4356e93281ebbcc683bbd31f6c08892bf","description":"Motivo para silenciar a este usuario"}]},"$sendMessage":{"descriptionHash":"be17d594c6133a5abda7c052574e227d63e8645f2a026f74662d8ee0cd7a150a","description":"Envía un mensaje a un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"745a617586f0dc1f0c3d9933e8f2796746d973d6bac927d136b3e67d37070165","description":"El canal al que enviar este mensaje"},{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"24e05a2d8bdd896a53049367e1be2d6f957f78a5201f5ba20757619abd213aec","description":"El contenido del mensaje."},{"nameHash":"bf067811daa87e8b0c61018da608b98ca211146b57802fdd84246cdd11f627d2","name":"ID del mensaje de devolución","descriptionHash":"d052ed63592734821fb9fc2500533282491992b5c074b7604a0d33a730b21bd3","description":"Si se debe devolver la identificación del mensaje del mensaje recién enviado"}]},"$setVoiceDeaf":{"descriptionHash":"8446384a8bcef213cfa1652148da331cd025a2b96c876929f6192637e9836686","description":"Ensordece a un miembro del canal de voz.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"30a388124a6d20a5f9fe7461ede38fd0392fcfc69f3e9860e2a2d12cf2593eb0","description":"El usuario para ensordecer"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"ff35b511a850e44844f57bcc4a5e7b5cd5218833bc92f44f6347034db908a7ce","description":"Razón para ensordecer a este usuario"}]},"$removeChannelPerms":{"descriptionHash":"b0e6210b8152079ff525c1d50b938375b64a0d016108b61d505e420dcff4b0e2","description":"Elimina las sobrescrituras de permisos de un canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1240e452fd55f43988dc7c7509586bde03e8a44735154c73928788ba79b50d7e","description":"El canal para eliminar permisos"},{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"d1d35ed6838c47a8b62209efa8157ddcded3b6d63fa461f5ef311608b0cf110b","description":"La identificación del rol o la identificación del miembro para eliminar estos permisos"},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"cda02cce4dffe35ba301106edfedb482f141efbf19028f2c035599d0192c9909","description":"Los permisos para eliminar de la identificación."}]},"$setVoiceBitrate":{"descriptionHash":"8eaaa4b778b2dce6a21992e6e5a96320be47d48b6adcde676d81cebb98d3489c","description":"Establece la calidad de la tasa de bits de un canal de voz, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"b04b3013da1a57d4873cb7a0b71154cacde5997faec4f7f5a2617c253f14335d","description":"El canal para editar la tasa de bits."},{"nameHash":"0dd2a39d8264b17d6d740e8b96d24771f970319190b54fe71d044ace4315d5f5","name":"tasa de bits","descriptionHash":"cc20dd256cb7903f4e615c557b88a8fdef1cef6ff73f3f6e867abe0fba93e3d8","description":"La nueva tasa de bits"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"542ea60a1cd9d08a2efadfcd4e8f3ee7ba522e4a17007d5d4962ae3c2bb2fc73","description":"Razón para cambiar la tasa de bits"}]},"$removeThreadMember":{"descriptionHash":"942c3d9e5f388d4aaf6be827172097914aec2765e5a0a4f2f3d5c34efc247f09","description":"Elimina un miembro del hilo","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"aa771a6c4f8baad720c36fd9995ca2ef01f0980f0d810d84df4cd618815b157a","description":"El hilo para eliminar miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"a8285a737694d13d83a107b0362b9926256eae7fe4de630e770e2ce5b8fedac4","description":"El miembro a eliminar"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"31ecc4d99d7d18a5366cc46df3c878f3d119b74b95b4553f916d58c3f69dae7c","description":"El motivo para eliminar a este miembro del hilo."}]},"$setVoiceUndeaf":{"descriptionHash":"1cb4819e95ed873a968c65d7bae1a1e8f9dc842e1135dc13d53daff8af91b913","description":"Ensordece a un miembro del canal de voz.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"64115d5b0ff97cf5cde349ad870f20ea7663f7a1995cef48f3d5f1a9d613190c","description":"El usuario para ensordecer"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"46c853d87aa89dad9b48606f66745fd01dfbfd13952745c37b5564707d56ed4b","description":"Razón para ensordecer a este usuario"}]},"$addActionRow":{"descriptionHash":"d5064571f8dea7a46939ff879175b4f694a3c5972982c8082763e58ad91d9048","description":"Agrega una fila de acción"},"$commandName":{"descriptionHash":"61972e59ef99a3a02cfffeecd6fde6e5009d8e8ee13ff61d8c6e185f561a687d","description":"Devuelve el nombre del comando actual"},"$deleteCommand":{"descriptionHash":"e8b1b1088828baf85d76f0748fd78b67863aeb931b242e530398ea7b07c5f3cd","description":"Elimina el mensaje del autor."},"$commandCount":{"descriptionHash":"5dfd2bc571fd36496366cc02bfc84b73acc2c07d26a4078d4fae6e15cb3eb23c","description":"Devuelve el recuento de comandos","fields":[{"nameHash":"a6216ea03e578f212dd604ec5d675c5274a86891bac4e87f80bea10ef511f533","name":"categorias","descriptionHash":"120cd9553d50b68805971fa068834b62763c3d6bb6779b0c45ccb57186f42d5a","description":"Los tipos de eventos por los que filtrar"}]},"$addDefaultChannelOption":{"descriptionHash":"789923570892d1d870654c9e3e56c56e0b236599338627e0a567405a9a1da05e","description":"Agrega opciones de canal predeterminadas al último menú de selección.","fields":[{"nameHash":"aea0ff6ef3564c1dbb07abf439005313a14c5ccedeb3bbcd42d5dbdd99843c53","name":"ID de canal","descriptionHash":"e5b87d2c74bfe62f3912eed7c4386da084370ad28315bd5f2a4eeb03c090796c","description":"Los identificadores del canal"}]},"$addChannelType":{"descriptionHash":"83e8a09ee8175916e3fe95912e23148766da886ed95efb627c39b543b5e80eb7","description":"Agrega tipos de canales al último menú de selección.","fields":[{"nameHash":"8d8460221bf4eb295f964884b40a9ba6302a9c2af2f9b1997cbed42fda139de8","name":"tipos","descriptionHash":"251b5fee174e7d731200a32166b24c5641e202576a4a84ae4cc36549e15f8bf5","description":"Los tipos de canales para agregar"}]},"$startTyping":{"descriptionHash":"87418b667c83a975875995edd4e964be7a2cba29300ee0e22892c837b5914f88","description":"Comienza a escribir en un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"068d6c59950f1f60442c60934b770b9863b8df6c33f6686f1e345b99a93299b8","description":"El canal para empezar a escribir"}]},"$commandNames":{"descriptionHash":"75c0fa4fa10f5c85899b24c53a30f86a2cb9c1061ae9630d79769b802287fbe7","description":"Devolver comandos con el tipo dado","fields":[{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"95ebf6e7bec1896cbfec01cca2c4cd4e468bd9b6516f7260fbc8994475d3f7d5","description":"El tipo de comando del que extraer nombres"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"8100e3f71f8818ca024f26789630bf6815f370f63a9cfbcfac3864a8ce52bd95","description":"El separador a utilizar para cada nombre."}]},"$addChoice":{"descriptionHash":"48b3dbc98c75eb3066c9ab64f7a6070837c3f748dcac1c6546296d7a6bc8bdb9","description":"Agrega una opción de autocompletar","fields":[{"nameHash":"ef87269c78f4ea97cfbca29737182cfd8e5f13d19ee5ff4d2227a3c0603c1510","name":"nombre de elección","descriptionHash":"36c18342bb9972256872c4a7d689a572387333d453a73d6f9b627ed567cd7aa5","description":"El nombre de esta elección."},{"nameHash":"fe3c73a1768fea125bb01ecfd490c428748bd459ee7b067cb3d3d2804db750fe","name":"valor de elección","descriptionHash":"b4e385bd97e0b48dd8eba015bb3becbf08af69067911aa911cde9e591148fcd0","description":"El valor de esta elección."}]},"$unarchiveThread":{"descriptionHash":"53b3c6d95e3c424dc21b68fc81c9741aa7d01b30fd521976a43a45742be66095","description":"Desarchiva un hilo, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"e609d9d5ef5a9ec47d93ec71ae87ce9745ebcf300270389ae1e52bb10eed7fb4","description":"El hilo para desarchivar"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"8a08b82edc4421bbe2dd514b650d342e43cd7f86bb0b39ac3f7854f11233652b","description":"El motivo para desarchivar este hilo."}]},"$setVoiceUserLimit":{"descriptionHash":"ecd791627532d6ab44edc7a78129a865c9fe2585276020d686723e30b8a4be13","description":"Establece el límite de usuarios que pueden conectarse a este canal de voz.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"3422b985d34d05e90b31659d9c6e318a825ce264693c770580f1e03e8a887d19","description":"El canal para editar el límite de usuarios."},{"nameHash":"55ea09e5715d0a8d9d94018d473bf23b2d7e630c2adb1f1acad3bada74c6fd05","name":"límite","descriptionHash":"4a97c84a2a735c8b13263e8beace53c4347a5aba54c7de1da318fb0575600cc8","description":"El nuevo límite de usuarios"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"91f3d4aa2778c1926e2ee7a0c7fac49bb733f24b68c2e240e237c7022ebd81b6","description":"Razón para cambiar el límite de usuarios"}]},"$setVoiceUnmute":{"descriptionHash":"f1827a267f6cf9a224cf5aff583865c7277272d41240110ddcd69c4a2c6d3ffa","description":"Activa el silencio de un miembro del canal de voz","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"786900505443a7c6351d43596326e701835b28f289c76f7b1b07064cba331b85","description":"El usuario para activar el silencio."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"20733e5693a92a35e092036402b4b84d9263ff53c194c1e5a1dcaa01e7094f99","description":"Motivo para reactivar el silencio de este usuario"}]},"$commandInfo":{"descriptionHash":"3146c0849cc69f00c9807e01fdb8cf4e471e84d078928596d330529e9f3afe4d","description":"Recupera información del comando","fields":[{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"688387f645fd0cde151c95ace448d6164dba73ff10433f2ba5a65b79007de5bb","description":"El tipo de comando"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"28d4fce5cb94f046d42e2cbaba2dde58edb48700a1db35c0bfd20c56794c3e44","description":"El nombre del comando"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"e2290653a677989283c75bfcc868af3f16d610635fbd567119857d408b6a0ee1","description":"La propiedad a recuperar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"1ae35f311e852275aa494b686c5d338ea6f5cd889b41b1c8da35fdc54c37437e","description":"Separador a usar en caso de matriz"}]},"$addChannelSelectMenu":{"descriptionHash":"4eb8507316ec916a566521f83be2c4371d113e532274db47d0e4d8a74741b76c","description":"Crea un menú de selección de canal.","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"7cf92853633795dfb0d08a1ae3f75613af6c0d54c12e5b99fc3630167f094d4a","description":"La identificación personalizada para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"d7fca841b0f86898de6a25e355972eead761c04dbc472386b29c567b7188c2e0","description":"Si el menú está deshabilitado de forma predeterminada"},{"nameHash":"44cba2498d2245970c3266b3f381b7fb7a36da5d5860319944d3da89b5483784","name":"canales predeterminados","descriptionHash":"b1c17bf9c43061420f0c0da046124293a96a3d16d9e5a27c7dab68a95cf3a965","description":"Los canales seleccionados predeterminados para usar"}]},"$addButton":{"descriptionHash":"a1178010aeeaf5881779c2c7ca7b895ad64c7288dbaf5355b3927fd0d905fd2f","description":"Agrega un componente de botón a la fila más nueva","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"19f31cccd99dc3c96b23db27551c97f896883a1586d4894b88b36b8af88cbeb6","description":"La identificación personalizada para este componente."},{"nameHash":"1aca80e8b55c802f7b43740da2990e1b5735bbb323d93eb5ebda8395b04025e2","name":"etiqueta","descriptionHash":"bbc81f660cca3a395ed8bc5f6c12f15eefe97569db1151aa0d22dfc3d17b5dc0","description":"La etiqueta del botón"},{"nameHash":"cb86eb2d914d37df6857c3cfe4827b5f770b01a86578120618b0b21572160be8","name":"estilo","descriptionHash":"68d4249fe7f2561a52efdc0f5479869e1951ce56aa86bf7bcd2a63b28c3e1d89","description":"El estilo de este botón."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"431d810439480627f734e2023ad3cdbbb3e144d023f8c8dcde2ec8075f7a1c02","description":"El emoji de este botón."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"edb7cd794f8a1d3c8da15187e81b9f79a1ce53cf1211038ed131ad7fc74cf54d","description":"Ya sea para desactivar el botón"}]},"$deleteComponent":{"descriptionHash":"daee7456c4ca6fda7cd7dd56db5e7c5ccadcc99bcbd21beab81d459f250f8297","description":"Elimina un componente con una identificación personalizada dada","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"cf4f53ef53e85785591abcc1e8e87318c8b78222d210a8df6ab6e3035b79ca93","description":"La identificación personalizada del componente a eliminar"}]},"$addDefaultUserOption":{"descriptionHash":"10c19e95d2e773b224ba4059ef615ec33f302a03ab8b0d7577cc15d8594279e9","description":"Agrega opciones de usuario predeterminadas al último menú de selección.","fields":[{"nameHash":"50680440c1d37a0311cf53e06c9175bed54997456b1cf7c11c1b0e814be85dca","name":"ID de usuario","descriptionHash":"a5715f68b8fd87cf838dac4c1a81f9767252139323f958f61f2296f4c7b69d66","description":"Los identificadores de usuario"}]},"$deleteActionRow":{"descriptionHash":"78b3965c7c234e813763905563bb10ea84056dcb8e13fbed2264780590fcedd7","description":"Elimina una fila de acción en un índice dado","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b25c31cb3af0208d5d9800145e222f8c887d5961c58c42a179260a70e7102292","description":"El índice de fila a eliminar"}]},"$addDefaultRoleOption":{"descriptionHash":"4a738d8f3997e1a1cf01b27ade1d9cfe0bf7aa4c09b707dc1cc41a87c9b5424a","description":"Agrega opciones de identificación de rol predeterminadas al último menú de selección","fields":[{"nameHash":"1883c81b5e2e448f05158dc1c3f02bba393c0e2319843983fdb275c5fc3bc416","name":"ID de rol","descriptionHash":"a4dc6a3507e85b5da1625f94f80f8e40c6fd9c1de1bfc72cc492d0a0b32e4895","description":"Los identificadores de rol"}]},"$and":{"descriptionHash":"10ce74b827e1f8da06d8c0fc7e49c0fd207631551978b23240f42a49f173cb87","description":"Valida múltiples condiciones","fields":[{"nameHash":"562a77a7ae22fe1bb05561df5f820282d4e199b7d5469ee234068f35aefedae1","name":"condiciones","descriptionHash":"77447062df7cb38dbcb1071566feb16e125bea8ba2589922aec850e9ac1e5096","description":"Las condiciones que deben cumplir"}]},"$checkCondition":{"descriptionHash":"254511c79bf41311aa46e69088f82e9ba3ef3acb585507c7bf1bf50ddac4e529","description":"Comprueba si una condición es válida","fields":[{"nameHash":"596d40a4ed24c02a31b19d6e633f46f64304a672b40f793d8c6deab868beb0e2","name":"condición","descriptionHash":"3e17acbfc4c0845f7879ea1cf976bc1da4551c84b177fa5917e891e5d251e01f","description":"La condición para usar"}]},"$addMentionableSelectMenu":{"descriptionHash":"a4eff4520c6af04c673f94e51eeecb1822666e0babbb77fb14032422c667b080","description":"Crea un menú de selección mencionable.","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"7cf92853633795dfb0d08a1ae3f75613af6c0d54c12e5b99fc3630167f094d4a","description":"La identificación personalizada para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"d7fca841b0f86898de6a25e355972eead761c04dbc472386b29c567b7188c2e0","description":"Si el menú está deshabilitado de forma predeterminada"}]},"$addStringSelectMenu":{"descriptionHash":"efc156fa0e3465cbd971dad32caab654a81bc3d8b27adab99207f66b4b8ca34c","description":"Agrega un menú de selección de cadena.","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"65afb9419c950e739927f467bc267cf851fe86d0a019cf98fa4b4bec9950dcea","description":"La identificación personalizada que se usará para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."}]},"$editButton":{"descriptionHash":"d175ae3917a32c3a4f855b4f6f32020af8bf3211ca0fa90b9ad5ad344e9f1da6","description":"Edita un componente de botón","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"f764f5ab81a22991dadd72ebf9aae37b1b782fa4072dff0a89137e33d37657ff","description":"La identificación personalizada para encontrar el componente."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"656883609e1243fd81a1398dbe5a7cd40fe18c038f6e860b6b1413887c87a902","description":"La nueva identificación personalizada para este componente."},{"nameHash":"1aca80e8b55c802f7b43740da2990e1b5735bbb323d93eb5ebda8395b04025e2","name":"etiqueta","descriptionHash":"bbc81f660cca3a395ed8bc5f6c12f15eefe97569db1151aa0d22dfc3d17b5dc0","description":"La etiqueta del botón"},{"nameHash":"cb86eb2d914d37df6857c3cfe4827b5f770b01a86578120618b0b21572160be8","name":"estilo","descriptionHash":"68d4249fe7f2561a52efdc0f5479869e1951ce56aa86bf7bcd2a63b28c3e1d89","description":"El estilo de este botón."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"431d810439480627f734e2023ad3cdbbb3e144d023f8c8dcde2ec8075f7a1c02","description":"El emoji de este botón."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"edb7cd794f8a1d3c8da15187e81b9f79a1ce53cf1211038ed131ad7fc74cf54d","description":"Ya sea para desactivar el botón"}]},"$editOption":{"descriptionHash":"25fee61163033d413cf950eccc481777f498a81913966de658b070dcf2985565","description":"Edita una opción de menú de selección","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"e37fbf16dbc57336c9fa9d67d194dd9d11cda91109cd5b9b608afd200494ca82","description":"El nombre de la opción"},{"nameHash":"d5e2d92d972b5ac493df91742f17a7c4c4b4b792e055d61d9a8d5bb039e774af","name":"nuevo nombre","descriptionHash":"6d34db8789e1f64101268f76b3c2b68d08dd562c0ce6d94973bbb8e8d1222b30","description":"El nuevo nombre de la opción"},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"d16bd6d51067c5b7ea2cf968f17034aec36ad35c951ba150b72e852cb75f9ad5","description":"La descripción de esta opción."},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"866747ddaf3d96d5f8748bc43847be2a65f02b08ba7a92f9175b1b6557a329f2","description":"El valor a utilizar para esta opción."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"091ad154ae26050c6c11ec8970748d16fe0a1240d26315ddd5dde7e68db62fec","description":"El emoji a usar para esta opción"},{"nameHash":"37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f","name":"por defecto","descriptionHash":"b2bc9878596cefdebf0367b7361956228a6c1b7670e52394e6e7d6f2f0e2bc64","description":"Si establecer esta opción como predeterminada"}]},"$addOption":{"descriptionHash":"8089d935e1ab1b6d19d870fa6ef2502d7450c1d95ad0633bebe728a19cf58492","description":"Agrega una opción de menú de selección","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"e37fbf16dbc57336c9fa9d67d194dd9d11cda91109cd5b9b608afd200494ca82","description":"El nombre de la opción"},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"d16bd6d51067c5b7ea2cf968f17034aec36ad35c951ba150b72e852cb75f9ad5","description":"La descripción de esta opción."},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"866747ddaf3d96d5f8748bc43847be2a65f02b08ba7a92f9175b1b6557a329f2","description":"El valor a utilizar para esta opción."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"091ad154ae26050c6c11ec8970748d16fe0a1240d26315ddd5dde7e68db62fec","description":"El emoji a usar para esta opción"},{"nameHash":"37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f","name":"por defecto","descriptionHash":"b2bc9878596cefdebf0367b7361956228a6c1b7670e52394e6e7d6f2f0e2bc64","description":"Si establecer esta opción como predeterminada"}]},"$addRoleSelectMenu":{"descriptionHash":"a27bd06538b03b278c4fa05a24c2893140f66040523bed8549fb9130b4f28c41","description":"Crea un menú de selección de ID de rol.","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"7cf92853633795dfb0d08a1ae3f75613af6c0d54c12e5b99fc3630167f094d4a","description":"La identificación personalizada para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"d7fca841b0f86898de6a25e355972eead761c04dbc472386b29c567b7188c2e0","description":"Si el menú está deshabilitado de forma predeterminada"},{"nameHash":"abf3d26c6b4be64d52c862381faa920612a82e418e8bb2b4d4aaf3b4622fd820","name":"identificadores de roles predeterminados","descriptionHash":"fa00804c22936b339d3f661d22dc8aa2dee0816e1d82a7e2e1b7f959e19bc295","description":"Los ID de rol seleccionados predeterminados para usar"}]},"$editStringSelectMenu":{"descriptionHash":"54bb24f3decf3bca39c4197cccd138e155c514e2e02687754aa309c25cd3d907","description":"Edita un menú de selección de cadena","fields":[{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."}]},"$addUserSelectMenu":{"descriptionHash":"ec676719025f8d742a9125f6840f4a3caca700f5386e1e5c7a99675717c9baf9","description":"Crea un menú de selección de usuario.","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"7cf92853633795dfb0d08a1ae3f75613af6c0d54c12e5b99fc3630167f094d4a","description":"La identificación personalizada para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"d7fca841b0f86898de6a25e355972eead761c04dbc472386b29c567b7188c2e0","description":"Si el menú está deshabilitado de forma predeterminada"},{"nameHash":"0d7768b318f717af53a97a074c835bc3645621599533fa46e4f171a1554cf28f","name":"usuarios predeterminados","descriptionHash":"ef03232e68357f1c66b28f3e3f345f31ce446c20cebcc14309392635390f89f6","description":"Los usuarios seleccionados predeterminados para usar"}]},"$addTextInput":{"descriptionHash":"6c38c85b99d517ab85dd8722952196c242df3a89826deedae05e705dae440044","description":"Agrega un campo de entrada de texto al modal.","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"92be5ecd2645f876380ffd03ae3bab819c9cde9358a493195a70a2744f294340","description":"La identificación personalizada para este campo."},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"50fe928ed912a20c3ca75059b40102ed1e45ebdf06629edcf2f0d068ee825d7d","description":"El nombre del campo"},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"36eafb39b031cb8487de90afc2f177803a5ee41d49af1aa4853d26e8b71df70b","description":"Párrafo o breve"},{"nameHash":"d0a3630555bbec7fc05a98d311c23b00fd1ab4d8296ac4a4125976d80b6a6959","name":"requerido","descriptionHash":"fef942c8f47781b7333a5b8fe2dbf06853e7f219e9fb092afdd2d79319984727","description":"Si este campo es obligatorio"},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"16a969ad091b09e700f35653f4c201fe03e7fa0013944c2576499654021a0bb8","description":"El marcador de posición que se utilizará para el campo."},{"nameHash":"0ebf48e40af236a1a7203f955e358f34ed5ef1310e55f6095f9005e0dd6badd0","name":"valor por defecto","descriptionHash":"6672f254b12b5f8db10fc96c15308325d25e0376ae49665c61662e4b38adc9c2","description":"El valor predeterminado para el campo."},{"nameHash":"3066b58a97f27682bd769a86d6042a7d281df265d09edfd5d6cd4b8f1e1c6a6b","name":"longitud mínima","descriptionHash":"b8d7ff91ae9e1155f84037411771443b9537a5286c3326c1519960be6135b233","description":"La longitud mínima necesaria"},{"nameHash":"fc027108ab4da5a5736841ad1e899c6baa07c07c24a07cea982a654bc9e49280","name":"longitud máxima","descriptionHash":"0de0672f0855234adc09df1b0c7d034512f1ac0dccaac25de5aaa58c216fb715","description":"La longitud máxima necesaria"}]},"$getCooldownTime":{"descriptionHash":"2136b7095d1ffb51749dd5c4754fcc667f35501551e075a763c024d35ae84c89","description":"Recupera el tiempo de recuperación actual en ms para una identificación determinada","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"ac8ecf6473b5dc5db34d853aa29e197658d2a86c89b62aac1f3defc73b9863a8","description":"La identificación para obtener su tiempo de reutilización."}]},"$createQueryParams":{"descriptionHash":"10fcf3fa11cf935c2dee43570ff6767ae8aaf6811337cfc7b5dca593d1c46bbe","description":"Crea parámetros de consulta con campos dados.","fields":[{"nameHash":"5cacdac783578878d9e233d063de8b568c30b29899bf305d0fd58bc5f5b01cfc","name":"Nombre del parámetro; valor del parámetro","descriptionHash":"986db8557f07d51ee4a7c196116c912ef54e1e482207455c0c2e185f72a4d973","description":"El nombre del parámetro seguido del valor, (parámetro1;valor1)"}]},"$isBool":{"descriptionHash":"5318b69048a66e40ab38d412a76456f272ef2c70275c0dbcadb2f3cc07c7457c","description":"Comprueba si el valor dado es booleano.","fields":[{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"426fd95de7953607dc8e664a213f94fb7e173f002278390c0a4164bae696fb27","description":"Valor para comprobar si es válido bool"}]},"$or":{"descriptionHash":"e448ce5c537c7350236b6c1064c0ef9916f695d19b0a050815761981cfc3574c","description":"Valida una condición","fields":[{"nameHash":"562a77a7ae22fe1bb05561df5f820282d4e199b7d5469ee234068f35aefedae1","name":"condiciones","descriptionHash":"3f6185b01259f018b7d03dafc4ec9b5507e7f9d7e51ba814203c43ead69b6fa8","description":"Las condiciones que deben cumplir uno."}]},"$encodeURIComponent":{"descriptionHash":"232f25fd93f1c69763df701a0cc09a4efd8d58b50e6510057d5f94792fb597b2","description":"Codifica texto para una URL","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"0c4768c2f03d8b6571cd6afee6ec99d2567ce7082d11503d87f567ba2072853b","description":"El texto a codificar."}]},"$deleteCooldown":{"descriptionHash":"a29ae054ed1aa4cd7b011dd9d3e135401c3f6abf06cbd90b8e310b7dcec17620","description":"Elimina el tiempo de reutilización de la identificación dada","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"5dc14ceb14ac50eeefcf7b4790cac0dc7b0adc682f8551859329f33044ba8b3d","description":"La identificación para eliminar su tiempo de reutilización."}]},"$isValidHex":{"descriptionHash":"60b373ad0bea874f6b82bdad9abc5332f72eba588d9d6e088beaf31868732bae","description":"Comprueba si el hexadecimal dado es un número entero válido entre 0x00000 y 0xffffff.","fields":[{"nameHash":"128df13c1e54ffaaafcc9d07ec7427d61f764214e6ae0321de23c94d261d0860","name":"hexadecimal","descriptionHash":"5dd27233a0acba025e8fed0d42aeb985f3602ad2e7d56cf44e9420ad89a3d7cf","description":"El hexadecimal para comprobar"}]},"$decodeURIComponent":{"descriptionHash":"e0c1c55cf03205826d3266e17c811d4984cbb0b5319ae734cabb60d466750794","description":"Decodifica el texto de una URL","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"e4445ef479cdf40adf1ec66b4f35094320a2547e13762c60247317e41c7fb1c8","description":"El texto a decodificar"}]},"$isValidLink":{"descriptionHash":"a04422237b11c613a91496cbbfccfbf2deeeeb0da848d874683b81fa76b2f00d","description":"Comprueba si un enlace es válido; esto no garantizará que un sitio realmente exista ni devuelva respuestas HTTP exitosas.","fields":[{"nameHash":"b1b1bdb480c61d075300d9bff7d9cb69cf31695ea048e478facadf426e8d0fb0","name":"enlace","descriptionHash":"64724a064163884a78b184e709e74eb44f362f531669f05ff4f013c40b89abef","description":"El enlace para comprobar"}]},"$encodeURI":{"descriptionHash":"232f25fd93f1c69763df701a0cc09a4efd8d58b50e6510057d5f94792fb597b2","description":"Codifica texto para una URL","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"0c4768c2f03d8b6571cd6afee6ec99d2567ce7082d11503d87f567ba2072853b","description":"El texto a codificar."}]},"$decodeURI":{"descriptionHash":"e0c1c55cf03205826d3266e17c811d4984cbb0b5319ae734cabb60d466750794","description":"Decodifica el texto de una URL","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"e4445ef479cdf40adf1ec66b4f35094320a2547e13762c60247317e41c7fb1c8","description":"El texto a decodificar"}]},"$md5":{"descriptionHash":"416368348077dc7a2106523a99ccf3d3568f9c39b717ac7b2eb361c3d2c152ec","description":"Crea una clave md5 a partir de una entrada dada","fields":[{"nameHash":"c96c6d5be8d08a12e7b5cdc1b207fa6b2430974c86803d8891675e76fd992c20","name":"aporte","descriptionHash":"4782dca19cf22e70f541d6ee9b4aaf830ca9fbf98716c5ea2fd63890f719d645","description":"Insumo a utilizar para la alimentación"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"91a0560b1c4de620014501e58a7026b3c4911faf2235d9ed03e0ad99e814c7a3","description":"La codificación de salida"}]},"$deflate":{"descriptionHash":"e7e52992059e4f952a44cf6d8a33a042c733689f43c77e65c77907dd56bcb903","description":"Comprime la entrada dada","fields":[{"nameHash":"c96c6d5be8d08a12e7b5cdc1b207fa6b2430974c86803d8891675e76fd992c20","name":"aporte","descriptionHash":"1ee595173a6b01e1f5beacc9702cffe212eb0274a76fa1211140647df9443a08","description":"El texto a comprimir"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"760de9d95bbe9fcfa26921b7a290bd6a0407a10aa71110b016936921554e5c10","description":"La codificación de salida a utilizar"}]},"$inflate":{"descriptionHash":"5dac12200db1628685d8722b8dbf20fe8cd1bdc250716ac4f7d5b7d8d6827aaf","description":"Descomprime la entrada dada","fields":[{"nameHash":"c96c6d5be8d08a12e7b5cdc1b207fa6b2430974c86803d8891675e76fd992c20","name":"aporte","descriptionHash":"a2e5ef2f5278463198cae1e5857ec84d28f548d17de5d559f124eeff7b30b6bb","description":"El texto a descomprimir"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"be17420c29e38cae3d1f1893a3cc6a9a13f74bbe8d5e9d998354750c260526b1","description":"La codificación de entrada a utilizar"}]},"$cooldown":{"descriptionHash":"08dcea9bbd0478a24b865054ad39acb816069988c036314e0865929bc21d2018","description":"Agrega un tiempo de reutilización de comando","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e6a24ba255675de5374c6a7b147be3d6bbcf3a48ac1c81da7a796841c44adc78","description":"La identificación a la que asignar el tiempo de reutilización puede ser cualquier cosa."},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"c864ea4a79eb5afc321d4835e799d29fdc3a3aba390aa1f983a31229c59d8cbf","description":"La duración del tiempo de reutilización."},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"8c5cc5d92936a8b36b006ce3dbb03631515b07e01333d423f896e60f79cfa31f","description":"El código a ejecutar si el tiempo de reutilización está activo."}]},"$color":{"descriptionHash":"5ccc1a7c4df8bd3ab2572d689bca5660c314dea475baf761399c138476798566","description":"Agrega un color para el embed.","fields":[{"nameHash":"74284d9dcbcc09928ca5d7d6187270a62ac1b58ccdc4a44b81e47257ffa53b9e","name":"color","descriptionHash":"fc7dfec2e07fc0b59ebbf170f8b96a551fc2186e22b47d1701da4a1fb960c3d5","description":"El color para el embed."},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$timestamp":{"descriptionHash":"882a1c20b6c2835cb235889ec9a5c4249260dc7f0545b562a2091e17b140ff01","description":"Agrega una marca de tiempo para insertar","fields":[{"nameHash":"f785c3ce1d580c8f22c1db8a14cf1268e44279ff5d461361dbbfaf19e8b11578","name":"EM","descriptionHash":"e7320fd4cad16e9e1902e1b772613ab7ddc27c868128f83ede74a549efd12b48","description":"La hora de la marca de tiempo para agregar"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$deleteEmojis":{"descriptionHash":"1d39b635c5d5ef57940b2e4619d0728169c9eb43ef338238d954114e0f1cdc2f","description":"Elimina emojis dados de un servidor, devuelve el recuento de emots eliminado","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"3103d152dc40c7ada6a2d15657ae7f2576b2e31fbb738934ad6e140010448a2e","description":"El servidor para eliminar emoticones"},{"nameHash":"3badc5f5025e3296346a2b8a3fcbf0bb2158744298c33e6021bf7d9da58a4ec3","name":"emojis","descriptionHash":"2ed6e9c0783f38a39ca80db2bb15d7f26ce63eee6de4888f43eec262ba69049d","description":"Los emojis para borrar"}]},"$image":{"descriptionHash":"877b1c06904c29507711d2ff78028186340bc0c5c4cc32eea2d6c47fe1df1530","description":"Agrega una imagen para insertar","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"e8fdf7486a1de901001a693e85392b5b560926d02baaa2dadfec485337ada1c0","description":"La URL de la imagen para insertar."},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$deleteEmojiMessageReactions":{"descriptionHash":"9eea5878f78896824ba3baa9b0b63411ba5060c5ded0fe39a5cc9a97dcca33de","description":"Elimina todas las reacciones emoji de un mensaje, devuelve la cantidad de emojis de reacción eliminados exitosamente","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"3cc2a50511ebc6433c1c8c3d06f75c2eded1b973f4578f4962fb57f14000a842","description":"El canal donde se encuentra el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"c462970f408100fc68df5f1b0a4de8f891361cfa3bfecc67bef177b2a03de945","description":"El mensaje para eliminar reacciones emoji de"},{"nameHash":"3badc5f5025e3296346a2b8a3fcbf0bb2158744298c33e6021bf7d9da58a4ec3","name":"emojis","descriptionHash":"589350d82b809575484b1fd5c4b2e213107e707cff89dd997e83ac0de0e93ab1","description":"Los emojis a eliminar de este mensaje"}]},"$thumbnail":{"descriptionHash":"233e5c28cd2bbaf404cfa75c5ad03e1ceeb098a67244a5c97e3d923321a819c1","description":"Agrega una miniatura para insertar","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"66715cc59e1b88b5e1c36670cc281c39d07118258369d9db5ef2e0e32324dbe6","description":"La URL de la miniatura para insertar"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$sha512":{"descriptionHash":"e54ea22a3dd3d1455d6f956949286118aee16369c4f7dfcc6b1aef45c67d8217","description":"Crea una clave sha512 a partir de una entrada dada","fields":[{"nameHash":"c96c6d5be8d08a12e7b5cdc1b207fa6b2430974c86803d8891675e76fd992c20","name":"aporte","descriptionHash":"4782dca19cf22e70f541d6ee9b4aaf830ca9fbf98716c5ea2fd63890f719d645","description":"Insumo a utilizar para la alimentación"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"91a0560b1c4de620014501e58a7026b3c4911faf2235d9ed03e0ad99e814c7a3","description":"La codificación de salida"}]},"$description":{"descriptionHash":"8fcbd87917e0f4314a349a5c85e07b9193fddb4f07f04885bc3a38a77c582481","description":"Agrega una descripción para insertar","fields":[{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"8eb5737bc851c6bca95a1a5af0b75a337a734fe50636354f999e4b24003b0f26","description":"La descripción para la inserción."},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$title":{"descriptionHash":"879a58a94f7a7c4ccfac3c4660cb5932f6b5bd056ba8c8bf6b2001d9f4c19f09","description":"Agrega un título para insertar","fields":[{"nameHash":"aaf2320646108059a87ab5017a86aee454f5378ed95003dbb2e12f4ca5266e0e","name":"título","descriptionHash":"1d549192a564e80b5de11769df626d93d7a168a7198ff5eaf6bf8e7edbd5dc8f","description":"Agrega un título a la inserción"},{"nameHash":"0e33869f749a06524ad3a29448de55a35ba6f04b98d6eaf865d1986e86a38d40","name":"Hipervínculo","descriptionHash":"09c6a6c4ceb4fcc4739d8000149acdace6fbd5fa90e56f1a08f15b445bccd60f","description":"La URL del hipervínculo"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$sha256":{"descriptionHash":"efb105b32ad0301baa8aa6ca9d61d4cd02637fef8a5558ce1e5bd18d123b4012","description":"Crea una clave sha256 a partir de una entrada dada","fields":[{"nameHash":"c96c6d5be8d08a12e7b5cdc1b207fa6b2430974c86803d8891675e76fd992c20","name":"aporte","descriptionHash":"4782dca19cf22e70f541d6ee9b4aaf830ca9fbf98716c5ea2fd63890f719d645","description":"Insumo a utilizar para la alimentación"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"91a0560b1c4de620014501e58a7026b3c4911faf2235d9ed03e0ad99e814c7a3","description":"La codificación de salida"}]},"$addField":{"descriptionHash":"daede101dfdb098b9f2c7092bb220966af3ed406aa03c27a6f4e0627f4678834","description":"Agrega un campo para insertar","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"282dd952f4248f6ab932557da92b67f706fc5007577305b5ba2c1c68cebfdcff","description":"El nombre del campo."},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"a56c1b1fb1823dc52bb90f11d2340e7679a1848c07a88f017b02087963afb7df","description":"El valor del campo."},{"nameHash":"995cf20a9c45daaf0a2cc31e85c290032ced97aadbac6c9d625595f5ce0ed427","name":"en línea","descriptionHash":"2fe64db5f865b5db9a9a9bb23bd6c30bf4ff2d42df81f7cea4817f9fb2ebeb20","description":"Si este campo estará en línea"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$footer":{"descriptionHash":"9c7a84ceba472beb9704d96aad7e326c5b9b6a870203a1d365edab8b86f92a32","description":"Agrega un pie de página para insertar","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"315de1ed8409782f00a3a1ae2f4be1471028d8cc3eb7162ec87d2e62a7904de5","description":"El texto para el pie de página para insertar."},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"6b3b5495271ca9f3da3444c3e4d617a81ea8b7ca8f9687ab9ba19eabfb4c0981","description":"La URL para el pie de página para insertar"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$author":{"descriptionHash":"54fae9581d6d4fc757a3b1328ba571b7b8562708383a92b63b675dd162bc53f9","description":"Agrega un autor insertado","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"04390354519a42cfa5dca59fd028476ede2d48a7c6120abcab8f9d4bad5f5355","description":"Agrega un nombre al autor insertado."},{"nameHash":"c2d4b446a44ce54fab8e01150e24dd24f3d850c7c14dcfe31f6321341dd86874","name":"icono","descriptionHash":"f76b2a495b45080e3d2c990296fd9850637ed2738f5ae6763a0f8ca2236a9327","description":"La URL del icono"},{"nameHash":"0e33869f749a06524ad3a29448de55a35ba6f04b98d6eaf865d1986e86a38d40","name":"Hipervínculo","descriptionHash":"09c6a6c4ceb4fcc4739d8000149acdace6fbd5fa90e56f1a08f15b445bccd60f","description":"La URL del hipervínculo"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b777f3dc52eff208ee1e3a371407b924a1bbefcafce8d94ebdb4d0464445f34a","description":"El índice al que agregar estos datos"}]},"$editField":{"descriptionHash":"361dc7474747e0cd9377c68dc100f06f708adaedddf1291fc4ba57edd3d7493d","description":"Edita un campo para insertar","fields":[{"nameHash":"7a44ff150a04f918083d2437f297ab87a064365eb46ec4ad9a0a9c76cacb199c","name":"índice de campo","descriptionHash":"7936e2f631a72a555d08527eae477ebc5381612dad0182dc25e83f1fcf0b703b","description":"El campo de índice para editar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"282dd952f4248f6ab932557da92b67f706fc5007577305b5ba2c1c68cebfdcff","description":"El nombre del campo."},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"a56c1b1fb1823dc52bb90f11d2340e7679a1848c07a88f017b02087963afb7df","description":"El valor del campo."},{"nameHash":"995cf20a9c45daaf0a2cc31e85c290032ced97aadbac6c9d625595f5ce0ed427","name":"en línea","descriptionHash":"2fe64db5f865b5db9a9a9bb23bd6c30bf4ff2d42df81f7cea4817f9fb2ebeb20","description":"Si este campo estará en línea"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"da8308ac4201bdb68a09dc199f3d0fcead4a1f6dea9e62267edd145cd0d94352","description":"El índice para editar estos datos"}]},"$addEmoji":{"descriptionHash":"057990a941a56e4a6501a29d25b961c6d4fc60820dda98a2410a18f5bebef65a","description":"Agrega un emoji a un servidor, devuelve la identificación del emoji","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"5378f7bf4d1f40a765931e30ee5e83f54608a4352b6fc26326d78dbf2eba4122","description":"El servidor al que agregar este gesto"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"21f8a1ffeede465d2ebb556ee3976fa3d477f1c803dbbe871476983a4c06bdb7","description":"El nombre del emoji"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"e7c83e0218ec8070429c3bff76b0d4f3c8e6c1bacfd5540ad232535248ae5818","description":"El ícono emoji a usar"},{"nameHash":"114898f3d2970c98da2efb56b06ef2db16040bcdf930f29f61b91ecd2d591e39","name":"devolver ID de emoji","descriptionHash":"e351e57a1d324136f97910f07a5e99c35d6033279878cb53054d236f4effe674","description":"Si se debe devolver la identificación del emoji"},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"f2e57ef2b5d806f1dfaf98a845f3643a977b82486173ed1c3ce20a0a57c737bb","description":"Los identificadores de rol para limitar el uso de este gesto"}]},"$emojiCount":{"descriptionHash":"2651b17b6460e395398ff509e68de8eef9ca8506e9badafc8db33063f8ba528b","description":"Devuelve el recuento de emoji de todos los servidores.","fields":[{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"847f7150902a7109306e58e0e1dfb974dca1945d05caff63b5f4f463c16ccfb7","description":"El tipo de emotes a contar."}]},"$randomEmojiID":{"descriptionHash":"29c4bedaa2fa211b17007ed54a90dd921edb941df36f1e4195ab25415b4f7726","description":"Devuelve un ID de emoji aleatorio"},"$emojiID":{"descriptionHash":"ef0c6291b596f44e3be7a9462f6065e512e053a57cad2b729be60df53b2e7af0","description":"Devuelve la identificación del emoji","fields":[{"nameHash":"99eff9fe7e72cca8b6977fbac8b5a5d67c32853ed461be27de6d9f4532a695bb","name":"nombre emoji","descriptionHash":"d9397a47fcdb0dbf6fc2d6d19fa0064fe837107cfe0106c1323859674ba04e22","description":"El nombre del emoji para devolver su identificación."}]},"$emojiIdentifier":{"descriptionHash":"1a6ab4c175814eb65ca6f18ac7126a1038650ca983f80b37041038495bbb0347","description":"Devuelve el identificador emoji","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"df0cc2beee7b860bb228b933759d675ce4a110e4208ba4a025e5f7711cc3cf5b","description":"La identificación del emoji para devolver su identificador."}]},"$emojiCreatedAt":{"descriptionHash":"c48e44afc3cff058557fecabf0d0d92e91be714b4cf25e6b2f30b96363be1704","description":"Devuelve la marca de tiempo de creación del emoji.","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"d5655fb6b6a36cc94e28c584e083fd4749229ef2039f2ae30ade802644d7d81d","description":"La identificación del emoji para devolver su marca de tiempo de creación."}]},"$emojiAnimated":{"descriptionHash":"a9e38fd448dd2f7658f9b68d8bd709cef07160db533ed5b28e293b5b1ebc2be8","description":"Devuelve si el emoji está animado.","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"49361c1251703b14476e51b906fa96579dba02c90fad68ac0630b4ca23ffbc24","description":"La identificación del emoji para devolver su estado de animación."}]},"$emojiIDs":{"descriptionHash":"e6ba9b2a5eb8d290675aab40caf8d9fcf2860ff0c98dd6e88dfd411039196547","description":"Devuelve cada identificación de emoji del servidor","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"0325a7946ca557a694737fd91fdd0cc229bd8d860feca3b68a2aef5ab5d9c6c0","description":"El separador a usar para cada emoji"}]},"$emojiGuildID":{"descriptionHash":"247cc83c972ad4832cd31c0f7b4520e252d122965a0bf9bb049fb4de89d138e5","description":"Devuelve la identificación del servidor emoji","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"c92931011fc3a54c2601a83db26e5f3e87bd9fb099095a4e5a69cac0fec6addf","description":"La identificación del emoji para devolver su identificación del servidor."}]},"$emojiRequiresColons":{"descriptionHash":"57e14ce097b555631a42ea5985bb123c908a498c7149adb2b819795712b522d6","description":"Devuelve si el emoji requiere dos puntos","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"319f9cd9ad2c4ef67f803baa838025dc57ee0a4c992802138f9d6038fdf35d4c","description":"La identificación del emoji para devolver su estado de dos puntos."}]},"$emoji":{"descriptionHash":"a5be032b7424d0fcfb7b1609560b3e39c0ee18cde520e152e9e240cdd6f0ad44","description":"Formatos dados emoji","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"8ce08aee47fe6f52e45d419b7e60485527a81752864b910e1559d39203e8e842","description":"La identificación del emoji para formatear"}]},"$emojiURL":{"descriptionHash":"5bc6e1c76265e6e4e64e0a7dcf7708ae3c95ed5c94d417e90fd95c32280b89d9","description":"Devuelve la URL del emoji","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"8bc57ba0368661dcc51288b357be11098bfd878525993bc6e464fb62352a399c","description":"La identificación del emoji para devolver su URL."}]},"$emojiExists":{"descriptionHash":"b89372313e95205dfa28961cb32eb2f8cd1082a46602a03b7205f71666ef8184","description":"Devuelve si existe una identificación de emoji","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"c7cccb6d8c8a58e4fa27614aff9fdd9528c6f0c2908251a4d773c468282cf4d7","description":"El emoji para comprobar"}]},"$emojiName":{"descriptionHash":"4a2f1e47cccf4362382481481e92f6fedcee8332195483837d50a0c74b38ebb4","description":"Devuelve el nombre del emoji","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"62fad2e3a86c64a9a6240f8efd6e61c055693d97374dce19aa4655e4629efd7e","description":"La identificación del emoji para devolver su nombre."}]},"$emojiRoles":{"descriptionHash":"9d4ebeca059905fdf761740d2f19a031387457dbd322487e31a93191ddf012c8","description":"Devuelve los identificadores de roles que pueden usar este gesto.","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"0aeb796d8c35022b40b44861e617d8f4e2f95ec2f2ee6ac415eb458731c6a019","description":"La identificación de emoji para devolver sus identificaciones de rol."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"02a51a113148f0d13d791601f904d765c1aa4af21e4a6d47cb498481afad848c","description":"El separador que se utilizará para cada ID de rol."}]},"$emojiNames":{"descriptionHash":"1b3b50ea893c14b9a4e30d9462b2a398d2e30758144285e767f72f01f9a51548","description":"Devuelve los nombres de los gestos de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"a2ae4c67c4ab77145a289fa14b0c842a4f697e7c6302d83413df005a9533e750","description":"El servidor para devolver los emotes de"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"ee09a1331076a7e332c113bd64c8b7e6815a639257be35a9f01d26466e1ff442","description":"El separador a utilizar para cada emoji"}]},"$fileExists":{"descriptionHash":"80740bf1c90cb1a37623489dcfd19c56fcc6bc4e32156cb861f20b70180e8acd","description":"Comprueba si existe una ruta","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$randomGuildEmojiID":{"descriptionHash":"437012779b4212d07b3a12f5e60821f68e918c03e9dd2e8a386c66c79958e3eb","description":"Devuelve un ID emoji aleatorio de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"807343684c7991410f1dc6d9bd7c3ff920590636792ee638880c475f8b237324","description":"El servidor para obtener emoji"}]},"$bold":{"descriptionHash":"c93c172641f465eeb79073864b5e5a95331887d11baabd43be272bb532d41c40","description":"Pone en negrita el texto dado","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"1086ce9b44c9ca1b966ce632a82dc3122be86018094bf05bb7ad8724286c6fb0","description":"El texto se pone en negrita, esto intentará escapar de todo *"}]},"$inlineCode":{"descriptionHash":"87ac2967d2aa35291d9f5ed8b5caf1423e5c8b98fc28f67b10a1500b502894d1","description":"Agrega comillas invertidas al texto","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"b473e0440a7ab2e6f00416e4aa0559c547ba791f68226582e34efc88e2f0fc69","description":"El texto a marcar, esto intentará escapar de todo `"}]},"$fileSize":{"descriptionHash":"c77b777003f7f35f1c90491d532ea58b52ac16ec54feec5e85baca75e8b868bf","description":"Obtiene el tamaño de un archivo o directorio en bytes","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$truncateFile":{"descriptionHash":"91805248e23a5528a124be0c541436820c2699121f0ca4d529f7124881cba712","description":"Trunca el texto de un archivo a una longitud determinada","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"52a44377df8741e7d9ec6414facb685cb67ff5e82082b155c3dabaa23bcd88bc","description":"La ruta al archivo"},{"nameHash":"0f82aca66af91493b1ff401de5f1f7e3e24e14560df3f6f7e465dbc915b9947d","name":"longitud","descriptionHash":"eecc6eac17724eec9521e0444ab593cd08eacc058a9c5895aa1aade205e459b1","description":"La nueva longitud del archivo."}]},"$codeBlock":{"descriptionHash":"db7024e74268e5547b35dd5591f4cc5687be772712fee341e9fbab081cd9b592","description":"Crea un bloque de código con el texto dado.","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"d4504dce8dc2f0f50e727087cc946c7f2cd935384236b95616e781cd1776ae02","description":"El texto para crear el bloque, esto intentará escapar de todo `"},{"nameHash":"5cf7d7ec1cb5c221981f277051f7f82a82e155b53c76ab9b6f75fde9641f6fa0","name":"idioma","descriptionHash":"9ac789573f3bdce47333eb33c557a35667209d593a93660ca08713c54ea8a569","description":"El idioma para darle a este bloque de código."}]},"$hyperlink":{"descriptionHash":"9d3d5a0012897d0019fbcd9a4bfe65ad0be19a9194cf11d051c6235ead564e54","description":"Crea un texto de hipervínculo","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"9934457fed2a5678cfbe1ba6798661c320e4e782ee4df2303329040cc958af67","description":"El texto para hacer hipervínculo."},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"6ec422b527fb777a87d73906d17d87c705af6165ccf5c0c84d2eaa02e2934cbb","description":"La URL que se utilizará para el hipervínculo."}]},"$deleteFile":{"descriptionHash":"20eee4cea9e61ff75f3a5c81562dde829a01576033d7b2dae4153c9c7b68ef35","description":"Elimina un archivo","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"52a44377df8741e7d9ec6414facb685cb67ff5e82082b155c3dabaa23bcd88bc","description":"La ruta al archivo"}]},"$writeFile":{"descriptionHash":"40c4683d8e47f7dd6f610d499bb187057b3642026cded750ddfcaf7403a16b93","description":"Escribe texto en un archivo.","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"52a44377df8741e7d9ec6414facb685cb67ff5e82082b155c3dabaa23bcd88bc","description":"La ruta al archivo"},{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"a79edec7366e9ef6ff5da494ebb180f354669ea9b29125135ab1df7023ab3fbf","description":"El texto a escribir"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"28edc2d67537667bcec7367009e2401a98498ed905ee8e871f1af9bf011188d7","description":"La codificación a utilizar para el texto."}]},"$spoiler":{"descriptionHash":"eca0dcea0513529a9c91a9b642cef5006c6ee276be7fcc1128aaa91baaf83788","description":"Hace que el texto dado sea un spoiler","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"82db473eaf67d32e1ec78b9e3ed67d641e4fdcef3822740ea381c84c9f0d5208","description":"El texto para hacer spoiler, esto intentará escapar de todos |"}]},"$mkdir":{"descriptionHash":"e7017e41cee38696eca23b7db9dbe25a2c6ed52f164cf55e3ffcf1b8843750c4","description":"Crea un directorio","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"e51217acccaa0488fad2e1ac3f542d17308c633362a4dad5b15ad069b7526a70","description":"El camino para el directorio."}]},"$readFile":{"descriptionHash":"2fa683b88ab5652f9cc9b2202859b8d850e3da6fcb2996213dfc131ecfe7675d","description":"Lee texto de un archivo","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"52a44377df8741e7d9ec6414facb685cb67ff5e82082b155c3dabaa23bcd88bc","description":"La ruta al archivo"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"1258eb39751939c7d6d43165da8a9a235c668a76eb9c24ae39085a56eea12928","description":"La codificación a utilizar para el texto."}]},"$appendFile":{"descriptionHash":"13ad0c1119c07da61f9533121715824835026294cd489b2c40b2b8e48adf0410","description":"Agrega texto a un archivo","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"52a44377df8741e7d9ec6414facb685cb67ff5e82082b155c3dabaa23bcd88bc","description":"La ruta al archivo"},{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"e89cb3f4114607fb67703d597ae56ad0844ca0400049ae22ef4bc1f6b82f4878","description":"El texto a anexar"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"28edc2d67537667bcec7367009e2401a98498ed905ee8e871f1af9bf011188d7","description":"La codificación a utilizar para el texto."}]},"$copyFile":{"descriptionHash":"56a1a7f4de8553ccbd02ee7b8f20fbb2aa7381cec18baf56bdf51026e1daa37b","description":"Copia la ruta dada a otra ruta","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"57c75cc9f07a41f6d69c9bf5fdc1d8acada46eb70b4d5940bf326cabbd3a8be0","description":"La ruta para hacer una copia de"},{"nameHash":"b5c755aaab1038b3d5627bbde7f47ca80c5f5c0481c6d33f04139d07aa1530e7","name":"destino","descriptionHash":"6f0165ae61865df0be20448df0d6e83d08786010ab30b1f52c8e7d284a398959","description":"La ruta de salida para copiar"}]},"$underscore":{"descriptionHash":"10e638f4cfb39999596d2e5267da54e0bb61739b328a7397ec020623b553af4c","description":"Agrega guión bajo al texto","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"16d3bcbe548e026353897cb30a3a2cedf2c795bb3b71ce9c98aba089418c2b57","description":"El texto al que se le agregará un guión bajo, esto intentará escapar de todo _"}]},"$guildAfkChannelID":{"descriptionHash":"6a7ca2000bdacb3ec0b71dde083fcbd017d28dae8bdb9f1d7b46e23d814ad000","description":"Devuelve el ID del canal AFK del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildAvailable":{"descriptionHash":"dbc228705384b69535f24bb7a7e8d472c8a7059fa804dc957f2451e007b6301e","description":"Devuelve si el servidor está disponible.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildAfkTimeout":{"descriptionHash":"6a75935d23307868be4bf7037bb7fb130ed612ae54c9977d559f9559a16eeaf3","description":"Devuelve el tiempo de espera AFK del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildBoostCount":{"descriptionHash":"bf0e87c9985b0c4c41b588e7e3745a4c0bc0008b2b8e564b0bddf79f5727dc06","description":"Devuelve el recuento de impulso del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildBotCount":{"descriptionHash":"e6ef7198627976da5d7c0c36122bd301cf00526f286675c6db44ae01072fc72a","description":"Devuelve el recuento de bots de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"2a03d3c4b0f67f965119c73a35a3277246fc560c2a91f146ca8e4609a4fc5048","description":"El servidor del que recuperar el recuento de bots"}]},"$strikethrough":{"descriptionHash":"086e5e8f5011112866519f674db88c138ede425a2c93615adef669ccf14781c6","description":"Hace que el texto dado esté tachado","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"a2bd88aed724c049a50f04d934a4306277e5173c6612b3f09cc46a038e3f859b","description":"El texto debe estar tachado, esto intentará escapar de todo ~"}]},"$guildBoostRoleID":{"descriptionHash":"bd911fc6376f6943e6cb179ab0174830357b47fcf6c29e9cad0d72d6a5e0b3d0","description":"Devuelve la identificación del rol de impulso del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildBannedMembers":{"descriptionHash":"c16c6c1105566015f35e9f2d3edef4f3b57c1e90c52dc32593ef07fb8dcf47dc","description":"Devuelve identificadores de miembros prohibidos de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"948883db2ff9fe6eb1a9706c236795e0381f140fe1bde32516d8a4ee6e3d66e3","description":"El servidor para extraer miembros prohibidos"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"328ffac12bdb6b3736b090297cc9e02df695d6fd40ec6024e2da9e63b4f2fec7","description":"El separador para cada id."}]},"$guildBanReason":{"descriptionHash":"df82ae9939332796ba4021a1b31d40edc26f0eae80efa13ea43cf736e36ad22b","description":"Obtiene un motivo de prohibición de un usuario","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"381a58a5a63d2bd05cb5f230380edc3947b4fc8b7943ef735618e865943b6338","description":"El servidor desde el cual eliminar la prohibición"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"294e4a41a3073659c3a2f71a6a8ceb6a039372dca59544cc857a59f17ec99421","description":"El usuario para retirar el motivo de la prohibición."}]},"$guildApproximateMemberCount":{"descriptionHash":"f38becdb210300e4490ce8e20ff063c9ce5de8e0a6ccb39acf18f542f98b31a6","description":"Devuelve el recuento aproximado de miembros.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildChannelCount":{"descriptionHash":"82146157bd63520c0fe1d2e21f0074828b6de35ff6264444b31a1b54d6283e76","description":"Devuelve el recuento de canales del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"7e31c13be1c55e691638d02b401a8b114ad6e3ecc62e03a2805b36507c310ab3","description":"El servidor del que obtener canales"},{"nameHash":"a6216ea03e578f212dd604ec5d675c5274a86891bac4e87f80bea10ef511f533","name":"categorias","descriptionHash":"2f0a03a81460b5a82d7341b39f1bd59f5ecfce2104205b550449b0f05d04d320","description":"Las categorías por las que filtrar"}]},"$guildApproximatePresenceCount":{"descriptionHash":"1090828e352b113cb7a67efc0f1c0f1379de95fff2f6a9aa13323204509e38b4","description":"Devuelve el recuento de presencia aproximado","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildBoostLevel":{"descriptionHash":"ae52924df377a20c93dfcece43b147c4b67d363f056ff08436489c2a11bedc73","description":"Devuelve el nivel de mejora del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildBanner":{"descriptionHash":"756c1683c50251938019c199e3ff413acad6fcbd81852d850269014741c91c51","description":"Devuelve el banner del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"9a74e9840bfb28f20fba771f771fa618f987e259b4f7af767630470a25f549e8","description":"El servidor para recuperar el banner."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$guildCount":{"descriptionHash":"716be0ae74fd1ebb34fad2d014c58e4781235a28841bf0a8e34c156c47f549d7","description":"Devuelve el recuento del servidor"},"$guildEmojiIDs":{"descriptionHash":"ad52d4c1f496393cafbb0dfc2cefaf0e600d64057466cfd2ab7ca8bfe2824687","description":"Devuelve cada ID de emoji del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"f09be153cf9a35343db5e56560c280570c9942c9b56b207eb815719e7adaba26","description":"El servidor para obtener ID de emoji"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"0325a7946ca557a694737fd91fdd0cc229bd8d860feca3b68a2aef5ab5d9c6c0","description":"El separador a usar para cada emoji"}]},"$guildExplicitContentFilter":{"descriptionHash":"c0db64fad3a44b97d7c0ac79c10ad0335314b135954c6c55409baa426d950a97","description":"Devuelve el nivel de filtro de contenido explícito para este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildCreatedAt":{"descriptionHash":"e8cd6d68a00d76670555be582d435519be675daf980347628b98511d1b040493","description":"Devuelve la marca de tiempo de creación del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildDefaultMessageNotifications":{"descriptionHash":"30392a87428ed689528b2e9304fe1842e752398685212ca7a82fa1c945d1c3bd","description":"Devuelve las notificaciones de mensajes predeterminadas para este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildDescription":{"descriptionHash":"a9ca5f2eb36e47c6512956cb71840a40cb54cc750dfe42c4f7c3fc301a252976","description":"Devuelve la descripción del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildExists":{"descriptionHash":"e6b20f1dcf6454cfea105930314ee18149957b61328dc7262e81be4d4914fa77","description":"Devuelve si existe una identificación del servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"afc31615bb89cda7afbef5505ddc9d01e70cd4761760d438e326a57b861dce15","description":"El servidor a comprobar"}]},"$guildChannelIDs":{"descriptionHash":"0204fc3cb6eb5d36189552d2e17033f51f2e02ec8c65f279477f297c5b8c456e","description":"Devuelve cada ID de canal del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"5432f561b2343add0c8503b06ec5e81bf00dbf2d14627fc49c9a94bf6c2c35f4","description":"El servidor del que obtener los ID de los canales"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"b2a52b5a4bc30709fa2616693ba9f2957bf5bc760a3cce141a3fd9dbcf700b4d","description":"El separador a utilizar para cada canal."}]},"$guildEmojiCount":{"descriptionHash":"9039e15f6ad51b3f05c5a4c819d8b8294442f9b594fde3290b491c2754fdaafe","description":"Devuelve el recuento de emoji de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"76e421c446479f514fa8469e81c8c73bfaad44beeee187a74a099c0b555f5deb","description":"El servidor para obtener emoticones"},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"847f7150902a7109306e58e0e1dfb974dca1945d05caff63b5f4f463c16ccfb7","description":"El tipo de emotes a contar."}]},"$guidHasFeatures":{"descriptionHash":"51ee08c5431cdf6bea5296ec3dc740f44c10ac5cee392e119cd220cb7bd612c1","description":"Devuelve si este servidor tiene todas las características dadas.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"3874444246df776fcbdd5a4c61127a7fb1c019f2c4c2fd61585262757a9a08b9","description":"El servidor para comprobar las funciones."},{"nameHash":"5b8a8b56dada6ce7567442b4935298df7de2badd7becdcf4915a59487338ca4b","name":"características","descriptionHash":"2caad2c2836cf750a1ab5a2a7953f1cd9db23811ecf34eff610043d371184502","description":"Las características a comprobar"}]},"$guildEmojis":{"descriptionHash":"1dac5552e86f3795599e9a6edd9cc03f9b8f983ef98fe76be1267cafe3ff0f75","description":"Devuelve todos los emoji del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"807343684c7991410f1dc6d9bd7c3ff920590636792ee638880c475f8b237324","description":"El servidor para obtener emoji"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"0325a7946ca557a694737fd91fdd0cc229bd8d860feca3b68a2aef5ab5d9c6c0","description":"El separador a usar para cada emoji"}]},"$guildFeatures":{"descriptionHash":"52ea6e44af12818b478ab0bf82244ecb54bc5b13b6e30ffe72496445b9346323","description":"Devuelve las características del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"220c586af3dfe196f3e256d0b3d1b894709b92ee6ff1e2f31605c472ad9260eb","description":"El separador a utilizar"}]},"$guildHasAnyFeatures":{"descriptionHash":"c3847ed619a489f03dbc99d38bd39805b71b6408d07b3f60346949683aa79d0b","description":"Devuelve si este servidor tiene alguna de las características dadas.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"3874444246df776fcbdd5a4c61127a7fb1c019f2c4c2fd61585262757a9a08b9","description":"El servidor para comprobar las funciones."},{"nameHash":"5b8a8b56dada6ce7567442b4935298df7de2badd7becdcf4915a59487338ca4b","name":"características","descriptionHash":"2caad2c2836cf750a1ab5a2a7953f1cd9db23811ecf34eff610043d371184502","description":"Las características a comprobar"}]},"$guildChannelExists":{"descriptionHash":"8e1796e9fd95aa66453770e6488450d4c98e141e552c35f5b68e6d06ab0a137b","description":"Devuelve si existe una identificación de canal de servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b11237302a52ff17439493ca9b31f08006967a633372d591aa503b0b1e351f80","description":"El servidor para comprobar el canal del servidor."},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"f4c77baa371351b348dc67fd040399cce075f9e3cb6309a876b9f18a30ee6578","description":"La identificación del rol para el canal del servidor."}]},"$guildDiscoverySplash":{"descriptionHash":"69d57aadccff9a954e4047dbc0c7744a0b4cce32efbc1da409400b16e03e930f","description":"Devuelve el mensaje de descubrimiento del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"26c597395b44e093ad9ffa06d884cd107dfa104138b16c8781fbebf9d5dc85ac","description":"El servidor para recuperar el mensaje de descubrimiento."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$guildMaximumPresences":{"descriptionHash":"e3f5fa1991244e70c28b685bd91e3415a863daf4a0b325447c5d2c7f7aa45e08","description":"Devuelve las presencias máximas para este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildMemberCount":{"descriptionHash":"37710cfc441c0fbdfa13aed8b6ccb3577326ddad80a5e74300a4d4f33f6a6cf9","description":"Devuelve el recuento de usuarios de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"54726b5f9da1e9c4a6e60c9be5910a64bab0d789245a51192985c8212bfef2b1","description":"El servidor del que recuperar el recuento de miembros"},{"nameHash":"dff0669b4df441c26626db0001cd5bee7fc888cecab2a00d03144e90915d6272","name":"presencia","descriptionHash":"d85f10cbc042fd943c134a30906bfaa30510bee427d8079427944ae8e45294f1","description":"La presencia de los usuarios para contar."},{"nameHash":"6bd96d68ee2f26baf9f2c9ec9c56b9c998194966e88c3dd51887748b9573db29","name":"contar robots","descriptionHash":"19ecbd255ee84c1eb55f0d1c56a87ed77adc4990e3123878797a145dba0a4db0","description":"Ya sea para contar bots"}]},"$guildName":{"descriptionHash":"083454f8c45fdffd57a2f79a4469a383896778e1f3c00125112e0fa58d300530","description":"Devuelve el nombre del servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildNames":{"descriptionHash":"67ee1ecc8680bbc0916b546d7e2fe0463b3e39dc76e6e6143aab86be35fe611e","description":"Devuelve los nombres del servidor del bot.","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a64665368b14a95a0c5b9028899e5728293e3470185a99e1bfff2062d11315ec","description":"El separador a utilizar para cada servidor."}]},"$guildNameAcronym":{"descriptionHash":"2f7b1a9fb79d0849c59881312d23cbe97921823efdb10057304e5cf89ab48da5","description":"Devuelve el acrónimo del nombre del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildMaximumBitrate":{"descriptionHash":"8ae25ab2b1526b4be455023182cf5151eb08d2561a27729089a33eb8570bede2","description":"Devuelve la tasa de bits máxima para los canales de voz de este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildID":{"descriptionHash":"df290dfceed9e2edd1b8755f8525d46831309e02e4d829d703d0d2efe7ac385e","description":"Devuelve la identificación del servidor con el nombre de pila.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"bf2ce8dd45ca07971729c6a9a4d5d7ba2d78447956f9cc9f210bf69536f84347","description":"El nombre del servidor para devolver la identificación."}]},"$guildMFALevel":{"descriptionHash":"513022cb595ac2a1dd252bc3205c22342d753fa76b47f012a3820ae273838298","description":"Devuelve el nivel mfa para este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildIDs":{"descriptionHash":"b7eb24c64b1879dbcf65e056585e0c314c8a3a060f67aae4dd841fb6092369a3","description":"Devuelve todos los servidores en los que se encuentra este bot.","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"438da8da254e6505c33eedd347a03c266a302917b4bcd8f5e003309cc26ccf7e","description":"El separador para cada servidor."}]},"$guildMaximumMembers":{"descriptionHash":"0c546c4849f5672c034226534ecbc587feaba067aa7788a71c69cbe113aac120","description":"Devuelve el número máximo de miembros para este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildMaxStageVideoChannelUsers":{"descriptionHash":"d820e4d92dcea7de6902ac299e852fc1c56b6e7c3960e6e04272a1cd0fce50d7","description":"Devuelve el número máximo de usuarios de canales de vídeo para los canales de escenario de este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildMaxVideoChannelUsers":{"descriptionHash":"7f5dfc9ec6ed81be20dc9bf8e9b627af6a4d582c3e0b121e6958898037bfbca3","description":"Devuelve el número máximo de usuarios del canal de vídeo para este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildLeave":{"descriptionHash":"b638529b669d16f123471175057baf0661cc8211fe545cdffdd31de483932f86","description":"Deja un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"1d6d49ca9a028b80ba3ccdae4302e1f244a862307c9fb1a681ed7ba365573220","description":"El servidor para salir"}]},"$guildMemberIDs":{"descriptionHash":"f82563be0b0f4aeaf05d31343dc8ccf674b791846c4ada666f7fbf25efd6a485","description":"Devuelve todos los ID de miembros almacenados en caché de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"e6ea19b76759049ada4360623467937ab1916443396f89632d610a8c3fd87092","description":"El servidor del que extraer miembros"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"dfd3022d878accb5db22e62e1c3bb93685e9d6ab1d51ee2d19df195e99728cd4","description":"El separador a utilizar para cada miembro."}]},"$guildIcon":{"descriptionHash":"ce486764cfe25f060288304769e05ae68ba70bca50adfff09479136a45775b69","description":"Devuelve el icono del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"ed845d78c417387972a6526a5c598fb6f91cc632cf766a9e9e2f5e9d32f1de58","description":"El servidor para recuperar el icono del servidor."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$guildPreferredLocale":{"descriptionHash":"2c391e44f510dd261983ab7d7c9547d33f516f21f00c97a60c95f3351cd1f4f3","description":"Devuelve la configuración regional preferida del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildNSFWLevel":{"descriptionHash":"d1c0e664886cb4b55759e77e8758ca23789124d3611a5d91fad25f32a01a7751","description":"Devuelve el nivel nsfw para este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildSafetyAlertsChannelID":{"descriptionHash":"deff10b3c78d0e2e886117b30f90bd81e493916f4a94c91ee02b784fe6f30cf3","description":"Devuelve el ID del canal de alertas de seguridad del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildRulesChannelID":{"descriptionHash":"04e6a27221e03dcefd30f5bf4adf2e6cba56b87c4ce64fa74b1ba2bd488f60cc","description":"Devuelve el ID del canal de reglas del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildPublicUpdatesChannelID":{"descriptionHash":"07a1a974b94b74c40de4f56d9d48f58da79a188f30e907b7bafa72abb9216665","description":"Devuelve el ID del canal de actualizaciones públicas del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildRoleCount":{"descriptionHash":"e4115abe2a4ff44a55fb3886619ae3862d1759aca18fe32212c4a87e776674b8","description":"Devuelve el recuento de ID de rol de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"1a7620ca519595ca578e241088b33577b37c3e9a66126df71da82d7d8863766b","description":"El servidor del que obtener identificadores de roles"}]},"$guildOwnerID":{"descriptionHash":"b1638ca0b6e557d77533b6a5c11a3b4b0ded5c094b304d11696b370f102a2e44","description":"Devuelve la identificación del propietario del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"d546f0bb5439bd10c4e86146d192fbc0e26f3ba69172adb5cf67d2b6daac4404","description":"El servidor del que recuperar al propietario"}]},"$guildSystemChannelID":{"descriptionHash":"22a606d200cb12540fca343f96ca9909c296b137ba0746b41ff98c1d795c1b70","description":"Devuelve el ID del canal del sistema del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildShardID":{"descriptionHash":"3ec6d973a92ca6103550634d6816aa4f05b2c2fbf2117a3bc5ffc844c4575b72","description":"Devuelve el ID del fragmento del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildPartnered":{"descriptionHash":"a94d43a25979bb41f7c30ea55ed2bdda17a8a5b848a4ff269373f0cab72ff9f6","description":"Devuelve si el servidor está asociado.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildVanityCode":{"descriptionHash":"44d6a6678de76912336ca01d8c4fa8de8f9379f480c77b29301bebb08e179dea","description":"Devuelve el código personalizado del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"d027509143fe36a3544489321d56cb1d2fe1ac622c0e9eebe888d26652d6c810","description":"El servidor devolverá su código personalizado."}]},"$guildVanityUses":{"descriptionHash":"8f9c80198068d1e253b70c2cd2e8163862e370e81ae75f225462efa766cc4ace","description":"Devuelve los servidores que usa el tocador","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"3095ac06b403251c2524b71ad55692b0add7182c72fecf5032d025a4f8bc4196","description":"El servidor para devolver sus usos de tocador."}]},"$guildSplashURL":{"descriptionHash":"af60fc2a2491829a20ad41da8d3963fd26ff811ff1158371fc32d5c7b3440da5","description":"Devuelve la URL de inicio del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"a90cc3474eb6956414b724469704d9b3be35780ef4fab30a70cf5bcb9d05ab80","description":"El servidor para recuperar el splash."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$guildRoleIDs":{"descriptionHash":"c91866d343c76e15387ff599679ee2f16b5db6f4ebb1c38857efa400405873bb","description":"Devuelve cada ID de rol del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"cdb4a3716c4d4bb3056af4c33b8f3f458dd1050f07fc2f66df494a87395ad7e2","description":"El servidor del que obtener identificadores de roles"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"02a51a113148f0d13d791601f904d765c1aa4af21e4a6d47cb498481afad848c","description":"El separador que se utilizará para cada ID de rol."}]},"$guildStickerIDs":{"descriptionHash":"4b4adf0ce2db0fc98ce0975bc8619c1b6b74673ac3b63718ea8cd46d9a32d91f","description":"Devuelve cada ID de etiqueta del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"032babd81499d9cc58f67b61ee857637dc461c1f202a3ef3fab6386d23bba22c","description":"El servidor del que obtener los ID de las pegatinas"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"c0da73fcfc0e8e6e28abbe11163185130de8219b8212604eb2894f25f5be8011","description":"El separador a utilizar para cada pegatina"}]},"$randomGuildID":{"descriptionHash":"fb146e3a9c9063e2ea3d093000cb41ef304196d669224d9fc8e421058aa49357","description":"Devuelve una ID de servidor aleatoria"},"$guildVerified":{"descriptionHash":"13133500450018be51e74c690bb79db543059cc0555d401e2aa4de1f1f18f220","description":"Devuelve si el servidor está verificado.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildWidgetChannelEnabled":{"descriptionHash":"eaee81f1b0d704f08fb1a150cc37f60e928541392787669363e538e0094f4e89","description":"Devuelve si el canal del widget está habilitado para este servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$httpResult":{"descriptionHash":"bb1923b6a5d3ac761e0a9f38cbf304dfb364ffff353f30115ab06195286c4594","description":"Recuperar un valor de resultado http","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"2056da0c05143e0cf094cc3420f5d708d13b59681f825ebd8d0f22ffc1b83cad","description":"La clave para devolver su valor."}]},"$httpRemoveHeader":{"descriptionHash":"fb24912cb0bb0051de06c6aa2d2b966323c698d1dadb83c02d9310012a3ba229","description":"Elimina un encabezado HTTP","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"eab527504da4bf7e5b53d13731d8f64cbdc62e0bc117be01ac4721b5f0a27640","description":"El nombre del encabezado"}]},"$guildWidgetChannelID":{"descriptionHash":"cd785858fc0353970deed74f2703c58ff70d6553b1d8abd35ae1c0ab4d81c38b","description":"Devuelve el canal del widget para este servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$httpSetContentType":{"descriptionHash":"bd8e780d799e85485bbb5c3e433c9d8d21bbf2fd12e0470345434684af3611b4","description":"Obliga a que la solicitud http se decodifique utilizando un tipo de contenido determinado","fields":[{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"9476c5e3a136eaa529a21e596939713b903a3c2c8973ee0653ebeff8cc7f4902","description":"El tipo de contenido del resultado."}]},"$httpSetBody":{"descriptionHash":"57ad416c8fb78f985c3c033e3a45f564c4d7498560e04b15a0ab4ddfa52810fd","description":"Establece un cuerpo JSON para la solicitud.","fields":[{"nameHash":"230d8358dc8e8890b4c58deeb62912ee2f20357ae92a5cc861b98e68fe31acb5","name":"cuerpo","descriptionHash":"445a13f9ef1effe538e0a1eb31d34d12dba2a376717d90c239b8f09dcc9f4f0c","description":"El cuerpo JSON"}]},"$httpAddHeader":{"descriptionHash":"59668be014f6b59c01a66f94531da021753c2d7253e9a3bcd1b2743561c4fce2","description":"Agrega un encabezado HTTP","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"eab527504da4bf7e5b53d13731d8f64cbdc62e0bc117be01ac4721b5f0a27640","description":"El nombre del encabezado"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"eb4c530d34a6c65433dbbaa622dfe4510a28f20b78a24652c30e289dc97c2e89","description":"El valor del encabezado"}]},"$setGuildSplash":{"descriptionHash":"893052283186b17396da292f089467eb8c074849e6aa898443a58a45304a5f84","description":"Establece un inicio de servidor, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21d48436ca8e84505f064355b1674e954a804f1a96489407460663c91aabb75f","description":"El servidor para configurar Splash"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"89ab8d7fa7a37f940d0d202c2afae3da6d5d19c92a9f4ed244a517379f680808","description":"El nuevo chapoteo"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildIcon":{"descriptionHash":"1722f76e78c9388cc17278a3e198f5eb0598b65300e19d7ad4323a9b6a028d23","description":"Establece un icono de servidor, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"8676444bcf73b748136f1348244a1d0657f155a5966d3c86718d1870f65b7a39","description":"El servidor donde configurar el icono"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"69b9b95be91382d36425394b35da5aa07c041c2adbcaa2fa43bbe280467f5b6b","description":"El nuevo icono"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$guildVerificationLevel":{"descriptionHash":"ef81f22378058295e5a8102b25a3b4915d650e9c52b36417ced13a27e12e280d","description":"Devuelve el nivel de verificación del servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$httpRequest":{"descriptionHash":"97a820ef1b09c4c6f56562ef393d7103e86c13a951b619c60ffeb3b2570948fc","description":"Realiza una solicitud http, devuelve el código de estado","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"10089b424a5ab7802cdc11cd397af211788cd1afd8b51768ae926d576f48fb91","description":"La URL para realizar esta solicitud a"},{"nameHash":"5b7e6bf2dc4a32a6aa4770cd5639c2c7af890fc86c273b5c8567fe5382086bf3","name":"método","descriptionHash":"c4ee6d8d1f21958bfe3b948b4d445339ae174c0db348112f92bb84e6f12362f9","description":"El método a utilizar"},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"8123035ceff5e059df028628e5fbb14a97b3371b8a87653f0927ea2e462fdb58","description":"Nombre de la variable de entorno para cargar la respuesta"}]},"$setGuildName":{"descriptionHash":"a146a37e534efa2b06dca35ea14c98167435c763c7dda7024e093c494f9e33a6","description":"Establece un nombre de servidor, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"f89a5df365620cb22b7c41b2bf7fa2f9ee6e7d4ea0810b0eae3c4c68596f8187","description":"El servidor para establecer el nombre"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"0e89d468008dfb528395ae68bdee48efd39367046862637cd5a714f417dbd3f9","description":"el nuevo nombre"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildBanner":{"descriptionHash":"4e3012bcb4c0a7a90c137a8ea9cd93b71cfeee106811ae5b125cd5ef916e2f5c","description":"Establece un banner de servidor, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"ca562ef1f6c036d0903d015c4a756064a406e79c68a4aaf6f35e5f0409f01a64","description":"El servidor para configurar el banner"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"d627a0cce1fc97ab56bb834cc0228219a0d7efbb1df17ce103aa8d20976ae73d","description":"la nueva pancarta"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$customID":{"descriptionHash":"875b1f11cc60e0e371e89ffa3e7a594d914c7f3d219a0ab05732081de59ce24a","description":"Recupera la identificación personalizada de la interacción."},"$deferUpdate":{"descriptionHash":"a78d0666eb6b718e3f47f29f32004df99d847a966b2c7e9ab2b326e9362f0bef","description":"Aplaza esta interacción como una actualización."},"$ephemeral":{"descriptionHash":"e14bc91f5deb121012431e9882ac7b6fc4c33f150e7f2dc5be79a13611fe42a3","description":"Marca esta respuesta como efímera."},"$defer":{"descriptionHash":"0ef031885a27919558608b861cf5b493852835260a7a5b31515ff35d72ed92bc","description":"Aplaza esta interacción"},"$focusedOptionName":{"descriptionHash":"58318f2d9397d69c0915eadc26406724282f138e540afc2bbc2b2144f8b7c929","description":"Devuelve la opción enfocada del comando."},"$focusedOptionValue":{"descriptionHash":"18de19eaca90d1480678f581fe7c677afa4fab088d9f615564a68b39ac4c7207","description":"Devuelve el valor de la opción enfocada del comando."},"$interactionDelete":{"descriptionHash":"2a6b3e21d6315f5c289fc1dfef9ef5976c9110933133344a9b7b9e796f9a8948","description":"Elimina la respuesta de esta interacción."},"$autocomplete":{"descriptionHash":"3bbe31f960a22dba86072ef1025856ffddc99f4959ee6a9e50cd9a6e145b1570","description":"Fuerza la respuesta de autocompletar"},"$input":{"descriptionHash":"f6911bfcf19acc1397285e3b34fec2b34a0b3bdddede2142ccd7746308e75c96","description":"Devuelve un valor de un campo de texto","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"fcc1841e5aa69d9ed70579ba6d13db2293c5b8e2de1d55d784cd4708ea56ecc4","description":"La identificación personalizada para obtener el valor del campo de entrada."}]},"$applicationCommandDescription":{"descriptionHash":"b4e8f76d7dfaff07e27d7f6fd4d5ee964391d94afd7a002311b2183692c7d560","description":"Devuelve una descripción del comando de la aplicación.","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"90c7e6eafa4e1e3c1aa1ce909f025760002e8899bedbfac51889ada314c01994","description":"La identificación del comando para extraer su descripción."}]},"$applicationCommandName":{"descriptionHash":"ad86ca79ff2984c84d9412e1d06952ebfad7ffc7eefdccf9d8960f981c2801f7","description":"Devuelve el nombre del comando de una aplicación.","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e8390014a33ff0516fc9d432669c3c37e8def591906e87201e9ce0ae9b43b5dd","description":"La identificación del comando para extraer su nombre."}]},"$applicationCommandDisplay":{"descriptionHash":"66fcb40c05a5a33c6d9aca023c7f26b4e10f570928722baf9f9f69d49d11c1ad","description":"Obtiene la interacción de comando completa con todas las opciones.","fields":[{"nameHash":"91c4f1eaaa158a623c6d6648b97c920254b638ab7ea29c0710c3e23e45375c83","name":"ocultar el nombre de la opción","descriptionHash":"f408046c416b930cb03082edfdc444a8c3bff4e2ed62201362d6213429115c68","description":"Si se deben suprimir los nombres de las opciones para que no se muestren"}]},"$applicationCommandID":{"descriptionHash":"bf88ed473263fa0dcce6309e08112ca131fa63f5e16644e102d71b8c6b99feb2","description":"Devuelve el ID del comando de la aplicación.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"bf05e3720d9fe51a4fb019d9de4d4a215dd25c47ceb8e2b35fda67dbccf37c78","description":"El nombre del comando para extraer su identificación."}]},"$interactionReply":{"descriptionHash":"bc15cb4e8fc045608e9c774b103b54ff91a628730a414191f2b77ba69e4ba93a","description":"Fuerza una respuesta de interacción","fields":[{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"8c11b4879f9d51e2f88240ea49c63be9f248d058366b36f671a00631974306c1","description":"El contenido a utilizar para esta respuesta."},{"nameHash":"bf067811daa87e8b0c61018da608b98ca211146b57802fdd84246cdd11f627d2","name":"ID del mensaje de devolución","descriptionHash":"038bbd4df3201bbcae5392d1b0e68011b062c3a2f100b490d5a30a217e10560c","description":"Si se debe recuperar y devolver la identificación del mensaje de la respuesta"}]},"$interactionFollowUp":{"descriptionHash":"eef1d52a108de1cf11c305f56858f6e9256ead0e449e52ccc6be022bbbfa6c13","description":"Fuerza un seguimiento de interacción.","fields":[{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"71e85dce37118fa618549b9f14989dc2bfd06b59b532994dd570609186666a43","description":"El contenido a utilizar para este seguimiento."},{"nameHash":"bf067811daa87e8b0c61018da608b98ca211146b57802fdd84246cdd11f627d2","name":"ID del mensaje de devolución","descriptionHash":"ea804aa019ec450992c3f42fc344491f0ae63b73e777d7cd089cc723edae97ef","description":"Si se debe recuperar y devolver la identificación del mensaje del seguimiento"}]},"$isButton":{"descriptionHash":"50a875d6c7d99796fccddf2a1445d45246e73404d1d4747cc3b2c84a3be4d8b7","description":"Devuelve si la interacción es un botón."},"$isAutocomplete":{"descriptionHash":"8f22d6a5f36c3f31c2166227191f80428c1a53407a5b66ed6ec9e40d545005b5","description":"Devuelve si la interacción se completa automáticamente."},"$isAnySelectMenu":{"descriptionHash":"ed0ce5863d87aa45f19ebf44fc02d74211c925b800b836ac1603b42dc1684581","description":"Devuelve si el contexto es un menú de selección."},"$isCommand":{"descriptionHash":"2ab5a4dcd1dc75c8bef2b06ff8e2b436e7a7ad2f9582fd2fc2ba14c3286ad0fc","description":"Devuelve si la interacción es un comando."},"$isRoleSelectMenu":{"descriptionHash":"4a5368dc0be842fcda61388f189da2594070f0ca9310ef040f3cff66adfd9a27","description":"Devuelve si el contexto es un menú de selección de ID de rol."},"$isStringSelectMenu":{"descriptionHash":"1340730446f1b208e943c213d38b74d245b262e94d0fd6358529f29b032a7066","description":"Devuelve si el contexto es un menú de selección de cadena."},"$isModal":{"descriptionHash":"cef89b9851478b31d5f910c64735ab523b872f95f962892149285a8d3aff7cc6","description":"Devuelve si el contexto es un modal"},"$isChannelSelectMenu":{"descriptionHash":"ddaf30a23767daa836bb2bf99599ac144e23573a61597f469231959595bf9cb3","description":"Devuelve si el contexto es un menú de selección de canal."},"$isContextMenu":{"descriptionHash":"a10e7b19303b322cdf96d15a9c03b29294ae285c214a95ff5a5c385134da0c67","description":"Devuelve si la interacción es un menú contextual."},"$isMentionableSelectMenu":{"descriptionHash":"47f5461e16d9f2bb1d3871c9cc557f2679b8ace46c3bd8fbdfd2b78f61efe3fc","description":"Devuelve si el contexto es un menú de selección mencionable"},"$isUserSelectMenu":{"descriptionHash":"b55c86d5420677250f8e6b29056b337e3303320fd2381fc6c9bff7d1bec0fb75","description":"Devuelve si el contexto es un menú de selección de usuario."},"$locale":{"descriptionHash":"f0f805d56b86f8eb7edd11236d53709d36852c446c6eec1ff8fbafbdc684beaa","description":"Recupera la configuración regional del usuario de la interacción."},"$option":{"descriptionHash":"083d10ef9d212f71e126e78d7bd68e93c90bf8049551cb108ed4a61523168edf","description":"Devuelve un valor de opción con el nombre de pila (comando de interacción)","fields":[{"nameHash":"dc7c8dfb7f7c32ad7ea719a807774938863f09254881c787ce5cbc2beb0553b9","name":"nombre de la opción","descriptionHash":"af0efda186ee10ee8e638c4f8f2529af02189e0cac9047a7c23da44a6ffc9fae","description":"El nombre de la opción para recuperar su valor."}]},"$modal":{"descriptionHash":"258623cbbea5996f7a12aa505be48c0bf11c39c7ccbaa2ba4b2f8b823cf9d357","description":"Crea un modal","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"a1b21a72068dc5bcd483815ccb78905a2937a99010a3cbb094475ab193724c96","description":"La identificación personalizada para este modal."},{"nameHash":"aaf2320646108059a87ab5017a86aee454f5378ed95003dbb2e12f4ca5266e0e","name":"título","descriptionHash":"32bd439ce63636e2a517b3eb4279ad657bfe57c5eccca52207a4f9aec6ccb046","description":"El título del modal."}]},"$interactionUpdate":{"descriptionHash":"ac410bb7004dd710ee2be539435aeb198355b5fc158b7e198f60dcbed45546f6","description":"Fuerza una actualización de interacción","fields":[{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"8c11b4879f9d51e2f88240ea49c63be9f248d058366b36f671a00631974306c1","description":"El contenido a utilizar para esta respuesta."}]},"$stop":{"descriptionHash":"6833079625de2ca2a27ae891264caf1af084f2fe59fb40e8f5adc3725602364c","description":"Detiene la ejecución del código"},"$inviterCode":{"descriptionHash":"aed831b92a298ef17d797a694d4ba57cf1b4abf77e6a77b473e1cece0e9a1498","description":"Devuelve el código de invitación que utilizó esta persona.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"37d77ba3cfc28fe1eea466ddbaa95507f0f64e2d5da01050820d51022a21895c","description":"El miembro que recibirá su código de invitación."}]},"$inviterID":{"descriptionHash":"8948c845ee7fd23e7c63091ba792d8a78495af1a02dd9ff3f4e7eedb3221727a","description":"Devuelve el usuario que invitó a esta persona.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"31b94f1f051457300a2b35e3c9ce6791e3304df9cdbbfc03f94a8ed6a0b250ee","description":"El miembro para conseguir su invitador."}]},"$selectMenuValues":{"descriptionHash":"45158f1b8a60f1b067ec1524824455e4ccf5187ea27af2378aa33dd36eb63d11","description":"Devuelve los valores del menú seleccionado","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"848954cd03cb70822a161177f8f5b6e888777e4314db72da131e677a93be62b4","description":"El índice del valor."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a80b5043e4e8a7765c67f2ba07f030e1a5906103b39b6a6c9b25fae471a64d73","description":"El separador a utilizar para cada valor."}]},"$log":{"descriptionHash":"e06a8660a5d5690f5a473e7ca1da50b42c932a4eccd84dacac74dc025dccb6aa","description":"Registrar algo en la consola","fields":[{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"befa07beb5f3b2b2a811d414db9a42a7f03eb3c0dfabca174ba326e722e98b02","description":"El mensaje para iniciar sesión en la consola."}]},"$inviteExists":{"descriptionHash":"60c7a495a0d6abd4f8cbbf8986c326f9f5b52f73fbacd0549082371f84533f21","description":"Devuelve si existe un código de invitación","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c13c10d5b5b1b6394c782afb2cef174f79289ba6897d4e3382047ae426189d99","description":"La invitación a comprobar"}]},"$jsonDelete":{"descriptionHash":"608e0794dbcfb975c9899e742640d12611261ee48b4fe30eb1e0d4b1973e1f41","description":"Eliminar una clave de un json atravesado","fields":[{"nameHash":"48a53f0774c8ceff574a1fdcb0d470dbd382b3db273cff4344b6d39d5379c923","name":"llaves","descriptionHash":"f0bae36496798116ea6a80f13962354fb978116f962f25dac63cd8ec85eeef91","description":"Las claves a utilizar para atravesar el objeto."}]},"$jsonSet":{"descriptionHash":"d30f7f440a556b29b337185c3e7bf637de9fb3e091246e2c444d7f40b13ef7df","description":"Agrega una clave json con un valor","fields":[{"nameHash":"339404d56f2df08331568281488e8cf14514cf2f64314f715f25b2f293a0a0ee","name":"claves; valor","descriptionHash":"71673b74f3108b8c1233b495ad55e422f1f3237488123be7981580be66301828","description":"Las claves para recorrer, con el valor a usar al final."}]},"$logger":{"descriptionHash":"5aaf0b2d174c7db068980d904c060a7defa0853e62a98733efa97a809cb334ed","description":"Implementa la API del registrador de Forgescript","fields":[{"nameHash":"b5c260ac737aa54a2bbceef0443baa8994ffb4908e28dc786ae659839124dc16","name":"tipo de registro","descriptionHash":"4c11c19a595c91610218ddd106fbab49a6cecd64114028a6648531d431cf4f39","description":"El tipo de registro"},{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"0f06cd764aa9b00b2979dfb29d78fc202bc6a67b6e1542741cd157ec38b24446","description":"El texto para registrar"}]},"$deleteInvite":{"descriptionHash":"e5b2d4b0e04eff148c702c014774d9e76dff017e4d06e7950aa1f4ae0e7085d3","description":"Elimina una invitación, devuelve bool","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"412746c5e77fafad80cb894e3b4ac26da5767da3f907843e1d1fcab7d2f0e15c","description":"El código de invitación"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"445adf8cfb67d9b5b05e974f0f08b2ed136406ada61ebd15f3c2bef5ba49c2c1","description":"El motivo de la eliminación de la invitación."}]},"$onlyIf":{"descriptionHash":"a076d586900bbb52aa723b4c05d4ecc3c54e0b8c7df5e918b5543e4cf3391098","description":"Detener la ejecución si la condición no coincide","fields":[{"nameHash":"596d40a4ed24c02a31b19d6e633f46f64304a672b40f793d8c6deab868beb0e2","name":"condición","descriptionHash":"3e17acbfc4c0845f7879ea1cf976bc1da4551c84b177fa5917e891e5d251e01f","description":"La condición para usar"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"21029d0e7619c827905e4c1b33dd8a10f81a41df174d357027b7dfa62957e6e7","description":"El código a ejecutar si hay error."}]},"$onlyForGuilds":{"descriptionHash":"3661b18edeebd8c0add90464e1bc692217af6df47c5e7ec4e5f11af90dc3331e","description":"Solo ejecuta código si los identificadores dados coinciden con el servidor","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"e1ff2880fdddb8cf17e4e6adecc32a4b021a59572f0e8583607e0f1c06129e5e","description":"El código a ejecutar si el servidor no está en la lista blanca"},{"nameHash":"b90cb9c06e62264546646c46311bb4fd8211f6fb801029922c39cff52e2294b6","name":"servidores","descriptionHash":"7a9fadd7c5c1625132a54eab7c452abcfdb30dc7e4004966b150c27e7963a184","description":"Los servidores para verificar"}]},"$jsonLoad":{"descriptionHash":"a8fe684acd7cec2a010ea4db0f204ccdfacbb312942e3fbc54c54d8bbf48a192","description":"Carga JSON en una variable env","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"787f4f0b249edc76cdb5f28f44dc3f52f4243d6dc531b202bc69c66e0b223255","description":"La variable para cargarlo"},{"nameHash":"02bd175f329720378ce83dd56a1b6b1f5291a60182d6c54b5e0d1e8d248a267a","name":"json","descriptionHash":"8adf423e863c790ca71f33e4208a9ec1412aac80d9063601fff95b393f0f6c74","description":"Los datos json"}]},"$onlyForRoles":{"descriptionHash":"1122fa86b2298cf6b0d5e0ce70ad21617b282f67ee7ae79b238d78a29471f863","description":"Solo ejecuta código si el usuario ha proporcionado identificadores de rol","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"5ac6da1c05f539f0f57925a58798182ce5a3724651e24b8f57d2718eebb09e55","description":"El código a ejecutar si el usuario no cumple con los identificadores de rol."},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"b10f32d6bf227a17116231485551f38cd94e95e0a04658e2c0faba9c3db4c70f","description":"Los ID de rol que se deben verificar"}]},"$onlyForUsers":{"descriptionHash":"53685527900f2120430fe1f4e10bbab071ad3b5fb49ee607ef4608ae36a66228","description":"Solo ejecuta código si los identificadores dados coinciden con el autor","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"7014307a6c3f032b301914da99b2304c7fa7e4b17e353c6535c4a8d09ac92b5c","description":"El código a ejecutar si el usuario no está en la lista blanca"},{"nameHash":"7dfb4cf67742cb0660305e56ef816c53fcec892cae7f6ee39b75f34e659d672c","name":"usuarios","descriptionHash":"ef2c5b40d5e1e66213fbc600e1a35d8c0284a5408ed878792e3e9dc119adadce","description":"Los usuarios a comprobar"}]},"$bigintMulti":{"descriptionHash":"087fd8b770a8044ac73667192a2731f7638c8a14cfdf868a470ebb6c82e2fa5f","description":"Multiplica varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"912a9eb462eaa7ce75c7948ed79b233bbdd21b53b2a955a881725298a319778b","description":"numeros para multiplicar"}]},"$bigintDivide":{"descriptionHash":"e04d53ef535280df1f741377e94e3792b756d741f61053ddeaf9233e8f2815e5","description":"Divide varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"e8702c53e79fe5a680dd1e608266af345218036e5b269588d766e1aedf11fdf8","description":"numeros para dividir"}]},"$bigintSub":{"descriptionHash":"c8642864329dcb7982db20a93a5c0b46d9ac241777ba8cad8909d5d0deffeecd","description":"Resta varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"d9cbc6da71adf440f573e6a2ed1db91809fa572cab2227e36b2aea06355924b0","description":"Números para sub"}]},"$abs":{"descriptionHash":"f2f67f65b2010ffac364c01f6908982b6a6daa59e5aa904643a63e0296be159f","description":"Devuelve el valor absoluto de un número (el valor sin importar si es positivo o negativo)","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"508eb67865408c7d8d4ee79083eaca4359014c60a4d7d9a993f6600568910ca7","description":"El número a utilizar"}]},"$floor":{"descriptionHash":"28f5678eabd6c0029a7de397e7b5d81722d105bc9dd826257517819575473bc6","description":"Devuelve el mayor número entero menor o igual a su argumento numérico","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"508eb67865408c7d8d4ee79083eaca4359014c60a4d7d9a993f6600568910ca7","description":"El número a utilizar"}]},"$findEmoji":{"descriptionHash":"d94715d2ed4dbf5f86c2af2cc88427cd30d6856266bd955700f2ac98269754c9","description":"Encuentra un emoji","fields":[{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"eb2401d8d1ef722ad1955da1a35eae21134ec9e51c96ee674efa939d89de9a8c","description":"La identificación, formato o nombre emoji para encontrar"}]},"$bigintSum":{"descriptionHash":"595ecbe872b82439f14e129536924e65a99a1179cf3cdda4c18cc9075a117128","description":"Agrega varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"6346cbe2cd0d24c32b39604a7c6024d9730d37a91fa92c4e5bb8e72a7483f550","description":"numeros para sumar"}]},"$findUser":{"descriptionHash":"45b15b9a3bea6fe8c9c486506130d938a12ce2af23580780e0976f100a1d8f39","description":"Encuentra un usuario","fields":[{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"5a49b8b9f5d06fc59e385a62171aa3ccf1433e246dc6325f64b819348ac16d24","description":"La identificación, mención o nombre de usuario a buscar."},{"nameHash":"d52c22af07e94018acac673093073b05e5311d6c119df4e735e7e7a075137350","name":"devolver autor","descriptionHash":"26d43701c3a8dbb2a6fd01f4957fe296cab4a982a3147e2c5124e70ba983057b","description":"Devuelve la identificación del autor actual si no se encuentra ninguno."}]},"$divide":{"descriptionHash":"e04d53ef535280df1f741377e94e3792b756d741f61053ddeaf9233e8f2815e5","description":"Divide varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"e8702c53e79fe5a680dd1e608266af345218036e5b269588d766e1aedf11fdf8","description":"numeros para dividir"}]},"$findRole":{"descriptionHash":"f890fe6d1c82cb74c18e3901d0cda8ab7bc464afc2246170f95e8820b506e439","description":"Encuentra una identificación de rol de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"cd23c8ce094c8389fec5202df8b622a72b3b27debfff72d2bdd832a85bb0fd5c","description":"El servidor para encontrar la identificación del rol"},{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"47087bdc765b335c39f893f1d1ff795a337a2f0c5e2541252639a72ef5e31318","description":"La identificación, mención o nombre de identificación de rol que se debe encontrar"}]},"$findGuildEmoji":{"descriptionHash":"d954b652b61efc6aad673b385570c7eacf234caff847c3002cfb89138ddcabd5","description":"Encuentra un emoji de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"601762b77bed7883e2a322c0cf8219ccdb29a14712c94c1a99a30cd9c1a69514","description":"El servidor para encontrar el emoji"},{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"eb2401d8d1ef722ad1955da1a35eae21134ec9e51c96ee674efa939d89de9a8c","description":"La identificación, formato o nombre emoji para encontrar"}]},"$base":{"descriptionHash":"a98832a92e2ae17688ec7bf7c95f2e771bf85889679a84039d439063e63b58bd","description":"Convertir números de una base a otra","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"532bd241ff40e9da2abba307552866b77d868744a0b286d17cc617b61c8c6419","description":"El número objetivo para la conversión"},{"nameHash":"663ea1bfffe5038f3f0cf667f14c4257eff52d77ce7f2a218f72e9286616ea39","name":"a","descriptionHash":"92a990f4d55ce71e31e7e8d6a61ad4b436eb320eed78c379cab9dd0dff2577fc","description":"La base objetivo"},{"nameHash":"75857a45899985be4c4d941e90b6b396d6c92a4c7437aaf0bf102089fe21379d","name":"de","descriptionHash":"2eb7179a0f5c380970942a1b26b53de8699eefdd7cf4ac4e18833b303e4a66c7","description":"La base fuente"}]},"$findChannel":{"descriptionHash":"98bd7ab72c890cac5b7858c57e8b4efb309a0ac5355f5373542ae2f1598d3de1","description":"Encuentra un canal","fields":[{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"03d6042af58c7a744ebb077e601e87c83184e54a936d72d1d2796146980d54bb","description":"La identificación, mención o nombre del canal a buscar."},{"nameHash":"e9b1aac328be7ab8927106f1bd65eb78d9faa2ae5d652d846cf32fca24532ffc","name":"canal de retorno","descriptionHash":"d11682a239bb050335fe762ae1c78a91f626214f1259a739182e06d35e6f57a3","description":"Devuelve la identificación del canal actual si no se encuentra ninguno."}]},"$findMember":{"descriptionHash":"01a31f7d0073a65d4b87727307e60ac27affd8e2e60941e754e9012c263afbd3","description":"Encuentra un miembro de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"7525110d9ef16ba5ad46e3dd8b12000485436429b0c484a71c15014b6b9cc1d7","description":"El servidor para encontrar al miembro"},{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"1d8d1ed30e47f570062be865ea875ba4e4a2c47755456c5d628ae7958d34184f","description":"El id, mención o nombre a buscar"},{"nameHash":"d52c22af07e94018acac673093073b05e5311d6c119df4e735e7e7a075137350","name":"devolver autor","descriptionHash":"26d43701c3a8dbb2a6fd01f4957fe296cab4a982a3147e2c5124e70ba983057b","description":"Devuelve la identificación del autor actual si no se encuentra ninguno."}]},"$findGuildChannel":{"descriptionHash":"51ad446f76061c83df5a788613e3ab64df5da44d185c9cb0b42fe2d30b67fa3c","description":"Encuentra un canal de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"1acb67efe4bbddc5dd3a44a84a34552f84e43336fdb4db34f530dbd5da3d67a3","description":"El servidor para encontrar el canal"},{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"03d6042af58c7a744ebb077e601e87c83184e54a936d72d1d2796146980d54bb","description":"La identificación, mención o nombre del canal a buscar."},{"nameHash":"e9b1aac328be7ab8927106f1bd65eb78d9faa2ae5d652d846cf32fca24532ffc","name":"canal de retorno","descriptionHash":"d11682a239bb050335fe762ae1c78a91f626214f1259a739182e06d35e6f57a3","description":"Devuelve la identificación del canal actual si no se encuentra ninguno."}]},"$sqrt":{"descriptionHash":"d8f6c4fba84079e9fe31300f3801108d12c082d7e06e898f3a8f66adb24985aa","description":"Devuelve la raíz cuadrada de un número","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"508eb67865408c7d8d4ee79083eaca4359014c60a4d7d9a993f6600568910ca7","description":"El número a utilizar"}]},"$min":{"descriptionHash":"02a3b2eebf2e0deba6e87adee8204179e8bbd3344b7cf4a3e2327ecf77c461a1","description":"Devuelve el número más pequeño de los dados.","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"f79c91786b3e573c4061d4b4d53a2b4bb2f0b49dd196d4a3f35d59bf23a4ef6f","description":"Números entre los que encontrar el más pequeño."}]},"$math":{"descriptionHash":"d864285e89ca69eb441dc066e7fa3bed6002f06ec34fef4a89601c4f63ccb7d5","description":"Ejecuta expresión matemática, no devuelve nada si la expresión es incorrecta","fields":[{"nameHash":"60ba1dd5d232b0213d4e86795f5dec78684a38fb023974959dca610bb4ce9fe9","name":"exprés","descriptionHash":"47c02529e960a62496e141a0ed6c082d6903ca78901bfd22e9152b782997fa56","description":"La expresion"}]},"$multi":{"descriptionHash":"087fd8b770a8044ac73667192a2731f7638c8a14cfdf868a470ebb6c82e2fa5f","description":"Multiplica varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"912a9eb462eaa7ce75c7948ed79b233bbdd21b53b2a955a881725298a319778b","description":"numeros para multiplicar"}]},"$logn":{"descriptionHash":"e172451dbe1d60e54d1547084c23a63a64761ecdfcf33f986f01e8e6ce120392","description":"Devuelve el logaritmo natural (base e) de un número","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"ddab8f9af1dea367e72f48d3aa73fb72614a23d643be024855af6097cbdc1098","description":"Número para obtener su logaritmo"}]},"$modulo":{"descriptionHash":"0ca90e09a4e7f854e9e20b4184ca1e3f382e041a2439a8e19b41e2529e8174cc","description":"Devuelve el resto de varios números.","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"10178fc0cad522318538778cdd429d79009f9838cca311af6f5c5beab1f65e51","description":"Números para obtener sus restos."}]},"$max":{"descriptionHash":"218ffece2ea93e24bf3b713517e3633ebd6b0d3387a07880556c6cfcffaddf01","description":"Devuelve el mayor número de los dados.","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"bd6e59091cb4a33c2b6a6d1bf47eafc72fe4e86d64bebff245431beb1ecba251","description":"Números entre los que encontrar el más grande."}]},"$sub":{"descriptionHash":"c8642864329dcb7982db20a93a5c0b46d9ac241777ba8cad8909d5d0deffeecd","description":"Resta varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"d9cbc6da71adf440f573e6a2ed1db91809fa572cab2227e36b2aea06355924b0","description":"Números para sub"}]},"$sum":{"descriptionHash":"595ecbe872b82439f14e129536924e65a99a1179cf3cdda4c18cc9075a117128","description":"Agrega varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"6346cbe2cd0d24c32b39604a7c6024d9730d37a91fa92c4e5bb8e72a7483f550","description":"numeros para sumar"}]},"$pow":{"descriptionHash":"0f3b25c905855e0438510f1acff9677caf49a8222a0ee8da75bdb38378a0800d","description":"Multiplicar exponencialmente varios números","fields":[{"nameHash":"f3c7807d475073ba009bf4801b2d934e9f0126cb96dd19a27dbffcae23a7f5a3","name":"números","descriptionHash":"3ce2d63eae4816c9ceb23abac37648bc294ae17caa1911ac86902b1ff25d39f6","description":"Números al poder por"}]},"$fetchMembers":{"descriptionHash":"9409261f5a7036f3c1b80a1afb3b85ae9ca2432c6d53bd3f12b3c1ffcb1d83b2","description":"Caché de todos los miembros de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"8d3ba751bfd2eb995d7a23396ff051d6b5812cab0a22a3133ba3ee4c9f8e42bf","description":"El servidor para almacenar en caché los miembros de"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"fc8d72d57a5ccc947f6024d720d3c46c81c1df9cc81f168563164712f2b8bcb0","description":"El miembro a buscar"}]},"$trunc":{"descriptionHash":"9b564af7781c39f09e1ac133c2276f911239d3d1b98ac3833dca430dfc0205be","description":"Devuelve la parte entera de una expresión numérica, x, eliminando los dígitos fraccionarios. Si x ya es un número entero, el resultado es x","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"508eb67865408c7d8d4ee79083eaca4359014c60a4d7d9a993f6600568910ca7","description":"El número a utilizar"}]},"$getThreadMembers":{"descriptionHash":"3bcc3f2c93cdee48f720425bdc89e8549915e323076984f6fe1d1a52149af6d3","description":"Obtiene miembros del hilo","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"9a55aa64d4aaf34696971baf14674cd12ebb385dbf8c64d78ecbeba86326efe2","description":"El hilo del que sacar a los miembros"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"5b05f13894571448bf6c1370d822ea2c6c0283166e099545797813bca7fbe544","description":"El separador para cada identificación."}]},"$round":{"descriptionHash":"d10c49e56d1bf204ee9b4f9ed26382d177c50d4a0a25f9f8d761e5085b4fe71f","description":"Redondea el número proporcionado a un cierto número de decimales","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"508eb67865408c7d8d4ee79083eaca4359014c60a4d7d9a993f6600568910ca7","description":"El número a utilizar"},{"nameHash":"f1df938ba37a858ba5bb7bac0cf857ee20d909af4aa372763e1e940cb539dd09","name":"lugares decimales","descriptionHash":"cde9b75a0838210ef68d4e76f83e1f90d0cf788d5a4438be103a8baf97370be1","description":"El número de decimales a redondear"}]},"$ban":{"descriptionHash":"2493b3b7e8517bdee00551f026430ea82838bcd326acff9561b86723e0ea2676","description":"Prohíbe a un miembro del servidor, devuelve verdadero o falso dependiendo de si la acción se realizó con éxito","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"72d1b91882e1fddcfa3adbf05ad550741a5c160ff347f9fd804a8662a4ed3f47","description":"El servidor para prohibir a un miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"ea2c7cbd8e1f26d89d78d4379bac44c4175dbb75bf39f4bb7f1c1936213a36df","description":"El miembro a prohibir"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"1063d31016a659eabf883fd3fe6f7fdb78e902db26ee2c6082ab9a91dba60617","description":"La razón para prohibir"},{"nameHash":"6e4e6b491c71467544ee986a18de361558bfd7316cf1ff981a63ada0f3612a74","name":"borrar segundos de mensaje","descriptionHash":"94c1a6d90bf1f203c6ebfe9ba8b45b68bfb193199e4d34b072ab5c2c38dabb35","description":"Eliminar mensajes de este miembro que se enviaron en este lapso de tiempo de segundos"}]},"$isDeaf":{"descriptionHash":"dac583d68a9f44aeb2cc124fb9483ada7fe4df6a6f2174ff1d449065f4f6bfba","description":"Si un miembro está sordo","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"375117998515eca918617ed8fc43ee5c1c68155305528c7863986f65defe1456","description":"El servidor del que extraer el miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e4a681b543f8f7c703c035b21454ad53077e04c821cae1a95b58c670254a1c26","description":"El miembro para obtener su estado de voz."}]},"$isGuildMuted":{"descriptionHash":"b8a26f03490deb5fea38d5795762ef5a5e1bccfce9d7515a5726e821f28e7446","description":"Si un miembro está silenciado en el servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"375117998515eca918617ed8fc43ee5c1c68155305528c7863986f65defe1456","description":"El servidor del que extraer el miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e4a681b543f8f7c703c035b21454ad53077e04c821cae1a95b58c670254a1c26","description":"El miembro para obtener su estado de voz."}]},"$isBanned":{"descriptionHash":"4b6388c4552eadd68aa97fad52c1056be30991203b5efc4423edd09628eb646e","description":"Devuelve si este usuario está prohibido","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b7840c26b5ec86d7f857f08c01bcff6520e3c6226908f8b09ae281b9f88a1586","description":"El servidor para verificar las prohibiciones"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"7d7457de0371626220cd7f89a5f4d78ec3d12ada356ffe3acea8884e2e5e7109","description":"El usuario para verificar la prohibición."}]},"$kickMember":{"descriptionHash":"5dac5b70ec067e8d5baefb6dff35dd8b84c7e00371244de7aa332bc89ce2d8b7","description":"Expulsa a un miembro del servidor, devuelve verdadero o falso dependiendo de si la acción se realizó con éxito","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"a384014b3fb55564118596708c98dd33a95e990be9666727568887ae357b76f0","description":"El servidor del que expulsar a un miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"56cfdfd6002b23d2eb6c040d883fc8c43d22693f7199389e5ca2198e8fc2a600","description":"El usuario a patear"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"ff40ad4c8c7dc4c873d948332355a0c99a801fd5e49e217f8e300ba003753a8d","description":"La razón para patear"}]},"$isMuted":{"descriptionHash":"6dd43e203967e147822641a2b24f436ebd8d7b0fdd4e370bba09eb5497afd959","description":"Si un miembro está silenciado","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"375117998515eca918617ed8fc43ee5c1c68155305528c7863986f65defe1456","description":"El servidor del que extraer el miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e4a681b543f8f7c703c035b21454ad53077e04c821cae1a95b58c670254a1c26","description":"El miembro para obtener su estado de voz."}]},"$isGuildDeaf":{"descriptionHash":"590c22eadaf7d6d1d447d7dbfb07f0356c71f2fd9e4838a80b2ae6752a498330","description":"Si un miembro está sordo ante el servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"375117998515eca918617ed8fc43ee5c1c68155305528c7863986f65defe1456","description":"El servidor del que extraer el miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e4a681b543f8f7c703c035b21454ad53077e04c821cae1a95b58c670254a1c26","description":"El miembro para obtener su estado de voz."}]},"$hasRoles":{"descriptionHash":"011ef3199f4767f000589825d8b57e7a49474cb687e11c94caaf90e0db29b882","description":"Devuelve si el miembro dado tiene todos los identificadores de roles","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"efb2d3e149644c45b80eadd63339653f54cb4c8117ac749c41ed0758c4d449d1","description":"El usuario para verificar los identificadores de roles."},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"b10f32d6bf227a17116231485551f38cd94e95e0a04658e2c0faba9c3db4c70f","description":"Los ID de rol que se deben verificar"}]},"$isSelfMuted":{"descriptionHash":"b389b16e6b7ca14e68dd4729ddfaba8dc4ce66e82e4623311fb3889da14f8896","description":"Si un miembro está autosilenciado","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"375117998515eca918617ed8fc43ee5c1c68155305528c7863986f65defe1456","description":"El servidor del que extraer el miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e4a681b543f8f7c703c035b21454ad53077e04c821cae1a95b58c670254a1c26","description":"El miembro para obtener su estado de voz."}]},"$hasPerms":{"descriptionHash":"e6654a9ea99a47a334767c94acabc71ebd1d00fa803c9a7a756e037ccf5cb23a","description":"Devuelve si un miembro determinado tiene X permisos","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"a5dd677b18a2a2bb5dcea9b31aedd0c33e78d651ed89ae7a046fdddb8fe8b1af","description":"El usuario para comprobar los permisos."},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"a1cb090e8e8fa02f715fc6226bb55a6432750205e4ad984699b4a75ea6364b0e","description":"Los permisos para comprobar"}]},"$memberAddRoles":{"descriptionHash":"3336785cf378771a93c4265b7c58fb65e127561f5222c1376ad54d10ac79c3be","description":"Agrega identificadores de roles a un miembro y devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"1b0668a2dbfaa33ba5b1620e22db8987fb56c88c7ddd50f10c3dcde1587b801b","description":"El usuario al que agregar identificadores de rol"},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"ab4c776234b0584c641ca456b262b6ed26a8d30be2fcaeb0c0de450d3935a6f7","description":"Los identificadores de rol a agregar"}]},"$isTimedOut":{"descriptionHash":"f01ab9016c82b7783bdf3179aeb607c97460c87c57c2fd563cb4ccffaf5028de","description":"Si un miembro tiene tiempo de espera","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"c9b8630402b79f0a20a734b2a49da459a7fc8f40b02b1278e05048f8ee3226cd","description":"El miembro que comprobará el tiempo de espera."}]},"$isVerified":{"descriptionHash":"7ad8181e96599de76003278055a04028a4052319368993a37f7ff7ac0fcb501e","description":"Si un miembro está verificado","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"375117998515eca918617ed8fc43ee5c1c68155305528c7863986f65defe1456","description":"El servidor del que extraer el miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e4a681b543f8f7c703c035b21454ad53077e04c821cae1a95b58c670254a1c26","description":"El miembro para obtener su estado de voz."}]},"$hasAnyRole":{"descriptionHash":"af0c00d5b4de283e585934c2db4e98112f55d9e9982e01265336b6d509441960","description":"Devuelve si el miembro dado tiene alguna identificación de rol","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"efb2d3e149644c45b80eadd63339653f54cb4c8117ac749c41ed0758c4d449d1","description":"El usuario para verificar los identificadores de roles."},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"b10f32d6bf227a17116231485551f38cd94e95e0a04658e2c0faba9c3db4c70f","description":"Los ID de rol que se deben verificar"}]},"$isSelfDeaf":{"descriptionHash":"1385a65a1fad1142366d7485acaca9158c00cd084bb3898db88161864825b177","description":"Si un miembro tiene sordera propia","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"375117998515eca918617ed8fc43ee5c1c68155305528c7863986f65defe1456","description":"El servidor del que extraer el miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e4a681b543f8f7c703c035b21454ad53077e04c821cae1a95b58c670254a1c26","description":"El miembro para obtener su estado de voz."}]},"$memberAvatar":{"descriptionHash":"32cffebbfcf05c2964cb59ff411cdf17dee4fcf8505b4ab5cfb5e06acbf68e04","description":"Devuelve el avatar del miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"3743ba6cc90705a386ad4f2a41f46c947f16047494842fdd3beedc8910fc0863","description":"El usuario para recuperar el avatar."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$randomMemberID":{"descriptionHash":"e0fa20428ff1af1bcf0dc43de5d36ab8bcfec38866ee2428a5c3235515c4f220","description":"Devuelve un ID de miembro aleatorio de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"96eeb79d72db44fef890fca6d5af739ecfaac88ebd86dbc2bc69b0e6d13e4b15","description":"El servidor del que obtener miembros"}]},"$memberDisplayColor":{"descriptionHash":"603df41ce4a7fa71b4a0b5bb29cfaa6f70e2414c509b5e7923b538446375eb57","description":"Devuelve el color de visualización de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"b1ea4e9b68e1925b92e06252c1867f8df22434f38b1a7e9d3e1d55e5d09275a6","description":"El usuario para obtener su color."}]},"$memberHighestRoleID":{"descriptionHash":"ab58e67c71e89e31a29980296e3cac2f61edfec5c76c2101cde97bcee7ac13c1","description":"Devuelve el ID de rol más alto de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"76ead7dda4d2860462a96616cfb424f881e5323338a8a8d5155f0eeec5b4a119","description":"El usuario que obtendrá su ID de rol más alto."}]},"$memberJoinedAt":{"descriptionHash":"cd9a752af5f340a037a24c005daa4e951767e7a6dc30575968ad4e0e45ad9abd","description":"Devuelve la marca de tiempo en la que se unió el miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e4a78483563486d29d90a76cb9440175c840c189267295a01e7feaef3c492f70","description":"El usuario para obtener su fecha de incorporación."}]},"$memberExists":{"descriptionHash":"4cecd3a34817babb0de02a8e7b7ce35433685d988282703a9363f58941ba71ed","description":"Devuelve si existe una identificación de miembro","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"18fd9490269d432831aec3ab4f056bc2abfe40228388b45b6c6b1e014afba871","description":"El servidor para buscar al miembro."},{"nameHash":"25172734aaa44dcd7ecf21e549b83e05cfb86cb44b7dd70913c457a71deac626","name":"Identificación de miembro","descriptionHash":"7a88c0f29bb421636e1e663ca7a2fd54cbb86e7f85b1646af74bc188a12ed3bf","description":"El miembro a verificar"}]},"$status":{"descriptionHash":"16556cdf34d05136482bfebf8b213f49d544a53fd67b49e650adf0386340915c","description":"Devuelve el estado de miembro","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"dca27b2e3d5c25065e69132815839fce42b00a54a94066c765cee219db62dbb0","description":"El servidor desde el que devolver al miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"e8552e13a731a2d935b41488afcbce6035c36bf547a6bf5bb40de8953a73ef8e","description":"El miembro para devolver su estado."}]},"$nickname":{"descriptionHash":"dfa486e4ac5964d1b2bc1ca266c3ed9856e42f8a20368ed709cf25862d91e6c0","description":"Devuelve el apodo del miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"dca27b2e3d5c25065e69132815839fce42b00a54a94066c765cee219db62dbb0","description":"El servidor para devolver el miembro desde"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"6d4c5e5720f460dddee337c165cf2bcd4451a55b9573b97a9768288ff4d06cc4","description":"El miembro para devolver su apodo"}]},"$unban":{"descriptionHash":"4f7cfe24b3be668d6b850abe8457d0d77cb4fbb141a08c2e6b0265c69b083d23","description":"Desbanea a un usuario","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"87dd5d66415a1f24fae65ec8529c743fa32f9eb94f7c6e8c4d11714383e23ad2","description":"El servidor para desbanear a un usuario"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"f3670ddd6f0f324e8cdd7f601fe080a4aebf59c948d984d30a14bd3122b1a652","description":"El usuario a desbanear"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"f2dc33e2b6cefda929b5774e7f2229cd52f7b9d9f934555d3a3176b21331d8ce","description":"La razón de desbanear"}]},"$memberSetRoles":{"descriptionHash":"cf83e2838fb560cf75e7f9d812b8f0d32882253f2e6409baae1206a31bcb99d4","description":"Establece identificadores de roles para un miembro y devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"a450513c2f4f4bd637894ba3960bbc3e7be3cf1cc9281713048c18b3a2b1830a","description":"El usuario para establecer ID de rol"},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"74af7421dd9ad038e43cd36746d3bf476a63d8efacd23d65104bcedd46b44aeb","description":"Los ID de rol a establecer"}]},"$platform":{"descriptionHash":"6ef2fe1aeda7bb27aeb63dfb0366e585e76bf33ec4ba1cb05d579a85b3e5ed99","description":"Devuelve las plataformas de miembros.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"58d6ec5ada6c8fa648f6ae8b4225dc360155b8d98e306be5a020025f5a3cf8cd","description":"La identificación del servidor desde donde devolver al miembro."},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"5c964b90a351b0db0dc03e7de1511550a8c22af244c31b89817dede46e99a7f3","description":"La identificación del miembro regresa a su plataforma."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3b402bc348457d0bc2c4bf88fd96a993e5b216f3ee83aa85f9e67dbc0af381f8","description":"El separador para cada plataforma."}]},"$memberPerms":{"descriptionHash":"ee8caa8301631e54d49ab2b8b6e151e38a7fa4637eb28314a444b04d44e5b525","description":"Devuelve los permisos de los miembros.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"58d6ec5ada6c8fa648f6ae8b4225dc360155b8d98e306be5a020025f5a3cf8cd","description":"La identificación del servidor desde donde devolver al miembro."},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"3fc0a3ef466820336655bbed916e260e5f6f4e4638af5824b21b490a4ffb9bea","description":"La identificación del miembro para devolver sus permisos."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"037716f5dcfaef037c6ea1edb85e05787c5f97584634e5a36c08665e3fd13cdc","description":"El separador a utilizar para cada permiso."}]},"$memberRoles":{"descriptionHash":"4d1283c45656f632777ac51acd4d8d719f2c6cd9b68c7d1f8e16192dd9a2f5cb","description":"Devuelve los identificadores de rol de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"a18de010c1f89d85ed3bad3412833a212ad96e465974233ddc1a59e247dc6d37","description":"El usuario del que obtener ID de rol"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"b76e4c2a159dcfcbde4a591111d7a3645232b8039d2c775240fc907ee24bf3da","description":"El separador a utilizar para cada ID de rol."}]},"$timeout":{"descriptionHash":"6906fe9cba6cc7fab35a9c1db1b01507af0874d2fb20a8edf370dfb6a46bd784","description":"Tiempo de salida de un miembro durante X milisegundos","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"15f6318a0d310308ba302c004f00bf9a2efeddc9d7d70bf512782f8b8d00e651","description":"El miembro que expirará"},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"e72c80e78c4ca126abe1b656e22c1c972c60da519abfb890dfbba05380fa3ca9","description":"La duración del tiempo de espera para"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"a2bd21bf0a1853d518ced3d7ccb974e66bfb83e670318125d226a12a62b20554","description":"El motivo del tiempo de espera del miembro"}]},"$memberRemoveRoles":{"descriptionHash":"caeb9890eea8035f040d86c1f9d6f4e23a5bc992a4c2a312b037331616ce9a35","description":"Elimina los identificadores de roles de un miembro y devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"b80cf88ed45597130c60bc22c3f4773682181dc8b233d471fbfa40e5ec189826","description":"El usuario al que se le quitarán los ID de rol"},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"acaac2a44a22cd1d8eb17e576d90b6f17202b628ed75fec20f2a47d8f931bf67","description":"Los identificadores de roles a eliminar"}]},"$memberSetNickname":{"descriptionHash":"8fc4b37de0ea1ce543c28d835e29f4f5dd401f5c972d3cf62919fbe1fe8ee59c","description":"Edita el apodo de un miembro","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"6ae49873cbd682220198936013be3f7ca4f29720fb8d3acdc8658977f16b72d7","description":"El miembro para editar su apodo."},{"nameHash":"a0fb3f1159c9dfba179a5fe91f4214f26be112a36e24c2c468b10bffb11292fc","name":"apodo","descriptionHash":"481ce30c40c7b5c933c7f602503411976a3ea163a77c24510169cd7122705c8e","description":"El nuevo apodo, déjelo vacío para restablecerlo."}]},"$disableUserMentions":{"descriptionHash":"f98c734fe5fff0fff9ff77b80da7012c26bc07817fde0eb2434a1514561843a8","description":"Desactiva todas las menciones de usuarios."},"$disableRoleMentions":{"descriptionHash":"fcb4bea9d4349fa305a3bd6a70f4aaef9c95e73114dbbfdef5fde3d2dc0903dd","description":"Deshabilita todas las menciones de ID de rol"},"$mentionedRoleCount":{"descriptionHash":"0269795187b875da7816d38fc67e758c3bac485d20a4721f506655b82e053c94","description":"Devuelve el recuento de ID del rol mencionado."},"$disableEveryoneMention":{"descriptionHash":"d88cc52b007d08498b9d59cd63e72b9a8048ab3516c9fe95e1ff08c9d2523a1b","description":"Desactiva todas las menciones"},"$disableAllMentions":{"descriptionHash":"9184079fb4961ce6fe16fa65c3d0c227e1af6e8af9d39f83512abfa8376f8c8c","description":"Desactiva todas las menciones posibles."},"$mentionedChannelCount":{"descriptionHash":"5d7e26d26aca1c5fb477fdc243c8dbb500cc021674a59603f1fb1c48044938ca","description":"Devuelve el recuento de canales mencionado"},"$enableUserMentions":{"descriptionHash":"789a4162605457aead8e5bd7f89b20915230fb80e5f731ece955de9d76cd8a75","description":"Solo analiza estos usuarios en busca de menciones.","fields":[{"nameHash":"7dfb4cf67742cb0660305e56ef816c53fcec892cae7f6ee39b75f34e659d672c","name":"usuarios","descriptionHash":"cdd4e2b451f70055c14f2f617288bb59968a8d5fb50263986a975a5407551d42","description":"Los usuarios para analizar las menciones"}]},"$mentionedChannels":{"descriptionHash":"095817099ed8355ed272f15427f52268b73d20aa1ae02211ad4c117961a8e046","description":"Devuelve los canales mencionados","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"e77196cab70d29c99e8978e74b2372ee650c3c3b81647c242bb98e458d04d174","description":"El índice del canal."},{"nameHash":"e9b1aac328be7ab8927106f1bd65eb78d9faa2ae5d652d846cf32fca24532ffc","name":"canal de retorno","descriptionHash":"0bd0da6e73fd8adfbea558029d39df47953cf5d503215b0d2ae931a2c1aeb313","description":"Si se debe devolver el canal actual si no se encuentra"}]},"$enableRoleMentions":{"descriptionHash":"60cb7c95b3c154041dc21728515f3676ae3aa36aefc808efdad117418d479c96","description":"Solo analiza estos identificadores de roles para menciones","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"6ce7160f7110123aa1a6042f5594dc93bb81bea8bed952a4e1eaf69f45737de5","description":"El servidor del que recuperar los ID de rol"},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"af559b0f9c7fe6a24e34b13d90e50bbb1e3272b53bda1c021aab559b3eb9a1e9","description":"Los identificadores de rol para analizar las menciones"}]},"$mentioned":{"descriptionHash":"c16f3280559666014987bb399c20bb04887cc79624a58eda35194ebfb8377aff","description":"Devuelve los usuarios mencionados.","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"4cef1323e1b991f84d1b268f54c1294c3c54fd65847716cc244e2d62334238b7","description":"El índice del usuario."},{"nameHash":"d52c22af07e94018acac673093073b05e5311d6c119df4e735e7e7a075137350","name":"devolver autor","descriptionHash":"1b35c60215308ba29a2f5d2e821aabdf604fdbf1275a6a032a6d6c2ae62164d5","description":"Devolver el ID del autor si no se encuentra"}]},"$voiceID":{"descriptionHash":"5b3d262de5bfac366c01b6d02faf6859a71bbd0a32a903ad4782458063a5fb6f","description":"Devuelve la identificación del canal de voz al que está conectado un miembro","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"1dc0e4fb2a73bf27251c90b360fe1178ecf3b8d8f3b61ebf8b6d5d5dbf847574","description":"El miembro obtendrá su canal de voz."}]},"$isUserMentioned":{"descriptionHash":"802c543924cf3b1a7c75ffacb8308754f5e37724fd6eda156bbc850a6a469d61","description":"Devuelve si un usuario fue mencionado en este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"e76a6280e921516a7b4ab56147491701d319f39aaa849e72d480fa565e675a3c","description":"Canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"85cfa0476b7cc5e18609ed370659fad9cbc95a08a8f87f1815bc7745e4a0d57a","description":"El mensaje para obtener menciones de"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"004b7b51326b1cf989ac36b3987212ad9143f19be4e15f2553a5cc5e35e1332c","description":"La entidad para comprobar las menciones."}]},"$isChannelMentioned":{"descriptionHash":"e91668a9d37db5694af5d43c9942a12428e4c46dc78543e6fad9a72bdd1fdb00","description":"Devuelve si se mencionó un canal en este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"e76a6280e921516a7b4ab56147491701d319f39aaa849e72d480fa565e675a3c","description":"Canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"85cfa0476b7cc5e18609ed370659fad9cbc95a08a8f87f1815bc7745e4a0d57a","description":"El mensaje para obtener menciones de"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"004b7b51326b1cf989ac36b3987212ad9143f19be4e15f2553a5cc5e35e1332c","description":"La entidad para comprobar las menciones."}]},"$isRoleMentioned":{"descriptionHash":"35f349800e825514553934337553984cf53e078b2d517715acd0329e25c2bfa1","description":"Devuelve si se mencionó una identificación de rol en este mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"e76a6280e921516a7b4ab56147491701d319f39aaa849e72d480fa565e675a3c","description":"Canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"85cfa0476b7cc5e18609ed370659fad9cbc95a08a8f87f1815bc7745e4a0d57a","description":"El mensaje para obtener menciones de"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"004b7b51326b1cf989ac36b3987212ad9143f19be4e15f2553a5cc5e35e1332c","description":"La entidad para comprobar las menciones."}]},"$voiceKick":{"descriptionHash":"f13a870a05abd6cac9ca53be09ad1ee57c37b6253deef3f3c551fa654b359c13","description":"Expulsa a un miembro del canal de voz","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"56cfdfd6002b23d2eb6c040d883fc8c43d22693f7199389e5ca2198e8fc2a600","description":"El usuario a patear"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"dd44b241d187d6344dbe5936538a2e8368b10b2ba29d01945c7503ce76a765c0","description":"Razón para expulsar a este usuario"}]},"$mentionedUserCount":{"descriptionHash":"c1b6a0bf48d6212d56bed991677bd2ca39a5a4b281fa6498c0dac286e9ab2ba2","description":"Devuelve el recuento de usuarios mencionado"},"$nomention":{"descriptionHash":"822a2b1d1f8900687af16c6c88dedbe34a3bedc83d672148e4adc6063a831911","description":"Desactivar ping de respuesta"},"$mentionedRoles":{"descriptionHash":"7c3af18b38be829c1deaed241c23d5d807b534df924ec80078e0b48be9d95959","description":"Devuelve los identificadores de rol mencionados.","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"ce644c06b58495c94f1166ee38ede0bd5bc91a0b4a760c64ab44d219baa785c2","description":"El índice de la identificación del rol."}]},"$fetchResponse":{"descriptionHash":"f0433f02fcffdbd7d3d07b47244f18543b35f1558b7468b02fac8babcd2afdb7","description":"Obtiene todos los datos del mensaje y los carga en la respuesta, esto incluye: embeds, componentes, archivos adjuntos, pegatinas.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal para extraer mensaje de"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"a3da23e20c577c588742d9e6da2941deffd91fbd904d66150c79ec3ae1702651","description":"El mensaje para recuperar sus datos."}]},"$fetchRows":{"descriptionHash":"b1872723251ee7cd5597d1cdcaa98563f29bed55089322dc1b1b1a38d8645159","description":"Obtener los componentes de un mensaje; esto anulará cualquier otro componente agregado a la respuesta.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"4dfdaf1a7e8b86b1b4e482d3d1c21c79d8619771ba81c8c407cc7e762408fb40","description":"La identificación del canal para recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"9cf808387ffaa59ba9695149f1909fb3a3e998029906d4e9ce011f361f74b250","description":"La identificación del mensaje para obtener los componentes."}]},"$deleteMessage":{"descriptionHash":"1a8a54786b04dfce489ff0345796d5296623ea6b3cf54520b50232f4fd31baad","description":"Elimina mensajes dados, devuelve el recuento de mensajes eliminados","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"bf70c015e4bb54f2da38b6ad3046d4be653efa710b78e2ef50e8e5daf2468f47","description":"El canal para eliminar este mensaje"},{"nameHash":"f5cccfb737512bedd4f2e39e7d72425ae8d3ebf8aa8ab6f966bef1fc916f5011","name":"mensajes","descriptionHash":"73bc07944ced27036bd4e00162445870e3e0947ab87a6597fb41b531494fa87a","description":"Los ID de los mensajes a eliminar."}]},"$deleteAllMessageReactions":{"descriptionHash":"b8164d6a590ab2d75612889dd0f12a9d5221837ad8d5d4c19e80eef16fbc04b2","description":"Elimina todas las reacciones de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"3cc2a50511ebc6433c1c8c3d06f75c2eded1b973f4578f4962fb57f14000a842","description":"El canal donde se encuentra el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"87bdcd763225df537ac97d138d1963d2e989042b3ba3d3161e518ca7e6b8156d","description":"El mensaje para eliminar reacciones de"}]},"$fetchEmbeds":{"descriptionHash":"ea8c301fc1b6338236534cbdd3b34e45cfe80f3773e4dfbf8ea73d9bec31fbd2","description":"Recupera una inserción o todas los embeds de un mensaje en la siguiente respuesta","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"1421af55421f74175ff0831cd98d2b0ea86588ad526f14c0b44b40bb1fd8f480","description":"El mensaje para obtener embeds"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"0fc58a5ffd0461ffac0c46eeb214a1f5dca6dc446b7ff54b40b7c2a40f1533f1","description":"El índice de inserción para cargar"}]},"$editMessage":{"descriptionHash":"a51f7d85d88d652b768ebc5458c32c66fce5c635a9d3a0fc4f2847e71b2135b3","description":"Edita un mensaje en un canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"8f3c0a515f960fe7c81ebf8296977fa5546b6bd2c517c06df6a202f968634c31","description":"El canal para editar este mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"dc76828cf9b13007001609f93c8535ce75e3295818f4c5eb0a0645ff01fe359b","description":"El mensaje a editar"},{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"24e05a2d8bdd896a53049367e1be2d6f957f78a5201f5ba20757619abd213aec","description":"El contenido del mensaje."}]},"$attachment":{"descriptionHash":"3cc5711861f6a189d3dd5a69b62f95a8edf0aaf7920a350d0413d2580598d0a2","description":"Agrega un archivo adjunto a la respuesta.","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"2b241ef4d2489b1f473929fde329d60c8fbc9f36ee67282ab099d2760edda5c8","description":"La URL del archivo adjunto o la ruta al archivo."},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"70e097ec1d7a9a1489a4953c6083ce003445b92af071e84b4ba9025648303ac5","description":"El nombre de este archivo adjunto, con la extensión"},{"nameHash":"91bf8222cd6fb59297e43424f49cf340577cebedeefccb8450ef9f55de1aa276","name":"como texto","descriptionHash":"0d5db30e3b187790f657477fd7eab72ed63947c865fbd88d3e85933880f6f50d","description":"Si se debe utilizar el parámetro URL como texto"},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"2e409800ac2e6a0f3dcf060475053fde8ebac7c15e5c01241d5c44e889b1c9be","description":"Codificación para usar en texto, utf-8 predeterminado"},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"027e32f57367308266fae9c7222527fa8e7cd4ac5855b877f96840730d826bb2","description":"La descripción de este archivo adjunto"}]},"$getMessageReactionCount":{"descriptionHash":"411e5dd01958a7503cb4dbc8853dd6d45450383e10467a6671005d8e84a462a5","description":"Obtiene la cantidad de usuarios que han reaccionado a un emoji específico.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"3cc2a50511ebc6433c1c8c3d06f75c2eded1b973f4578f4962fb57f14000a842","description":"El canal donde se encuentra el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"be30b4fc8899a9aada51f0b201570e3cf635654f1ab6511906f50c2ac5bdaf3b","description":"El mensaje para obtener el recuento de emojis."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"164d5d5ab93e6a9885f6ddaeac367b394868714f02e6117e8af6532a90017574","description":"El emoji para conseguir su recuento de usuarios"},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"6eb5669ab27c1fb994c4bd92bb73ef32b657b53f46e1c9045ef8e3a457e9b753","description":"El tipo de reacción para contar los usuarios."}]},"$addMessageReactions":{"descriptionHash":"9c67f033bce4222bf763d3866abe47aba6fa3b2f0bfa9e1ca0f533fd9cf8a60b","description":"Agrega reacciones a un mensaje, devuelve la cantidad de emojis que reaccionaron exitosamente","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"3cc2a50511ebc6433c1c8c3d06f75c2eded1b973f4578f4962fb57f14000a842","description":"El canal donde se encuentra el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"dd4604e38bca76f825a25a018053ebc96541c5559720f31f369146194bf5fd3a","description":"El mensaje al que agregar reacciones"},{"nameHash":"3badc5f5025e3296346a2b8a3fcbf0bb2158744298c33e6021bf7d9da58a4ec3","name":"emojis","descriptionHash":"1037d01d2bb5d0001a7546fb924b631f77983861d898afbbece6551e0bd598b9","description":"Los emojis con los que reaccionar"}]},"$getMessage":{"descriptionHash":"b2b433c1f183fb351ddadab178d54c68da4ef05b1d5e13c87364cdf13af8b680","description":"Recupera datos de un mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2f27711d3c02675eab384ee6a562adc2eb1c199bab9e0c7718707b419c76b5f0","description":"El mensaje para recuperar datos de"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"1ae35f311e852275aa494b686c5d338ea6f5cd889b41b1c8da35fdc54c37437e","description":"Separador a usar en caso de matriz"}]},"$deleteUserMessageReaction":{"descriptionHash":"056a6d200d9b8aaf2fd414b75b16f43ca1467b71472fed0256faedea7b213c36","description":"Elimina la reacción emoji del usuario de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"3cc2a50511ebc6433c1c8c3d06f75c2eded1b973f4578f4962fb57f14000a842","description":"El canal donde se encuentra el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"4013ff90bdcb973a46c99bb5267d32500a0af39a351c729fd7255c86b8964f08","description":"El mensaje para eliminar la reacción emoji del usuario."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"f3d37986e6fb8c3f31cf9236bda1dfd90d58c88ae53a7858156d0d2ca632651b","description":"La reacción del mensaje para eliminar al usuario de"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"b7962238f21b0143fa0365a1441cfe1068b881092d3bd1ebb7ed195e36a6de69","description":"El usuario a borrar su reacción."}]},"$getEmbeds":{"descriptionHash":"ffdb509bd8d1c1904dbac7e7bb0d93ad827ddc0f86ed7de2311fea90e844d742","description":"Recupera datos de una inserción, sin proporcionar ninguna propiedad, devuelve el json del embed","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2f27711d3c02675eab384ee6a562adc2eb1c199bab9e0c7718707b419c76b5f0","description":"El mensaje para recuperar datos de"},{"nameHash":"2c48d8238a76b404bcc6529b6b6ec3735fd940063324af9b31d2b2fdddd75187","name":"índice del embed","descriptionHash":"eb6330ed3aa9466184e65a1561fa9dd588076b65494447faf271ce2f9d180eda","description":"El índice del embed del que quieres obtener datos"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"7a44ff150a04f918083d2437f297ab87a064365eb46ec4ad9a0a9c76cacb199c","name":"índice de campo","descriptionHash":"1904c29df1b93c7f989d66f082f08793e4e83400b3acb120716da1724bf91ebe","description":"Índice de campo a obtener"}]},"$messageContent":{"descriptionHash":"1f384f85d37023b3fe431b0e5d0c89b85f7fa3adc85b71746e10f921b0f0200a","description":"Recupera el contenido del mensaje."},"$messageID":{"descriptionHash":"7dc5a25da52c30be19339fa1f368e0fd606d85394c64426108a6b126365130f8","description":"Devuelve la identificación del mensaje"},"$messageReferenceID":{"descriptionHash":"badc9022fd94ca28a86258a13ce6b1d84198c806f9c7e476ad7f542062344b9b","description":"Devuelve la identificación del mensaje al que responde este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"b0aa9683e42f155e0b0e73b2212fef2f5aa46111806d252fb98746b66d5ce382","description":"El canal desde el que recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"b60790522782c6d55368a934a62b4b1e183d99ae9cd1b7cc4af11d145fc0fdaf","description":"El mensaje para obtener su referencia."}]},"$message":{"descriptionHash":"d645f0de95e39f6a9e527378c7c980c8e50521cd3be962a3599358c262d71a2d","description":"Recupera argumentos de un comando de mensaje.","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"77aedf5a21c0dc86d77fb8bcb394bcaddec6e5c4939476561c3b576262b1b041","description":"Índice para obtener arg"},{"nameHash":"1facfbb48b6cb5b9580176a913d252b1be9b410fa111fc08fafd0ad39a1be902","name":"índice final","descriptionHash":"c1effe2086fa18f5f6824cb2c2a45a63f6f52640e9a0df1af651808365768ff1","description":"El índice final"}]},"$messageSlice":{"descriptionHash":"bac87813fa2edc17e31151667924ce92f59f9cb23d611da15b823703ecb4b59c","description":"Corta los argumentos de este mensaje","fields":[{"nameHash":"cced28c6dc3f99c2396a5eaad732bf6b28142335892b1cd0e6af6cdb53f5ccfa","name":"comenzar","descriptionHash":"fc9d6ee6740f3a3e55ec039a764dfbd2f63f4127041b459f11864c61adf08520","description":"El índice de inicio"},{"nameHash":"361e48d0308f20e32dba5fb56328baf18d72ef0ccb43b84f5c262d2a6a1fc6c8","name":"fin","descriptionHash":"c1effe2086fa18f5f6824cb2c2a45a63f6f52640e9a0df1af651808365768ff1","description":"El índice final"}]},"$loadEmbeds":{"descriptionHash":"cd4aba49f74d86975926c9253feb16596c113190f4ccc753f5dad544dbc8a441","description":"Carga json (o matriz) del embed en la respuesta","fields":[{"nameHash":"18e6bf2979e00d69b031772152ff0720d910908814ad7599946c763713b3f558","name":"datos del embed","descriptionHash":"f32d00c76f25cf7023117862e8057bd69b5d23414cfb7725e2acfa3cb09de198","description":"El objeto embed o conjunto de objetos a cargar"}]},"$messageCreatedAt":{"descriptionHash":"20be18f3d70bba44b329ba2fd1b637a11cab4fe6fad174e40980436d7247eaa1","description":"Devuelve la marca de tiempo del mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"b0aa9683e42f155e0b0e73b2212fef2f5aa46111806d252fb98746b66d5ce382","description":"El canal desde el que recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"f3f9bb8e0aab1abcba92c386fbab22d290a510c689f7a97e9505c34b97cfd1f5","description":"El mensaje para obtener su marca de tiempo."}]},"$messageExists":{"descriptionHash":"191ce3b65025459e8a934ad42545fef19fc4a11d49c21420a40adafb143c234b","description":"Devuelve si existe la identificación del mensaje dado","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"b0aa9683e42f155e0b0e73b2212fef2f5aa46111806d252fb98746b66d5ce382","description":"El canal desde el que recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"1de1128c82e3b4a266be4d26f3697436dbec1a2cf3485f6c6e609c6b111245cd","description":"El mensaje para comprobar"}]},"$hasEmbeds":{"descriptionHash":"3d3048bf830c15375a63b1aa5354b0bdbe4889745b2fd0eee2e5137bbc6cec82","description":"Comprueba si el mensaje dado tiene embeds","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"a562463cc22fd020e43e7655e9c1699bbbacc87a98d78112c226859a5bfa957e","description":"El canal para recibir mensajes"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"d04c1a25c3cc58fffd21ab201cc45e0c579a501f68fcbbb5148ef04e6d168193","description":"El mensaje para comprobar si hay embeds."}]},"$messageAttachment":{"descriptionHash":"4bc6c48a27be43387583752ed0cf27f504047cc3c8414c648395d5ab2b64ec5b","description":"Recupera un archivo adjunto de este mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2a3124165b41e1c22294bb80887db9e9490b6cc6a49ada8d3c17388b26d7bd31","description":"El mensaje para obtener sus archivos adjuntos."},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"8898c6793ab353cc778417db38f12246133fac282f80bc452fcb6238bac83aca","description":"El índice del archivo adjunto."}]},"$messageAttachmentCount":{"descriptionHash":"b2e0b5935723bfbeb53fbf89b4e9209da11db1b7f47b441ebe09459cf9c4f67f","description":"Recuperar la cantidad de archivos adjuntos en este mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"f01cacdc35543b6827ee91b423bae6704d411105ab46a4cf5d92fa60ad7c142b","description":"El mensaje para obtener el recuento de archivos adjuntos."}]},"$messageLink":{"descriptionHash":"58fadd405d93163b5be6a5560adc25709aa9d9ecf71664ceb0cd563f43db0467","description":"Recupera una URL de mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"b0aa9683e42f155e0b0e73b2212fef2f5aa46111806d252fb98746b66d5ce382","description":"El canal desde el que recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"9dcad5fa42501faada3c980e95365f6eca9e82f088306dc21862895b0d39c855","description":"El mensaje para obtener su URL."}]},"$messageSticker":{"descriptionHash":"a1f22b6ea356463d51d50390ad381b12759fc5dcde151845f40dc7a2b99b35d8","description":"Recupera una URL de etiqueta de este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2ef64ab254623c1718cf5730a508ba60e0b5c66af53a4d807e4eebb9a3aa996c","description":"El mensaje para conseguir sus stickers."},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"27cb8d5190273a3562cc3ddc9b793209eeec86cbd9479c4e1bd7c9c4c793a76c","description":"El índice para obtener la pegatina."}]},"$getMessageReactionUsers":{"descriptionHash":"5f5a89962c9ab53dc1b0deaa83f7171ccd0e8f9708feccbe36f7ccfefcde8d00","description":"Obtiene los identificadores de usuario que han reaccionado a un emoji específico.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"3cc2a50511ebc6433c1c8c3d06f75c2eded1b973f4578f4962fb57f14000a842","description":"El canal donde se encuentra el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"349a898b1177a88ef4ed7c4c9ef7813208105d6c6484b1e0c5e1ad815a241f3d","description":"El mensaje para atraer a los usuarios de emoji"},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"edc53d18cafc6b28b51e0e7d1802c1bef0fcf9a009dee099603df9721875f1cc","description":"El emoji para conquistar a sus usuarios"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"78ac2d353516c4d30feb962ff8e1626f62128d41fc5c3dab957fe4ffc4adface","description":"El separador a utilizar para cada usuario"}]},"$messageAttachments":{"descriptionHash":"0dbcab724f62fa2277928f906de0713e232604ccd6b75a165f2e052d9dc1298e","description":"Recupera todos los archivos adjuntos de este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2a3124165b41e1c22294bb80887db9e9490b6cc6a49ada8d3c17388b26d7bd31","description":"El mensaje para obtener sus archivos adjuntos."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"440f18c1b4c6abfd4fd2c28cac5f1542ba9a305c4acbe38301ef19d5abb7432d","description":"El separador a utilizar para cada accesorio"}]},"$messageWebhookID":{"descriptionHash":"56e1511d5f4ab19eb00d902030d16e9452f4b9e3944c0ad475449600009f41ab","description":"Devuelve la identificación del webhook del mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"7dab5870ef0366677bd8862d4a94a9002bcef95ffe4852367481d45808a0c80c","description":"El mensaje para obtener su ID de webhook."}]},"$messageType":{"descriptionHash":"3d428d64a563d9ed85fd42a5c41e0cb6b618bb34baa989f9fa9137f3b8de97dd","description":"Devuelve el tipo de mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"fd031a5feed7ac8313dfd64b030cb6747abe61a67dfc4a9c9d0be868d925bfae","description":"El mensaje para obtener su tipo."}]},"$hexToInt":{"descriptionHash":"da24bfe3d9a760db0b8d6b2d30cbe35ba20d93db71a091cf3eb397a8170c2fe0","description":"Convierte una cadena hexadecimal en un número","fields":[{"nameHash":"128df13c1e54ffaaafcc9d07ec7427d61f764214e6ae0321de23c94d261d0860","name":"hexadecimal","descriptionHash":"57e78af0edfdc4c8a679778d46d7a752633f95ce95f0abc981a270aed5971003","description":"El hexadecimal para convertir"}]},"$isFloat":{"descriptionHash":"716c6c56efde76322927ef803ca0b80d6aff2b7eef120fe32e55be4d45b04383","description":"Devuelve si el número es flotante","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"4498d851d79c5517fffbb2556007b45cdef5ba8ff7aea5a06f6c9c33ae0f70b9","description":"El número a comprobar"}]},"$abbreviateNumber":{"descriptionHash":"6646cace564e39acb799dc087f0c4214ff0e09f82322c6c3b05557afde844aa7","description":"Abrevia el número dado","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"67df906883066059480ecfced1ace5ba57aced7bc947fef7b0d307dc65add1b3","description":"El número a abreviar"}]},"$publishMessage":{"descriptionHash":"0f5477440f6d19580d1e3c56ebe6463c3e8fb4b0cbaf7e157b7b9b3d86ccfabb","description":"Publica un mensaje en un canal de anuncios y devuelve bool.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"c69d7b5141a3800096e886a8d590c69d675c84d13f84e9cfafc2095f01cca7de","description":"El mensaje para anunciar"}]},"$messageStickerCount":{"descriptionHash":"e0e8be0d2ec7e642a0b087d82b48aceee6878c8f2c0dec7f2fe874c8a78612c3","description":"Recupera el recuento de pegatinas de este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"b2a82f9c3272b185be61f89714cbe515ee6a17c4e1be85541c86276c0f79ba29","description":"El mensaje para obtener el recuento de pegatinas."}]},"$intToHex":{"descriptionHash":"cd38af76d769cc275f426b48d4a447eaa778a0331489740b8aa23eba105516b4","description":"Convierte un número entero a hexadecimal","fields":[{"nameHash":"6da88c34ba124c41f977db66a4fc5c1a951708d285c81bb0d47c3206f4c27ca8","name":"En t","descriptionHash":"a850948bddefd8e42c5663ceb09eee17b2fbd4ba50811365d929d70ac44f6132","description":"El número entero a convertir"}]},"$pinMessage":{"descriptionHash":"2deccb972d35799fc082c34a89b9c70c4624c704bd25415a66a75e53c9addcf1","description":"Fija un mensaje en un canal y devuelve bool.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"f937f646681d414e0bab408b7b012fd21a6744e00ed7c00b7f51b0933b81c65d","description":"El mensaje para fijar"}]},"$unpinMessage":{"descriptionHash":"352e7931964edacdae56f16215f32fb39a2590977dc3b927237709a7eebc5dee","description":"Desancla un mensaje de un canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"a71f682857f61a26a74245a05749f789ace8c1346976477d14af539add2f0404","description":"El mensaje para desanclar"}]},"$noMentionMessage":{"descriptionHash":"784681f7c7f08808614a3f9689ee99563564e6a0376263793a008019a3e742e4","description":"Recupera argumentos de un mensaje sin menciones.","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"77aedf5a21c0dc86d77fb8bcb394bcaddec6e5c4939476561c3b576262b1b041","description":"Índice para obtener arg"},{"nameHash":"1facfbb48b6cb5b9580176a913d252b1be9b410fa111fc08fafd0ad39a1be902","name":"índice final","descriptionHash":"c1effe2086fa18f5f6824cb2c2a45a63f6f52640e9a0df1af651808365768ff1","description":"El índice final"}]},"$sticker":{"descriptionHash":"1525a535cb3d092b3603827fcf77fc7ac74b90763e5303d155dce2bd2b694e72","description":"Adjunte una pegatina a la respuesta.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"2c82098121a7e8348b8ffc5fa984b7aebcc92d4720c45031240ff2eed261bd1f","description":"La pegatina a utilizar"},{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"2c82098121a7e8348b8ffc5fa984b7aebcc92d4720c45031240ff2eed261bd1f","description":"La pegatina a utilizar"}]},"$messageStickers":{"descriptionHash":"0f1b4377c72f5d44eec43e6003af30332e845f4f31074e05d5d0d67cd2ac4471","description":"Recupera todos los stickers de este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2ef64ab254623c1718cf5730a508ba60e0b5c66af53a4d807e4eebb9a3aa996c","description":"El mensaje para conseguir sus stickers."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"c0da73fcfc0e8e6e28abbe11163185130de8219b8212604eb2894f25f5be8011","description":"El separador a utilizar para cada pegatina"},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"848a53ff3d24955076b26670cdd80502789f8192bdce728bd20db5a35a5e4213","description":"El tipo de devolución, el valor predeterminado es URL"}]},"$inRange":{"descriptionHash":"7f131dd7ce79b02f7ebd2e6702d5849430385354f7afd491bf96201351e04f16","description":"Devuelve si un número está dentro del rango","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"8f1ca41ae7fbd269678223a14a0a351b53e54f936dc3aa434f774c279312f499","description":"El número a validar"},{"nameHash":"1f6fa6f69d185e6086d04e7330361bf9001a3b8d0ce511171055dc34eb90c1c5","name":"mín.","descriptionHash":"a51ea8196dbae97f4a92e7fb214e917d498b66f11635b57de1413f14a175e901","description":"El valor mínimo"},{"nameHash":"9baf3a40312f39849f46dad1040f2f039f1cffa1238c41e9db675315cfad39b6","name":"máximo","descriptionHash":"6915714dbe7398298324bdd3fbd727b9b4b4fea5b27e7bb8d314ec7fa5c6dbdd","description":"El valor máximo"}]},"$reply":{"descriptionHash":"93973aaff5fbaf639e08a3d726d43b60a58aced96bc5549c3a7f65e84396cd4f","description":"Marca la respuesta como respuesta.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"5b28719a05f9476c220d6089675aebae7e85355aaf8c5dad4540566357c9e98f","description":"El canal en el que está el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"e8a23594c049940ce074866769771addc7287290503e22b76de49e3856040ee2","description":"El mensaje para responder"},{"nameHash":"bcc1f3c1045087a1c4ad5475e3a3a6ae3f84870d9ad20845981da6697f17a783","name":"desactivar el ping","descriptionHash":"aee95c104c6446ad214add442f61d7c9a58aaf5d42c5842dc486b5e0b7c448ca","description":"Si se debe deshabilitar el ping de respuesta"}]},"$debug":{"descriptionHash":"56d85a5a80f31b27195925800e389a0d1fc5b2f58011d81c86c6d60947a5d3b1","description":"Devuelve el mensaje de depuración"},"$error":{"descriptionHash":"4ebbf7f18dcf0a98e481380979e163f9dd448edff22cb1ed4da64c24afedddce","description":"Devuelve el mensaje de error"},"$reactionAuthorID":{"descriptionHash":"9964e563c9a9d41e8aa2d10921cd5a29dd876335a38a4c1f34b08006bdcfb8e9","description":"Devuelve la identificación del autor de la reacción que reaccionó."},"$maxSafeInteger":{"descriptionHash":"73e6f883ac8193149f66357c52030fda0ef96c6da8cd0cc5a8f0565dfcac856f","description":"Devuelve el entero seguro más alto"},"$minSafeInteger":{"descriptionHash":"73b7df4b0af2badf217cb0a6e666391e14bdd22dcdf38198ccf007dc3a5458db","description":"Devuelve el entero seguro más bajo"},"$isNumber":{"descriptionHash":"c7e64a2023a7fd85f4981391d4e54743510ed5ed70787cf2fe17e2d6eda1964d","description":"Devuelve si el número es válido","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"4498d851d79c5517fffbb2556007b45cdef5ba8ff7aea5a06f6c9c33ae0f70b9","description":"El número a comprobar"}]},"$c":{"descriptionHash":"ccafcaaeb7d784cfe3ab75da269e8c3ae10f675f5989a05287dbf95785a5a1f6","description":"Marca cualquier código dentro como comentario.","fields":[{"nameHash":"c44bb2fd516909dab78ae0bfedcd5672b131b996c4b7a4328ee55fba170da776","name":"comentario","descriptionHash":"a816d9fb2b8d637e9beefbd66aea708a02213c079094102e489cc528b7ddbb14","description":"Los comentarios"}]},"$isInteger":{"descriptionHash":"26551c4ab4c7e9bbfc4b4e77b0168242745b709e1e8e95aa8436527bd892b33b","description":"Devuelve si el número es un número entero","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"4498d851d79c5517fffbb2556007b45cdef5ba8ff7aea5a06f6c9c33ae0f70b9","description":"El número a comprobar"}]},"$separateBigint":{"descriptionHash":"e673f745216f2e3fab061f7d8ff1e36aca949c3f2260d84430a979ac376ff490","description":"Separa miles en el número.","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"f55e859dfa166dcd6f53c016fdb182f8d10d240dd3a419b1d7688cb9579acd99","description":"El numero para separar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"220c586af3dfe196f3e256d0b3d1b894709b92ee6ff1e2f31605c472ad9260eb","description":"El separador a utilizar"}]},"$ordinal":{"descriptionHash":"feacb9e2ebffe3502a4ec95f9a87ad655b6a81e289a66c8ec81ecb1bae46e7db","description":"Agrega un sufijo al número","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"4a18969d307370c6f124fa49e614b724e5018b832f3f7d074c9963674a7716df","description":"El número al que añadir el sufijo"}]},"$separateNumber":{"descriptionHash":"e673f745216f2e3fab061f7d8ff1e36aca949c3f2260d84430a979ac376ff490","description":"Separa miles en el número.","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"f55e859dfa166dcd6f53c016fdb182f8d10d240dd3a419b1d7688cb9579acd99","description":"El numero para separar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"220c586af3dfe196f3e256d0b3d1b894709b92ee6ff1e2f31605c472ad9260eb","description":"El separador a utilizar"}]},"$parseInt":{"descriptionHash":"2741107b1aa26c113ea92ca09029bf8ccf8690fee8575ccc875029797e90d495","description":"Implementa la función nativa parseInt en ForgeScript","fields":[{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"f0e753846c7cbda21ec38b66f9309f3e2f0a00ea8a2394ac197ae96782c3c9cb","description":"El número a analizar"},{"nameHash":"da7f85eaf3d0452479031da124d28778aaf15cc756a6c909d7dc708fade343f0","name":"base","descriptionHash":"ec6140b39101a83ca46c9864f5e87251b7c96ea07bdb71628c3f5dc117db5aae","description":"Radix para usar en el analizador"}]},"$callFunction":{"descriptionHash":"370964b3d077949a249a3c0a302800beafa02f3f2afa70fbb331f65b57328bff","description":"Llama a una función forge creada por el usuario.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"6975be261fee79f5e44927622f01691ed70fd2c9191b745f49cc1db7b290d9bb","description":"El nombre de la función"},{"nameHash":"090772cf4068973daad3f715eb788d39fe2c02be42efd86de81f0e59198d6237","name":"argumentos","descriptionHash":"456fd6d4276a746c3288f7015bd3111cc4676e32e541a6d738c07bc307e35960","description":"Los argumentos para llamar a esta función"}]},"$randomNumber":{"descriptionHash":"11aace95a48f8aed0551b346d36a965d5ed97cf59f6c37b634391be69ef691f7","description":"Devuelve un número aleatorio (sin caché)","fields":[{"nameHash":"1f6fa6f69d185e6086d04e7330361bf9001a3b8d0ce511171055dc34eb90c1c5","name":"mín.","descriptionHash":"d0d2494c545bd2fa69b2027888e1a7bb32ec982cd9e89328988b62d5325c280f","description":"El mínimo número posible"},{"nameHash":"9baf3a40312f39849f46dad1040f2f039f1cffa1238c41e9db675315cfad39b6","name":"máximo","descriptionHash":"34a062391dd045ed39312490e66aac8defcba7b11bac4f212626ef2d1f881801","description":"El número máximo posible"},{"nameHash":"ee80fd2f1e03480e2282363596ee752d7bb27f50776b95086a0279189675923e","name":"decimales","descriptionHash":"9dbad4fa6cd73e3c9002f515adc7a1de4eca2ce9389d6211034901dc3a8130bd","description":"Si usar decimales"}]},"$awaitMessage":{"descriptionHash":"9b6b593d187e87892a232480dbc5efc896bc95f8595461e1fa4430ad92ee7e4d","description":"Espera un mensaje, devuelve el ID del mensaje o nada si no hay una respuesta válida","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"2d402852155b47d7f4e18c4588df51cbb9b1f69ea7ec3e8f9974ab0ff9006802","description":"El canal para esperar el mensaje"},{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"f57987a1baca1c3b8282d51e40c4eee01d3848681692edc4fbd6d4f11e2a9423","description":"La variable para cargar el ID del mensaje que fue enviado como respuesta por un usuario, se obtiene con $env[]"},{"nameHash":"dfc3376b8266c66e8c24736645128a5f93ccf1df6f381286ffbda654fec8f21c","name":"filtrar","descriptionHash":"8c984decfccfaf1ec35d4b15a2be09625f4c51b32da514ac4a302b95ff94697c","description":"El filtro que se ejecutará para cada mensaje enviado después de esto."},{"nameHash":"336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e","name":"tiempo","descriptionHash":"2b6138e26fafd4c50e4f2598efea7c2d623f5c2c6f2bc46d22c8d4907a295456","description":"El tiempo máximo para esperar un mensaje."}]},"$reactionEmoji":{"descriptionHash":"84b473ae768624a817cf46d64260939f39b34a8980ce202737796a2a60b09d71","description":"Devuelve el emoji que se utilizó."},"$reactionMessageID":{"descriptionHash":"5c9b14c4f4c41af719f4ec6acbec76c36f952463200e8eac68eedfb9b5fbd00e","description":"Devuelve la identificación del mensaje del mensaje reaccionado."},"$roleCount":{"descriptionHash":"67db2663ab45cb658f0e938333f2075020709319c98854a1be6a127483058ea1","description":"Devuelve el recuento de ID de función de todos los servidores."},"$reactionEmojiID":{"descriptionHash":"a1091b4a37c4a58692f7a7f38b168cfed1f119562d204447171b797372f2e7d3","description":"Devuelve la identificación de la reacción que se utilizó."},"$roleCreatedAt":{"descriptionHash":"20371225fd1a58276c5e89ed61b7b77a0119abd20ca07bec535a7b094e78f1f5","description":"Devuelve la fecha de creación del ID del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"1ef1195ec524212b126e3a84c2bd476b24c19286f0327a66811883b0e5e0a8c5","description":"La identificación del rol devuelve su fecha de creación."}]},"$deleteRoles":{"descriptionHash":"3713754b2ffd0f7b302807a8f52bc1f7d9aaafba5111794f3399bbebb3507c57","description":"Elimina las ID de rol dadas, devuelve el recuento de ID de rol eliminados","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"5e6336031c105df51b45fbea11bcb7ee3f5fd92408bd4b3328a88fc5b9223fc7","description":"El servidor del que eliminar los ID de rol"},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"a094bf3bce54c1c0d5c8ad5a7cadca3076a659378dab29d16886ed9307cfcea0","description":"Los ID de rol a eliminar"}]},"$editRolePosition":{"descriptionHash":"cd8eb0385da102a57c6a7e9091b344221c1329cb5940899899a19b2724ac82a6","description":"Edita la posición de una identificación de rol, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c26927a2bfc458ddfdda710c7b921d97dc652f79b308e323609e8cf1b034ff12","description":"El servidor del que extraer la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"9dd4fab50cb214f1f990b13f723badd464b569864b95f642ee48741c22c5fa8d","description":"La identificación del rol para editar la posición"},{"nameHash":"5a452459503be70d2ed2fca46dd91e05e820a957f175686a77d03fff80f664fe","name":"posición","descriptionHash":"9012377aa29f03384a4783314a9456c6e5b91cb75c7c436e16072645c881f816","description":"La nueva posición para la identificación del rol."}]},"$roleExists":{"descriptionHash":"b1acd9e57336bb3def11f74e7a5c81c2a1ae76e1238f1f174f99e68c488bf8f1","description":"Devuelve si existe una identificación de rol","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"d285f2b4b53b9facebf6be258b8807f4d3f072090853842379e3813b0f0ff698","description":"El servidor para verificar la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"0a37d07e4fb5c4f384c3e3d1e69913a64f02d66ece8f73161131c802a5adb368","description":"La identificación del rol a verificar"}]},"$roleEditable":{"descriptionHash":"fd4172a58d9e745888207f4feca63faae1240516405e8d19001750ddb85b1f11","description":"Devuelve si el bot puede editar la identificación del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"c996ee90b6fa406884517bf760f01c0e45ecda95e5353653d69bb3b53ec46195","description":"La identificación del rol devuelve su estado editable."}]},"$roleColor":{"descriptionHash":"ba53a719deef8ce93c71adce1d6a837af0fdeed9fb81bbadd323a68a0cd54959","description":"Devuelve el color del ID del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"2ed08c28c7a080f589f570676e8d07002cc74d85a0a4c9df8e10891bcfea2dee","description":"La identificación del rol devuelve su color."}]},"$editRoleIcon":{"descriptionHash":"4940fd25d09c80a6c94d56fe7be5aa0b34abdea38d9ad44b496f88b614f49b5c","description":"Edita el ícono de identificación de un rol, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c26927a2bfc458ddfdda710c7b921d97dc652f79b308e323609e8cf1b034ff12","description":"El servidor del que extraer la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"99971246dfc74ab276573219524cb379c10a7ce1b1de8124cac2e13f680b29e5","description":"La identificación del rol para editar el ícono"},{"nameHash":"c2d4b446a44ce54fab8e01150e24dd24f3d850c7c14dcfe31f6321341dd86874","name":"icono","descriptionHash":"16ee134ae2e86856943d40a3bd7397ede6c902f8dff6d9f4f4a301face1993cf","description":"El nuevo ícono para la identificación del rol."}]},"$editRolePerms":{"descriptionHash":"c89244adbe6d17c75435860ae8df63b2f9269ce2fb75c7fea7b9157d408eea11","description":"Edita los permisos de una identificación de rol, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c26927a2bfc458ddfdda710c7b921d97dc652f79b308e323609e8cf1b034ff12","description":"El servidor del que extraer la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"a14c5a3ea57d58f3f0665a963d3878f7476cd134a8237bf5df7a8a818def43d3","description":"La identificación del rol para editar los permisos"},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"a9094fc538205c5678a205ab030883be3beece7386fdf6b4ba1b47cdb19dec14","description":"Los nuevos permisos para la identificación del rol."}]},"$editRoleName":{"descriptionHash":"e209a32dc597c5ed1c43555e995ad44f8e656adcbdc4448977a0b4fd6dd4357c","description":"Edita el nombre de una identificación de rol, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c26927a2bfc458ddfdda710c7b921d97dc652f79b308e323609e8cf1b034ff12","description":"El servidor del que extraer la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"6dd1300973c632c1124711c0a42411407cb31b2e962d49b12bde6d5d88fa0ef8","description":"La identificación del rol para editar el nombre"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"22530aef76f10296c6d71fef21c7538ce8cc979343a8c18ae9f0bef4414c392f","description":"El nuevo nombre para la identificación del rol."}]},"$editRole":{"descriptionHash":"2e5aee4e02e680c9205377a2d4100d1841f9ea1cdac2d02188051b65c30b0467","description":"Edita datos de identificación de rol, devuelve valores booleanos","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c26927a2bfc458ddfdda710c7b921d97dc652f79b308e323609e8cf1b034ff12","description":"El servidor del que extraer la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"b909b3a7b409c3029c09eccfc2c795ea8b2435a1fd8c2be98df679abf0773ab9","description":"La identificación del rol para editar datos."},{"nameHash":"76ba8dfa19f3823c1538e714a155f619f36467025851a248c82a901486e07d87","name":"nombre de identificación del rol","descriptionHash":"22a16446e5c1a2012d304811b2ec09c7d5f0dddb3f46fda9b40f12e8ea16695d","description":"El nuevo nombre de identificación del rol, déjelo vacío para no modificarlo."},{"nameHash":"9265d702dad5fb22d5e0969fa2b7428df9ae748dbb655ef0c67636bc26203648","name":"color de identificación de rol","descriptionHash":"3c236471bcc28a4c21352f558cb22ce3e3e0c7b90b2e0d8e5654545689bf07f6","description":"El nuevo color de identificación del rol, déjelo vacío para no modificarlo."},{"nameHash":"900d3899c3f2dec9193cfce8bd58dd8cce259e65799d8adbeaed7b9795c7eeb9","name":"icono de identificación de rol","descriptionHash":"a7fcab31d7485bc5a8487683c859b2c18de64ca8d634f9c1b4bce468fe0cbfb2","description":"El nuevo ícono de identificación de rol, déjelo vacío para no modificarlo."},{"nameHash":"aaeb112370298093597bde86111288340c796fa6e01688348617ffd7935e36e7","name":"izado","descriptionHash":"588352f80c1beb8d0c0a5607b0cf639309db988f73c1c99d3b84ddc5525ec7a5","description":"Si la identificación del rol está activada, déjela vacía para no modificarla."},{"nameHash":"92c76b95095cd54852cdc5351ea43294299335e3bd4e19e5040955199c2021c6","name":"mencionable","descriptionHash":"546a62184397943e12c6f6c0ddf6e6712b42e013c2736557cfeec472477af708","description":"Si se puede mencionar la identificación del rol, déjelo vacío para no modificarlo."},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"a9094fc538205c5678a205ab030883be3beece7386fdf6b4ba1b47cdb19dec14","description":"Los nuevos permisos para la identificación del rol."}]},"$addRole":{"descriptionHash":"2916919f8ef6e268d5992ae98fd32555bcc81c0198409dee95c28febd8f8ee42","description":"Agrega una función a un servidor, devuelve la identificación de la función si tiene éxito","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"298d4e90d9086802575d3192f94aaf72944ee1de160382d17fd454b984827b80","description":"El servidor al que agregar la identificación del rol"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"67a4ef51bf1c1ac7bdac17f9f685984b4a2c2227da0f4e6d1db565efdd566baa","description":"El nombre de identificación del rol"},{"nameHash":"74284d9dcbcc09928ca5d7d6187270a62ac1b58ccdc4a44b81e47257ffa53b9e","name":"color","descriptionHash":"01399e12b8e6c48c81600a2e0900672a2ad961b66859beafb4a36d0af832ef18","description":"El color de identificación del rol"},{"nameHash":"c2d4b446a44ce54fab8e01150e24dd24f3d850c7c14dcfe31f6321341dd86874","name":"icono","descriptionHash":"4c18989a7050d9eef98cae6a9060149448edc6e97c23092390f7e3395574a4ff","description":"El icono de identificación de rol"},{"nameHash":"aaeb112370298093597bde86111288340c796fa6e01688348617ffd7935e36e7","name":"izado","descriptionHash":"e60572784cb9d597aa455b44f662e7199b9b14fd89167e1d77233073ada081f7","description":"Si se eleva la identificación del rol"},{"nameHash":"92c76b95095cd54852cdc5351ea43294299335e3bd4e19e5040955199c2021c6","name":"mencionable","descriptionHash":"9650f0ca4b4067b34753193f5e6f5a3d218754c3918f229a27c17a72e0e678a7","description":"Si la identificación del rol es mencionable"},{"nameHash":"5a452459503be70d2ed2fca46dd91e05e820a957f175686a77d03fff80f664fe","name":"posición","descriptionHash":"e04282a1adb602e2cb20260c17b1e24dbbc0d37f8cad7f3d4e805554e3d71440","description":"La posición para este rol id."},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"88efa004f9f6106ecb2cd35b15f989fb0f2139812661dda1c7c2a4486430ba3c","description":"Los permisos de identificación del rol"}]},"$roleID":{"descriptionHash":"75a5e1503634d6c01425ee46825c5fdef39e6b57240ec019cd6d7afcbcc709d5","description":"Devuelve una identificación de rol con el nombre de pila","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"50a77e7b5aa6ed812b6dd24e7381368e4f7b9e5b32223c366cd4b76b7e198b95","description":"El nombre de identificación del rol para devolver su identificación."}]},"$roleIntColor":{"descriptionHash":"0496cd370cf6fd7015e0fc2d294a8dfee9f3c510c2b402d5812d3cb3e31e9386","description":"Devuelve el color del ID del rol como int","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"2ed08c28c7a080f589f570676e8d07002cc74d85a0a4c9df8e10891bcfea2dee","description":"La identificación del rol devuelve su color."}]},"$roleManageable":{"descriptionHash":"6bf9f386f611afa3ea247937ec4f77048df29bdb28a9f69964aec6505d53557b","description":"Devuelve si la identificación del rol es administrada por discordia","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"1ceb3817d8ac16ddf73997b9a50c89e1e80d054d1a8b226ced554edaf86a62f3","description":"La identificación del rol devuelve su estado administrado."}]},"$roleRawPosition":{"descriptionHash":"a34943282eb663aecd493012f29554745f70428796ef68f7dd88db24ade13cce","description":"Devuelve la posición sin procesar del ID del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"c3b8de83d101706b88e979baa6a171d126f387bf8c0ff038feb7ed91b879798a","description":"La identificación del rol devuelve su posición original."}]},"$roleIDs":{"descriptionHash":"90a41af8cceaa182a685725d1d6a009c23d85ab1868d8adaf7df994931baa7c0","description":"Devuelve los identificadores de rol de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"75971d70efd5e57b8016e8a110dc3e060980bf3675d65710c6fb072bfb981d27","description":"El servidor que devolverá los identificadores de rol de"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"b76e4c2a159dcfcbde4a591111d7a3645232b8039d2c775240fc907ee24bf3da","description":"El separador a utilizar para cada ID de rol."}]},"$roleName":{"descriptionHash":"129898d285f560c1166ffa33631780ede662fcf4c7785b4bfa485bc7b69eb536","description":"Devuelve un nombre de identificación de rol con una identificación dada","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"a92f5d858e98e90abf862b377cf608c7f0c56eb8cbb90e04f7aeb580ffaebb42","description":"La identificación del rol para devolver su nombre."}]},"$roleHoisted":{"descriptionHash":"0fe088546f4cf8d0ea12ced2803aebe092d7e41124398fec9c7b7a435a34f678","description":"Devuelve si la identificación del rol está elevada.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"6da22b01aad96338156daa68deffbc4278bc0db81f91d2982bc32a9ed25c9e46","description":"La identificación del rol regresa a su estado elevado."}]},"$rolePosition":{"descriptionHash":"9fe5c8668a79d8ba4750026f668c86547fa07ed4d6e93cd51cb04ee1af53f5c0","description":"Devuelve la posición del ID del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"a51e74e8f88e7d5d9447c265e134ec8ede73fb6d114fb56920710c470f3ae78a","description":"El ID del rol devuelve su posición."},{"nameHash":"aec824ae9b386d3d1e6e6b90180d038fee69ef54b13b517c97d47cc84f43f99d","name":"orden asc","descriptionHash":"b6f3b9e041c04634a29dc1890b12ade8a20a82868731cf1ff18f8feb37e2e22d","description":"Si se deben contar los identificadores de roles en orden ascendente (de arriba a abajo)"}]},"$roleNames":{"descriptionHash":"c153d376ae706f5b6ce3e73660e783941b25af49eb6b3cf05692a60eac5f1194","description":"Devuelve los nombres de identificación de rol de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"75971d70efd5e57b8016e8a110dc3e060980bf3675d65710c6fb072bfb981d27","description":"El servidor que devolverá los identificadores de rol de"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"b76e4c2a159dcfcbde4a591111d7a3645232b8039d2c775240fc907ee24bf3da","description":"El separador a utilizar para cada ID de rol."}]},"$roleMembers":{"descriptionHash":"38f47859ec8de1791a7c421d1466d56e416bf681ec1a4a76466785bbb59ddca9","description":"Devuelve los ID de los miembros del ID de rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"c6ccbc787de826c122dc72816206e1800731e1ab14bc2fe164e6c8f36a2398e3","description":"El rol id devuelve a sus miembros."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"dfd3022d878accb5db22e62e1c3bb93685e9d6ab1d51ee2d19df195e99728cd4","description":"El separador a utilizar para cada miembro."}]},"$roleFlags":{"descriptionHash":"a22737e5be9ffb933a082c0313416993c48cb522a6f1b181dd3d3b7e4ed4e839","description":"Devuelve las banderas de identificación del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"2c1b99c6bb46a8cf4c3cb1e507f89fda40898307fc387e8c8075446b9ef31330","description":"La identificación del rol devuelve sus banderas."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3f23b0f3431207b3df65a3647bbce5d3ca1556adb96f726d40e59c56fb669f40","description":"El separador a utilizar para cada bandera."}]},"$roleMentionable":{"descriptionHash":"b60867dea6823b02ac1bfd68c6bb85bdef9b3afec5eb1af4214d99507e9892ba","description":"Devuelve si la identificación del rol es mencionable.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"2ef4a09fc29432bed3dd700e05c303a4fcf2c9ee71b50faeb4febb922a8e89e1","description":"La identificación del rol devuelve su estado mencionable."}]},"$rolePerms":{"descriptionHash":"dcd71a07374641579083d8945ccfd6c945fddf51eb1d51fd5506749e54504033","description":"Devuelve los permisos de identificación del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"a0a14dd7aff9a546c08bc6329e3c8c728ed12589bf04e98252eb03aa78ccfa1f","description":"La identificación del rol devuelve sus permisos."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"037716f5dcfaef037c6ea1edb85e05787c5f97584634e5a36c08665e3fd13cdc","description":"El separador a utilizar para cada permiso."}]},"$roleTags":{"descriptionHash":"28d7fc6afcbcb61e3233e02c87c655d863277d60f6c804ad418a8730d187110a","description":"Devuelve todas las etiquetas de identificación de roles","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"a0a14dd7aff9a546c08bc6329e3c8c728ed12589bf04e98252eb03aa78ccfa1f","description":"La identificación del rol devuelve sus permisos."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"037716f5dcfaef037c6ea1edb85e05787c5f97584634e5a36c08665e3fd13cdc","description":"El separador a utilizar para cada permiso."}]},"$roleIcon":{"descriptionHash":"5cdbe01942cfb6f2ab3f66631591cd77b3812194864ce74ba0650f2e82219cb7","description":"Devuelve el icono de identificación del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"6f212136cbe68365e1663570c7d4a92522f7751aee18364aee8fda621cd8dbac","description":"El servidor del que recuperar la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"d5f042a06d5b33d4b396e1f7e813517baf275b7ca65878786b38889c78d6d4ad","description":"La identificación del rol que se usará para obtener su ícono."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$newScheduledEvent":{"descriptionHash":"43452f9199e181df5958effda350af8f362736782526339b4095e5582b0b3387","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de evento programada","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$roleUnicodeEmoji":{"descriptionHash":"f1d4a9e1aff337f9c3a55f6b7d6ff2224c8370ace58321038f36857b76fab5af","description":"Devuelve el emoji Unicode utilizado por la identificación del rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"21808bb2b307478d698027e3fb95215a9c18cb40f66a337e92ad4a8e1ccf9c8b","description":"La identificación del servidor desde la que devolver la identificación del rol."},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"72c49eb10833017056c868f6b11506f47dfa9ef8269d9a6104ada370fd9ad1e3","description":"El identificador de rol devuelve su gesto Unicode."}]},"$bulk":{"descriptionHash":"87e4226767d27f492f53d86c845edcd289a404893cc183dfb85606a4c9686123","description":"Recupera datos de un evento cuyo contexto fue un evento de eliminación masiva","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newSticker":{"descriptionHash":"222e22bf488776933381cf0e06e7f80daeab41897db788b01b0deb7053b1e83c","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de etiqueta","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newMessage":{"descriptionHash":"2ac9bed30a1c8e39a756c55f1d489a4abba5903ed7d636236665a3d1f7119fc0","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de mensaje","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newRole":{"descriptionHash":"082dd82734b4dbc65db5d040a5a785cdbb083c5d726b0b46ae669c35a2a16bb4","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de identificación de rol","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newMember":{"descriptionHash":"98a18e784b4ff1d7056d970f136dbadd46ebcb4b8c631c46b57e3c283a023b75","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de miembro del servidor","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newInvite":{"descriptionHash":"b4d9efe4f3166810c015aec6da97f65601e2b1adfb76a86be9620a1923ae5c12","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de invitación","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newGuild":{"descriptionHash":"9d364c90c9b06f2a1621dc2a133261e03f9ecb4cd8c5384bddeb2e1e5f1fd4a7","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de servidor","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newStage":{"descriptionHash":"75bb96f081eb7ee14943de71eb3e4cf8f41735dd14f99f965dfcfc6ca61d345b","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de etapa","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newChannel":{"descriptionHash":"dd0c202c2ba0a4c84c6fa16f74a43524fc2d824651184a9e756963e38a9cb714","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de canal","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newState":{"descriptionHash":"6f6280fc7ef832560da8c03724f031192e5e1a5cc161765b61447d027e437fb8","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de estado de voz","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newEmoji":{"descriptionHash":"bbef0f3e3d7f2e4622028156c6ac6c958bfd8cc8ffe7d0e8d89e97148def6955","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de emoji","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newPresence":{"descriptionHash":"63b8c4edb7500a719f4ace6422f15093649131b2bde4a3a8ee889f12dcd44a3e","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de presencia.","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$auditLog":{"descriptionHash":"eee31d712b67e40f1b0c7ff17ffa5a2d88fc8eda75a9c1efe3a6336bcc3d9cd9","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de registro de auditoría","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldInvite":{"descriptionHash":"617392902de904e74ec5e55db821c045a736fa3ced6a116a77034b248aa2d2b0","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de invitación.","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$newUser":{"descriptionHash":"14cecaba67e97ad82dd1ad471bdb33759cab48657668804aff7385580fd49106","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de usuario","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$async":{"descriptionHash":"01970b49687f3ee18c320656a0438468916e87efd3eacc6a2869ccee3ae6d8c4","description":"Ejecuta el código de forma asincrónica, no devolverá ningún valor.","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c05ee68cb87ee70267edf946f353e819983a85d3563d3c921e49e8305d8bcdf9","description":"El código a ejecutar"}]},"$oldUser":{"descriptionHash":"41e8fb930bb592322640360f8e1461cfaddd333952638af9e4ce5cbb6c5b429d","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de usuario","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldGuild":{"descriptionHash":"f8c8368d56dcde2a921671f1b1b50556d8150fd0e7d2dbb80aa30aa7efcc21be","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de servidor","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldChannel":{"descriptionHash":"5547d79dde553d1d86843421d25c831601e89442cef5d2f57b67fcb90f902842","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de canal","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldSticker":{"descriptionHash":"fe12294c4f0b81311c825fdb571bcb4d430850f608063945952e9151706bac11","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de etiqueta","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldScheduledEvent":{"descriptionHash":"2a58b6776adc1640c4048d555769da61cd47dbfd4db18e6b7a112c13e440efc7","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de evento programada","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldEmoji":{"descriptionHash":"d263dd7b256f27fd2dbb2380738984d37a068c9177516e27cb6f19368aa3c197","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de emoji","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldRole":{"descriptionHash":"f89ee8d5f760e527e9b628cb38165277a90f984faee037cf7d3c2a2d3a16deed","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de identificación de rol","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldState":{"descriptionHash":"ace2b463792c814214ebbafb43a55c48072e8ccb11bd8558c55edef0fb2ea3cd","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de estado de voz.","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldStage":{"descriptionHash":"804648e627320c599fe565e35457cf8132072b81c61568b1a6917149410526de","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de etapa","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldPresence":{"descriptionHash":"7d491b9d09f996567d7cb9c4667a2e686b4291c86c273cb0bfab9010fc764d70","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de presencia.","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldMessage":{"descriptionHash":"ff34a2bf8d397e9e87d9838b68e02b4e7e5abf28d2b94e314325d231fc4049c9","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de mensaje","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldMember":{"descriptionHash":"bc639409e41f939753b1e97a6e6e5ad8b60fc898b5686202f2da4b4a770ab9f1","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de miembro del servidor","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$continue":{"descriptionHash":"b87e4b46b3b1ee99980e5b338c08dc8bb5c80dd30c06876238dc5aee711220a1","description":"Salta la ejecución del código inferior del bucle."},"$break":{"descriptionHash":"9d168e5b2fd238374c392b18add7e5ad3ce10630aadd438054f6ae9a7b147e43","description":"Rompe el bucle"},"$ifx":{"descriptionHash":"1a58dc1f2fb1d0680f2d5f981a5a222eb834d2bb2890ecd116212c474aa52cda","description":"WIP si declaraciones","fields":[{"nameHash":"496aca80e4d8f29fb8e8cd816c3afb48d3f103970b3a2ee1600c08ca67326dee","name":"bloquear","descriptionHash":"349f6913eca84f9c188650f3deb23002074f39407d252aa91e3dd763a2ac17e7","description":"Los bloques if, elseif, else"}]},"$scope":{"descriptionHash":"840f9e4ff79ca9a01af642dd3044ef760846cd4edbe8399299d48dcd068de039","description":"Ejecuta funciones en un contexto clonado.","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c05ee68cb87ee70267edf946f353e819983a85d3563d3c921e49e8305d8bcdf9","description":"El código a ejecutar"},{"nameHash":"2d8845a04cf6d541ae6ba718cc6c19eccfa453cdeee98f4c3115df74a8a06a77","name":"variables de sincronización","descriptionHash":"a364df9c093fbbef334fe835042ed2c77842fc469e7cfe72cff64bd14f972a97","description":"Ya sea para pasar vars como referencia"}]},"$return":{"descriptionHash":"847a267a5759276417186ab5618c36e8dfdd66bca29e41adae4854affb43f43f","description":"Devuelve un valor","fields":[{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"cba13b7ef7ee2a6da012340c0973098b0cce6838a39cad42b635daf6b4e2512e","description":"El valor a devolver"}]},"$elseIf":{"descriptionHash":"f7d5e158914f249b8e8f346b31a2bec3c5b2a84e95584c40d0b3b1d975570bef","description":"Crea una declaración else if","fields":[{"nameHash":"596d40a4ed24c02a31b19d6e633f46f64304a672b40f793d8c6deab868beb0e2","name":"condición","descriptionHash":"e6ba966791db59b24dc580d2db2d3bea175c7aa30d5bffef43745162a3e99a8c","description":"La condición a comparar"},{"nameHash":"5d39f88d4c8a675d787eae492e8cf68114f308bc6f3cd4bb9d65381225ada9ca","name":"si es verdad","descriptionHash":"f656fe62d58f6037475f103ab2b2e64fe4ac79a241d9c9832aacb7f3e091831c","description":"El código a ejecutar si es verdadero."}]},"$else":{"descriptionHash":"0766a7ac7d6f6119bb9d9919046e6497bb67d09a33529e3c4680222e5ca51531","description":"Crea una declaración else","fields":[{"nameHash":"7dd530c4d36da47cd33396718ef1fa1e8c0f7d91ee551d7fdc1c73aa65edb454","name":"demás","descriptionHash":"93e5f9b91d696f3aa04941e8f29a4581087348afeb5c5c4b825e595af3bc4eee","description":"El código a ejecutar"}]},"$switch":{"descriptionHash":"fc5415b54f554584bbe9b35b78fb503c07e251e56d7bd3a65dac967747aad7a5","description":"Declaración de cambio de caso para javascript","fields":[{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"ffc7f0f8eab26041fbc48fb4ecd3f32e6dba4ac8db0266d3d3a6b4ef37a226c4","description":"El valor a coincidir con"},{"nameHash":"352b84777d8dd96ac9c0b3c170ecb2c7cca7fc2dbae41a1ec1ed4286fb2c43db","name":"casos","descriptionHash":"a3cdcbeac8b47f84033477e43c8a50b18f7fcd33af391cb8d15c10c7cf54fd18","description":"Los casos a usar ($case), use $case[default;...] para agregar un caso predeterminado"}]},"$default":{"descriptionHash":"509f9d0b1f4ed95495f72c7a0f15a53e8d0e446de7be43bcda24708af9744d95","description":"Devuelve el valor de la derecha si el valor de la izquierda es falso","fields":[{"nameHash":"c5abc90d596a418c0394a2b12e53eb534c9bc74f031e032458446eb24bc2bc80","name":"mano izquierda","descriptionHash":"0298dcd86748c3c56a8e2bbeb4cccd1674c252c482adce9ebaaf9827fb9b822b","description":"Valor de la mano izquierda"},{"nameHash":"96f76c40fbcb1b8ea1d903a2437d08f424ea007fe03f0b352bc3c3079ba7ecfd","name":"mano derecha","descriptionHash":"87b84563179083b776439ccae91045c6e13b0b588c8f07ed926ba0b45a9c1d06","description":"valor de la mano derecha"}]},"$if":{"descriptionHash":"e496543f5a23facdf21c84db30eefa270fb7a997647e4a088dc49cd15e80a590","description":"Crea una declaración if","fields":[{"nameHash":"596d40a4ed24c02a31b19d6e633f46f64304a672b40f793d8c6deab868beb0e2","name":"condición","descriptionHash":"e6ba966791db59b24dc580d2db2d3bea175c7aa30d5bffef43745162a3e99a8c","description":"La condición a comparar"},{"nameHash":"5d39f88d4c8a675d787eae492e8cf68114f308bc6f3cd4bb9d65381225ada9ca","name":"si es verdad","descriptionHash":"f656fe62d58f6037475f103ab2b2e64fe4ac79a241d9c9832aacb7f3e091831c","description":"El código a ejecutar si es verdadero."},{"nameHash":"82e2ecedacc5f7325a4c6b16fa4bac206b282f5a9130d8b78f9cbe741076b993","name":"si es falso","descriptionHash":"0e38681b32d37b1d9b96ef62551565a245cdfffe5ca2eb6447274d52b8e1b7a9","description":"El código a ejecutar si es falso"}]},"$while":{"descriptionHash":"468b96cd9adf3550fa4ca689610db3c7dca9268e25b4b4f359eab21ffddb105f","description":"Ejecuta código mientras una condición es verdadera.","fields":[{"nameHash":"596d40a4ed24c02a31b19d6e633f46f64304a672b40f793d8c6deab868beb0e2","name":"condición","descriptionHash":"ab6918c46b6bda148686440313aef734d5db584d654696fc9892c98b1b1246da","description":"La condición para validar"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c05ee68cb87ee70267edf946f353e819983a85d3563d3c921e49e8305d8bcdf9","description":"El código a ejecutar"}]},"$case":{"descriptionHash":"abb8972074f02e53b696e95b90d810585ffb255a49b05a1f639f44a5506a4fbc","description":"Agrega una caja de interruptor","fields":[{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"0aa6211d8332577c08ada2a53dbfaedf8b9199d8acffea574be2d740bf32392a","description":"El caso del partido"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"b8680bbf3814c501c95376a1b162107c132d2e0351a65d5c3d80e4dde72af093","description":"Código a ejecutar si coincide con este caso"}]},"$loop":{"descriptionHash":"1b2d57eb185b26441e47d8c2ae49a5792e8eaf2d68eb979acc75d86cc5192cf9","description":"Ejecuta el código dado N veces.","fields":[{"nameHash":"2bf61a3bc850596a77a73c6a9fd279d593974b093bf223fd591e6f052dcaf0e0","name":"veces","descriptionHash":"dbccd488dc556ef5673fed8bcc009610d424de29604d1fc09ac90921a6badf22","description":"¿Cuántas veces ejecutar el código?"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c05ee68cb87ee70267edf946f353e819983a85d3563d3c921e49e8305d8bcdf9","description":"El código a ejecutar"},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"23c5f5ea53344f9f6f674cded3a91c5528a3e9ec324fbd40bced36338eb24cff","description":"La variable para cargar el recuento de iteraciones actual para $env"},{"nameHash":"97864e878fe129a3d4c35681c3ad4b12743f04f7cd705643f2fa1142dfede601","name":"descomunal","descriptionHash":"696ee17028b0916edd4ab967849bb106b119cdd60a74aa18c41002bfd9409616","description":"Si utilizar el pedido Desc para el recuento de iteraciones"}]},"$try":{"descriptionHash":"8eeddc0a92906b03059cd6d3513e40aa2898e2217fae0f4f3b1d96cf7c997e59","description":"Maneja un posible error del código dado","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"e323c00b676a20f66b1b47439c94da26a542aac07dd34645ba9a7ab31abe1a51","description":"El código para ejecutar de forma segura"},{"nameHash":"0b47b8cd06c0f02d132a9c871f55c9b781e09d2d27795eec53ba11e7269b0efb","name":"código de captura","descriptionHash":"427a1abbb9af9f109aae5756135c7dff06eb2754ec59bd26418b40ba012102eb","description":"El código a ejecutar en caso de error."},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"de694ffdc7c15f17593e0297ae0e420eaaf6a2955de902834631ccf7f38f26f4","description":"Variable para cargar el mensaje de error"}]},"$addSticker":{"descriptionHash":"0481e8b2609f0612334d6596a6bd26977e7436b47ccd92afcc44f434695ac3d3","description":"Agrega una etiqueta a un servidor, devuelve la identificación de la etiqueta","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"5d85ec8772440a21bf1bf5563dc04061ffbb32e4d397644cc227c4825994dc7a","description":"El servidor al que agregar la etiqueta"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"0fcd6a1f812bd449104c297b729faf4e4aa5906371b2eaab876d308e6137fd82","description":"La URL o ruta del archivo de esta pegatina."},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"b05f6f882d69cdab41b8533c7c92206fb5c889778afccdc09fe11a982d86fa0d","description":"El nombre de la pegatina"},{"nameHash":"978c2f8941354cf552831bb8b5b648bb3748e83f5d0a69e3301569af01e1de93","name":"etiquetas","descriptionHash":"5cca918f5f61c40e2fe3534c03fb63127361b0e36121308a69edfead2448c13a","description":"Las etiquetas a utilizar para esta pegatina."},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"0e9f02339920367bebaa846c02a67f6b53e6c093f7da29d81a478d69579c7b14","description":"La descripción de la pegatina."}]},"$randomUUID":{"descriptionHash":"6aedf16c6bfa8f900e0b78158ca761fbfbce67d93cdfe580f8c7f0adff1bf0ae","description":"Devuelve un uuid aleatorio"},"$fromCharCode":{"descriptionHash":"46df0bde251d455b0d0544ead6af7b2b5216789345ce605e83079bc200e7a957","description":"Devuelve los caracteres de los códigos dados.","fields":[{"nameHash":"64a7994c6feb92d40f0c88d34e120cf1a01b6e36af329ab2f2444a8c0e4a2043","name":"códigos","descriptionHash":"f399d0138c034cfe9e71e20abeb175fcd06b186434402783b6a47a1140786ade","description":"Los códigos para obtener sus códigos de caracteres."}]},"$randomText":{"descriptionHash":"a3e50a11fdb5546e0bb91f693d6111284a44e1126c7e0957b7d3f7e5f18a4990","description":"Devuelve un texto aleatorio (sin caché)","fields":[{"nameHash":"a4b992ab42964e5b7112ad2609ec66bcec05b99340bbb063ec00a52af5ea9d3d","name":"textos","descriptionHash":"15bd7ce6dcace669a1c0fdc3ebdd802240caab9c448664662f9f7280323a5098","description":"Los textos a utilizar"}]},"$charCount":{"descriptionHash":"7bd81ff5f5af3332fe27ad017d8b2db156a64921579e2763981341f6260f72a6","description":"Obtiene el recuento de caracteres de un texto.","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"5ea8bab9f7fb97d4f563837a33996af3b35a0a8a95d85fd45c84bea59aca8cb2","description":"El texto para obtener su longitud."},{"nameHash":"411b0496da5eeced5314a3b5e9532bac97008d09ce9969ab4fa6a52b8c7ef634","name":"carbonizarse","descriptionHash":"0b09a04ec4d4158c643417dc1976aa89c352d516f1005f9e2414d4fc575b3149","description":"El carácter a contar en el texto."}]},"$argCount":{"descriptionHash":"33f79d98c05919718292d7378d617486279e33eb3726f3cd302e286158bfad9c","description":"Cuenta el número de argumentos en un mensaje.","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"7710bb923e2b8aaec4ff0b8cd5304f94c76a51d09254331f9eee42a3a390ac1a","description":"Texto para contar argumentos"}]},"$endsWith":{"descriptionHash":"13565c472c55763a682e9a71f09224bb2eea48cee8920fad7c923a42c61fb713","description":"Comprueba si la cadena dada termina con la cadena X","fields":[{"nameHash":"473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8","name":"cadena","descriptionHash":"e8514dd967c476781cd3757aa29effd328525087c77568fe523a75dd2872a4d4","description":"La cadena a comparar"},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"56de82526791c685d13fff3e97600f7b9296978f2037fb0bd5e72882b80c98a4","description":"Los valores a coincidir al final."}]},"$deleteStickers":{"descriptionHash":"32b14b60e57dfa52e802bc34211efadb249f8871f538caaab1dfcd091843be74","description":"Elimina las pegatinas dadas, devuelve el recuento de pegatinas eliminadas","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"13255ea96c4d3dfd902bb247ff4b1684039a633144724d9236bcd4d5c73d4666","description":"El servidor para eliminar stickers"},{"nameHash":"9ff45e6119eb6504c6b9bc804557bea04024d02f8234bb7b4481a8058afdf7a0","name":"pegatinas","descriptionHash":"ca5ee490e4d1c842c47bc7501a35c29314a0f81e7c9e5e4ca75df8640f90bc12","description":"Los stickers para borrar"}]},"$charCodeAt":{"descriptionHash":"72cb940372bada7d7cce2d57eedeb5bb7cde770dc30eafb6c5f655efd64b8d3e","description":"Devuelve el código de carácter en el índice dado","fields":[{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"ddb222dab0390c9ddb5986971c0c7fed76bc5831152b2d1e9b97f215136e3674","description":"La cadena para obtener el código de caracteres"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"729f3a118b3dbc7b51e4b4ce04cee24f0e85a51a4410ba7c1792079278b2b31b","description":"El índice para obtener su código de caracteres."}]},"$checkContains":{"descriptionHash":"af209f31a98e0634d3138226b3eba9b18ae487daa02ff5088384a96ad53a1f3a","description":"Comprueba si una cadena contiene un conjunto de otras cadenas","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"7db522c0b00e44d1a745d50db330eb4014458e70706c2df48d8c77687ecdc580","description":"El texto a comprobar"},{"nameHash":"a54084383e3cf7c246307c0f656da443a587afe30dd18a1878c2fcad9db93da4","name":"partidos","descriptionHash":"e2eae629064f5bb3043d3dfc36f9b37bb0aaaeba9e1fb0ff3e7f2534ef08c70e","description":"La lista de cadenas para intentar hacer coincidir"}]},"$randomString":{"descriptionHash":"936ae35282024e90ec9cc69f9e8fc5d9c8a34adaca59a4721a4c52a385bf4566","description":"Crea una cadena aleatoria","fields":[{"nameHash":"0f82aca66af91493b1ff401de5f1f7e3e24e14560df3f6f7e465dbc915b9947d","name":"longitud","descriptionHash":"adbac6af3fefc72a7778974b108f84a45d56738612611cdd1c95e482f042466c","description":"La longitud de la cadena aleatoria."},{"nameHash":"25d939ffd0d79b7328ebafc63dd846048db94f1b7f2b2a21ddb77fc4cd54293a","name":"caracteres","descriptionHash":"3f9cf611830f2b27a9957aa199f00c6328b03d1df79b6173d603e745900c1dd3","description":"Los caracteres a utilizar para esta cadena."}]},"$repeat":{"descriptionHash":"9246663e4c22c80b366c7b930dc7b02f7481871f5799e8e34f80d3ff7d7ec02e","description":"Repite el texto dado x veces","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"f55aaefdca5f44e2b385e491f39c6b6998d7c487dda1fbe4733ba0aab7b0b32e","description":"El texto a repetir"},{"nameHash":"cf38d95c9c6b1d9d5125c04d41a54df57727ef4cfb3f5116a602fe2b25115c13","name":"cantidad","descriptionHash":"9e22042fd4b66f17974ffd982b0a1982e68152efa94b7d9742ed50631d726d39","description":"Cuantas veces repetir este texto"}]},"$padEnd":{"descriptionHash":"ad52695b1c0047724cfe999dae287c5e84f66c5e94c8c35801c4eeb43d54b805","description":"Rellena una cuerda al final","fields":[{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"4bf9e2074a3b6059e146ab12b45a501f4a674f1b40b50c1a631ad539763940bb","description":"La cuerda para rellenar al final."},{"nameHash":"5e465cb3cc7071cc980e3ba258f99f53e802b39c8e10c1ddf1ecc962c6a5dceb","name":"longitud máxima","descriptionHash":"b940d474f86d8bd5ab54f02b55d27c982801b33a3b4d2f2f9978711eb7ec5d2d","description":"La longitud máxima de la cuerda."},{"nameHash":"e3f203a89cd90e2717b2f83fb184bc04493f6080010ed32f48a06e7fff1e975a","name":"relleno","descriptionHash":"c885647c5387b1f41fd6548ba2ea5517117a1f93b402790d42ded0b1e15dde9c","description":"El relleno a utilizar para rellenar."}]},"$cropText":{"descriptionHash":"8abf15c5c971e66b8398dc81e6ae4f416ef25ee0c6781ac4aa4ece1fc753fa7c","description":"Cultivos con texto dado","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"2ba2405b46d287e6ccc538a7118e1c0bb7ee6664c5d64df396b6e54220d0675b","description":"El texto a recortar"},{"nameHash":"e58475e63e84f412df83d0c23b019acf9d29f3c31f17ed13cfea92c559d96ef7","name":"Índice de comienzo","descriptionHash":"7e6750263e2f916b5444a9a37da64e2bbe5694d311cb098adfb3293111687003","description":"El índice inicial para comenzar a recortar."},{"nameHash":"1facfbb48b6cb5b9580176a913d252b1be9b410fa111fc08fafd0ad39a1be902","name":"índice final","descriptionHash":"9394166321420d701be101e7a941888219a0d90d0a69a1616b5066f2ff6ea6d9","description":"El índice final para terminar de recortar."},{"nameHash":"063a4c32864519ab1ced31aa495ec06b1486bcd9ff614ca38179a5842f84970b","name":"finalizando","descriptionHash":"125fb04b2d328c1c64b164f6a44759d53435e18bc78965f6d37a263148411180","description":"Añadir texto extra al final"}]},"$replace":{"descriptionHash":"fbd21ff44c1d33062fa97c37dd4c229b18fb23d5a6e8a8853f5562fc59b6a246","description":"Reemplazar texto en una cadena","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"d7d0cf1ddc10897db27ff2ad894f821220c7e0c11d7fac947e564ca079c6bacd","description":"El texto base"},{"nameHash":"4945a70fa7f9c13fe1931a3372ac5798140d42eba74d0dd805a4a216ed3a8142","name":"fósforo","descriptionHash":"bb15d30b476de05fe9287b9da5c58b57c38c2782daae34f0fbfcf4be83e9d1e6","description":"Texto para que coincida en la base"},{"nameHash":"9c51d0b0f64dfb3662ed85ce945dd1e8f6130665c289754e4e9257a58013e61d","name":"nuevo valor","descriptionHash":"9babea4233cfcec75208bb6269c65d873008cb15ef98ad40f9a7929c5cda5c6f","description":"El texto a reemplazar coincide con"},{"nameHash":"cf38d95c9c6b1d9d5125c04d41a54df57727ef4cfb3f5116a602fe2b25115c13","name":"cantidad","descriptionHash":"847be2ffab083d0785e432eba2d59159ac8ee47ee884fc175b43d68a21dc2975","description":"¿Cuántas veces realizar este reemplazo?"}]},"$padStart":{"descriptionHash":"f519e8401967950654398e2e09a26f4254e7b7ddb3bf4c1a505807096f5ed3b1","description":"Rellena una cuerda al principio","fields":[{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"0779de7d0c03f766ef39b1c1e8c3bbfb01ffc4b4d786aa0cdbdbbce82bd95e56","description":"La cuerda para rellenar al principio."},{"nameHash":"5e465cb3cc7071cc980e3ba258f99f53e802b39c8e10c1ddf1ecc962c6a5dceb","name":"longitud máxima","descriptionHash":"b940d474f86d8bd5ab54f02b55d27c982801b33a3b4d2f2f9978711eb7ec5d2d","description":"La longitud máxima de la cuerda."},{"nameHash":"e3f203a89cd90e2717b2f83fb184bc04493f6080010ed32f48a06e7fff1e975a","name":"relleno","descriptionHash":"c885647c5387b1f41fd6548ba2ea5517117a1f93b402790d42ded0b1e15dde9c","description":"El relleno a utilizar para rellenar."}]},"$cpuArch":{"descriptionHash":"bb68b5e1070b0559e783dde1b463478ad93a537bc3bc284f7385036aa04a2a88","description":"Devuelve la arquitectura de la CPU."},"$cpu":{"descriptionHash":"33c4becc7cf46f634c48c0014df1b73d22c342db9fcf623f50f394d73a18711b","description":"Devuelve el uso de CPU del host (no es exacto)"},"$snowflake":{"descriptionHash":"50374a74c1180f129c779675cde41466e6e98bdafe23fd5394cb21f01fc59377","description":"Genera un copo de nieve, este valor nunca chocará"},"$toUpperCase":{"descriptionHash":"63f1936bc005415febf44e0afccf90d70317f8e9a30a35369198f7cb5025193e","description":"Pone una cadena en mayúsculas","fields":[{"nameHash":"473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8","name":"cadena","descriptionHash":"1718dc6ea04f13221730d5181dca172dc144df038cddbbd0bdafbbb0fb6b88a7","description":"La cadena para poner en mayúsculas."}]},"$toKebabCase":{"descriptionHash":"53bc0f38cc7b6021ed2f0bfa84e7bbc20e5219bc179e5f9c7e82ea7c9dea2044","description":"Convierte una cuerda en un estuche de kebab.","fields":[{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"89efe4ad9710906bb4bf442a8d8acc7520dc551908a8e268b0d9daf34c2781d2","description":"La cuerda para girar el estuche de kebab."}]},"$toTitleCase":{"descriptionHash":"84e230bf5a381725ee06fb4ec60d04c8cdf12c13a3b689d9ca119ad40c74716c","description":"Convierte una cadena a mayúsculas y minúsculas","fields":[{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"a8131f35d5b2fde11d0bf6b0c3741405601477ce02f1c9cbf530f3335804c484","description":"La cadena para convertir el título en mayúsculas."}]},"$toCamelCase":{"descriptionHash":"48a6fbddd8e45eb2d22fd2dc1555243036636bc926bf6dd4c27e736a23de5a25","description":"Convierte una cadena en caso camello","fields":[{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"0ab5c7685c0bc8bf868f0772f68a17a2bdfdee172be6b3387c78b3274906c7a4","description":"La cuerda para girar el caso camello."}]},"$trim":{"descriptionHash":"8ce245541db789f5fc0fb2cd4a371d50b65358871e2c8ddeb487effa45540372","description":"Recorta una cuerda","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"e406a5f06e6864974e2eb16c79c862287de6144e894d2e2aa0b0b0245470691a","description":"El texto a recortar"}]},"$trimStart":{"descriptionHash":"df951bebe55c2c76b1a3379589a582764022fe29dc8a5816bb68a6f0eb563556","description":"Recortes al inicio de una cuerda.","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"7a611d67707dda0159e7f4e0d8dd22432332996e5985318775741190b761ba66","description":"El texto a recortar al inicio."}]},"$trimEnd":{"descriptionHash":"4d7339b2daa9b894fcd81be5dae6dc8439f06183f1de206b83d3847a8c833f64","description":"Recortes al final de una cuerda.","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"d0d31eb440e06a0f1748b37ff6bf3f88e95560f6213527dc7598b381cdf00324","description":"El texto a recortar al final."}]},"$toSnakeCase":{"descriptionHash":"62ee1f73559f2382c5bb6c40172747045839443ccd92c8d604a6c58b8067bdae","description":"Convierte una cadena en una caja de serpiente.","fields":[{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"2fc6693bb48cc94d09f194f77c61f1265ece6ac65f8885345738c8c7f674051a","description":"La cuerda para girar el caso de la serpiente."}]},"$toLowerCase":{"descriptionHash":"163057ffa70ebd7249dcf8f3ab238bde632c548bb3426cb6a440c202f36822e5","description":"Hace una cadena en minúscula","fields":[{"nameHash":"473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8","name":"cadena","descriptionHash":"313c4978dbf376b9c3ad77be8964ecd9dd8b6927a4541b94db9860156295a0c6","description":"La cadena para pasar a minúsculas."}]},"$startsWith":{"descriptionHash":"7180f17523690fe3cecb8dcd82d1d048f96b834f63b590f6a6839140b9017ce4","description":"Comprueba si la cadena dada comienza con la cadena X","fields":[{"nameHash":"473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8","name":"cadena","descriptionHash":"e8514dd967c476781cd3757aa29effd328525087c77568fe523a75dd2872a4d4","description":"La cadena a comparar"},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"3e3241b950678d49dfcc2abf789f4f3c9e7d2549bee945eb75920b1e0c0603e1","description":"Los valores a igualar al inicio."}]},"$sliceText":{"descriptionHash":"c0d9caba80aa89e6a5a65d2fdbd95d08af68141d30b4cbc0c833d418e9e0d4e1","description":"Rebanadas de texto dado","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"8af22235cafef0aa01b91497db67fe2b0c722edd94f31f980af4051af0bc3774","description":"El texto a cortar"},{"nameHash":"cced28c6dc3f99c2396a5eaad732bf6b28142335892b1cd0e6af6cdb53f5ccfa","name":"comenzar","descriptionHash":"fc9d6ee6740f3a3e55ec039a764dfbd2f63f4127041b459f11864c61adf08520","description":"El índice de inicio"},{"nameHash":"361e48d0308f20e32dba5fb56328baf18d72ef0ccb43b84f5c262d2a6a1fc6c8","name":"fin","descriptionHash":"c1effe2086fa18f5f6824cb2c2a45a63f6f52640e9a0df1af651808365768ff1","description":"El índice final"}]},"$replaceRegex":{"descriptionHash":"36295f3f050df81c1f5e12335741a72553fb494a77406ec6588da06e7837e83b","description":"Reemplazar texto en una cadena usando expresiones regulares","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"d7d0cf1ddc10897db27ff2ad894f821220c7e0c11d7fac947e564ca079c6bacd","description":"El texto base"},{"nameHash":"4945a70fa7f9c13fe1931a3372ac5798140d42eba74d0dd805a4a216ed3a8142","name":"fósforo","descriptionHash":"10932cd2167ea6926e4f61ccc322d6720a70e9438416ae7f5b224ee63e1dcb59","description":"Regex para que coincida en la base"},{"nameHash":"2934fb49d6b38adef036c28fac69f188feae09259f3184e6d9cfbd0f35454fec","name":"banderas","descriptionHash":"fd5b8d4c0311e347e619f73eab9b9b0e71319db140c4da754d3c3c4f914c7cb9","description":"Las banderas a usar para la expresión regular."},{"nameHash":"9c51d0b0f64dfb3662ed85ce945dd1e8f6130665c289754e4e9257a58013e61d","name":"nuevo valor","descriptionHash":"9babea4233cfcec75208bb6269c65d873008cb15ef98ad40f9a7929c5cda5c6f","description":"El texto a reemplazar coincide con"},{"nameHash":"cf38d95c9c6b1d9d5125c04d41a54df57727ef4cfb3f5116a602fe2b25115c13","name":"cantidad","descriptionHash":"847be2ffab083d0785e432eba2d59159ac8ee47ee884fc175b43d68a21dc2975","description":"¿Cuántas veces realizar este reemplazo?"}]},"$cpuCores":{"descriptionHash":"c08977a4518b91521a6d45c9f7457788456b41689e8e52953c63168f9f12ed2b","description":"Devuelve la cantidad de núcleos de CPU."},"$cpuModel":{"descriptionHash":"1a426d40b76b25551a5f72d9cbe60557b211c14e9c4dc480d3bfc8f464466026","description":"Devuelve el modelo de CPU"},"$hour":{"descriptionHash":"591f16a7990641107a6b27d53462acbc135cdc2b7824c8f64c2216c0f608b699","description":"Devuelve la hora actual","fields":[{"nameHash":"e904c9ccfa425ff0b055d2c533462314d35a529b055e8abe41d49bb46d827427","name":"formato","descriptionHash":"b53d427d9eb12a76780c299fbc3a360579460a4d3b189d25febfecdaf2303064","description":"El formato de la hora."}]},"$osUptime":{"descriptionHash":"bb5604a65ebd97e775ce672417afd87136f89cd075b0a59bdd1e901ae938dc99","description":"Devuelve el tiempo de actividad del sistema operativo (segundos)"},"$month":{"descriptionHash":"a483fce7be1281f2aabeceb44f9f4ffe91a6e18a3b71d993e60e9f5004be445a","description":"Devuelve el mes actual","fields":[{"nameHash":"e904c9ccfa425ff0b055d2c533462314d35a529b055e8abe41d49bb46d827427","name":"formato","descriptionHash":"dc50f0d9f73fb8834cff59899d49dc2d81043ee53cbab8d72a221b695954a3ef","description":"El formato del mes."}]},"$getTimestamp":{"descriptionHash":"edbd402bf99c098656050eba12f2318de8a65a21a88de26a890b3cbcb3b2e931","description":"Obtiene la marca de tiempo actual"},"$minute":{"descriptionHash":"fc077dea73300f771290f29205cfb4ba9e7bfd4507682b688d2ef90cb6adbd30","description":"Devuelve el minuto actual","fields":[{"nameHash":"e904c9ccfa425ff0b055d2c533462314d35a529b055e8abe41d49bb46d827427","name":"formato","descriptionHash":"4cd6766a367e9bd4776bc349e4a6d9357489f55a77cdb020561c8c5a196d0d78","description":"El formato del minuto."}]},"$nodeVersion":{"descriptionHash":"daa64aeeeb6c2fb0365460ecb0a1fcec5aa83a4dd5f817a03233ae66b82a1abd","description":"Devuelve la versión del nodo."},"$executionTime":{"descriptionHash":"e994c26153a6b4cb6026e6bac848487b770a4cfefc8eb695ab95728c1a4002b0","description":"Devuelve el tiempo de ejecución actual"},"$day":{"descriptionHash":"710528a217509ea5862f0cf8d941e9b484a73f6699fbb40d88028c3d6994ad38","description":"Devuelve el día actual del mes","fields":[{"nameHash":"e904c9ccfa425ff0b055d2c533462314d35a529b055e8abe41d49bb46d827427","name":"formato","descriptionHash":"f5d810cb222befe40d3e99fe0a653b7e2d75e405a50d7e504d7594f304c115ca","description":"El formato del día."}]},"$cpuSpeed":{"descriptionHash":"dbdf386992bfa7d4c688bd7fa7d6dfb4f909ca508de94c92879d2a0624a9f9c9","description":"Devuelve la velocidad de la CPU en MHz."},"$ram":{"descriptionHash":"30bad5604f5cd9a1f96230dad3e47d192a62ad98997017a5d0c76f1c7de27991","description":"Devuelve el uso actual de RAM en MB"},"$os":{"descriptionHash":"7288389c3f5f4ae537c9e01419e84a17dc047ce0db344307093380d00e5c4eb8","description":"Devuelve el nombre del sistema operativo."},"$networkCardIPs":{"descriptionHash":"3bae918e13655beaddcc46ceda4ab6ee91795c948aadd05fd5f0f16a57c22e98","description":"Devuelve las ips de tu tarjeta de red","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"220c586af3dfe196f3e256d0b3d1b894709b92ee6ff1e2f31605c472ad9260eb","description":"El separador a utilizar"}]},"$networkCardNames":{"descriptionHash":"4a09340b9e9678708941492ce6e9d0b8cbf638bbccaad04199fdbad52ce4a9d1","description":"Devuelve los nombres de las tarjetas de su red","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"220c586af3dfe196f3e256d0b3d1b894709b92ee6ff1e2f31605c472ad9260eb","description":"El separador a utilizar"}]},"$second":{"descriptionHash":"90fd692d912ef6534f4c23fabe8aea1874f15b701d2874fcdf60a7947dc52e10","description":"Devuelve el segundo actual","fields":[{"nameHash":"e904c9ccfa425ff0b055d2c533462314d35a529b055e8abe41d49bb46d827427","name":"formato","descriptionHash":"8c71df3a4914b37b0ae60a5a02293b6290bb5221ce3d3d4b4aed00e7902bffce","description":"El formato del segundo"}]},"$year":{"descriptionHash":"0663536609dc5e4494cbc95dd6d09d0fba78d977aefaa676e853346a580d1fa8","description":"Devuelve el año actual","fields":[{"nameHash":"e904c9ccfa425ff0b055d2c533462314d35a529b055e8abe41d49bb46d827427","name":"formato","descriptionHash":"0b3a1c64d8efbddf103b2ada1bace125ff3992b366834f4bcf3a9fc473c6c385","description":"El formato del año."}]},"$authorID":{"descriptionHash":"83721e7556244274d17b0e7813ce42a59640b1ae2eb820457b5caf03c699541e","description":"Recupera la identificación de un usuario"},"$parseString":{"descriptionHash":"05613bc4f14c8236c134d599719c35c5705f9b6e4448e4bb3cb0209d92cc8ee6","description":"Analiza una cadena de duración válida en ms","fields":[{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"8b9ef9138ec10ee25a16f9366eb778bec849d3b63dd07d539b9d3c51fcb34263","description":"La cadena válida para convertir a ms"}]},"$coroutine":{"descriptionHash":"43046c6893b35b526e2499a58dc99d95df393c86763bd8ba98562637c4373a6e","description":"Ejecuta el código dado en un hilo separado","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"93e5f9b91d696f3aa04941e8f29a4581087348afeb5c5c4b825e595af3bc4eee","description":"El código a ejecutar"}]},"$unparseDate":{"descriptionHash":"577aef8250c394780adb265d3c212c9b8ddbf0a9ff93c80f798417217a1c1d0a","description":"Desanaliza la fecha dada a ms","fields":[{"nameHash":"0e87632cd46bd4907c516317eb6d81fe0f921a23c7643018f21292894b470681","name":"fecha","descriptionHash":"9d3483397a2579ad23f281b22a6d34c72833d2ca46b778bde19170ea2cdef2c4","description":"La fecha para obtener su ms."}]},"$djsEval":{"descriptionHash":"ed199130994172e06927a6e86dc587c14db1b32fdace4e51b9c6e459c6088dbc","description":"Evalúa el código JavaScript","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"42a703a66b721ff28b2bd20fa94591f2bbd80fecf619388b324f6d02b7809856","description":"El código para evaluar"}]},"$setInterval":{"descriptionHash":"c46f7210f9d1865acd0dc9638a97d3c7da1688f2048bd87672014d954782fca6","description":"Ejecuta el código después de una duración determinada hasta que se cancela","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c05ee68cb87ee70267edf946f353e819983a85d3563d3c921e49e8305d8bcdf9","description":"El código a ejecutar"},{"nameHash":"336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e","name":"tiempo","descriptionHash":"d0cc39113607f017fbf4ecc34bdadffa81881bb45182c8f2947c8c4e9dc27514","description":"¿Cuánto tiempo esperar antes de ejecutar este código?"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"a6e28ed4e11a7d99667e3f3a5cb2ff07e222957d7585add1735ffe6c0f4430e8","description":"El nombre de este intervalo"}]},"$function":{"descriptionHash":"5307420d71380581c0e1934ac84235e9c5fb5fc8453219bc7e20ffa796e12aa6","description":"Ejecuta una función","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"bedaad70f937a8c15ed4e5df01b8448e588f39d5518fe66f0ba7146acd2cec71","description":"Código a ejecutar"}]},"$setTimeout":{"descriptionHash":"b299f74e9eb7c45fac0f93704cd2a6356b86c0b95302bab02847f5be5a20efef","description":"Ejecuta el código después de una duración determinada.","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c05ee68cb87ee70267edf946f353e819983a85d3563d3c921e49e8305d8bcdf9","description":"El código a ejecutar"},{"nameHash":"336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e","name":"tiempo","descriptionHash":"d0cc39113607f017fbf4ecc34bdadffa81881bb45182c8f2947c8c4e9dc27514","description":"¿Cuánto tiempo esperar antes de ejecutar este código?"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"7bc0edbccb48ea26f1787e34ad3915018501561fdfd49af7a73188cedb272b98","description":"El nombre de este tiempo de espera"}]},"$wait":{"descriptionHash":"3f5321aa450475bd10c0a1b35d96912c167ba85d7083af8da2ed6238c88c7667","description":"Retrasa el siguiente código durante x milisegundos","fields":[{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"17d9475a166535f7fbab68dc94a90db26908d135fac757c47b7f6eabe729d4a2","description":"El tiempo de espera"}]},"$eval":{"descriptionHash":"413764e565a7c02b07cf730cb46c1029acdb7d90d0982b1b1d2b7041a9b16f67","description":"Evalúa el código dado","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"42a703a66b721ff28b2bd20fa94591f2bbd80fecf619388b324f6d02b7809856","description":"El código para evaluar"},{"nameHash":"27ce1d1bf4270020e1799f12e647f5cbabda2b9eafd7202c43012a539986916b","name":"enviar","descriptionHash":"64d4d12062efe13243118ec9c8172a72196e38ae24c5beb20e670f8d3cd720f3","description":"Ya sea para enviar como mensaje nuevo"}]},"$exec":{"descriptionHash":"87a1f3fba422b5e161f477c741966848ec58cf7249fafe38ae8ada87c958fcb5","description":"Ejecuta un comando en la consola.","fields":[{"nameHash":"5d347fd948b66308f502c3f65c8f7e12ff1c5cf8c760bcdfb188ae1ec7b8b618","name":"dominio","descriptionHash":"0c002e50f0d072f74503150057a7059969afe1cb0fc58cd66c84b7828c14d421","description":"El comando a ejecutar"}]},"$parseDate":{"descriptionHash":"0361dbe0c73f81e20f4786c88412a47607fbfa6408bdeb4b22b873ff01a76ceb","description":"Analiza ms válidos a una fecha","fields":[{"nameHash":"f785c3ce1d580c8f22c1db8a14cf1268e44279ff5d461361dbbfaf19e8b11578","name":"EM","descriptionHash":"bdf621e9c649579a6bbba72045e35cc8965def3e0c9b91230c72a6aa2752635b","description":"El ms para convertir a la fecha."},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"a0727a8fdcea085d78283b6fbc13678ae42ffb6f8fac9d646a142eac0187a80d","description":"El tipo de fecha"}]},"$parseMS":{"descriptionHash":"c074db2343bb0c2de2a8d4254e17a2ce9054fa34e5a6c2e5139b259baac9705d","description":"Analiza ms válidos a la duración","fields":[{"nameHash":"f785c3ce1d580c8f22c1db8a14cf1268e44279ff5d461361dbbfaf19e8b11578","name":"EM","descriptionHash":"98b47ac92b64bbf735f050d47e0713548b490a0dc9cff17b996fa9cf82838fe8","description":"El ms para convertir a cadena"},{"nameHash":"55ea09e5715d0a8d9d94018d473bf23b2d7e630c2adb1f1acad3bada74c6fd05","name":"límite","descriptionHash":"e29eb3392ec025125ecc858f3a539f060962dbc11e134c87e16f2e0784f9115d","description":"Límite de unidades a utilizar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"1fffcc335510a9cfc35a505b632069dcdee565c234db6cd5ceaa37825c4ec093","description":"El separador a utilizar para cada unidad."},{"nameHash":"6201111b83a0cb5b0922cb37cc442b9a40e24e3b1ce100a4bb204f4c63fd2ac0","name":"y","descriptionHash":"19f26bd08a8f7bb0d32d77f91fd1bec2f52e9532da1e5867c6b6c05a101eb632","description":"Si usar una palabra para la última unidad"}]},"$randomUserID":{"descriptionHash":"d85c46afc84fc8a92912c989b0a38c418e1687396f5d0b23c1b5d77465c55ebe","description":"Devuelve una identificación de usuario aleatoria"},"$userCount":{"descriptionHash":"69a92c40abfccc0be0fba67694be5e6ed95cb00a43bf0ad10f77fed31c0d815b","description":"Devuelve el recuento de usuarios del bot."},"$isBot":{"descriptionHash":"bd41574558763b65bb367ccd8ec6f61d06eb9697b7e1761dad5ccfe5b6b37a5e","description":"Si el usuario es un bot","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"bda1812217d806b2b04fe190c6f6a6de0c95df1e017a140c75a23d318176449d","description":"El usuario a comprobar si es un bot."}]},"$discriminator":{"descriptionHash":"aa607f73f19c2c0464292758fc091d571915bf495380140a791809a292740c13","description":"Devuelve el discriminador de usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"757c4128067a16515bb07cb097adceda236e64379db0738a910830439ea2bcc3","description":"El usuario obtiene su discriminador."}]},"$userCreatedAt":{"descriptionHash":"9733fa293a1de97f434dc0c3fd9309b21c4864fccf06f55ec15d21bf55de9d98","description":"Devuelve la marca de tiempo que este usuario creó en su cuenta.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"b0eece7735b6f4799613ce70b9a9ac2e89d7842d152a55dcd2b85fddd1482340","description":"El usuario devolverá su fecha de creación."}]},"$userExists":{"descriptionHash":"bd9f6b1e914dd76a49b45b8fe35b797c9140be2ea06d2245f426cf8055300127","description":"Devuelve si existe una identificación de usuario","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"d40aefcadd2ca364ec9974a1f533b73c06fb86dc434a3ce66a95f2834303b99b","description":"El usuario a comprobar"}]},"$userAccentColor":{"descriptionHash":"3dc1f2b55151083a04944e08ae39a5acab43242894bf3810dc90c40079edc10e","description":"Devuelve el color de acento del usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"77b519ffa7dca1f897a4d7e44a1321297521cd17de6c001da7fe9e5376bf0c34","description":"El usuario para recuperar el color de acento."}]},"$userGlobalName":{"descriptionHash":"ce85e589a1f8f96ad224b4ddcafcf82b6b5c0f8d653d524b768c7ae0f643c588","description":"Devuelve el nombre global de un usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"fa48e02f5b559a5d778c56514c2229dc9078c174dc81ae612a5a6d8c6aff2749","description":"El usuario devolverá su nombre global."}]},"$isUserDMEnabled":{"descriptionHash":"29976083ae7a7ae7a922449f16fa41f069a8a2bc104797db4f8c939c2dd33144","description":"Comprueba si el usuario determinado puede recibir mensajes de texto.","fields":[{"nameHash":"04f8996da763b7a969b1028ee3007569eaf3a635486ddab211d512c85b9df8fb","name":"usuario","descriptionHash":"7d425575eb0d23af6821303100f1242a5ad5a5564280c9b2576e16096a321c37","description":"El usuario para probar DM"}]},"$userDisplayName":{"descriptionHash":"250f485aadc2982cdd0776fcc4f97d663d48c2556e89c8c79c6aef4b7a42ad1e","description":"Devuelve el nombre para mostrar de un usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"50dbb6e1f5868d32f05ad32c35f430d4c5cfc0e3c4f312b335896169c601ae28","description":"El usuario devolverá su nombre para mostrar."}]},"$userBadges":{"descriptionHash":"dbe2d35650e02de1525bbec07603381cc4f16afea2986797b0bface1823f418d","description":"Devuelve las insignias públicas de un usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"3365a6289428d0b1eb7d0abb6a1ffec414d934641771adc80dad80fdf87e2eeb","description":"El usuario devolverá sus credenciales."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"698a2aa9f00037088c92444ce1b2a887ba595aae2fd4a34902eb021d54982d96","description":"El separador a utilizar para cada credencial"}]},"$userAvatar":{"descriptionHash":"47880d35991559e226876805571821d0481f328d9e95a15c77469ea5a4efda4a","description":"Devuelve el avatar del usuario","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"3743ba6cc90705a386ad4f2a41f46c947f16047494842fdd3beedc8910fc0863","description":"El usuario para recuperar el avatar."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$sendDM":{"descriptionHash":"3f614d6ca64b3984b998620896c7ef56878be2e2c19c008748356628d8999276","description":"Envía un DM al usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"616aada983529e8bac38bc26185144b5f4a5ffe46d3843aea62db6c671de8e9b","description":"El usuario a DM"},{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"63c5d6e2df960d79d40c27b7499ae8f21aeca82d7da620d90825a37b8ad7968c","description":"El contenido a enviar"},{"nameHash":"bf067811daa87e8b0c61018da608b98ca211146b57802fdd84246cdd11f627d2","name":"ID del mensaje de devolución","descriptionHash":"088ebff89f979b89c6685461aa12f421802eff46bc4e7c0e395b57fbf3518d2f","description":"Devuelve la identificación del mensaje del mensaje recién creado."}]},"$userAvatarDecoration":{"descriptionHash":"50b7a1a79f319fe99a180f425c338f823bc1e2396174fdeeb9391c60237d5b5a","description":"Devuelve la decoración del usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"0f67005acfe61df1f9936c4bbcaacc67ed6ef443e3836d3841d0aaa32fe81acb","description":"El usuario para recuperar la decoración."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$userBanner":{"descriptionHash":"4f6d6892deee2d7356c921049fb8a5abcfdce20149ba071fab0bca0917d2627e","description":"Devuelve el banner del usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"419f1f225f434de09dccc6fe700e252079913980efa2d6362746136dd6c6292e","description":"El usuario para recuperar el banner."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$get":{"descriptionHash":"471a7afdcfc87b2130e3e1e09d47b6e986e2fe3620c30714498ea3a984e0eae1","description":"Obtener un valor de palabra clave","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"93325743e55c6480631e465aa151c0c457942b555aa70112ab3e4370db742061","description":"El nombre clave"}]},"$letSub":{"descriptionHash":"6fd12e3a84f3028400b1dcce8d51069b2c7d3674301d58526f20859090228602","description":"Abreviatura de $let[...;$sub[$get[...];...]]","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"93325743e55c6480631e465aa151c0c457942b555aa70112ab3e4370db742061","description":"El nombre clave"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"2e647d34028a320a9e1d2cf1b54dec7114b6f8fe11b6e00a55934f3ab759bf5e","description":"El valor a substituir con"}]},"$letDivide":{"descriptionHash":"c8f2fe3cd26e706ba7114271055bc77bc98b483dd4cb502904db7f30efc02c5c","description":"Abreviatura de $let[...;$divide[$get[...];...]]","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"93325743e55c6480631e465aa151c0c457942b555aa70112ab3e4370db742061","description":"El nombre clave"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"5db5282b80fc4c51daf1f01ee946aad49b67e0a921c4efdc20edbb46e760d7f2","description":"El valor a dividir con"}]},"$let":{"descriptionHash":"826e9a00d311a78547c9ac3d7097b8be5016da6c5277bbb02ad870d0425d7da5","description":"Crear una palabra clave","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"93325743e55c6480631e465aa151c0c457942b555aa70112ab3e4370db742061","description":"El nombre clave"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"648000e191560db2f29820666f6824a28f650a789302652f112e928c5867f80a","description":"El valor clave"}]},"$letMulti":{"descriptionHash":"d3b3910996d2f1396669aa1e7e94584ca447db730563f9fee65c551971718686","description":"Abreviatura de $let[...;$multi[$get[...];...]]","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"93325743e55c6480631e465aa151c0c457942b555aa70112ab3e4370db742061","description":"El nombre clave"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"e2792ef49186028cdea315bf62ec27d82a1413d6c63cf92e2d17672b84e91c2d","description":"El valor por el que multiplicar"}]},"$delete":{"descriptionHash":"04d1799b1607553419d928593ac122606be419df2078db547699be90e882f0d4","description":"Elimina una palabra clave","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"93325743e55c6480631e465aa151c0c457942b555aa70112ab3e4370db742061","description":"El nombre clave"}]},"$has":{"descriptionHash":"bf5480182ffcf26a597f6bcc638b7776911060794990a3fdcdd9629bfff5aa07","description":"Comprueba si existe una palabra clave","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"2597bff0c13a14a387c1dcc901f6be7c59d336e5f4395d725f6b12187df921c0","description":"El nombre de la palabra clave"}]},"$username":{"descriptionHash":"33366b33ba30824d01ad72ab673bc32d9998859f84222f1d14e7d1b37d162352","description":"Recupera el nombre de usuario de un usuario","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"a537295b2f986507ef8df3ea6e767a7ec10e1191f0fcac6e03302aa07e828222","description":"La identificación de usuario para obtener el nombre de usuario de"}]},"$userTag":{"descriptionHash":"241682ef1e619a35ce5074a501797249e75556d690f8ed8fff45791b00a08cde","description":"Devuelve la etiqueta de usuario","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"0419c60107d320c31e880ddf7756b47c7dee8ad134ca3698397264898bc62af6","description":"El usuario para obtener su etiqueta."}]},"$env":{"descriptionHash":"3bdadfcb8f938e59dc6ac4d1b6e70055602ec4fd8c7fb87fc3610599a5385bb8","description":"Recupera un valor de entorno.","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"2056da0c05143e0cf094cc3420f5d708d13b59681f825ebd8d0f22ffc1b83cad","description":"La clave para devolver su valor."}]},"$webhookDelete":{"descriptionHash":"8586edcd9d7555e859cbbe6a40b2d9fac5333fa85bff2848612dceebed047b59","description":"Elimina el webhook con la identificación proporcionada","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e2909d0ae1b088798c606206a499873db52c6b426673ee0e66c68ddb30218466","description":"La identificación del webhook"}]},"$webhookExists":{"descriptionHash":"4798b827723cdcd4f66c54c95b9facd6030a0109ba13d5c00b09931f850a8743","description":"Comprueba si existe la identificación del webhook dado","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e2909d0ae1b088798c606206a499873db52c6b426673ee0e66c68ddb30218466","description":"La identificación del webhook"}]},"$letSum":{"descriptionHash":"9ed330065906c1b1ef9cfeb4e93071a32bb46b8cf8eb1303ce06c0e764acf994","description":"Abreviatura de $let[...;$sum[$get[...];...]]","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"93325743e55c6480631e465aa151c0c457942b555aa70112ab3e4370db742061","description":"El nombre clave"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"37360dd8f0c3dcc9a225c240cca34494fb9d5824f107745ac878c2430befcdc7","description":"El valor a sumar con"}]},"$webhookEdit":{"descriptionHash":"176876d3ca4d2d9096d0eda935ecb173684ea1f2d2df71b0a6d7c7149f6adb1e","description":"Edita webhook con una identificación determinada","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e2909d0ae1b088798c606206a499873db52c6b426673ee0e66c68ddb30218466","description":"La identificación del webhook"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"b5cef3486e460ca44170727db6c230d907560ebcea907c0c11ba6dec63114140","description":"El nuevo nombre del webhook."},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"ec7472c3dc511ee01f5cd5d763cf20c4a589fe5fab45baf8e922485e1885bd8f","description":"El nuevo avatar para el webhook."}]},"$webhookCreate":{"descriptionHash":"9bd2ecbbe0485109b5ae53c72fe5f5b62ab04a7b94fd1ec0372f88bd895a0b5b","description":"Crea un webhook en un canal, devuelve la identificación del webhook","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"d4aac2dfd6766be554ad5014b1277e0325655e8bf43c8538f18bfe41ba170f44","description":"El canal para crear el webhook."},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"02464ddd17f74c44b0fd24d9f577055c2ade8a55d44a10a1ca52bc9643cad02a","description":"El nombre del webhook"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"071f204a8b240e0f5bcedd40d88b12fe5238f6c3c86aebf0c4adceb84d893577","description":"La URL del avatar"}]},"$arrayCreate":{"descriptionHash":"689576fbceb141b858fcd0641fa3454c98085a58bcec3b182473f639991f69bd","description":"Inicializa una matriz y la carga en una variable.","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"b457fe360a031f645206940e62fae5860f975e166755401aa651f19da855578a","description":"La variable para cargarlo, a la que se accede con $env"},{"nameHash":"0f82aca66af91493b1ff401de5f1f7e3e24e14560df3f6f7e465dbc915b9947d","name":"longitud","descriptionHash":"aebacbaec06220a800ba465d239866363bb38d951d52377d0f1c0381330462af","description":"La longitud predeterminada de la matriz, predeterminada a 0"}]},"$arrayFill":{"descriptionHash":"63570d34786da44496a39b248d857ebfe98a954f1511b92e281fe456f2b725d2","description":"Llena una matriz con un valor dado","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"f3a97e78a7f838767ebe654b432913784cdb157fd00f665ac90902685f3adccb","description":"La variable desde la que cargar la matriz"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"47dea45e1088f386acbfc85ec4726b1a38feb0f73c570aed5f04ea4712b09aa9","description":"El valor con el que llenar la matriz."}]},"$instanceName":{"descriptionHash":"e0485fae83b1e480830e6d302096c6420477213ee6f00b1ab0417d495ca9b899","description":"Devuelve el nombre de la instancia del contexto."},"$loadGuildContext":{"descriptionHash":"689a758f90b464fd5a7a6fea8fe1c1c6b75fb8e8043e27942c6f49a89a0b4b4b","description":"Carga una instancia de servidor en el contexto actual; esto no es reversible y se recomienda utilizarlo con $scope.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"dfd2727e025cb91b542f13b923206e0cdb28f66ce7a13fb116e16422d02bf284","description":"El servidor para adaptar el contexto"}]},"$loadUserContext":{"descriptionHash":"c4e7eb1ccca21fde7fd3bdf3fe72e716c639eaf6edb57238aa7a493b89c16567","description":"Carga una instancia de usuario en el contexto actual; esto no es reversible y se recomienda utilizarlo con $scope.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"3391393f06f7f76c1e6ca8fc5aa5e88bc3584b3f063db8df260786a7f46d4362","description":"El usuario con el que adaptar el contexto."}]},"$loadChannelContext":{"descriptionHash":"ec3b570403a28c836320e6121b4cd9635d5a03e5999b079120e29f0ad607b3d9","description":"Carga una instancia de canal en el contexto actual; esto no es reversible y se recomienda utilizarlo con $scope.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"3dc92442abec7f6082f8e2063e21a3bb3659e93d89d94b344c0e7c7828a59da7","description":"El canal para adaptar el contexto con"}]},"$loadMemberContext":{"descriptionHash":"60a305ee557f8423c4897766934c54ac29615fe631900b243e5c9966470b776f","description":"Carga una instancia de miembro en el contexto actual; esto no es reversible y se recomienda utilizarlo con $scope.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"25172734aaa44dcd7ecf21e549b83e05cfb86cb44b7dd70913c457a71deac626","name":"Identificación de miembro","descriptionHash":"5c2029440f9730e70603598cfaf074d4d64aa458c15bf363279c27889ff71094","description":"El miembro con el que adaptar el contexto."}]},"$loadRoleContext":{"descriptionHash":"668ed022245c671e069646c21a3470e4800abcb88edd58df19609cc2df726bca","description":"Carga una instancia de identificación de rol en el contexto actual; esto no es reversible y se recomienda usarlo con $scope.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"f3079e9bddbe5db9b90a3af9d8bd26d57c0a492b746a240a494359b94e41b568","description":"El servidor del que extraer la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"Identificación del rol","descriptionHash":"b7f1e6abefc0bb7c59ad5bdac8b90af84d92525803e5f6e72239775ff958928a","description":"El ID de rol con el que adaptar el contexto"}]},"$loadMessageContext":{"descriptionHash":"409ef77cd5260bbfed3c044d43f9bddd3933178a1fbfee11f2cfabd576f857ff","description":"Carga una instancia de mensaje en el contexto actual; esto no es reversible y se recomienda utilizarlo con $scope.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"012fc21781457fb36a8f893c613a5ca869641dbc1f397686ab5d5fe04ec997cf","description":"El mensaje para adaptar el contexto"}]},"$stickerID":{"descriptionHash":"418dc1b094fd4d4898f171e120d154e0b0c10debc7dd33e35cfbc78d6ef5ce9d","description":"Devuelve la identificación de la etiqueta"},"$stickerName":{"descriptionHash":"1d7a872c7a728c8596583ad76785373a993fbb02623a7744a253e06e7600a7ec","description":"Devuelve el nombre de una pegatina","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"7081fefeb923457357e0d1691502302d91503d2d9fa3c26f13b6bfc7e5d0d7e7","description":"La pegatina para sacar el nombre de"}]},"$stickerSortValue":{"descriptionHash":"9d4b34ca60c739ba11264796ddbe57eb4726fac3080ba11a5f615b24cda6c78c","description":"Devuelve el valor de clasificación de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"5fd8bb9393488fef84ce3f8ddbe53f86028d5054710eeea974688e02c58c99fd","description":"La pegatina para obtener el valor de tipo"}]},"$stickerDescription":{"descriptionHash":"4711b6bb9e47593f5ad12ee5362b904a85fa71a15bff96180e51d184d8cc9f6f","description":"Devuelve la descripción de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"2c84667acc8b22ddb8bfe3145d3ecb3e7a1247a216bd82bd59945ea76ddad1b3","description":"La pegatina para sacar la descripción de"}]},"$stickerCreatedAt":{"descriptionHash":"f2f252065e9dd4f4db8b887e17214701adc66bfc5cf09deaa5ea6f9f19d64634","description":"Devuelve la marca de tiempo de creación de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"708539bcfbf9c23721d13ae48d198a6c707dfec76b3a3bb61f02d537ddda6d67","description":"La etiqueta para extraer la marca de tiempo de"}]},"$stickerOwnerID":{"descriptionHash":"8abb9e78807e46cd15b39f0a5e8abac81c8934640e49c3c134c88fb84914118b","description":"Devuelve el usuario que agregó la pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"2993ed47aec20bee12c1c0e4804eea37cc0cb5880a3bdf8561a565db42ea5e90","description":"La pegatina para regresar del propietario."}]},"$stickerTags":{"descriptionHash":"32cb5d9ca9b39fcc4d8cd098a1f7b9b52db8d8a26ad89b3745fe9afcd168f8aa","description":"Devuelve las etiquetas de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"cbb335887a783747b14ef50bc435d0c84198b3593760ba42df258c7f21382ae1","description":"La pegatina para sacar etiquetas de"}]},"$stickerPackID":{"descriptionHash":"481ddc16969f4753d2106a7f810e1d20410c4a2dfcb2490f25fa8474a9d2bc15","description":"Devuelve la identificación del paquete de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"91f8f3adbbd0c1d3209b0df167b33f2fb675e8a513de8af302957a51207860f4","description":"La pegatina para regresar del paquete."}]},"$stickerAvailable":{"descriptionHash":"abf66aac1fe5cba0be72170c22dc83440ebbba1ca33d92ad5294633b3ad68668","description":"Devuelve si hay una pegatina disponible","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"59642f8f86d54cb9ab0b191d2a4f649583ed810795fe482219f5bcc076a0ed65","description":"La pegatina para obtener disponibilidad de"}]},"$stickerGuildID":{"descriptionHash":"5f6ac29199b2529685bb3fe6451e3b8f94b7f5c67024a120101a58b341664053","description":"Devuelve la identificación del servidor de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"052fed35f182edab5b52e510949b73ad94a4ebc3935f879b34e3cc3f7869d02b","description":"La pegatina para sacar el servidor de"}]},"$stickerFormat":{"descriptionHash":"a9f0475ca1088226021cc33ed4919341ff671b34fc469982815347dbb25660e8","description":"Devuelve el formato de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"d73edf43811553c1a9ba7e7a2cca63c647e4993785ff4677d4944f4f7b0d593a","description":"La pegatina para obtener el formato de"}]},"$setStickerTags":{"descriptionHash":"9a8941ecd589e045f940bdc640bd824370a2447e5b43daaaaa1a309d17b7344a","description":"Establece las etiquetas de una pegatina","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"d2ed9fe2fb7d20e289a8f1a8ed1173a9080a06bdce6c5733bcef253ababf5c2b","description":"La pegatina para editar"},{"nameHash":"978c2f8941354cf552831bb8b5b648bb3748e83f5d0a69e3301569af01e1de93","name":"etiquetas","descriptionHash":"f2cd6712e909cf68cb34fdd8b295af34b2523c796e967de614cba335637fc9ba","description":"Las nuevas etiquetas para la pegatina."}]},"$setStickerDescription":{"descriptionHash":"2185fa24578656298eca6a9dcb7d123fab78d51c3d269cc7ce33a063b60fc284","description":"Establece la descripción de una pegatina","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"d2ed9fe2fb7d20e289a8f1a8ed1173a9080a06bdce6c5733bcef253ababf5c2b","description":"La pegatina para editar"},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"432c72fe8bc179ca134057976f21ac30189e123541ff4cc0f1513123642e8059","description":"La nueva descripción de la pegatina."}]},"$setStickerName":{"descriptionHash":"546ae699fc73910d49c85c729c2849b4ece5f1a0975c74ec587edba4c278440c","description":"Establece el nombre de una pegatina","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"d2ed9fe2fb7d20e289a8f1a8ed1173a9080a06bdce6c5733bcef253ababf5c2b","description":"La pegatina para editar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"0e9b876fee06d2196dcdd0c113014632975702aea2d4975e053b489425055dc0","description":"El nuevo nombre de la pegatina."}]},"$editSticker":{"descriptionHash":"2319f0eef6cdb7b43335c470a1ea0a3b876dab74d79c6f4aae72f3db51fb7ca3","description":"Edita los datos de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"d2ed9fe2fb7d20e289a8f1a8ed1173a9080a06bdce6c5733bcef253ababf5c2b","description":"La pegatina para editar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"0e9b876fee06d2196dcdd0c113014632975702aea2d4975e053b489425055dc0","description":"El nuevo nombre de la pegatina."},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"432c72fe8bc179ca134057976f21ac30189e123541ff4cc0f1513123642e8059","description":"La nueva descripción de la pegatina."},{"nameHash":"978c2f8941354cf552831bb8b5b648bb3748e83f5d0a69e3301569af01e1de93","name":"etiquetas","descriptionHash":"f2cd6712e909cf68cb34fdd8b295af34b2523c796e967de614cba335637fc9ba","description":"Las nuevas etiquetas para la pegatina."}]},"$stickerType":{"descriptionHash":"1f344029ea142c8b3b25fe6215ae5a6904f66c1d576774bb63ea6bb7175201ce","description":"Devuelve el tipo de pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"8c4740848a9506f293e1ae8a49bd379a8c220141e6954a803476b153eaa9c21b","description":"La pegatina para conseguir el tipo de"}]},"$loadStickerContext":{"descriptionHash":"2a80d49962091e3dac4a02f2abf5bbba90420866b96acc90eb38852e6ae23bf3","description":"Carga una instancia de etiqueta en el contexto actual; esto no es reversible y se recomienda usarlo con $scope.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"b25caf5f5c8f68dedd19e956dce6aaf8e943bb0304874ed16ddd9f4565657443","description":"La pegatina para adaptar el contexto"}]},"$httpAddForm":{"descriptionHash":"3017cc55d83ba11955ad7db86fde3aff122b3fbeb0e13428cd2e9284c5fd3573","description":"Agrega datos del formulario para solicitar"},"$httpAppendValue":{"descriptionHash":"b6603cd39bda42665b77d51ca6b141d90303df82be59db61f2a65f661f7d1e1d","description":"Agrega un valor-clave a los datos del formulario","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"891b8fc2303b3faeedc7ef2916801dda41dfbd0f3e4eb33f41bf1547ba7ff7f5","description":"El nombre de la clave para agregar este valor"},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"8f8f6df6451c69cc03ebc6228cc19a3918357af40127b345b00761ffac79bb42","description":"El valor a establecer"}]},"$httpAppendFile":{"descriptionHash":"ecbfdcbcea232a10c572c7488de5846c602dbf2109367cfb9ef95c70ae55e2bc","description":"Añade un archivo a los datos del formulario.","fields":[{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"891b8fc2303b3faeedc7ef2916801dda41dfbd0f3e4eb33f41bf1547ba7ff7f5","description":"El nombre de la clave para agregar este valor"},{"nameHash":"f39e94bab0b43a6218ac048efb3337c3cfae5e6f740739b0c0361de942c030e7","name":"URL/ruta","descriptionHash":"e001bed160a29c8f55ee2fbb6e60e9c6cb88430a33da1eb6013405abf938f85f","description":"La ruta o URL a utilizar"}]},"$isDirectory":{"descriptionHash":"8a8f994bd971b3d569c9c819a0c8915240f1c30106a220d4b24bbdbe8151c76a","description":"Comprueba si una ruta es un directorio","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$fileModifiedAt":{"descriptionHash":"69e3f079c9c0935dfcb3d55e7fd990a38937ad806b3ebed795071eb391adb587","description":"Obtiene la marca de tiempo de un archivo o directorio cuando se modificó por última vez","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$fileBlockCount":{"descriptionHash":"d406b3f52670454030ed030f56593c8c2eab20c04a93b9b1eae064ffed27907a","description":"Obtiene el recuento de bloques de un archivo o directorio","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$fileBirtchAt":{"descriptionHash":"850a813126152b3da109af8bd006be4fe7a97fac6cbb60503ac56a81444551c5","description":"Obtiene la hora de nacimiento de un archivo o directorio","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$isSymbolicLink":{"descriptionHash":"28f5acfcd5acd696a8e3c5354c6751d767d57bacf99aeec88146c373835adacb","description":"Comprueba si una ruta es un enlace simbólico","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$isFile":{"descriptionHash":"8785392f371c9b97c1e50b815286a1e218bde5ddb4c659cdd653628b64e439cd","description":"Comprueba si una ruta es un archivo","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$fileCreatedAt":{"descriptionHash":"ac9bc3fc8e20d83ac9aff9b221f05b1c5e5fba182c052dda796b04cb8487e97b","description":"Obtiene la marca de tiempo de un archivo o directorio","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$fileBlockSize":{"descriptionHash":"6b95acc1e54bc4f9f221891cf9dc6ec6a5e3c1231d8a156baf463667f45ce101","description":"Obtiene el tamaño de bloque de un archivo o directorio","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$mktdir":{"descriptionHash":"0d8896054d49c2cc90a1294232f19e6519cddd7f5dcfe5c7cd718593f3ac9b84","description":"Crea un directorio temporal","fields":[{"nameHash":"e7a2e8b216e5aec3facf743962d3997f2e7d70088ef257de472d6a258049832e","name":"prefijo","descriptionHash":"1fa4663ae186d11c6633100bed4adb2119bbea76d6c7e8cc9f07e723dc293937","description":"El prefijo para el directorio temporal."}]},"$symlink":{"descriptionHash":"75bb8d481c419fa5ed67451306c274f33ef48988e6799c8b82ff4dd5e3cae197","description":"Crea un enlace simbólico a otra ruta.","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"ab86c88db5aec118fea98153bd1b57bffc97b65666bde159ef47e61d7bd3be63","description":"El camino a seguir para utilizarlo como referencia."},{"nameHash":"0dc64e47a78a51f1d3257b9eb7619f661d9c5a33d9fcec76ef3bfbae44218f6d","name":"otro camino","descriptionHash":"d96b5ff7a08618c6592bc18c29984b69435301a821b476fb6aea0e38d154f30e","description":"El otro camino para vincularnos"}]},"$moveFile":{"descriptionHash":"a54fc494ebd3a25b1abd5b6049f6790861679d573598841f6024c54959e66e16","description":"Mueve un camino a otro","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"54f118dcfb626bc81a58c6f5696b920981939928818918a7fcd4acd336169f0a","description":"El camino para hacer para moverse"},{"nameHash":"b5c755aaab1038b3d5627bbde7f47ca80c5f5c0481c6d33f04139d07aa1530e7","name":"destino","descriptionHash":"5501852b3dbb0adf5c3c457a33ed38329a5011b0d337c049507bba88901681a6","description":"La ruta de salida"}]},"$fileChangedAt":{"descriptionHash":"e73cbff7d75918d3b83321f1f48d42a3f5884b1eff8bc1888b99848071f1626e","description":"Obtiene la última vez que se cambió un archivo","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$fileAccessedAt":{"descriptionHash":"4df57a1e057dfd341b32cc2d9b74f63e910883f2604239475deac14c75463681","description":"Obtiene la última vez que se accedió a un archivo","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"0a473dc0707a8a3ee5118f460af03b98a751359b537b2954e5946e8f4a7332da","description":"La ruta al archivo o directorio."}]},"$advancedTextSplit":{"descriptionHash":"62cecdd1ce70b896d80c121c4bd4b3ee2db80e9ec569b4d007a9e8005e93809f","description":"Dividir y obtener todo al mismo tiempo varias veces","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"4c9031e1404f3ee398d1ccc123309734640d740f64dc9c80a8c5e26bb08998af","description":"El texto a utilizar"},{"nameHash":"9640282f5427a81850396b1ed264e733e8cad0d64da9217948653feeb0737129","name":"dividir;indexar","descriptionHash":"59ea858fdb2f3a3536c89092b6638208aa54dc44712f7a46d7fff45cb8a9b8bf","description":"La división seguida por el índice para obtener"}]},"$showModal":{"descriptionHash":"47f65aabc2115f1b0e04af53d207c2b777c1d8218a7823666762fcd658fe6890","description":"Envía el modal"},"$awaitModalSubmit":{"descriptionHash":"44fe15b01acc960d42d81c648339894c945fe68143aa95d08736f6b3f9ceb4f6","description":"Espera un envío modal, ejecuta el código como contexto de interacción, devuelve bool dependiendo de si se recibió la interacción.","fields":[{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"a1b1415650b5ad9d337f9a0a4d3c8884d21490326c96436e3cb879c4e0ded064","description":"La identificación personalizada del modal a esperar"},{"nameHash":"38babf15e905b7baf2543c90cda405b9698a80583ba4260f87bf0b83fc4bb374","name":"código de éxito","descriptionHash":"731f00c503706961849b13d9485a65654f187c550c29ae81d9a4da3b22e36140","description":"El código que se ejecutará en caso de éxito, esto se llama con el contexto de interacción."},{"nameHash":"336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e","name":"tiempo","descriptionHash":"ec815ec409aba030f70b0e6cc28afbbb7867f119982154dcdc6530526a60107c","description":"El tiempo máximo para esperar por un componente."}]},"$awaitComponent":{"descriptionHash":"901b215c00b8c19b9574ad69857c686cbf793d44205397be9606b1d87d59e3fe","description":"Espera un componente, ejecuta el código como contexto de interacción, devuelve bool dependiendo de si se recibió la interacción","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"b514191290ad7f6076f06ebf1995466e1af24bbf9e136fce6cbd26dfe58db360","description":"El mensaje para esperar el componente en"},{"nameHash":"dfc3376b8266c66e8c24736645128a5f93ccf1df6f381286ffbda654fec8f21c","name":"filtrar","descriptionHash":"a5ed98d9fe88131471fb689fafe0388d0c2bcdb729a1ea3a24588df1e17a3024","description":"El filtro que se ejecutará para cada interacción recibida después de esto, se llama con el contexto de interacción."},{"nameHash":"38babf15e905b7baf2543c90cda405b9698a80583ba4260f87bf0b83fc4bb374","name":"código de éxito","descriptionHash":"731f00c503706961849b13d9485a65654f187c550c29ae81d9a4da3b22e36140","description":"El código que se ejecutará en caso de éxito, esto se llama con el contexto de interacción."},{"nameHash":"336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e","name":"tiempo","descriptionHash":"ec815ec409aba030f70b0e6cc28afbbb7867f119982154dcdc6530526a60107c","description":"El tiempo máximo para esperar por un componente."}]},"$enableConsoleErrors":{"descriptionHash":"c0d514d0d5382eebf1999681b0e580e6f43fc151941426e9bb55ef23bc3de4b7","description":"Habilita posibles errores salientes que se envían a la consola."},"$disableConsoleErrors":{"descriptionHash":"53639c6c8996a0cc27234bc5013e2ab4b83408f69543bdc3d5b5952930118525","description":"Deshabilita posibles errores salientes que se envían a la consola."},"$test":{"descriptionHash":"62ca637032c0878b47949766f34a42afe55de9b3f3dcbb4d2e278114549280a3","description":"Esta es solo una función de prueba.","fields":[{"nameHash":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","name":"prueba","descriptionHash":"0c2cc50fe0c995ceccefb178ba7a08d99788bf07cbe51d419072959f6ec75d8f","description":"La cadena a utilizar"}]},"$webhookToken":{"descriptionHash":"f035a8d3635f50e7c192e79f69f4ac3bab4bad719728a514c30d358f94dec7f9","description":"Obtiene el token de webhook de la identificación dada","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e2909d0ae1b088798c606206a499873db52c6b426673ee0e66c68ddb30218466","description":"La identificación del webhook"}]},"$webhookSend":{"descriptionHash":"09e6fc6265ca843b96af6686dcf4f31b19163eb44a0ba0a87711dce048de1d37","description":"Envía un mensaje con un webhook","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"aa546e94755091f5db382df63db2724282ac43b91da72047958c3bfd53b3b4eb","description":"La URL del webhook"},{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"24e05a2d8bdd896a53049367e1be2d6f957f78a5201f5ba20757619abd213aec","description":"El contenido del mensaje."},{"nameHash":"bf067811daa87e8b0c61018da608b98ca211146b57802fdd84246cdd11f627d2","name":"ID del mensaje de devolución","descriptionHash":"c9d7b7f8ccf4d575a26324131b66332a6f067d8ba9f4f10723f113267f5d48b3","description":"Devuelve la identificación del mensaje del mensaje enviado."},{"nameHash":"16f78a7d6317f102bbd95fc9a4f3ff2e3249287690b8bdad6b7810f82b34ace3","name":"nombre de usuario","descriptionHash":"6cf6077e5b8df6cf2f0c645f821e827e07b3c93b044fa5ecf8ef1289371fe116","description":"El nombre de usuario para el mensaje."},{"nameHash":"87bbe879c7a5f5784a70384bb49fa9513a6a3fbe4c2d388635e3c87611c03fae","name":"avatar","descriptionHash":"93f8f311c33347a50111eb98e90c1daf07f347d9f9a810da855e081554722b60","description":"El avatar del mensaje."},{"nameHash":"252f3f04ec2c91e1d55002d6c0d09e50a6e40cdf6cc3af3073af752f19f7155e","name":"ID del hilo","descriptionHash":"34f7f47f1a427b9632110ac93525639a657c040d1de0ba5bef180ddd908a606c","description":"El hilo al que enviar mensaje."},{"nameHash":"c846f6ede3a0cc1e9c79df1a4b9bd5119ebf38e9cdaf74c74a6f0a8cc7895b0a","name":"nombre de la publicación","descriptionHash":"4549a0814236b510bbc0d71f24bc6f0cffe758ffb6cf305e83cef248c70664c1","description":"El nombre de la publicación del foro creada."},{"nameHash":"978c2f8941354cf552831bb8b5b648bb3748e83f5d0a69e3301569af01e1de93","name":"etiquetas","descriptionHash":"5250920def73d27a353faf076bce9d091404c21d17c2e8cf5d3e6a19eef1ea18","description":"Las etiquetas para la publicación del foro creada."}]},"$hasAnyPerms":{"descriptionHash":"6e8abeaeb5e934dee25ac0c0270c24663eabbae6bf0a082089075f6b2f50742d","description":"Devuelve si un miembro determinado tiene alguno de los permisos proporcionados.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"a5dd677b18a2a2bb5dcea9b31aedd0c33e78d651ed89ae7a046fdddb8fe8b1af","description":"El usuario para comprobar los permisos."},{"nameHash":"a29675d2f6ac28ba8a48d204cfe38f291a5ba9c7d93a074b4108f9da61ef9b52","name":"permisos","descriptionHash":"a1cb090e8e8fa02f715fc6226bb55a6432750205e4ad984699b4a75ea6364b0e","description":"Los permisos para comprobar"}]},"$findMembers":{"descriptionHash":"0aaffe0b30ccf0002bc06113262e2db259d645ab53be4baa19e620159e251be1","description":"Encuentra miembro de un servidor mediante una consulta","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"e1fd16c8f863e7ba7af86efd02786df33ed662d776a5f664a47fec76a1ab96e3","description":"El servidor a utilizar"},{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"e3a6c08cee19216f05fae4433486f21f5f25d9093f92b216690142311107a9b2","description":"La consulta a utilizar"},{"nameHash":"55ea09e5715d0a8d9d94018d473bf23b2d7e630c2adb1f1acad3bada74c6fd05","name":"límite","descriptionHash":"f3b40eb71b9cd75459609b3932c34c64825af53ae0b3d1e69020c276de23fcc5","description":"El límite de los resultados."},{"nameHash":"5621d884a554db353a5f5bcd9a5cd7a94e8e276436a7b7da88f99db4e0f15fcf","name":"valor de enumeración","descriptionHash":"7479dd82a3cd53d686b889a7e540d6434078570a556b92b1a8d2358c65cbadc8","description":"El valor de enumeración a utilizar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a1d7cc489f166dc03cedf96fcbb885f19dbf2adbc1fb4bf017ba18c733fc2b41","description":"El separador a utilizar para cada resultado."}]},"$deleteGuildApplicationCommands":{"descriptionHash":"d8d021568535c5591634a30f464bcfd2bf5e9899ee39bd03c840e096bc3a9a73","description":"Elimina todos los comandos del servidor de su bot de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"cbd132fd1327ec22c22292429f0eead2749712d48cb8bc74268cf6012a11df91","description":"El servidor para eliminar comandos"}]},"$registerGuildApplicationCommands":{"descriptionHash":"9ea336a1c3c30c95e31eae6eb21ad69fa2e54eec1936ff79d4f4e8a4eba596a3","description":"Registra todos los comandos de la aplicación con tipo: 1 en un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"cf7637ff5e7adf849fead7c3f9a687999a00e8fd3471dd1284116eb9989ad6e4","description":"El servidor para registrar comandos"}]},"$splitTextJoin":{"descriptionHash":"3c52b2aa241a1df23778076ca1f6dd5b21a1a359265628c79b1ecc71e336f437","description":"Une todos los elementos de la matriz con el separador dado","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"20debb789f9fdb607b539290ad3b5e8f675c0f0ee789f451ee6ea75a7538e7b9","description":"El separador a utilizar para cada elemento."}]},"$guildChannelID":{"descriptionHash":"b726a79ff84d1ba9193576c6a94051b701a7b432babfa038100364e6ca55bb9a","description":"Obtiene la identificación del canal del servidor de un nombre de canal.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"e1fd16c8f863e7ba7af86efd02786df33ed662d776a5f664a47fec76a1ab96e3","description":"El servidor a utilizar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"8f80aca15b0412f9dd6e885c5f832f54ee9a529e8c2ca64a380664423d1bbbb4","description":"El nombre del canal para obtener su identificación"}]},"$transcript":{"descriptionHash":"222a2b94a68caf905c5e94ad52c8e7dc076e3ddd1e1eaf6407d1e129f374b3f1","description":"Crea una transcripción del canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"587b3ea7bcbe3dd596edb881a87cef2b5bfd9e34327e59bde80a83f68c56fb31","description":"El canal para crear transcripción de"},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"efbaa8d38e4e291c38861bb23848c86005cffc4ee5f544b5f98e1754083de10e","description":"El nombre de la variable $env para cargar la identificación del mensaje"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"f785eccbece5b8f3d0f2870d3b02d899717d07b3152df7e2d825924eda2083be","description":"El código a usar para cada mensaje, asegúrese de usar $return"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a1d7cc489f166dc03cedf96fcbb885f19dbf2adbc1fb4bf017ba18c733fc2b41","description":"El separador a utilizar para cada resultado."},{"nameHash":"a18b869b2e81c0c529552a3c4fa5c92ed08b98a4e146aed778d71d27517f83ac","name":"lleno","descriptionHash":"b6b14418561ec63a983774f27c161c9dabe46a00195292b541055da18432dc86","description":"Si se debe cargar el objeto de mensaje completo en la variable"}]},"$loadComponents":{"descriptionHash":"f9f91a6296ae49d31fa00200fc976f7958d2b63dd7329f9d736b6dd6e2de8a81","description":"Carga componentes JSON (o matriz) a la respuesta","fields":[{"nameHash":"d76ceedccf86dfec9342e9ee2e8011783a5ff57a634bbd50eb03379f7468742c","name":"datos del componente","descriptionHash":"a1975b5fcc0b85ec8cd4abfc7db4f15ec50b18a3fca8bf156bf7c344a81a4112","description":"El objeto de componentes o conjunto de objetos a cargar."}]},"$getComponents":{"descriptionHash":"cb59afa1c5168f0589fdc1fe709e448f9d9cd58031f1ce923b0859e528db7951","description":"Recupera datos de un componente, sin proporcionar ninguna propiedad, devuelve el componente json","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2f27711d3c02675eab384ee6a562adc2eb1c199bab9e0c7718707b419c76b5f0","description":"El mensaje para recuperar datos de"},{"nameHash":"00150e91721c08ad91703071ced8414694a25e6e1d29374e1d83be0c813d0e0e","name":"índice de fila","descriptionHash":"a5894a38f277e5d2e00c998260470f404ca6ffd03c5083b1a48be32f5ed349fa","description":"El índice de fila del que obtener datos"},{"nameHash":"8a13d36becd929efbad97a2066b1a0fde8d29ca6ec04e8d7d952fb9c0b57a951","name":"índice de componentes","descriptionHash":"dfec92dc6ce003a12f2a5a1a9b76ebd60e10bdc4cb2857cb6d521e297042b552","description":"El índice de componentes del que obtener datos"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"2b8b5a2ebad53163d89eca8e92af13cfb0bdd02fb09990522b81c2116b2ed9dd","description":"El separador a utilizar para cada valor en el caso de una matriz."}]},"$applicationCommandCount":{"descriptionHash":"27dac565882e134803e318270f7f31713090f2fddc9aa8eaac1655c025e746d8","description":"Devuelve la cantidad de comandos de aplicación registrados por este bot","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"786b61e6cc65666a30cc05eb95e77a50c0b50bc8465b5fcdfca82a6194a4f56f","description":"El servidor del que se obtendrá el recuento de comandos de la aplicación"},{"nameHash":"95c480c0e5baef32b7b5ed1487dfc0ed1bc890567ab957bbf1f95492d6198be1","name":"contar sub","descriptionHash":"86f60e36d8359d2e007cd0a0107a1a450aee2b1cc79d8c01dde096223a959997","description":"Si contar los comandos subs"}]},"$cropArgs":{"descriptionHash":"dbaafac04472c0336fec2d08bc19886cd1ffd102b6f0dd604ee66c1343c5b84f","description":"Cultivos dados argumentos","fields":[{"nameHash":"090772cf4068973daad3f715eb788d39fe2c02be42efd86de81f0e59198d6237","name":"argumentos","descriptionHash":"b3344904a3ef83dbd8402c6e3bd79295a69f56998e7e1fc451d65a7a80c85ba3","description":"Los argumentos para recortar"},{"nameHash":"e58475e63e84f412df83d0c23b019acf9d29f3c31f17ed13cfea92c559d96ef7","name":"Índice de comienzo","descriptionHash":"7e6750263e2f916b5444a9a37da64e2bbe5694d311cb098adfb3293111687003","description":"El índice inicial para comenzar a recortar."},{"nameHash":"1facfbb48b6cb5b9580176a913d252b1be9b410fa111fc08fafd0ad39a1be902","name":"índice final","descriptionHash":"9394166321420d701be101e7a941888219a0d90d0a69a1616b5066f2ff6ea6d9","description":"El índice final para terminar de recortar."}]},"$getSplitTextLength":{"descriptionHash":"9d2b227291be4046404b179b4d2de09dd1da2dced6f46fca2fd57b1ea83f4e51","description":"Obtiene el recuento de elementos de $textSplit"},"$arrayShuffle":{"descriptionHash":"574a9479f134136b3f86264c3eba8a46b04be1b7c3ca2fd70ebc9b171e9b2efd","description":"Mezcla la matriz dada","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"}]},"$escapeCode":{"descriptionHash":"7e26629cabdd157b2423eb3116375c8c878e246535f806b2e4dda153d27ae4e5","description":"El código dentro de esta función no se ejecutará","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"f69f359626cbda5eb1370c102db5fb947181d4e3d08d72e34a4d926a64e23ef6","description":"El código a ignorar"}]},"$isBotVerified":{"descriptionHash":"098c2e255559cb03d2fc1eb51dca847b10e0d2d82fccced48ec5b02c8023fe43","description":"Si el bot está verificado","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"97615e4c32f70b0ab31322bdf2c8f0dcb424d7fc917de6100d17ae35e3f5c8de","description":"El bot para comprobar si está verificado."}]},"$voiceMove":{"descriptionHash":"653d0a87f159553dfed31d7d693d321a001bdd636c6f3e3bfd77d53220ead1ad","description":"Mueve a un miembro de un canal de voz, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"ad6f9e2976558a40c97a1dfe431e27bdb95d8b0ecfffeb760fdd812132769dd7","description":"El usuario para moverse"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"860f661b7ef1b19455b10ab21d3190d9e20cf6b08828ebac83fe4dd4fdbc93d0","description":"El canal de voz al que mover a este usuario"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"b1c3329620481a9f9930ae7afb5c6922560981287b693538ae3d0b64f9d4b282","description":"El motivo del traslado del usuario."}]},"$arrayAdvancedSort":{"descriptionHash":"fa2899383f1020e7800e2f700c5bc365c42e3c90b2e0c980eda788be1ecc2940","description":"Clasificación de matriz avanzada","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"14ba61d15beb1aad0b945b2af8ad7029379e983ee38732e8ab24e8712c38406c","description":"La variable en la que se mantiene la matriz"},{"nameHash":"4c3c468428e55eaddfe3118bcd47147bfdfbe2f72e0d0925ea486d5e362801f1","name":"var1","descriptionHash":"951d58f2733489cfe86bda6c9ca054515c508992e68c3d444fdc8fdbb499f18c","description":"La variable $env 1 para mantener el valor x"},{"nameHash":"abd909d16348f2b282c972bbd45069b295c8f71faa954ea6569e24504f3f0a80","name":"var2","descriptionHash":"62bcab5efbb743676d36aaaae48b57264545f7a698a735912535536f58c8406d","description":"La variable $env 2 para mantener el valor y"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c223f6dd224e8daa19970a7b92e87f7d4c3b4c0d4dacc29c664607bb8d82c7d1","description":"Código opcional para usar para ordenar, se deben haber proporcionado las 2 variables anteriores"},{"nameHash":"755abb34dd374b9590209120cb2931db46aac8a84012a57037c2295116194fec","name":"otra variable","descriptionHash":"22dea814394d8827c55f1020435ea9386f7af455e32ba8e68022646842c6e893","description":"La variable para cargar el resultado, déjela vacía para devolver el resultado."}]},"$jsonKeys":{"descriptionHash":"fe6ef842b9247e90f925f0e34347d9074a147c874d5dc09cede9b6b51053a1f4","description":"Obtiene claves de una var json","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"c294e3ed5bf4b18a016d086aeb0685b327efb87c298f1d0ffa5ec8e9c0b19eb9","description":"La variable de la que obtener claves"}]},"$jsonEntries":{"descriptionHash":"821c9d6d8b1c170ce764c262054eddc546d69055830772aa3133dac31d97c6b2","description":"Obtiene entradas de una var json","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"0c5abf4f49d294f94d733422888fc400a921c34600b6c711554f0ab16878daee","description":"La variable para obtener entradas de"}]},"$jsonValues":{"descriptionHash":"114561c3d280a731b392bc08013ec29e4f8f8b1c0c3428b5878f8812e5a49ce6","description":"Obtiene valores de una var json","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"7753ca9a8012871ea7f025c05293a600afdf6dcf249725a3d53f70a56967ce0c","description":"La variable de la que obtener valores"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a80b5043e4e8a7765c67f2ba07f030e1a5906103b39b6a6c9b25fae471a64d73","description":"El separador a utilizar para cada valor."}]},"$channelVoiceMemberCount":{"descriptionHash":"eb87909fd5588cab2ae7c6a67a48854db8009297612b6993efb0fdf74f4a182f","description":"Devuelve el recuento de miembros que están conectados a este canal de voz.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."}]},"$channelVoiceMemberIDs":{"descriptionHash":"0e2ee8f320550a3523d87b087eebe74ab19ee16ff0745b19ada897aa606afe32","description":"Devuelve los miembros que están conectados a este canal de voz.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"baa2196683ae8745ed7f05bea774bb29cd0e4a2e6c500203bdc7153e34c90fce","description":"Separador a usar para cada identificación"}]},"$userIDs":{"descriptionHash":"2eee84f3ab9afd6c2f658eb82626e84b9ebe38a969d01bad5d5f0fd33065d160","description":"Devuelve todos los usuarios que están actualmente en caché","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"2068e4316c164a8847aa41c65fcb9103b9ccc2d41b7aff47c302859dc682efa2","description":"El separador a usar para cada identificación."}]},"$isJSON":{"descriptionHash":"c5cd752527264bee9db133e17b6e5b70a6d6424d60a755ed0565c4f849241746","description":"Comprueba si el json dado es válido","fields":[{"nameHash":"02bd175f329720378ce83dd56a1b6b1f5291a60182d6c54b5e0d1e8d248a267a","name":"json","descriptionHash":"d77e443abcfd439d2c11dccd6a131e4af6c2776a8dae9c81a8659195c8657336","description":"El json para comprobar"}]},"$discordTimestamp":{"descriptionHash":"db5030e75f076ee13d1ec0c756bd416cc8c6eb0a63c8f24daa29b608742790a7","description":"Crea una marca de tiempo de discordia","fields":[{"nameHash":"336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e","name":"tiempo","descriptionHash":"e4c03aa92a0ade8df41d2f0b29c0b91043d8bad109acfacecfb2d222a4bacbaf","description":"El tiempo para convertirse en marca de tiempo."},{"nameHash":"cb86eb2d914d37df6857c3cfe4827b5f770b01a86578120618b0b21572160be8","name":"estilo","descriptionHash":"b2a01af0ae261d5904f34f33e800a462b4982e748866b907f93f40dfdc24bcb6","description":"El estilo de marca de tiempo"}]},"$isSlashCommand":{"descriptionHash":"670fa50b25230de97b80f04ebc94d84ee9ab0524318bec82c7223d0534cef951","description":"Devuelve si la interacción es un comando de barra diagonal"},"$api":{"descriptionHash":"24effdd32aa3a3b26cb254685ebad9de39d9258bd8e208c11adccb9d18e99d82","description":"Envía una solicitud de API de Discord, utilizando una ruta de tipos de API de Discord","fields":[{"nameHash":"60589a7d894520d85ce6cc93c5687d853bd92c8083ab3298acd95524c6777099","name":"nombre de la ruta","descriptionHash":"f7d4002ab2788c006e15cf77853332b25b67eda0a5d7113e01143e52086ed894","description":"Nombre de la ruta, así \"canal\""},{"nameHash":"f3a86774d4539a2fecc4f64d652f0e65ef309f9706d60745e0dcc8f3df2ed10a","name":"método de ruta","descriptionHash":"49ae7bb51a7fe7bfb5763bdd1729ecd626e25336cbadf7058f031cdee58a85b5","description":"Método de ruta, como \"obtener\""},{"nameHash":"8cfc41fae79c7cbd75b47eaa74082f881cdd08ba0f6efd2de6fe13f13adab15a","name":"parámetros de ruta; cuerpo","descriptionHash":"b4c2e8af2d5c11d1ca8ceb036ccdaa22a0e5044a43170a65c4d9d0e0e86bd0bf","description":"Parámetros para esta ruta, el cuerpo tiene que ser json"}]},"$channelIsChildrenOf":{"descriptionHash":"d23fe0e3fb391a8ccccac6656c105cf498cf94d4fcd3ac1cff1ac0d4b1cdfa22","description":"Comprueba si un canal determinado es hijo de una categoría.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"1bce452444d8fe5e55994c9b628d21bcb59086792a35b02d8e5d6d1a537f7a48","description":"El canal para saber si es niños de categoría."},{"nameHash":"abe236db296ee2e834a0d194e46be792a3619bccc7b065109a00415e8ff733b9","name":"categoria ID","descriptionHash":"7319acd631b687cb8b78521a594742e68dc8a3343dad8dd0be4e4fb2f7bf6790","description":"La categoría a comparar"}]},"$addActionRowTo":{"descriptionHash":"1dce610e261ea7b291e1dbfc18bb2c7a906422b0db9afb1d37fc2ae55a8b9a17","description":"Agrega una fila (o filas) de acción a un mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"1a871b84a2ac0631e16de5d31ac39b41f6c53e965ea5b1df1071568f332a4bbc","description":"El mensaje para agregar fila a"},{"nameHash":"7b12be43febc6e18259dd77c004315b4143d570234e0f15acf5f9d7b79c371b5","name":"componentes","descriptionHash":"56cecfb37ee8638f971f7b46d1baf78ce37d0683a1ab30c10293e0f5dedb49c4","description":"Componentes para esta fila"},{"nameHash":"414dcad0c9cf73168691b7d9e2dc8998cd2e3f59f6478994129da365b576fd67","name":"mantener filas existentes","descriptionHash":"1febf79f18504d3d0744491f3f1dda7709aef81edf5f61e09ff541ce0bbc97a1","description":"Si se deben mantener o eliminar filas existentes de un mensaje determinado"}]},"$addButtonTo":{"descriptionHash":"f0b83f2282dd4a5328c2b9b3c70169363b292007db63cc7bb406ca5308dc4e63","description":"Agrega un componente de botón a la fila más nueva de un mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"04e6a5852c2ea1bd0d83224601e1d4efb68f07a9ed455fa122de862900a4888d","description":"El mensaje para agregar el botón a"},{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"19f31cccd99dc3c96b23db27551c97f896883a1586d4894b88b36b8af88cbeb6","description":"La identificación personalizada para este componente."},{"nameHash":"1aca80e8b55c802f7b43740da2990e1b5735bbb323d93eb5ebda8395b04025e2","name":"etiqueta","descriptionHash":"bbc81f660cca3a395ed8bc5f6c12f15eefe97569db1151aa0d22dfc3d17b5dc0","description":"La etiqueta del botón"},{"nameHash":"cb86eb2d914d37df6857c3cfe4827b5f770b01a86578120618b0b21572160be8","name":"estilo","descriptionHash":"68d4249fe7f2561a52efdc0f5479869e1951ce56aa86bf7bcd2a63b28c3e1d89","description":"El estilo de este botón."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"431d810439480627f734e2023ad3cdbbb3e144d023f8c8dcde2ec8075f7a1c02","description":"El emoji de este botón."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"edb7cd794f8a1d3c8da15187e81b9f79a1ce53cf1211038ed131ad7fc74cf54d","description":"Ya sea para desactivar el botón"}]},"$addStringSelectMenuTo":{"descriptionHash":"06cfdb03902c31d4f45affd401d6cf7082f9c0f2188616f965eb6ce5b6769fa6","description":"Agrega un menú de selección de cadena a un mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"250476b3592ce4d851456ea702bf42a3a741d3de060d9bf66290b50330476ba7","description":"El mensaje para agregar el menú de selección a"},{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"65afb9419c950e739927f467bc267cf851fe86d0a019cf98fa4b4bec9950dcea","description":"La identificación personalizada que se usará para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."}]},"$addMentionableSelectMenuTo":{"descriptionHash":"7f5b9b45e035d8bda9a30d3cca14ded0e031f043edfff437999a26b426072395","description":"Crea un menú de selección mencionable para un mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"1a871b84a2ac0631e16de5d31ac39b41f6c53e965ea5b1df1071568f332a4bbc","description":"El mensaje para agregar fila a"},{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"7cf92853633795dfb0d08a1ae3f75613af6c0d54c12e5b99fc3630167f094d4a","description":"La identificación personalizada para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"d7fca841b0f86898de6a25e355972eead761c04dbc472386b29c567b7188c2e0","description":"Si el menú está deshabilitado de forma predeterminada"}]},"$addRoleSelectMenuTo":{"descriptionHash":"eb12fcb7cd8d5035bb383e15a76aaaa13afc59ffc3e7386c539fe104b540cacf","description":"Crea un menú de selección de ID de rol en un mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"250476b3592ce4d851456ea702bf42a3a741d3de060d9bf66290b50330476ba7","description":"El mensaje para agregar el menú de selección a"},{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"7cf92853633795dfb0d08a1ae3f75613af6c0d54c12e5b99fc3630167f094d4a","description":"La identificación personalizada para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"d7fca841b0f86898de6a25e355972eead761c04dbc472386b29c567b7188c2e0","description":"Si el menú está deshabilitado de forma predeterminada"},{"nameHash":"abf3d26c6b4be64d52c862381faa920612a82e418e8bb2b4d4aaf3b4622fd820","name":"identificadores de roles predeterminados","descriptionHash":"fa00804c22936b339d3f661d22dc8aa2dee0816e1d82a7e2e1b7f959e19bc295","description":"Los ID de rol seleccionados predeterminados para usar"}]},"$deleteActionRowFrom":{"descriptionHash":"78b3965c7c234e813763905563bb10ea84056dcb8e13fbed2264780590fcedd7","description":"Elimina una fila de acción en un índice dado","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"a8c834452cad1d551131a928742a07bbe0fdc1d21e53c2e76474db60282e8b9d","description":"El mensaje para eliminar la fila de"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b25c31cb3af0208d5d9800145e222f8c887d5961c58c42a179260a70e7102292","description":"El índice de fila a eliminar"}]},"$deleteComponentFrom":{"descriptionHash":"9035b651a9f57085f00bca43ec5338007352a2f153532cb6f05661f27a3a0795","description":"Elimina un componente con una identificación personalizada determinada de un mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2b26d8145c0462c527b62be72688bab663edf817ee9d873d967f3b5a4ead4963","description":"El mensaje para eliminar el componente de"},{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"cf4f53ef53e85785591abcc1e8e87318c8b78222d210a8df6ab6e3035b79ca93","description":"La identificación personalizada del componente a eliminar"}]},"$addUserSelectMenuTo":{"descriptionHash":"b6ed355a89c2e07901e4dc554c110ea09c48ba741fd0b4ca504ffd44ecfc5b48","description":"Crea un menú de selección de usuario en un mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"250476b3592ce4d851456ea702bf42a3a741d3de060d9bf66290b50330476ba7","description":"El mensaje para agregar el menú de selección a"},{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"7cf92853633795dfb0d08a1ae3f75613af6c0d54c12e5b99fc3630167f094d4a","description":"La identificación personalizada para este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"d7fca841b0f86898de6a25e355972eead761c04dbc472386b29c567b7188c2e0","description":"Si el menú está deshabilitado de forma predeterminada"},{"nameHash":"0d7768b318f717af53a97a074c835bc3645621599533fa46e4f171a1554cf28f","name":"usuarios predeterminados","descriptionHash":"ef03232e68357f1c66b28f3e3f345f31ce446c20cebcc14309392635390f89f6","description":"Los usuarios seleccionados predeterminados para usar"}]},"$editButtonOf":{"descriptionHash":"c6b852c684aa24531ccfdaa08300315a5025c467055a5ddfe5a899a2ed8077a5","description":"Edita un componente de botón de un mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2f268b908d1869ae2df2ffa3dec94af5642ce5a42be43b91d06275f1c47be96e","description":"El botón de mensaje para editar para"},{"nameHash":"53a5c66a9758c911531a7773d1b3515811b83cdeb3bfb2d7bc37ca0b1cef5084","name":"identificación personalizada","descriptionHash":"f764f5ab81a22991dadd72ebf9aae37b1b782fa4072dff0a89137e33d37657ff","description":"La identificación personalizada para encontrar el componente."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"656883609e1243fd81a1398dbe5a7cd40fe18c038f6e860b6b1413887c87a902","description":"La nueva identificación personalizada para este componente."},{"nameHash":"1aca80e8b55c802f7b43740da2990e1b5735bbb323d93eb5ebda8395b04025e2","name":"etiqueta","descriptionHash":"bbc81f660cca3a395ed8bc5f6c12f15eefe97569db1151aa0d22dfc3d17b5dc0","description":"La etiqueta del botón"},{"nameHash":"cb86eb2d914d37df6857c3cfe4827b5f770b01a86578120618b0b21572160be8","name":"estilo","descriptionHash":"68d4249fe7f2561a52efdc0f5479869e1951ce56aa86bf7bcd2a63b28c3e1d89","description":"El estilo de este botón."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"431d810439480627f734e2023ad3cdbbb3e144d023f8c8dcde2ec8075f7a1c02","description":"El emoji de este botón."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"edb7cd794f8a1d3c8da15187e81b9f79a1ce53cf1211038ed131ad7fc74cf54d","description":"Ya sea para desactivar el botón"}]},"$editStringSelectMenuOf":{"descriptionHash":"9c967a3ec1693569a8bf1de94acb5c99f9e8d5217e3a52bca822dd781b18a204","description":"Edita un menú de selección de cadena de un mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"fcf43f7a6a8b8a0efb689fe14460d4ca505c16fe9b5ce0b3b803eeed75de8be4","description":"El mensaje para editar seleccionar menú para"},{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."}]},"$webhookURL":{"descriptionHash":"acaa5d95fe9c5e38c9451a51c11d271c3aef864a4c30552b3edb04fe71427a2a","description":"Obtiene la URL del webhook con la identificación proporcionada","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e2909d0ae1b088798c606206a499873db52c6b426673ee0e66c68ddb30218466","description":"La identificación del webhook"}]},"$ws":{"descriptionHash":"f0212b10c89a8601db498f8b4236439d1df23167092ce06fa17e5c7148311886","description":"Crea una conexión WebSocket a un servidor.","fields":[{"nameHash":"4740ae6347b0172c01254ff55bae5aff5199f4446e7f6d643d40185b3f475145","name":"anfitrión","descriptionHash":"0388e143684b636f9c9bc68babe5357913ff4dbfc639800bd765416b9416bec3","description":"El host WS, formateado como wss://nombredehost:puerto"}]},"$wsClose":{"descriptionHash":"cc34221a45a2f15698e6744e5d37103d1afcf4237f411247f29f6066bdea994a","description":"Cierra una conexión websocket y elimina a todos sus oyentes.","fields":[{"nameHash":"90a219b30aaf89e72b10a70f5ec8a74892ed72b16af094399949225d86b4d6b9","name":"ID de socket web","descriptionHash":"0a2f01c7beeab5204b44dc9b33f3a5f8a6839c0b6604df1a0bd7e6c12e54d0a4","description":"La identificación del websocket al que adjuntar este oyente."},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"6d4a9ed5ba3151677cb709fa52648dd45c3c98458abdcc239cd50e023ddaea64","description":"El código de estado a enviar"}]},"$wsOn":{"descriptionHash":"9742487832e2dfc1ee97e4c88ee0e40cb32fe62e298b6f4389ee72910d236110","description":"Adjuntar un oyente a un websocket","fields":[{"nameHash":"90a219b30aaf89e72b10a70f5ec8a74892ed72b16af094399949225d86b4d6b9","name":"ID de socket web","descriptionHash":"0a2f01c7beeab5204b44dc9b33f3a5f8a6839c0b6604df1a0bd7e6c12e54d0a4","description":"La identificación del websocket al que adjuntar este oyente."},{"nameHash":"7bc7b7e14e5c64599d649fa56d3c6d0eb495c31061fe5dea0ff7c8a15863bc36","name":"nombre del oyente","descriptionHash":"702279062565ad106a2df5218b6f3985efb67814e2079e284b001ef4ace8ef1d","description":"El nombre del evento a escuchar."},{"nameHash":"f2579d976934c7888785842d8e5a48a140453222e5dbca50d5a1226cd63a8dc7","name":"llamar de vuelta","descriptionHash":"f6f16cd2acbcb84cd823a72245ab6260d8d170ace49b9b5629c853ac6fe12d63","description":"El código que se ejecutará cada vez que se active este evento."},{"nameHash":"a20b52fae57cc7a99c9651f1b573950fd211823e3ace3bb9c273c06430f24cd3","name":"parámetros","descriptionHash":"918e52e00d2859387576f3021d328e21de84bcdcece2c4dff0a92538f300df31","description":"Los argumentos que contendrán los datos del evento que se envió."}]},"$bar":{"descriptionHash":"4402149acb6136e716fd56e16c930579ff9b9916d7ad7fab8fe2e1652086355a","description":"Genera una barra de progreso","fields":[{"nameHash":"97b0560280ed60a5a1eaa1bc45492543c8a986ad5a25b468c427eb83c3e88191","name":"actual","descriptionHash":"4e9f6d48626375f1a52862a66eeb4c1e20d5d20c9b236b1a579c0b8e71457990","description":"El valor actual"},{"nameHash":"9baf3a40312f39849f46dad1040f2f039f1cffa1238c41e9db675315cfad39b6","name":"máximo","descriptionHash":"85386e13112fdf2fff54921b2393b4511b33c601932fa8271c1e238146de0fd4","description":"El valor máximo de la corriente."},{"nameHash":"0f82aca66af91493b1ff401de5f1f7e3e24e14560df3f6f7e465dbc915b9947d","name":"longitud","descriptionHash":"0d142c41e15273911480fb991be3c88d0f12f598b54c7eeace25237ad013a12b","description":"La longitud de la barra"},{"nameHash":"dcd32479a72e55b29a03a586d8a483a05be0ce87cc5c25c7bad23079fc0356b3","name":"llenar","descriptionHash":"d68a72f942afd9b120b2a4f3783f1cf85e71654c6ba9fc0080f7d479701c7aab","description":"La cadena a utilizar como puntos rellenos de la barra."},{"nameHash":"2e1cfa82b035c26cbbbdae632cea070514eb8b773f616aaeaf668e2f0be8f10d","name":"vacío","descriptionHash":"4a05636b258f855b2396c950fa66b8359e2e73d320c30669c48daee8a0669c0b","description":"La cadena a utilizar como puntos vacíos de la barra."},{"nameHash":"9e08e9f870dfbd00ca1746e56440b1aa59ddd7a4d884ef115774c6b89aee5e54","name":"truncar","descriptionHash":"e770b8aa70eb94bf399fdc32f69cff85d1f779e7a773b2f0e3cfef1b581c27e4","description":"Ya sea para truncar en lugar de redondear"},{"nameHash":"7ef0f7d3c09bbb61630b521e99ef1c99ca99eef873bb6dfbe62cf5b29227209e","name":"llenarInicio","descriptionHash":"423566f22c160e5e4f2d0059f6bb04e75a70efdccc0cb5a3b257fbb7c99accda","description":"La cadena que se utilizará como inicio relleno de la barra."},{"nameHash":"4f73b95549ca0a4638d5b7045f8ac2600ef5de44d511bdc8651c2cc3db925918","name":"llenarFin","descriptionHash":"b42a1ea88a2ac10f3740229169fea11178cedc85c5dce097099fdb56025f4c9c","description":"La cuerda que se utilizará como extremo relleno de la barra."},{"nameHash":"fe805fb0d659fb55e90f94332964e58f9a3f3f2ceacee3bb9312e74dfd4d5555","name":"vacíoInicio","descriptionHash":"1e33bc45772cef97128a7494fb15a6c6548ffbc12db348cc6e903fe0b45a3cec","description":"La cadena que se utilizará como inicio vacío de la barra."},{"nameHash":"eab861ff2b99c63f2ea0b0a476adaf644c97c32ec4ac0c5652e7ba1a213796c6","name":"final vacío","descriptionHash":"51b37b51af8564bd965f352bbdaf17f785ddee3f34d2c11f9e61d47845d76377","description":"La cadena que se utilizará como extremo vacío de la barra."}]},"$gc":{"descriptionHash":"2f5145034b6e7f0c9a11426ecd6bb92566b906aae16e48a57a70821e3439a4e2","description":"Activa el recolector de basura de JavaScript, solo disponible si se pasa el indicador --expose-gc al nodo"},"$reverseText":{"descriptionHash":"a7fc2bf982f0a39bd0545d5fa028f36de0228a1a7781f5f32f5a2a91a7e81eb0","description":"Invierte el texto dado","fields":[{"nameHash":"473287f8298dba7163a897908958f7c0eae733e25d2e027992ea2edc9bed2fa8","name":"cadena","descriptionHash":"0c2cc50fe0c995ceccefb178ba7a08d99788bf07cbe51d419072959f6ec75d8f","description":"La cadena a utilizar"}]},"$wsSend":{"descriptionHash":"1e7e197f257e159244e03c40be39805007b344ee0bd9520aa110978d7a5d8be4","description":"Envía un mensaje websocket","fields":[{"nameHash":"90a219b30aaf89e72b10a70f5ec8a74892ed72b16af094399949225d86b4d6b9","name":"ID de socket web","descriptionHash":"0a2f01c7beeab5204b44dc9b33f3a5f8a6839c0b6604df1a0bd7e6c12e54d0a4","description":"La identificación del websocket al que adjuntar este oyente."},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"840006c20ee4adbf61fd06104fd05f7c27e9864c109ca4241a66723a780f12f3","description":"El valor json para enviar"},{"nameHash":"f2579d976934c7888785842d8e5a48a140453222e5dbca50d5a1226cd63a8dc7","name":"llamar de vuelta","descriptionHash":"b93562c7db69af90c2f29d9eddb314bd69075242f99a1526ae727396ebe393cb","description":"Código para ejecutar al completar la solicitud"},{"nameHash":"146bcd88c1990e8b394cca5b25dd27e9be23cce418140f93a5046d40241a1f52","name":"nombre de la variable","descriptionHash":"77df36f1c11beb618296cf68fa0bf1f8861cedf2e317f2a210a3ff0c7d6b8fad","description":"Variable para almacenar el error si se solicitó una devolución de llamada por un error"}]},"$average":{"descriptionHash":"9de413fe3eb06e4b6574c60cea6c71f49e2e1bc0e76806f79a438a67c2a8f015","description":"Calcula el promedio de números dados.","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"4daee7259f4bfe1e0726265c28fd8d7011aeed4522ba2f0b1921c0cb405cc87e","description":"El delimitador de cada valor."},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"92f79f7fb589041de6ea5ff594f609a89f663e06db11019ec7281bfb401430be","description":"Valores separados por \"separador\""}]},"$advancedBar":{"descriptionHash":"e0e005a0f69411672dc0a4495036252c39fc4750f42884c85132fa477ad24ad5","description":"Genera una barra de progreso avanzada","fields":[{"nameHash":"97b0560280ed60a5a1eaa1bc45492543c8a986ad5a25b468c427eb83c3e88191","name":"actual","descriptionHash":"4e9f6d48626375f1a52862a66eeb4c1e20d5d20c9b236b1a579c0b8e71457990","description":"El valor actual"},{"nameHash":"9baf3a40312f39849f46dad1040f2f039f1cffa1238c41e9db675315cfad39b6","name":"máximo","descriptionHash":"85386e13112fdf2fff54921b2393b4511b33c601932fa8271c1e238146de0fd4","description":"El valor máximo de la corriente."},{"nameHash":"0f82aca66af91493b1ff401de5f1f7e3e24e14560df3f6f7e465dbc915b9947d","name":"longitud","descriptionHash":"0d142c41e15273911480fb991be3c88d0f12f598b54c7eeace25237ad013a12b","description":"La longitud de la barra"},{"nameHash":"89445ea08b55421faa49919a5fd272e9a520f701b479d6084847e161ca5b7711","name":"valores","descriptionHash":"a6d66643b1b66275699f666e546955e878a1988e03fac0bdfef66e73a72c2aa3","description":"Los valores con los que crear la barra, por ejemplo `=;~;#` significa `0%;33%;66%`"}]},"$deleteGuildCooldown":{"descriptionHash":"e8f8c85e188d3f74f08dbeba9ef624a5b78e3e87d617c7006fe0d37c820a5122","description":"Elimina el tiempo de reutilización para una identificación de servidor determinada, vinculada al comando actual","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"5dc14ceb14ac50eeefcf7b4790cac0dc7b0adc682f8551859329f33044ba8b3d","description":"La identificación para eliminar su tiempo de reutilización."}]},"$getUserCooldownTime":{"descriptionHash":"631fa2f6186458143c56de6bde0704c0ec2adb84ae1160529ea2e76d629ee492","description":"Recupera el tiempo de recuperación actual en ms para una identificación de usuario determinada, vinculada al comando actual","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"a609ab9cd62a8741538e771f61a32495f80749c0dc2d72e2afc8eccdcf20111a","description":"La identificación del usuario para obtener su tiempo de reutilización."}]},"$deleteUserCooldown":{"descriptionHash":"b50a85476e751b980e4ec482c4796b4a0a75b001403b46865958a82b4920996a","description":"Elimina el tiempo de reutilización para una identificación de usuario determinada, vinculada al comando actual","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"5dc14ceb14ac50eeefcf7b4790cac0dc7b0adc682f8551859329f33044ba8b3d","description":"La identificación para eliminar su tiempo de reutilización."}]},"$getGuildCooldownTime":{"descriptionHash":"bc5168f0907d5e6c23f99e7dda1021104934299e8002073811f8813c007924c9","description":"Recupera el tiempo de recuperación actual en ms para una identificación de servidor determinada, vinculada al comando actual","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"341765e75a176128143f16ad68cc72c4cb9dc6665aff2ff35082adba123fb7b5","description":"La identificación del servidor para obtener su tiempo de reutilización."}]},"$deleteChannelCooldown":{"descriptionHash":"654a8bdd41c646eb2d2f8ac6245d115c05a52f01688ab0d85b5ea11331906f0b","description":"Elimina el tiempo de reutilización para la identificación del canal determinado, vinculado al comando actual","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"5dc14ceb14ac50eeefcf7b4790cac0dc7b0adc682f8551859329f33044ba8b3d","description":"La identificación para eliminar su tiempo de reutilización."}]},"$getMemberCooldownTime":{"descriptionHash":"7c673ba42fca2b526bed26639c45bb6300a4d8e017e18c1c7c60e7f61b5e5e92","description":"Recupera el tiempo de recuperación actual en ms para un servidor y una identificación de usuario determinados, vinculado al comando actual","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"341765e75a176128143f16ad68cc72c4cb9dc6665aff2ff35082adba123fb7b5","description":"La identificación del servidor para obtener su tiempo de reutilización."},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"a609ab9cd62a8741538e771f61a32495f80749c0dc2d72e2afc8eccdcf20111a","description":"La identificación del usuario para obtener su tiempo de reutilización."}]},"$deleteMemberCooldown":{"descriptionHash":"33d7fe436239cbd06f26a1772bcb000e0a5b2c4454fe8e567ff455b3c9df680e","description":"Elimina el tiempo de reutilización para un servidor y una identificación de usuario determinados, vinculado al comando actual","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"5dc14ceb14ac50eeefcf7b4790cac0dc7b0adc682f8551859329f33044ba8b3d","description":"La identificación para eliminar su tiempo de reutilización."},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"5dc14ceb14ac50eeefcf7b4790cac0dc7b0adc682f8551859329f33044ba8b3d","description":"La identificación para eliminar su tiempo de reutilización."}]},"$channelCooldown":{"descriptionHash":"a4d5bf43a205705aa323301ff9d9c3e1170bc5964e86844841a1596d516e0b16","description":"Agrega un tiempo de reutilización vinculado a un canal y comando.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"4a04df81f77bcbc14e3c3c92503b7d9e16398f708bfe99e53422c853ffe4ad09","description":"La identificación del canal al que asignarle el tiempo de reutilización."},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"c864ea4a79eb5afc321d4835e799d29fdc3a3aba390aa1f983a31229c59d8cbf","description":"La duración del tiempo de reutilización."},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"8c5cc5d92936a8b36b006ce3dbb03631515b07e01333d423f896e60f79cfa31f","description":"El código a ejecutar si el tiempo de reutilización está activo."}]},"$guildCooldown":{"descriptionHash":"2b959a3e5a02ce9924e940a951625d23bcd64dfda03f6ade76f2f341f30d12c9","description":"Agrega un tiempo de reutilización vinculado a un servidor y comando.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"1848f3727a4550657d95cc7c405bc3a27dab9d37db03fb35f4be963de5689e1a","description":"La identificación del servidor al que asignar el tiempo de reutilización"},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"c864ea4a79eb5afc321d4835e799d29fdc3a3aba390aa1f983a31229c59d8cbf","description":"La duración del tiempo de reutilización."},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"8c5cc5d92936a8b36b006ce3dbb03631515b07e01333d423f896e60f79cfa31f","description":"El código a ejecutar si el tiempo de reutilización está activo."}]},"$userCooldown":{"descriptionHash":"e721fa431374e8a2c7a6bf4b07dbd594c0255f308444eeade3fdd2c78c38affa","description":"Agrega un tiempo de reutilización vinculado a un usuario y comando.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"0273513f69c4c6a31721ccbaa932f03454567c828bc21a7afb17d5b82ccc3439","description":"La identificación de usuario a la que asignar el tiempo de reutilización"},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"c864ea4a79eb5afc321d4835e799d29fdc3a3aba390aa1f983a31229c59d8cbf","description":"La duración del tiempo de reutilización."},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"8c5cc5d92936a8b36b006ce3dbb03631515b07e01333d423f896e60f79cfa31f","description":"El código a ejecutar si el tiempo de reutilización está activo."}]},"$memberCooldown":{"descriptionHash":"965a41c38ccc7e669ede175b96adf0c5f73742e29d4b5d303543805d20abe843","description":"Agrega un tiempo de reutilización vinculado a un miembro del servidor y un comando.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"1848f3727a4550657d95cc7c405bc3a27dab9d37db03fb35f4be963de5689e1a","description":"La identificación del servidor al que asignar el tiempo de reutilización"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"0273513f69c4c6a31721ccbaa932f03454567c828bc21a7afb17d5b82ccc3439","description":"La identificación de usuario a la que asignar el tiempo de reutilización"},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"c864ea4a79eb5afc321d4835e799d29fdc3a3aba390aa1f983a31229c59d8cbf","description":"La duración del tiempo de reutilización."},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"8c5cc5d92936a8b36b006ce3dbb03631515b07e01333d423f896e60f79cfa31f","description":"El código a ejecutar si el tiempo de reutilización está activo."}]},"$setBotBanner":{"descriptionHash":"b20f43e4eedc18d30a3433529dc5b1a037e72b1ff862a5cc4883e61250d42f54","description":"Establece el banner del bot","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"06ff52447aaf518b9748f77b67704cc112ee7754ee4f9a1dc43a14d884f40249","description":"La URL del banner"}]},"$entitlementEndTimestamp":{"descriptionHash":"1194d276b259ce593220cf9c56a1b4a540ca8c7aee64c3f3abe5806b341d9860","description":"Devuelve la hora en la que finaliza este derecho."},"$entitlementGuildID":{"descriptionHash":"a049d5ed491ac91e2c8693ae01ef947644edc5f9963d3b082fd05031581a5382","description":"Devuelve la identificación del servidor de este derecho."},"$entitlementIsDeleted":{"descriptionHash":"6973ca10c2d55aed88f30fff5524479a568d49f7ceffbcd8b70fdd3cc33f5ac5","description":"Devuelve si este derecho se elimina"},"$entitlementIsUserSubscription":{"descriptionHash":"ea617757aaa6ddcdcdbb4585cd8dd336fddb3aa18cf7934af50207fb0ca0230f","description":"Devuelve si este derecho es para un usuario."},"$entitlementStartTimestamp":{"descriptionHash":"68d02823f4add8f1a0b25681aaf3658977bed87e7f9301751ffd0626df4d77d1","description":"Devuelve la hora en la que comienza este derecho."},"$entitlementIsActive":{"descriptionHash":"bc87e5b8c943ff9466d17a3d6baec4c7e4179d14a064003705ea00e1179e028a","description":"Devuelve si este derecho está activo"},"$entitlementUserID":{"descriptionHash":"a75b199fcf008124785d7b014f7fe7bc7173847edc09ae16d78b58be4e5ca49a","description":"Devuelve la identificación de usuario de este derecho."},"$entitlementID":{"descriptionHash":"3a6d17245560f6d67124825c900f8709308d67a141d86bc561fc8d4144d5583b","description":"Devuelve la identificación de este derecho."},"$entitlementSkuID":{"descriptionHash":"19c8691095a02cdacf963a712c8b4507ed626f01468e58f6ecdb09b574c483c3","description":"Devuelve el id. de SKU de este derecho."},"$entitlementIsGuildSubscription":{"descriptionHash":"51f3f43c28252af95659ed5a5f31227f9852651521463543b17241a2727b36e4","description":"Devuelve si este derecho es para un servidor."},"$entitlementType":{"descriptionHash":"355ba3981fb051e689f140e4417d6205729e4f66d588fc7d3d7391b7a04d1019","description":"Devuelve el tipo de este derecho"},"$entitlementIsConsumed":{"descriptionHash":"95aebf2552085e788532b13bb400b5885f22e24357d4f9fca8c65cb714c2369d","description":"Devuelve si este derecho se consume"},"$hasAnyEntitlement":{"descriptionHash":"1fff0dfcbd07c32d4eb370e80fc99f4cd13b9ae045db5a648773403e93f69320","description":"Comprueba si este usuario de interacción tiene alguno de los derechos otorgados.","fields":[{"nameHash":"1539b309b3f151cea0d8fc79c298fc8fbecfd3ce0b3ef39c0f7b68fcf15ada5b","name":"nombre del derecho","descriptionHash":"3ae215ab8faa0f5d7d67851e76b3bbb6d7cec7b2b57a1c5bb277e59728dd82f6","description":"El nombre de los derechos a validar."}]},"$hasEntitlement":{"descriptionHash":"f7b75a7d4a94d8e370fc4ebbe321612dbafa12e291a97ad7c7164dd32a4a538f","description":"Comprueba si este usuario de interacción ha otorgado derechos","fields":[{"nameHash":"1539b309b3f151cea0d8fc79c298fc8fbecfd3ce0b3ef39c0f7b68fcf15ada5b","name":"nombre del derecho","descriptionHash":"88d5a6ba3c14c0b8e87d2232f5960041698224ef5249fa89db0a8c0846a76c9f","description":"El nombre del derecho a validar."}]},"$hasAllEntitlements":{"descriptionHash":"84abfe90c2b8c345f899a2ddcdf7c4b72c49c619dc779f9a940c657a47e47f56","description":"Comprueba si este usuario de interacción tiene todos los derechos otorgados","fields":[{"nameHash":"1539b309b3f151cea0d8fc79c298fc8fbecfd3ce0b3ef39c0f7b68fcf15ada5b","name":"nombre del derecho","descriptionHash":"3ae215ab8faa0f5d7d67851e76b3bbb6d7cec7b2b57a1c5bb277e59728dd82f6","description":"El nombre de los derechos a validar."}]},"$entitlementConsume":{"descriptionHash":"d8b107c873df903cf0a2a6eaabb33562dfe9676ce3e5cc07d15527f9a803cf03","description":"Consume un derecho de una interacción.","fields":[{"nameHash":"1539b309b3f151cea0d8fc79c298fc8fbecfd3ce0b3ef39c0f7b68fcf15ada5b","name":"nombre del derecho","descriptionHash":"ae3f618583e8c532389f3d100ea7dd1b606479bf4198c1d5c3cf12230cffdbd7","description":"El nombre del derecho a consumir."}]},"$interactionRequirePremium":{"descriptionHash":"6520ad1719b6ed44287c20fbc7c9627baba4e51d5e8156dd341dfdddc95a824a","description":"Requiere premium para usar esta interacción"},"$newEntitlement":{"descriptionHash":"5d61078fec651eb4b73b8ab045d4644618c9fea8aeaec09049acfe355337eecb","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de derecho","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldEntitlement":{"descriptionHash":"23f564b7aafd9ee193fd83f5f0fe5aba621c60e13e9f6e8041f930e9ed641ddc","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de derecho","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$applicationCommandOptions":{"descriptionHash":"c6d254b6f84d2161c4acb4af06ae01e83b493d922226c8dafc30b330603d457c","description":"Devuelve las opciones de comando de una aplicación en formato JSON","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"045686ed109fd1e41ef151e13e0adbde9362b022662622ef497ae99f3bf23d70","description":"La identificación del comando para extraer sus opciones."}]},"$pollAnswers":{"descriptionHash":"5ff3aec2c953a126e93abafc6c07547a04ab7ae026579cdc1ddd42241aa7fe76","description":"Agrega múltiples respuestas a la encuesta","fields":[{"nameHash":"ed1728974550302545eb1b42ec6e7e020087b38f9446b350ba3427827e95ebf3","name":"texto;emoji","descriptionHash":"79c8c571eb3308b986d0c25d276ae2112f7a05b3b048148d57a590324325181e","description":"El texto de la respuesta seguido de un emoji."}]},"$pollAnswer":{"descriptionHash":"544415c40e30c423279aafb36505be37f9d77374dd905dcb6919fdd867e33f89","description":"Agregar una respuesta a la encuesta","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"a9fb70cc18e8d28dd75f344d1485d439e188efe293ec7449899feb84fc2e5633","description":"El texto de la respuesta."},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"3f1a910acadbc00eb93df04cdf2b59eb276452a3c20413fb8ccb72332cdb09b3","description":"El emoji a usar"}]},"$poll":{"descriptionHash":"2426756fe636431d8bb22768cc7ac6848c35283a1e2465d17f3915f5979d194d","description":"Crea una encuesta","fields":[{"nameHash":"1f5087db919ced5c123c7f507d3fcce818cb0cf6e77c2f95a8a35e951e03fdb9","name":"pregunta","descriptionHash":"cf9686de26c37b8dc596cfcb2b1d83ac2c4cac03e2c5e90a61e77a44718c2205","description":"La pregunta de la encuesta"},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"32e0e1a5774be09944979eab06b18f6fa18a01e3fcb77788f92c3d24782c8020","description":"La duración de la encuesta."},{"nameHash":"e9a8cd377d9fccf8ad4b330af9a2d45bf511ef83f7b1c773b8f9f619b9eaa24e","name":"selección múltiple","descriptionHash":"651f96c614a70c7abcf87272249249fd40a28d29f61d820b65bf28d6254e3ca7","description":"Si se permite la selección múltiple"},{"nameHash":"1dc5ae5b68174891b6aa9850aa05ee0d9ae8a20468d9517259951a2dd9e9c0f0","name":"disposición","descriptionHash":"60d21d73a3a97f3b2decde77ffb3caf6e1690b2a8aaa0f91408f8f7598762df8","description":"El diseño de esta encuesta."}]},"$pollEnd":{"descriptionHash":"a58bac3f353a480add653c5d75f4fa554d41c481d65570d82038f07a903b6369","description":"Finaliza una encuesta","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"b0aa9683e42f155e0b0e73b2212fef2f5aa46111806d252fb98746b66d5ce382","description":"El canal desde el que recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"b5011882b80de34853ef8b356c2c2b0418182ae6e310ad8e13665147649048b5","description":"El mensaje para recibir la encuesta."}]},"$segmentTextSplit":{"descriptionHash":"a3dd330a41723f2b3a655dba24da1f0e6f54806c174f61b22e7d4991b431bb38","description":"Crea una matriz en un texto dado usando el segmentador","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"0510ca9d4764b185ba05a6ba0cf94e5413047d09783122613b230742339eebef","description":"El texto a dividir"}]},"$pollAnswerVoteCount":{"descriptionHash":"b3f7ca3ea37d4e6d2ddd4ccb1434be85ad8b878ade26ba4cf5d721abedbefffd","description":"Solo se puede usar en eventos de encuesta; devuelve el recuento de votos de esta respuesta de encuesta"},"$pollAnswerEmoji":{"descriptionHash":"ac5f78ba3a16ada18adccaf0b1a9c53e99295c6ce4530b5e5171ccb5f29cd24e","description":"Solo se puede usar en eventos de encuesta, devuelve el emoji de la respuesta de la encuesta"},"$pollAnswerMessageID":{"descriptionHash":"15cff861bbd506517318189b4db63bcc03567d8651f8d743c76e8ff00bad0e09","description":"Solo se puede usar en eventos de encuesta, devuelve la identificación del mensaje de la respuesta de la encuesta"},"$pollAnswerID":{"descriptionHash":"c35bb68648ba18fb6966eff895e71d539b92a9d18953ffdec473fc2d330ac3ab","description":"Solo se puede usar en eventos de encuesta, devuelve la identificación de respuesta utilizada"},"$pollAnswerText":{"descriptionHash":"b17accd54d42cbcc70e110c9503ffb3c056b9658a7643e7f2f83fff122dd99e8","description":"Solo se puede usar en eventos de encuesta, devuelve el texto de la respuesta de la encuesta"},"$pollAnswerVoterIDs":{"descriptionHash":"fc726194fc41350a1b45e9d3f3c005247fc33ae06cddef90af49266e12ed3e57","description":"Solo se puede usar en eventos de encuesta; devuelve los identificadores de usuario de votación de esta respuesta de encuesta","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"2068e4316c164a8847aa41c65fcb9103b9ccc2d41b7aff47c302859dc682efa2","description":"El separador para usar para cada identificación"}]},"$threadIsArchived":{"descriptionHash":"654d8b92076f369ffcdf68e31158c2ed723939e8b435c57d30b62f5d66b67298","description":"Devuelve si un hilo está archivado","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"47196a9b678fc1ab9c81c97fa430ca2af4c8d01820db3f54d00c51cfeff70816","description":"El hilo para comprobar si está archivado."}]},"$modifyForumTags":{"descriptionHash":"3bcadae3432e321ddbe80f2ceda1102c67dccc14d1d1e9522727e7d09e3eab38","description":"Modifica etiquetas de una publicación del foro, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"fdf15265f888cfd9d795b85e51b8590b2dab8734946a4e4b97543ec14e7aacec","description":"La publicación para editar etiquetas"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"9b8641f73e188ca0c2d14a5b66d3d3b13fe3f3f956da62021399b88291bb17c2","description":"El motivo para modificar las etiquetas de publicación."},{"nameHash":"978c2f8941354cf552831bb8b5b648bb3748e83f5d0a69e3301569af01e1de93","name":"etiquetas","descriptionHash":"b3ee1df398fa04446f6f23143c7b08f2782f59673bd25c0c7463e8ef3f07ede0","description":"Las etiquetas de la publicación."}]},"$setThreadArchiveDuration":{"descriptionHash":"38caf051dfdb8d82f7d3a7c1f8fe6405bf1e91ffa1a2e33bd8a4d7ee17737560","description":"Establece la duración del archivo automático de un hilo","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"1a71379a87491a28dbe28992e84558a2ce80eb5abd9b1dfab23ccb7bf1e24921","description":"El hilo a modificar"},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"564d751eb33586589d1bfb7c00b98f810ef2e616ca2226e77f4c84c938e2c0b7","description":"La nueva duración del archivo automático."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7e794292671b5a9bd73fd085bf89fc934f955c51d3340fbe3d2d7aa8e0ca6713","description":"Razón para modificar la duración del archivo"}]},"$setDefaultThreadArchiveDuration":{"descriptionHash":"8d41f3a28ef47bc08d134d2a4022ef4194d6031cb02301e416205e5d780da911","description":"Establece la duración de las publicaciones predeterminadas de un archivo de un foro","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"0c63b79a8a6099ea2e3c03b207ac7137e2835fcd1845073a6e1a7690635479aa","description":"El foro para modificar"},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"564d751eb33586589d1bfb7c00b98f810ef2e616ca2226e77f4c84c938e2c0b7","description":"La nueva duración del archivo automático."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7e794292671b5a9bd73fd085bf89fc934f955c51d3340fbe3d2d7aa8e0ca6713","description":"Razón para modificar la duración del archivo"}]},"$setChannelArchiveDuration":{"descriptionHash":"eb2aec98f23b0003f70f771349ff994eef9f59d28681eccbc4ccb88568a8fdf1","description":"Modifica la duración del archivo de un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"23881b3a268aff10837f746e2d4c36b839bb64692c1465145e4e7d0bb6e60bfa","description":"El canal a modificar"},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"d7dae1dabd4227fbdac5cb1353f9efaa63b9b29c420cf8148141f450924d67ef","description":"La nueva duración del archivo."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7e794292671b5a9bd73fd085bf89fc934f955c51d3340fbe3d2d7aa8e0ca6713","description":"Razón para modificar la duración del archivo"}]},"$deleteThread":{"descriptionHash":"cd8a88a862262c04d16d8a222deecc7b5e8a1ebfc2ad34e6cb6a20159d81b539","description":"Elimina un hilo, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"Canal ID","descriptionHash":"5d4ed007bafee3aa3cbd990ba03bffd0625b1a0a0f652e2132fcc0c4f38fcb64","description":"El hilo para eliminar"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7f779c415b25c724af6cf2ec5df7ba35daca95634d2c5da6a7ad029e829effc4","description":"La razón para eliminar este hilo"}]},"$week":{"descriptionHash":"fb2547935b3d636918549b5e515b00dd171ce41f91ebd4b24395e4baa4744194","description":"Devuelve la semana actual del mes."},"$randomBytes":{"descriptionHash":"e94ed68f77fb4853e746e8b2229cbf99984cbfb08d555ca301a3bf74756c9df8","description":"Genera una cadena de bytes aleatorios, en hexadecimal.","fields":[{"nameHash":"0f82aca66af91493b1ff401de5f1f7e3e24e14560df3f6f7e465dbc915b9947d","name":"longitud","descriptionHash":"0744ea59416c5c2a2b29f32136615880b253d93752e060b7f295ae9fd0f00771","description":"La longitud de la cadena hexadecimal."}]},"$decrypt":{"descriptionHash":"f490375decf0b3dbdd17c010b84d2229f8dadffc1dfe7124f815db7ce13290ce","description":"Descifra el texto dado con una clave.","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"232325184e6758da8268a4de50a013f314d7a5f5d8b12e29724c684a565bdf57","description":"El texto a descifrar"},{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"e301ae87db5bbd63fcaafa0e3699adfeca468ec780c7491666f71c88bdf411ed","description":"La clave a utilizar para descifrar el texto."}]},"$encrypt":{"descriptionHash":"149a453f11109abe38176b1427017023a69ad3824c992f7ab7fe3e107ecb0b3a","description":"Cifra el texto dado con una clave.","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"46883b9c489db75d3c9263d83a5f8961b637c423a0969e7bea930d7cd23f63d0","description":"El texto a cifrar"},{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"80d39fdfbadd4a82646eaa5ee6ae32f91644aec7195238eb734d8083a9462a73","description":"La clave a utilizar para cifrar texto."}]},"$botCustomInvite":{"descriptionHash":"6761d7e41af673d12ca1d0c88719f2380d5c987fa37e17300b7a4d9e155c8edd","description":"Devuelve el enlace de invitación personalizado del cliente."},"$botTags":{"descriptionHash":"eaca470aafab40cba7f455a0a3476c0209c638c74c4e1e57c261117198e150c4","description":"Devuelve las etiquetas del cliente.","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"2c0fade8f497946e27ac330f54d47db1f844e087651eaf5e4f29e24cac45595c","description":"El separador a utilizar para cada etiqueta."}]},"$addForumTags":{"descriptionHash":"6bf6bcd737b43d1ebef37d6616164bb097d68967954901bc5b36af93d9ad6c90","description":"Agrega etiquetas a una publicación del foro, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"fdf15265f888cfd9d795b85e51b8590b2dab8734946a4e4b97543ec14e7aacec","description":"La publicación para editar etiquetas"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"b945be054829cb8efb6f851f749b6f53d133a8385fbc269cab90c362c1db01ee","description":"El motivo para agregar etiquetas de publicación"},{"nameHash":"978c2f8941354cf552831bb8b5b648bb3748e83f5d0a69e3301569af01e1de93","name":"etiquetas","descriptionHash":"b3ee1df398fa04446f6f23143c7b08f2782f59673bd25c0c7463e8ef3f07ede0","description":"Las etiquetas de la publicación."}]},"$channelSlowmode":{"descriptionHash":"8d1b3648cc1ae99c0c3cb5163e853c237d9693f518c3e2162d671b41967514a8","description":"Devuelve el canal en modo lento en segundos.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"63b04bc3a53c726383970e113d2612b546926ea1086c8465b5f7baf83dcd7439","description":"La identificación del canal para obtener su modo lento."}]},"$forumTags":{"descriptionHash":"a6309748934f729794b2a31d64eca37b74fa36e18adfd3937dd2660bb468615a","description":"Devuelve todas las etiquetas disponibles de un foro.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"bab78c538d939be5f07a62599ee227d4f671b88ed5a9d8a4edac200db2e2f81f","description":"El canal para obtener etiquetas de"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"1af985a81ce6e9381a9bddfe7476d85acb24fbf55cd6ff9e16a75af90a2a5140","description":"La propiedad a devolver por cada etiqueta."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"9b88352a6930920ddc4a0cbe5d6eefb344105f624ac344263ccec11059643d6a","description":"El separador que se utilizará para cada propiedad de etiqueta."}]},"$lockThread":{"descriptionHash":"0d4541eb46f0076d7cd748435c24567e02c0b50f43881efb4044c00aa6462753","description":"Bloquea un hilo, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"7100e17eb3898265cf36433e378545b02446fd651a6e0b546409a67d3dd5bc44","description":"El hilo a bloquear"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"84df5903fde6c054fe322b6d498132f543a3fd674b590f1d54a9409893843712","description":"El motivo para cerrar este hilo."}]},"$unlockThread":{"descriptionHash":"33f37ebd9662b9cd757629f5f431ed0764c047833ece472c50cb4b4a01c407f2","description":"Desbloquea un hilo, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"056f0dbbb6e7636c3ec404d5653e898bc86d1f2b26c9964185a2a850371f2074","description":"El hilo para desbloquear"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"1b28ce84a334ed2810e4ff941c47c35aea205d908ba9be783e352353ac4e7eb8","description":"El motivo para desbloquear este hilo."}]},"$setChannelType":{"descriptionHash":"92594a8a78512371a8568a0b9e3d29b7c09fa8a723d39baf23de18b5ab60b67d","description":"Establece los tipos de canales para el último menú de selección.","fields":[{"nameHash":"8d8460221bf4eb295f964884b40a9ba6302a9c2af2f9b1997cbed42fda139de8","name":"tipos","descriptionHash":"a1d0dad622121061bcc26d44e16571d23cbf9f41f285e1acf2d7c903c9703078","description":"Los tipos de canales a configurar"}]},"$readDir":{"descriptionHash":"7817bd8bbe6cdc9b96bc8266099a2efd7cd490b22fcdb17181ef1cc83f52a253","description":"Lee el contenido de un directorio.","fields":[{"nameHash":"a0af9f865bf637e6736817f4ce552e4cdf7b8c36ea75bc254c1d1f0af744b5bf","name":"camino","descriptionHash":"a661621ac75e8fb16b8ccbb7a8ac47e2868be8cc9c8bab0d211a790e1721989b","description":"La ruta al directorio."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"e7edc8080c201fe37c7d606fdb00913d935670e52c5252d1885cef5ef24f2ce8","description":"El separador a utilizar para cada resultado."},{"nameHash":"e8424ea5339b85a750ab5f4c63bde5d5c62975792a3bed6ccb37c045207c6771","name":"codificación","descriptionHash":"7e1b1af2b18cbe960ce8c7f56db903510167ef90481b06ed25a2f4ba09345e8a","description":"La codificación a utilizar para el resultado."}]},"$italic":{"descriptionHash":"044c143dafe63662b30b4d924df50f67a59e63b8f73bd4063fb5112116a73d3c","description":"Pone el texto dado en cursiva","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"94ebbf0b193e1581860b04b7aaa029bb7f351d393e4e03b9404b9dc7819377d7","description":"El texto se pondrá en cursiva, esto intentará escapar de todo _ y *"}]},"$applicationCommands":{"descriptionHash":"d4f9cb76ed4ca843665953509cf7510a730f7124323472fc2176603100afc07e","description":"Devuelve todos los comandos de la aplicación.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"6a29a1e3de01efa72a5b4c3088ddb8761b3e4d932427b0e3a2ff01ffb5a8c80b","description":"El servidor del que se obtienen los comandos de la aplicación"}]},"$jsonStringify":{"descriptionHash":"685f4c2fca94cdc5f6179c9d07beb14d1564d2f3f79429551a6fc5821109d00b","description":"Devuelve el JSON en formato stringificado.","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"c1b58adb37ca915450962b6c2b9c9e6f1e23468d7822a1970883e243cef27218","description":"La variable a stringificar"},{"nameHash":"3f49dbbfe051cb20cc038923424fedf8d18307cc805e1520e4168e9360e2eb38","name":"espacio","descriptionHash":"feb4d0eecacd8478e8187e01ce7ebb84f1377f089356415d7ca08abaa3e8d2cf","description":"El espacio a utilizar"}]},"$onlyForCategories":{"descriptionHash":"1bce78718e1fc58d91eae52413db63bec183d3d5a5b003dd161b095550efd850","description":"Solo ejecuta código si los identificadores dados coinciden con la categoría actual","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"0fe84e0c61dda0c789f62e58d0076eb2b7354e51d25ac896f6818ed89e29d0b3","description":"El código a ejecutar si la categoría no está en la lista blanca"},{"nameHash":"61ffa9c8c703dd5e4e5aaaf434f3f6a301ed4a6656144bff6b81a8de9057cbad","name":"canales","descriptionHash":"33e7e2a92f9e64b23d520b743cb141dc9a10f29ec01e12e0acff14a7c12a268a","description":"Las categorías a comprobar"}]},"$onlyForChannels":{"descriptionHash":"cedc36a9afee2884327ce47b41d3d41e97c8d372abd37d524ca2fe45a2e4ca6b","description":"Solo ejecuta código si los identificadores dados coinciden con el canal actual","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"3faaa6d33e03e1b83ea1db45045aa3c42b01fa149dbac6183b74c08db54a77a4","description":"El código a ejecutar si el canal no está en la lista blanca"},{"nameHash":"61ffa9c8c703dd5e4e5aaaf434f3f6a301ed4a6656144bff6b81a8de9057cbad","name":"canales","descriptionHash":"6783a31897d5917035889e585bebabb05c9f618460534a3a017aa9ae8a81a934","description":"Los canales para comprobar"}]},"$ceil":{"descriptionHash":"dcd12922feb5ff703ec0ef286413361d21e5801d08bbe6aec48b0f83f962e314","description":"Devuelve el entero más pequeño mayor o igual a su argumento numérico","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"508eb67865408c7d8d4ee79083eaca4359014c60a4d7d9a993f6600568910ca7","description":"El número a utilizar"}]},"$memberTimeoutDuration":{"descriptionHash":"43c7823aa31b9e62ff0a8b5e01ab676bfd6c1156caa9d496125e1f243c0802ed","description":"Devuelve la duración del tiempo de espera de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"72acf7d4eb79645265d9dd9716d0dd1a6eb3fd676bcc74512b46e6e4d8cfe8ba","description":"El miembro para obtener la duración de"}]},"$advancedReplace":{"descriptionHash":"6b7bdb99296d77dd43bcc1671b5e95ef9d16e8a03be08651f09f8a9afa0d9bda","description":"Reemplaza texto en una cadena varias veces","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"d7d0cf1ddc10897db27ff2ad894f821220c7e0c11d7fac947e564ca079c6bacd","description":"El texto base"},{"nameHash":"99d5a166a145d64e6aecc10bc393d2527db86168bdb66c9a72fe33ef570033c0","name":"partido; reemplazo","descriptionHash":"e39c572ab670d9f81070df8d226309ea30a8165178740a8270b38c28aa9c8d35","description":"El texto a coincidir y su reemplazo."}]},"$calendar":{"descriptionHash":"9a78facad26456e6201f56fe1bd5afc90fb6ec5f3a5d71b01fcfdca99ff66cfd","description":"Devuelve un componente de calendario del año actual.","fields":[{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"83441087019cec66f9faf222181d1f46c5b429ae669bcbe873991ff12885732e","description":"El tipo de año calendario."}]},"$userCustomStatus":{"descriptionHash":"63c9852a4304034f608925b3caa1f03917555d30c57071fe3440421eb57dc88b","description":"Devuelve el estado personalizado de un usuario.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"6828d878c8d683fe78a0b55facf9b772e97af96b7f65fe88a3f6d7b7eafd6930","description":"El servidor del que extraer al usuario"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"1a59c9c1dd1429711d7e2433da8679f9bb48fecb82f46c4bf630f48894d5d86d","description":"El usuario devolverá su estado personalizado."},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"e9cee61e60ea9409cc381ecd16eb7eea1277afbabd8b1d65df3ef08a58cbece3","description":"El tipo de estado personalizado a recuperar"}]},"$webhookEditMessage":{"descriptionHash":"457cd9bc582f2a1cd293e96ca18076c832c9d2ad36379faa1da08cb4564ff202","description":"Edita un mensaje de webhook, devuelve bool","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"aa546e94755091f5db382df63db2724282ac43b91da72047958c3bfd53b3b4eb","description":"La URL del webhook"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"dc76828cf9b13007001609f93c8535ce75e3295818f4c5eb0a0645ff01fe359b","description":"El mensaje a editar"},{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"4d5534b48f2bfb41e0029c9a1b980bdacd475767d1f0a577c9d60e9bf06af0a0","description":"El nuevo contenido del mensaje."}]},"$botMutualGuilds":{"descriptionHash":"bb9f07e8c476cd0ea43b8e2e093c8481e958f62bc945c9a8feeffad0d7355ae6","description":"Devuelve los servidores mutuos del cliente con un usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"ba7120ae031872ca83f7612319b9389081bae58ef18e40aab132b992afa8e311","description":"El usuario para obtener servidores mutuos"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"45763d41f78436894644187bbf7288e51facb54cec56de80af74f429103c2217","description":"El separador a utilizar para cada servidor."}]},"$channelMembers":{"descriptionHash":"3280c1a64c4e9052bd5c7c769911c7b54f80855346810588a08edfbf8598d1a8","description":"Devuelve los miembros de un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"aa72d194587946b558ffa393800065458e3dc419e0726436690b16ce7b3e5859","description":"La identificación del canal para obtener sus miembros."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"dfd3022d878accb5db22e62e1c3bb93685e9d6ab1d51ee2d19df195e99728cd4","description":"El separador a utilizar para cada miembro."}]},"$setChannelCategory":{"descriptionHash":"ceecd3a929ca3dcb3b47d3df21d3fe424da51871dfb20385082464b2a8eb7baf","description":"Establece la categoría de un canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"61d821e6715e19d0cc105f6aba7698ee8cba7a8eb53b1944f82002be275331f4","description":"La identificación del canal para establecer su categoría."},{"nameHash":"abe236db296ee2e834a0d194e46be792a3619bccc7b065109a00415e8ff733b9","name":"ID de categoría","descriptionHash":"26370c29a2e5bfc3cfbd93414e362095fb9c08b95577f1f1d1987cd77dca5cb5","description":"La categoría a establecer"}]},"$renameFile":{"descriptionHash":"1edeccedd8c62d60b6e3dc02eae0c2b18da7d0970858216875eec537750d375c","description":"Cambia el nombre de un archivo","fields":[{"nameHash":"e96c457462efd8a64f990f820a4b06b75ea609dcbfd63eaeec2801e6280540cd","name":"viejo camino","descriptionHash":"8e156bbdbc0c6f13c8dd18d261538e047d5f0b8063af9efd2948250b6daa11e0","description":"La antigua ruta al archivo."},{"nameHash":"d7a43a62a3c79f6b3a0c60db86131370551ff5d0d997ac134629a9b75a2bb2fc","name":"nuevo camino","descriptionHash":"6d777a827a49b5088fac80392fb6aaa1ba0862c9c325c297db97072d1abd8ee5","description":"La nueva ruta al archivo."}]},"$findChannels":{"descriptionHash":"013ab79f1f51a0888dbeb5184a9a64f0b61d079c60b146d7f3c5e9d13c0134e4","description":"Encuentra canales de un servidor mediante una consulta.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"f0864a2d3ccc322a7750f45aa51a97a987595e4626aba924b43f78c5a837475f","description":"El servidor para encontrar los canales"},{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"03d6042af58c7a744ebb077e601e87c83184e54a936d72d1d2796146980d54bb","description":"La identificación, mención o nombre del canal a buscar."},{"nameHash":"55ea09e5715d0a8d9d94018d473bf23b2d7e630c2adb1f1acad3bada74c6fd05","name":"límite","descriptionHash":"f3b40eb71b9cd75459609b3932c34c64825af53ae0b3d1e69020c276de23fcc5","description":"El límite de los resultados."},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"9b9615aad03769adb72681a2ab923bdf349666bf87c95971913f43595e8bdf00","description":"La propiedad a devolver"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a1d7cc489f166dc03cedf96fcbb885f19dbf2adbc1fb4bf017ba18c733fc2b41","description":"El separador a utilizar para cada resultado."},{"nameHash":"5b7e6bf2dc4a32a6aa4770cd5639c2c7af890fc86c273b5c8567fe5382086bf3","name":"método","descriptionHash":"4ca80e52bc63541a0c1a7f9b3b33e62f957b7600f651f3f351d12a983e701463","description":"El método a utilizar para la búsqueda."}]},"$findRoles":{"descriptionHash":"749ac9499edc748e4a2e8481536bf7b4b376b2e1597929114015dd6445280382","description":"Encuentra identificadores de roles de un servidor mediante una consulta","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"443fec62611e1fdd73eca55e1c42abaeb6e888bc774b5500f031f48285f4c74a","description":"El servidor para encontrar los identificadores de roles"},{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"47087bdc765b335c39f893f1d1ff795a337a2f0c5e2541252639a72ef5e31318","description":"La identificación, mención o nombre de identificación de rol que se debe encontrar"},{"nameHash":"55ea09e5715d0a8d9d94018d473bf23b2d7e630c2adb1f1acad3bada74c6fd05","name":"límite","descriptionHash":"f3b40eb71b9cd75459609b3932c34c64825af53ae0b3d1e69020c276de23fcc5","description":"El límite de los resultados."},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"9b9615aad03769adb72681a2ab923bdf349666bf87c95971913f43595e8bdf00","description":"La propiedad a devolver"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a1d7cc489f166dc03cedf96fcbb885f19dbf2adbc1fb4bf017ba18c733fc2b41","description":"El separador a utilizar para cada resultado."},{"nameHash":"5b7e6bf2dc4a32a6aa4770cd5639c2c7af890fc86c273b5c8567fe5382086bf3","name":"método","descriptionHash":"4ca80e52bc63541a0c1a7f9b3b33e62f957b7600f651f3f351d12a983e701463","description":"El método a utilizar para la búsqueda."}]},"$isBoosting":{"descriptionHash":"f7a48f13a90c117c4ccb318acfc6b4fe234c472b541c316ce23600a5c4c773d4","description":"Devuelve si este miembro está aumentando","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"1ac81b5639fa221b9c1f30577ded55151e42f5d6eb29fd46eeb0a74c4e4c66e7","description":"El usuario para verificar el estado de impulso para"}]},"$memberBoostingSince":{"descriptionHash":"a16faad7952779002ab9ca6da9cfcc4396b0250f30e5dd28769698e1b65b4e3d","description":"Regresa cuando el miembro comenzó a impulsar el servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"1ac81b5639fa221b9c1f30577ded55151e42f5d6eb29fd46eeb0a74c4e4c66e7","description":"El usuario para verificar el estado de impulso para"}]},"$memberJoinPosition":{"descriptionHash":"3a5906fb9fe70044aa8f1cadd024bae9a2d3919459a687417d22d0f3154a4030","description":"Devuelve la posición en la que el miembro se unió al servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"9e7264a97dd8a05420d1ff7710d33cc61c952141f2afcbd1feed2b2d330363a7","description":"El usuario obtendrá su posición de incorporación."}]},"$pruneMembers":{"descriptionHash":"d17ab9dfa9f685a8998a5b18deda21c44379e94797c77a8c91594ef5c45b0db0","description":"Elimina miembros inactivos del servidor, devuelve el número de miembros expulsados","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"0f976b71fddcf45b1f6161b49f688c172d8b228ba4d9b583dbf148ce5c7c314f","description":"El servidor para eliminar miembros"},{"nameHash":"ab51004e9d71a485f160f655fb9e72bcdef8f5ca4178b26938b49471456fd11c","name":"días","descriptionHash":"f3119889f22d09629338bfc410bdd527a7b972fbf19b7c409ac2e5bb0586c934","description":"Los días de inactividad necesarios para patear"},{"nameHash":"b755cb248c3c4a7d94f835b4421809336e7015850342064be4dfa23349dcdcaa","name":"seco","descriptionHash":"c5b6ea6cdc5cc0bc6ac2c80ebbde8a8f88a28b1c28c6088f847c8d13474bde4a","description":"Ya sea para realizar una poda seca."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"05bd7217d1020360b87918df7b20c1edc34a3a70fdeaafc4b8deaeb9823cabba","description":"El motivo de la poda de miembros."},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"f63bcae188b56e0423700846ce06d4614b7de1f079b27c5a41565f5561f79b2e","description":"Los identificadores de roles que se incluirán al podar"}]},"$messageFlags":{"descriptionHash":"02c8a17ec35955faeb2caea82fcae76a0fa830a17b74f1e07094b8038a69a39c","description":"Devuelve las banderas de un mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"b0aa9683e42f155e0b0e73b2212fef2f5aa46111806d252fb98746b66d5ce382","description":"El canal desde el que recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"9e3f024c1814387d02349136d62c13492056ffe557d6d709511c43dc89bb3ef8","description":"El mensaje para devolver sus banderas."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3f23b0f3431207b3df65a3647bbce5d3ca1556adb96f726d40e59c56fb669f40","description":"El separador a utilizar para cada bandera."}]},"$calendarWeek":{"descriptionHash":"a576cf5ba029332a79f752eafba33e428cb45f37642e44d10a9650c80458d66c","description":"Devuelve la semana calendario"},"$calendarDay":{"descriptionHash":"247e36474d8823e732222591c3a47704801abb3a322703e28353f175a02d09e6","description":"Devuelve el día calendario"},"$setCalendar":{"descriptionHash":"d0abbc5063b5b15cfd7466efd7c68c548c8efa99e497ccd3a721d54caba957c5","description":"Establece el calendario para funciones horarias.","fields":[{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"9b806b0b234c4978fdaf2d50df8c7127895ef1b9a4c485670bbf18144f9d2825","description":"El tipo de calendario a utilizar"}]},"$setTimezone":{"descriptionHash":"22dda118c2635ef5b1d6e455a22244e4d4f7aafc2ae40282af06eb85773b29e3","description":"Establece la zona horaria para las funciones horarias.","fields":[{"nameHash":"3962edee9c25c9b904d84a4f438bc889c566f6a3d0e01f406cf387f1f41576ea","name":"zona horaria","descriptionHash":"bb9e8450e744749f0d5f011bdbb96b6b165e00fcf2105794f8eecff4bf47f190","description":"La zona horaria a configurar"}]},"$userDefaultAvatar":{"descriptionHash":"aef49749e1205fde27bb4e2409114f4505a64954d315ebed1f134db66c1dac44","description":"Devuelve el avatar de usuario predeterminado.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"bccc0915b7173583cb51bc40b1e5e2f23848102c94ebf09f7b92ce4230554bd0","description":"El usuario para recuperar el avatar predeterminado."}]},"$botUserInstallCount":{"descriptionHash":"808f30056b546a89f5708fa3708f72852268a49b46ddc6e34c09cffb0f000225","description":"Devuelve el recuento de instalaciones del usuario del bot."},"$addApplicationEmoji":{"descriptionHash":"24e88fcdec80b8f145b1e23a0ba917d5c237f5993d2f88af9a90a45b4da890b0","description":"Agrega un emoji de aplicación, devuelve la identificación del emoji","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"21f8a1ffeede465d2ebb556ee3976fa3d477f1c803dbbe871476983a4c06bdb7","description":"El nombre del emoji"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"e7c83e0218ec8070429c3bff76b0d4f3c8e6c1bacfd5540ad232535248ae5818","description":"El ícono emoji a usar"},{"nameHash":"114898f3d2970c98da2efb56b06ef2db16040bcdf930f29f61b91ecd2d591e39","name":"devolver ID de emoji","descriptionHash":"e351e57a1d324136f97910f07a5e99c35d6033279878cb53054d236f4effe674","description":"Si se debe devolver la identificación del emoji"}]},"$reactionCount":{"descriptionHash":"7b6b554811d08a25e8f889f8eee3fd984e277be32596380872b7f2b8f5e82f9e","description":"Devuelve el recuento de usuarios reaccionados."},"$lastPinTimestamp":{"descriptionHash":"845c36361a36bb0314f351f62ea995b20b7889cf18f5823b1603eab1dd8bb259","description":"Devuelve la última marca de tiempo del pin de un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"53f9ceb56556d01023c937b171a299c12d13275a68d365accf31754cc1cfced9","description":"El canal para sacar el último pin"}]},"$deleteGuildTemplate":{"descriptionHash":"5af10776bad094b36c8c2117b6798b402ee57cfc48e9d95efddfbbc79d2df12c","description":"Elimina la plantilla de un servidor, devuelve bool","fields":[{"nameHash":"d5ce8d04d14bc2baeca98fd3e40550a048938d229af2047e9f4b262090b19b23","name":"código de plantilla","descriptionHash":"90a010876697f65be0407e26d3f2607b558b23332e692153f4eb5e55d6ba9cf4","description":"El código de la plantilla a eliminar."}]},"$getGuildTemplate":{"descriptionHash":"bf0a0deb0b445ef78255d7e3f7ffd14949d05adcbdb4db14be7070b9433db49b","description":"Obtiene los datos de una plantilla de servidor","fields":[{"nameHash":"d5ce8d04d14bc2baeca98fd3e40550a048938d229af2047e9f4b262090b19b23","name":"código de plantilla","descriptionHash":"45a29c29d70ceee24b25107e3f2b4bfb23ccfd6577f948f8418b25d11e8ad2d5","description":"El código de la plantilla a obtener."},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"36f418f7a6c422e2d20c1827cf6f05ec3e7dfa164699a16bca5c8d543d419095","description":"La propiedad de la plantilla a devolver."}]},"$createGuildTemplate":{"descriptionHash":"25db63521c5486d469a951f34a30688a624cc4ce1ed95c1c268851273c023f98","description":"Crea una plantilla para un servidor, devuelve el código de la plantilla","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b4d5ebe03a30b38b3070aa3fecb595ed3e4c37cb4119ab258b6280b32cf01823","description":"El servidor para crear la plantilla"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"6491deb9d5004d8a1e1feedd2afc66f3171abee5db729127e3fac13e367d23e7","description":"El nombre de la plantilla."},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"5bc34be87104e0dd2b66c6c15b956d690df89245ee8af29d1def6b64d1712a56","description":"La descripción de la plantilla."}]},"$guildHasTemplate":{"descriptionHash":"d23736f7a35de7ce9bc3ab9291d421a69bec3761136c89f21c1668fbaac70a5a","description":"Devuelve si este servidor tiene una plantilla.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b2adffdf5cebff7dcd25f679abbf693a9242e48762971daa72577078a82242da","description":"El servidor para comprobar la plantilla."}]},"$guildHasFeatures":{"descriptionHash":"51ee08c5431cdf6bea5296ec3dc740f44c10ac5cee392e119cd220cb7bd612c1","description":"Devuelve si este servidor tiene todas las características dadas.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"3874444246df776fcbdd5a4c61127a7fb1c019f2c4c2fd61585262757a9a08b9","description":"El servidor para comprobar las funciones."},{"nameHash":"5b8a8b56dada6ce7567442b4935298df7de2badd7becdcf4915a59487338ca4b","name":"características","descriptionHash":"2caad2c2836cf750a1ab5a2a7953f1cd9db23811ecf34eff610043d371184502","description":"Las características a comprobar"}]},"$memberLowestRoleID":{"descriptionHash":"38f95f10583ec1438dc5dce54fe2e2a6fb94ebcba0ceb94ea7ac65880313e06a","description":"Devuelve el ID de rol más bajo de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"fe82f2f0693fbf80b72f654dc4c772f2e723c2add7bc8c4ca7fe1504a0c0acf6","description":"El usuario que obtendrá su ID de rol más bajo."}]},"$randomRoleID":{"descriptionHash":"57ddc759440aeae472ac1d38bb6b93c4b3972e215a97da2e942665bc8488a70c","description":"Devuelve una ID de rol aleatorio de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"359418c1c83a6e271343bc9fa49ae674b2f8cb1be6b3139e56b2120b3e6dbd84","description":"El servidor para obtener la ID de rol"}]},"$userReferenceID":{"descriptionHash":"c7375d0f86aad754a7237fa51ab38acb8d23056c832410f8b59fd2a9061d7159","description":"Devuelve la identificación del usuario al que responde este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"b0aa9683e42f155e0b0e73b2212fef2f5aa46111806d252fb98746b66d5ce382","description":"El canal desde el que recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"70c3f2d2682075b4c3be996b6d72296896a873c3e046451a305b4417f95d24d4","description":"El mensaje para obtener su usuario de referencia."}]},"$guildHighestRoleID":{"descriptionHash":"c21e48c73a06cfbc16533575350cf20864d43c9c3d354102bf50586d5100fa08","description":"Devuelve el ID de rol más alto de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"880ad06b84fa6936e3b0ec477c807e39faee100a7df8838870c812479da1ab8f","description":"El servidor para recuperar su ID de rol más alto"}]},"$guildLowestRoleID":{"descriptionHash":"e54458c8717c3c06099e3973288fc8c2b4e69fa466f01f1144e7d4e991ceb1d0","description":"Devuelve el ID de rol más bajo de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"5cd490b84329ce364e6e000b67c6e89f50b5df5c570fe8ea5d13bb4855b1a228","description":"El servidor para recuperar su ID de rol más bajo"}]},"$guildBoostProgressBarEnabled":{"descriptionHash":"a86efcfba794e5b47e51b604459b80aa159e169c064272f3f85cf749a143b3f1","description":"Devuelve si un servidor tiene habilitada la barra de progreso de impulso","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildBoosterIDs":{"descriptionHash":"e4df44bd44289612e02b6ed271c4729c864eb87d885559f4d0b4aa57d1e0b823","description":"Devuelve todos los potenciadores actuales de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"0df9dc544dc8ad2bf9aa6c9ecd742c4978f96143610603fb0298e1db0a434121","description":"El separador a utilizar para cada miembro."}]},"$setGuildBoostProgressBarEnabled":{"descriptionHash":"f60c1008c930936ec1e45b6dbac1538e17bb9d36679555e86c3532eecb405a3c","description":"Establece una barra de progreso de impulso del servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b6de9bfb1ed88875857baf7f3fb92c75e4e2a05161c4c18e9f008c6772cfcba6","description":"El servidor para habilitar/deshabilitar la barra de progreso de impulso"},{"nameHash":"fb9cf75606b4070dd6a9705810906bba28d0e2ea74ff301b999a91dbb68c7d98","name":"activado","descriptionHash":"09a730ecf2ba5b05ba6cd8f7eab069d9b7984fd47603ffa1cad53b60b2c47972","description":"Si se debe habilitar la barra de progreso de impulso"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"d07cfdadb1f762e68be108bc82a4520c738cbc2f34627b9ca230f681f16c36a4","description":"El motivo para habilitar/deshabilitar la barra de progreso de impulso"}]},"$threadTotalMessagesSent":{"descriptionHash":"d0f6237a4f3e04992a95b740a4199c886ac6676be0d805436ed27a3b2d6830e3","description":"Devuelve el recuento total de mensajes enviados en un hilo.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"d378924f769fef783f0342532b15b1e9db59bde19217d042735b816af6b679b8","description":"El hilo del que extraer datos"}]},"$getApplicationEmojis":{"descriptionHash":"e49df26d693f89518fd828f647026917fde54e31e2dc6369aba72c0e368eb571","description":"Obtiene todos los emojis de la aplicación","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"626030a4111fa40b31678a93923760e6ccc66db0854aa0acd4ecaf9c4eb58aff","description":"La propiedad que se devolverá por cada emoji."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a023a28a33d89641d70f98e614ecd4ba6efe4d57bee2d59efea5d5289751990e","description":"El separador a usar para cada propiedad emoji"}]},"$setGuildBoostProgressBar":{"descriptionHash":"f60c1008c930936ec1e45b6dbac1538e17bb9d36679555e86c3532eecb405a3c","description":"Establece una barra de progreso de impulso del servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"830c5ba25571479c5d781742c51786e33b12558bd5cddb19451509f454122c0c","description":"El servidor para configurar la barra de progreso de impulso para"},{"nameHash":"fb9cf75606b4070dd6a9705810906bba28d0e2ea74ff301b999a91dbb68c7d98","name":"activado","descriptionHash":"09a730ecf2ba5b05ba6cd8f7eab069d9b7984fd47603ffa1cad53b60b2c47972","description":"Si se debe habilitar la barra de progreso de impulso"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"d07cfdadb1f762e68be108bc82a4520c738cbc2f34627b9ca230f681f16c36a4","description":"El motivo para habilitar/deshabilitar la barra de progreso de impulso"}]},"$deleteAutomodRule":{"descriptionHash":"8dbe722d97d2d38d40ab695b53da6963794380f634463c01eba816fec55f089c","description":"Elimina una regla de automod de un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"7c21a93ffe253093991c3676cddad5a25ea2e55abac1d37214d485a56549d4b3","description":"El servidor del que eliminar la regla automod"},{"nameHash":"7806ef68b0f86caa2a5089ea8629921579a8d488147ae76b557e0c1e18f7bae3","name":"ID de regla","descriptionHash":"38ce3ed7098376b5f34e7ae75b81dd4b6ddbf4e0c4682bbb70f47e52b50ced28","description":"La identificación de la regla automod para eliminar."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"ba8e5aaa28363b80569621ef9bf44ff07d684e633dab0db0649d79cab797650c","description":"El motivo de la eliminación de la regla."}]},"$createAutomodRule":{"descriptionHash":"bf04be303808a066c95fb2f892db485742c4facb30832abdc5afe4cbbd39d009","description":"Crea una nueva regla de automod para un servidor, devuelve la identificación de la regla","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"db700c8486cbce51ec993976e978168a1db9ef9cdef756058aee5bd8d45ebb6f","description":"El servidor para crear la regla de automod"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"a20304abf592ddf15ce037a31d06f7e994ef8c3075aed7b679ea8a2e81d447eb","description":"El nombre de la regla automod."},{"nameHash":"683259feabbf5eb39895d7a5d3f4872d6989d5fa7a3eca713251d996d99a1630","name":"desencadenar","descriptionHash":"90e6bdba15c18791feeee1c0aee64d8afba623584bcc0088c92503cac35eb675","description":"El tipo de activación de la regla automod."},{"nameHash":"b8e1f80bd70ae0784c7855a451731b745fddb67749d23f637be9082b75e9575b","name":"evento","descriptionHash":"6aef0fecf79f33d3139f7f6d86d50894991fe2553b416f36fdf9de507a18b3a3","description":"El tipo de evento de la regla automod."},{"nameHash":"fb9cf75606b4070dd6a9705810906bba28d0e2ea74ff301b999a91dbb68c7d98","name":"activado","descriptionHash":"187fa87559ce0cc55a829a13ad8e57a14025e9b6279872ccc27df4202081e07f","description":"Si la regla automod debe estar habilitada"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"df27c4e8ce79d05cbf4c839152387d44c2f86b805daf0d2a0b0500739b174d72","description":"El motivo de la creación de la regla automod."}]},"$setAutomodAllowList":{"descriptionHash":"b399566a4ed7faf352dc1c7fba0a6094bf82f8e06ce7c6185312673f8f23dc38","description":"Establece palabras permitidas para la regla de automod actual","fields":[{"nameHash":"dba36bffa5cab0f922d087a3aeb179f9d4e745df40b323e1b1471402848c8a3e","name":"palabras","descriptionHash":"c24f0ce0d1bcf0eccb558ae550ed095f437e3d01a16bec6b1b7c6ef35621e79a","description":"Las palabras para permitir y lista blanca"}]},"$setAutomodKeywordFilter":{"descriptionHash":"3bf8096e7471cbc77d722a05680b2d20c96dadd0e07e0b20ea22728471683c80","description":"Establece palabras no permitidas para la regla de automod actual","fields":[{"nameHash":"dba36bffa5cab0f922d087a3aeb179f9d4e745df40b323e1b1471402848c8a3e","name":"palabras","descriptionHash":"46b753d13cc56e7ff3868b1e105283636138f7755ed232773b387548cb0fde59","description":"Las palabras para rechazar y poner en lista negra."}]},"$setAutomodMentionTotalLimit":{"descriptionHash":"98d8c10123f3e688fe33d4b415a35b060ee9e568bf50870c96a8790df84c8f52","description":"Establece un límite total de menciones para la regla de automod actual","fields":[{"nameHash":"55ea09e5715d0a8d9d94018d473bf23b2d7e630c2adb1f1acad3bada74c6fd05","name":"límite","descriptionHash":"952cfb041af99b12a5afca40f6a61b3f6a9ec3cb64adb07f3f20b25d2c9f2b6a","description":"El límite de menciones a establecer"}]},"$setAutomodExemptChannels":{"descriptionHash":"eb334d1fea75bfb9a2a15d59772980d086360f50dd395c383b7a8cafffc033cb","description":"Establece canales exentos para la regla de automod actual","fields":[{"nameHash":"61ffa9c8c703dd5e4e5aaaf434f3f6a301ed4a6656144bff6b81a8de9057cbad","name":"canales","descriptionHash":"1ef3ffda0168d24de2ef24e9ada55fffa66821329f92c0271fd5f223136261ef","description":"Los canales que no deberían verse afectados por la regla automod"}]},"$setAutomodMentionRaidProtection":{"descriptionHash":"0a6dce76ad391447673027b10b05ea5156b2d5fc5de4843b8b4be459ca96d042","description":"Los conjuntos mencionan la protección contra incursiones para la regla actual de automod","fields":[{"nameHash":"fb9cf75606b4070dd6a9705810906bba28d0e2ea74ff301b999a91dbb68c7d98","name":"activado","descriptionHash":"72f7d145cb00b965652e98faeb1e40e91ec01f8d002f3e95ac1d747cee858e17","description":"Si se debe habilitar la protección contra incursiones"}]},"$setAutomodExemptRoles":{"descriptionHash":"932d1ed4c7b2452632828310bd2ebbfffedc7ae9b7f30cd5d254e84b34807436","description":"Establece identificadores de roles exentos para la regla de automod actual","fields":[{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"83ab7cbf6198334d844f974744df648f770c26f5214cc275f9fe16326950b876","description":"Los identificadores de roles que no deberían verse afectados por la regla de automod"}]},"$setAutomodPresets":{"descriptionHash":"e98eda1bf65550037a02247727e75d22478cafa3aa0a163a2daea4163024e013","description":"Establece conjuntos de palabras clave preestablecidas para la regla de automod actual","fields":[{"nameHash":"4700153d9be611d68d63e6595d7400d1945b2a5ba9512e46c08cd957c6a86950","name":"preajustes","descriptionHash":"d0e4c567d58e3835677846eaecfe49f35a72de9c05b90165181a28bb2ac92b78","description":"Los tipos de palabras clave preestablecidos para configurar"}]},"$setAutomodRegexFilter":{"descriptionHash":"6ae55c3ff23cc16b784af7e66205cbe667e3183c9154613c105796985682ecd8","description":"Establece el filtro de expresiones regulares para la regla de automod actual","fields":[{"nameHash":"4589face8e2c65c23cde1cdcc3da1876aa7f7921b5a5734bf676d3cecacb7bd4","name":"expresiones regulares","descriptionHash":"24eca0cfc41cf670cca127f0199ed30a8777e3f4e1087fa969b3ecb1a910dc1a","description":"Las expresiones regulares que se utilizarán para el filtrado."}]},"$getAutomodRules":{"descriptionHash":"ac430fa231fbef1135ddc4d8d1a6279b5b18576914993447d7e029ad9516e151","description":"Devuelve todas las reglas de automod de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"16e488ed30467f7c57c59266c2a8974832d3966ab8d648da92749067bb057ed3","description":"El servidor del que obtener reglas de automod"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"047c9b621fd1b6279dbb6bb3480fb48aaebbd8225c44b48e5e6211e5f89bd91d","description":"La propiedad de cada regla de automod para regresar."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3bcc03eab28bb1255ebae322edc149eeeace8d725836c9ec0246406a86c804bc","description":"El separador a utilizar para cada propiedad."}]},"$setAutomodAction":{"descriptionHash":"b38dbaa79e7ae47da37106e896b85f28ec42b5670e658d522686215b2d85cd63","description":"Establece una nueva acción para la regla de automod actual","fields":[{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"88d3aa376d663f3d14cce5acbf0a4fde8b407068c989c12d8267d01e4c02adca","description":"El tipo de acción de la regla automod."},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"f54e0dcf02b2a6cd028dfb86c795d953090c7f9cb50f944a4af557a688651683","description":"El canal en el que se registrará el contenido."},{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"32389a1e6e3276a1bb51f35e078c8be7499fc03f9412c58fd234ba6dafa8d4d4","description":"La duración del tiempo de espera en segundos."},{"nameHash":"ab530a13e45914982b79f9b7e3fba994cfd1f3fb22f71cea1afbf02b460c6d1d","name":"mensaje","descriptionHash":"8a4b42af2139f7de763a71f01c5a645494042e3e0b5ca40d0584354b6eb91e80","description":"El mensaje personalizado que se muestra cada vez que se bloquea un mensaje."}]},"$editAutomodRule":{"descriptionHash":"fa13b8b66e088d570c773b2c9209d177264b368a4916c57bf5142eaf143c8f42","description":"Edita una regla de automod en un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"078968dcf1de5a0cf260c22565b099a159f478d0dd7b3cc54333fbf62c2bea34","description":"El servidor para editar la regla de automod"},{"nameHash":"7806ef68b0f86caa2a5089ea8629921579a8d488147ae76b557e0c1e18f7bae3","name":"ID de regla","descriptionHash":"7007e10118e3b70ce9143573ab7f8794f43d9259684554522a9916235b4c805f","description":"La identificación de la regla automod para editar."},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"d2cee10dcacbcb01537a81a86ea9e8711bf95b024b12bcdf98b281a125332956","description":"El nuevo nombre de la regla automod."},{"nameHash":"b8e1f80bd70ae0784c7855a451731b745fddb67749d23f637be9082b75e9575b","name":"evento","descriptionHash":"24414a1064978721db585b90c7b124c4cae7db9cead31b9bf0a5a0f439ed9860","description":"El nuevo tipo de evento para la regla automod"},{"nameHash":"fb9cf75606b4070dd6a9705810906bba28d0e2ea74ff301b999a91dbb68c7d98","name":"activado","descriptionHash":"187fa87559ce0cc55a829a13ad8e57a14025e9b6279872ccc27df4202081e07f","description":"Si la regla automod debe estar habilitada"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"a783263da1549b6703e596cbadcff72bc82fadd2143b1b9d14dfddd662c3a805","description":"El motivo para editar la regla automod"}]},"$messageEditedAt":{"descriptionHash":"395feed8ff09fce2c2755ca80ff44c53a91987f92ffacecc588186f3d0a0ff9c","description":"Devuelve la marca de tiempo editada del mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"b0aa9683e42f155e0b0e73b2212fef2f5aa46111806d252fb98746b66d5ce382","description":"El canal desde el que recibir el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"c4497c5da57331b4cd8c3f807801fd52330be59ad1e8ec9d323743a38f764422","description":"El mensaje para obtener su marca de tiempo editada."}]},"$editGuildTemplate":{"descriptionHash":"7a1465602e436825f2b3aa51ce2f12d0cdb59e109eef91d31c00d033bfa6f5e5","description":"Edita la plantilla en un servidor, devuelve bool","fields":[{"nameHash":"d5ce8d04d14bc2baeca98fd3e40550a048938d229af2047e9f4b262090b19b23","name":"código de plantilla","descriptionHash":"e40744939d09294c58b8f1a0f76264b6314f208199fef791f6e6baa2ebdcb6b4","description":"El código de la plantilla a editar."},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"dc0f3f5bc54649705084bb2b2a643f4308fe8638a28f20306552cc0f7abb4618","description":"El nuevo nombre de la plantilla."},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"8167444c4cab3365e4ad3ba355ed1d38e18fab830d744deea74179c3970c1249","description":"La nueva descripción de la plantilla."}]},"$deleteGuild":{"descriptionHash":"6f434d2c1423e815fb9d3cd68c74ee38e620d2aa6c44557fa3b950237c7079cf","description":"Elimina un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"4cdcb8c8ed463ff88f1caa05faa9fa19ac91021edbfcb90ca7ddd2ae47e1d01d","description":"El servidor a eliminar"}]},"$createGuild":{"descriptionHash":"1f0be5dea638d251f639638de20de6397bff3ca25d2bebd4e7d43f2333772823","description":"Crea un nuevo servidor, devuelve la identificación del servidor.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c9acd0744565bfcef763a10851c8f3af2c5ca196133a7c55818f494a8786105f","description":"El nombre del servidor."},{"nameHash":"c2d4b446a44ce54fab8e01150e24dd24f3d850c7c14dcfe31f6321341dd86874","name":"icono","descriptionHash":"7c79a078b4bd7354882faf64436ab4453a8c0e7542132482099e1333a3162d27","description":"El icono del servidor."},{"nameHash":"5cde0f1298f41f7d1c8b907a36992a7a513225a2615bd6e307bf1a9149b06b40","name":"plantilla","descriptionHash":"7aa1937008d7c6bc2e45dd74d52f5223350b8423888e2608ac31dc6df4ea1520","description":"La plantilla para usar para el servidor"}]},"$trimLines":{"descriptionHash":"25a57e4e164d671146914c6bae58faabadd4945e15b9af602425af6c1a9bd231","description":"Recorta líneas vacías de una cadena","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"50ecaa02d049da4889b1f21941ca94216222876e6528af21e2bfc167e2ace8d7","description":"El texto para recortar líneas vacías."}]},"$tts":{"descriptionHash":"face8cdf92e05f0f5c492fa3cc58614f8bbda81136d39ce4e65b7716d0da67a0","description":"Marca la respuesta como Texto a voz"},"$newAutomodRule":{"descriptionHash":"cf1dee4a84eb60b623b475f0f408fada7d91984f84ffbf1490c94ef611ab41c0","description":"Recupera nuevos datos de un evento cuyo contexto era una instancia de regla de automod","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$oldAutomodRule":{"descriptionHash":"bb106ac694c225f71824e07c1b9aedfe9d8abf836ec724821ae66a973afaef38","description":"Recupera datos antiguos de un evento cuyo contexto era una instancia de regla de automod","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$threadStarterMessageID":{"descriptionHash":"7e351353fe2ac9fb47f60947ac06017f14744e830cf421bae7ee7ea29f543123","description":"Devuelve la identificación del mensaje que inició este hilo.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"f748988cff5d2e3a1b5c679870be5a9202f2aad560bbb31746e0dcbc4226efb3","description":"El hilo para obtener su ID de mensaje inicial."}]},"$memberActivity":{"descriptionHash":"96237b07962067e7035158116200e5b0e2f2fd222634d622b31d4f3930459472","description":"Devuelve la actividad de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"375117998515eca918617ed8fc43ee5c1c68155305528c7863986f65defe1456","description":"El servidor del que extraer al miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"d4001ccd3f55049ddf050162a943c85a532f2d448e040bfe07141115d3fd0335","description":"El miembro para devolver su actividad."},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"85d012cf8bbac02c6397b59cdfe52ec146c159944241536b814f555487367d48","description":"La propiedad de la actividad a devolver."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"5c77c3a8fef1fe50b6fd9119c4aca1d318595189dab8b6fbe9d866596d28e74b","description":"El separador a utilizar para cada propiedad."}]},"$isRepliable":{"descriptionHash":"178a5f65da5e36f4862d6b2fe8288029ace959826c91a608e149a0e0fb73a819","description":"Devuelve si se puede responder a esta interacción."},"$httpGetHeader":{"descriptionHash":"2f8a3b78300200b60967fe2e7f90906d7354bb68a358f55cde1dc086d87cf782","description":"Obtiene un encabezado HTTP","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"eab527504da4bf7e5b53d13731d8f64cbdc62e0bc117be01ac4721b5f0a27640","description":"El nombre del encabezado"}]},"$httpPing":{"descriptionHash":"7e639e585ab056a61f8a01f452ab8e3746572f22f3a630172464c99b16b07d6b","description":"Devuelve el tiempo de respuesta de la solicitud HTTP."},"$targetMessage":{"descriptionHash":"6ece930c58a5099784d47ae7d47d9a0e585f4a576e01e59b79807df1030c9518","description":"Recupera datos del mensaje de destino.","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"1ae35f311e852275aa494b686c5d338ea6f5cd889b41b1c8da35fdc54c37437e","description":"Separador a usar en caso de matriz"}]},"$targetMessageEmbeds":{"descriptionHash":"50a0ab98a6620db671b71120643b4c123e3e36d4f413d5a83de08a7957c1ad40","description":"Recupera datos de incrustaciones del mensaje de destino.","fields":[{"nameHash":"2c48d8238a76b404bcc6529b6b6ec3735fd940063324af9b31d2b2fdddd75187","name":"incrustar índice","descriptionHash":"eb6330ed3aa9466184e65a1561fa9dd588076b65494447faf271ce2f9d180eda","description":"El índice de inserción para obtener datos"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"7a44ff150a04f918083d2437f297ab87a064365eb46ec4ad9a0a9c76cacb199c","name":"índice de campo","descriptionHash":"ae3da48a47f7d3cadb0739a5405ac72070f51727039c0947b69bbd764c274f7c","description":"El índice del campo a obtener."}]},"$context":{"descriptionHash":"bce06bde9aaf6f58c6098636311f149ca0e877b35784acc118903b1d53d029dd","description":"Devuelve el contexto de esta interacción."},"$authorizingIntegrationOwners":{"descriptionHash":"8b05d2c077603f9032f41fafac75ee93340e86c063df6d4d012cf4a8a6a3d09c","description":"Devuelve los propietarios de integración autorizados de esta interacción.","fields":[{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"4d539f2d1665856f2ace700d4d1b884ad5826b70d46f264af2ec9f2fd7806c73","description":"El tipo de autorización para que los propietarios de la integración regresen"}]},"$applicationSubCommandGroupName":{"descriptionHash":"1eff7a4bef27d66148ce2e05b6e97c1149972a015b01c11a473f8fa9f402c7cf","description":"Devuelve el nombre del grupo de subcomandos de la aplicación de esta interacción."},"$applicationSubCommandName":{"descriptionHash":"a659fb6d13d65e97e2b5efc89bbed138d99f7a9b425895480dab641afd8d513a","description":"Devuelve el nombre del subcomando de la aplicación de esta interacción."},"$editEmoji":{"descriptionHash":"5f3e161775e6e404ac91ac05f889720e380168abb56f79861f4d54a196018b47","description":"Edita un emoji de un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b139fa411fac30331b9fba4124a8c513ac7d29d6012d9cb76b9e47e018ff64d1","description":"El servidor para editar este emoji"},{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"d6dc939828899f8220cad83ebaddd905c5831d5f5c940319569e33ba510e95fa","description":"El emoji para editar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"7fb5f42cde399585baa76fd9027e3bfc6f05e7a55d0acc46932f980ab2f44012","description":"El nuevo nombre del emoji"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"9cbd6ef674438adc38d7e9672308e37db436995b3ce0dbe9acb177d188fd1bfe","description":"El motivo de editar el emoji"},{"nameHash":"66cf5513b37462be52e7fe7b1791b7a6b704f97577680acc2f270e365a1b01e3","name":"identificadores de roles","descriptionHash":"d3ae5aa36a3f2e204ce59a08c2f64b77eb41ddda64dd5c9a81ab47bede1aa59e","description":"Los nuevos identificadores de roles para limitar el uso de este emoji a"}]},"$getAutomodRule":{"descriptionHash":"f2aebcfd79ac6fc6559a55b2fdcab0b228e836cae7022bfb15a90c990ea3367e","description":"Devuelve una regla de automod de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"0ffa96f92d7e95e96c2484102e537fe77ac29a2d21922c92badbb594fd32120e","description":"El servidor del que obtener la regla de automod"},{"nameHash":"7806ef68b0f86caa2a5089ea8629921579a8d488147ae76b557e0c1e18f7bae3","name":"ID de regla","descriptionHash":"bd42bafdedbb1dd90942819a4f7f095ae680ea07abca51de0d1312791832afb2","description":"La identificación de la regla automod para obtener"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"e2ab1e96e792d4a5f71d174bdcb28bcde2c01602126fa8666d9502bbd4049346","description":"La propiedad de la regla automod para regresar."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador a utilizar en caso de matriz."}]},"$deleteApplicationEmoji":{"descriptionHash":"0f85c9b9eca746581f10a1a8f67c581b62156689c42118e9bcdcd1e94ee92391","description":"Elimina un emoji de aplicación, devuelve bool","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"d6dc939828899f8220cad83ebaddd905c5831d5f5c940319569e33ba510e95fa","description":"El emoji para editar"}]},"$editApplicationEmoji":{"descriptionHash":"e2872d211c5c88183f06e27b6eee5e379633156b532b152cafc65e3e7e9bb69d","description":"Edita un emoji de aplicación, devuelve bool","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"d6dc939828899f8220cad83ebaddd905c5831d5f5c940319569e33ba510e95fa","description":"El emoji para editar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"7fb5f42cde399585baa76fd9027e3bfc6f05e7a55d0acc46932f980ab2f44012","description":"El nuevo nombre del emoji"}]},"$guildAutomodRules":{"descriptionHash":"ac430fa231fbef1135ddc4d8d1a6279b5b18576914993447d7e029ad9516e151","description":"Devuelve todas las reglas de automod de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"16e488ed30467f7c57c59266c2a8974832d3966ab8d648da92749067bb057ed3","description":"El servidor del que obtener reglas de automod"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"047c9b621fd1b6279dbb6bb3480fb48aaebbd8225c44b48e5e6211e5f89bd91d","description":"La propiedad de cada regla de automod para regresar."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3bcc03eab28bb1255ebae322edc149eeeace8d725836c9ec0246406a86c804bc","description":"El separador a utilizar para cada propiedad."}]},"$guildTimedOutMembers":{"descriptionHash":"13e5fcf476532880e651602f9efa75b800cd942fb4e90c8364eb9cb76d8ed278","description":"Devuelve todos los miembros actuales de un servidor con tiempo de espera agotado.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"0df9dc544dc8ad2bf9aa6c9ecd742c4978f96143610603fb0298e1db0a434121","description":"El separador a utilizar para cada miembro."}]},"$deleteApplicationEmojis":{"descriptionHash":"6090cdf99f6131c2146af2954676e3c1c4a3fa14d2b7ae4143d4d612a6c96884","description":"Elimina emojis de la aplicación, devuelve el recuento de emojis eliminados","fields":[{"nameHash":"3badc5f5025e3296346a2b8a3fcbf0bb2158744298c33e6021bf7d9da58a4ec3","name":"emojis","descriptionHash":"2ed6e9c0783f38a39ca80db2bb15d7f26ce63eee6de4888f43eec262ba69049d","description":"Los emojis para borrar"}]},"$randomApplicationEmojiID":{"descriptionHash":"acdde41bdec8ee81bbd4b90621bd003dad17759ababceea0965897c9688123cb","description":"Devuelve un ID emoji aleatorio de la aplicación."},"$isPinned":{"descriptionHash":"903ffa7f80c031ce923de1440b6b7ace8031fe4fae3b747553a59e70e82366a9","description":"Devuelve si el mensaje está fijado","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"30818a77bc220410fa5cb3c5ac3400d53de5bed3a8ac3e31efe08f4ab5e4620b","description":"El mensaje para comprobar si está fijado."}]},"$channelFlags":{"descriptionHash":"3557e4826009295335e72a54bce4ae9681c2fae64c3495c2d4318e89551d9160","description":"Devuelve las banderas de un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"53ab11faa08eb59110c765cc578a0f260172a246e52cecf1bec18e8cec6f92d6","description":"La identificación del canal."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3f23b0f3431207b3df65a3647bbce5d3ca1556adb96f726d40e59c56fb669f40","description":"El separador a utilizar para cada bandera."}]},"$setGuildPausedInvites":{"descriptionHash":"6c56e50e5a73b8fd6c376cc13fc62f23b86547b9df36facc94c8efc29f039482","description":"Establece un estado de invitación en pausa del servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"ae0eef58b49a2b59dcfe49354f91b06a1d842b13e452a8d281cc5a5f7ccf32a6","description":"El servidor para configurar invitaciones en pausa para"},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"249cc04893a5202e2ef71cf97717980faba034972cdbc81f98c70119886a74e6","description":"Si deshabilitar las invitaciones"}]},"$memberFlags":{"descriptionHash":"44bbe493a6a32fbd3eb2776118381dc000538021d95b2fdbe40155cb4817c008","description":"Devuelve las banderas de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"f12b90bb908792548864a081827841e20a7f1ee7455cbc0db9c1c3ab1785f674","description":"El usuario obtendrá sus banderas."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3f23b0f3431207b3df65a3647bbce5d3ca1556adb96f726d40e59c56fb669f40","description":"El separador a utilizar para cada bandera."}]},"$messageAttachmentFlags":{"descriptionHash":"22a296d531ef2baea2b1c98c93d0146ea1cfdfb77eecf0c33f495f107a5e423f","description":"Devuelve las banderas de un archivo adjunto de este mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"e0f5d213fa8fcbac82a905b5d75f3c52343db856ba4ef13f374bef69d6a88333","description":"El mensaje para obtener sus indicadores de archivos adjuntos."},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"8898c6793ab353cc778417db38f12246133fac282f80bc452fcb6238bac83aca","description":"El índice del archivo adjunto."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3f23b0f3431207b3df65a3647bbce5d3ca1556adb96f726d40e59c56fb669f40","description":"El separador a utilizar para cada bandera."}]},"$channelPermissions":{"descriptionHash":"f07ff42215db7f9b6bde540446fa9beda37d58cbfd0eb7e6a9fce7d69289b8b7","description":"Devuelve todas las sobrescrituras de permisos de un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"628c2b2ee460a624771fa27b651384516399bdb6eba0ae013bfc4652ed9b9aa5","description":"El canal para obtener permisos"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"e165c1f62b198c1c8e80a89ed33e29d69630a8e6b7ebd3c4a995d10ac2e5e7c5","description":"La propiedad de las sobrescrituras para regresar."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3af80144ca9d1ece7a4e796e93d3b9e25964e6f625e9d244f8a87ad18fa7e30d","description":"El separador a utilizar para cada sobrescritura."}]},"$channelVoiceRegion":{"descriptionHash":"11abbcf03cfbb5e4c112fe6de6ff23831746cac5ed8b1d5adb8a25cc506d1179","description":"Devuelve la región de un canal de voz.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"825a440b27e9c8c53e8e5b421e8ac57567b35ad447ffd31112debbd8a4efe467","description":"El canal para conseguir su región."}]},"$setVoiceRegion":{"descriptionHash":"b82d81fb150a45b40763de98804d18da83cb5d799029eaa9d59a478dcfc7b360","description":"Establece la región de un canal de voz, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"fa20364e312f901bf468aa25980a6fa64acb43f878e7d8be39f4852a02fd0cff","description":"El canal para configurar la región"},{"nameHash":"c697d2981bf416569a16cfbcdec1542b5398f3cc77d2b905819aa99c46ecf6f6","name":"región","descriptionHash":"cfd5d5d606ad542e6a6bdff01b9ebc2621893672ba16527e6e6eb7e3dea03266","description":"La región a configurar, déjela vacía para eliminar una región fija"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"de412f3d64a8b6eb2aa374bf3ebc9c55dae8e9b8aa4417f2cfa5b39b1822b4d5","description":"Razón para configurar la región de voz"}]},"$setVoiceVideoQuality":{"descriptionHash":"7bb5145142035cf85ed9f3b9d6904a6f056874509c6f6811e0dc261e4b24eb35","description":"Establece la calidad de vídeo de un canal de voz, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"8f5476261d6cadc5323c82360b12f72c5a716857cad2b21ca9a585eb44d0e0d5","description":"El canal para editar calidad de vídeo."},{"nameHash":"acef2c15bcd349db900dffece73e1256e881c4416fc1f2d3a494640183490d9a","name":"calidad","descriptionHash":"d232147d03bf42a4376927465debbe7d5556fc0e21b7489cc7a5eccd33602b10","description":"La nueva calidad de vídeo."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"b39dbeefa55ad2b98e03ca1f5adc8c6a1128b4689e9d96518ba83dc50f211814","description":"Razón para cambiar la calidad del video."}]},"$suppressEmbeds":{"descriptionHash":"5057bdf82cf59c236c0762082210ffb500ed9e403fac91053447d805e965d962","description":"Suprime las incrustaciones en un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"697626e33cd8fcacb1e4ec02c8202361c0e5ee9d1b13d1f161f734f5172c784d","description":"El mensaje para suprimir incrustaciones en"}]},"$unsuppressEmbeds":{"descriptionHash":"f9309e2b06b68894e7e32c6a6fbf2686bb91bf01e9a1e68ca9b032d356faf02b","description":"Anula la supresión de incrustaciones en un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"b5d01f59b34e77f858facf41dc901404e2d74d295965e69d807f697232d3a6c1","description":"El mensaje para desactivar las incrustaciones en"}]},"$cloneChannelPerms":{"descriptionHash":"a6074527773cf8b8547ca6459a462978bbdd4e0531b17f20d012549e70dd1d8a","description":"Clona los permisos del canal dado a otro canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"8e98af9d55e013a7bc3c021e081834b3bb8380b222ab19baa261fe13348291b7","description":"El canal para clonar sus permisos."},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"3f2c069db36b329e8d304f307641d7835594745c81d1358f4d968f2e754248f3","description":"El otro canal para establecer nuevos permisos para"}]},"$channelRawData":{"descriptionHash":"6f93546a422820523f975a11c7dd0ab742e6dd8b389eb53dc4cce7d3c4d5764b","description":"Devuelve los datos sin procesar de un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"36e844ef89537763f7d14bc5d8124dad6a5f36f62fd2a797a294e924e399c255","description":"El canal para obtener datos sin procesar"}]},"$emojiRawData":{"descriptionHash":"8e4cc702dfdf16c13e7c279cfcc0b7d13564de45835d7bb385d0d1ebae365c3a","description":"Devuelve los datos sin procesar de un emoji.","fields":[{"nameHash":"f8f9aa681176cea62972a060518f334667bb67e206d2a7a4d270574ef7d40bcf","name":"identificación emoji","descriptionHash":"d0a71993dc2df21fafc6bb3702109db194762de3b3f69c20fd9976988ba95f92","description":"El emoji del que obtener datos sin procesar"}]},"$guildRawData":{"descriptionHash":"4e1affcfe3a8ba97a37078deeb78aff18a67c06c1dec29e20e8670342378bc95","description":"Devuelve los datos sin procesar de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"e1f9e40edf273326bb0385ca1b00163cc45fd0bb81e1b2efe4acf892d117e93c","description":"El servidor del que obtener datos sin procesar"}]},"$memberRawData":{"descriptionHash":"bb5a3bbc0d8b50b5f584fb4730cd1a623639bca6865d0f098dc23e19daee3071","description":"Devuelve los datos sin procesar de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"d150130eadef1647bdc9b17c58a2d7d705e500fc56c8952af8d9967442e21ba1","description":"El miembro del que obtener datos sin procesar"}]},"$messageRawData":{"descriptionHash":"3be94d2551128b04f6c17b7ad57cabc2014012d014b2c1d8a9c49b3d1126e7b2","description":"Devuelve los datos sin procesar de un mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"a562463cc22fd020e43e7655e9c1699bbbacc87a98d78112c226859a5bfa957e","description":"El canal para recibir mensajes"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"a2c65d6285787da386a2e09732de9ac3f5b4210e2a1483e4fb05f5c401d5b97b","description":"El mensaje para obtener datos sin procesar de"}]},"$roleRawData":{"descriptionHash":"0cd1f17e7ca2ea6a959f571750df4c3f405fb2e3d87f435cf4beb0c69087a065","description":"Devuelve los datos sin procesar de una identificación de rol.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"f25eb76c65d0b5d4c980f89b0b55410325418031ef28a209b7effff8e53fcc70","description":"El servidor del que obtener la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"ID de rol","descriptionHash":"fd2c48d2313505a097bf5b1a8e4533b545a0a05a132c8084a2e71caadaf4bdba","description":"La identificación del rol del que obtener datos sin procesar"}]},"$stickerRawData":{"descriptionHash":"d54c600bd736ae730c9b7c511c0ac69f3b4ede6f4c98d26001fdf1eba1b790cf","description":"Devuelve los datos sin procesar de una pegatina.","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"etiqueta de identificación","descriptionHash":"9701838dd2e674b3d4f13fb7e2fcf7efe3fea70d121cba8db4e95852babb9253","description":"La pegatina para obtener datos sin procesar"}]},"$userRawData":{"descriptionHash":"126dfcacc459e8e7c683bb2eb00128b0a727305b79b641823d154334c91c6109","description":"Devuelve los datos sin procesar de un usuario.","fields":[{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"32ba3890fa2c783731e1231f78f088110c3419ac7fa3d884332f0979e0f49789","description":"El usuario del que obtener datos sin procesar"}]},"$channelPermissionsOf":{"descriptionHash":"9eeb88f6eac7e5dd3438ad88786efcc89cfd10bcc57e7dc9159abe527ddaa056","description":"Devuelve permisos específicos de una identificación de rol o miembro en un canal","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"628c2b2ee460a624771fa27b651384516399bdb6eba0ae013bfc4652ed9b9aa5","description":"El canal para obtener permisos"},{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"c06c2f1bc8f29ec31e7baaaad920755cba30586cc3cd0ab14803890ad12f40de","description":"La identificación del rol o el usuario para obtener permisos."},{"nameHash":"4ba69735ca53765ed6a709edb56c6ea236b7193a3b29a6b390c346f0f4340e4e","name":"estado","descriptionHash":"61c9d9bbd7ea14497c4c5c227cbcab5e9679dfd524835565bab43564827da9a6","description":"El estado de los permisos para regresar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"037716f5dcfaef037c6ea1edb85e05787c5f97584634e5a36c08665e3fd13cdc","description":"El separador a utilizar para cada permiso."}]},"$editRoleUnicodeEmoji":{"descriptionHash":"9cc41535114b813e14c5eb0c657504dc305ea8882d8d8759f1a733b06247001e","description":"Edita el emoji Unicode de una identificación de rol, devuelve booleano","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c26927a2bfc458ddfdda710c7b921d97dc652f79b308e323609e8cf1b034ff12","description":"El servidor del que extraer la identificación del rol"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"ID de rol","descriptionHash":"5047da8c9401594a3ead3bd0d818461c20fa41714f7184dca4d23ca9041843da","description":"La identificación del rol para editar emoji Unicode"},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emojis","descriptionHash":"63d76298bb41c9d1b2b97448dac6f0fc4dda2a43b1a05ee850fc6c6e5536b98b","description":"El nuevo emoji Unicode para la identificación del rol."}]},"$interactionRawData":{"descriptionHash":"da2f267494197b6c98ca32aa959f2c918d72067ee9b242bc5616675b88215a34","description":"Devuelve los datos sin procesar de esta interacción."},"$deleteIn":{"descriptionHash":"e1af918314e74d39b865993fa7f6161b1d463da39718a5b26b1761a5eccdcb83","description":"Elimina la respuesta después del tiempo dado.","fields":[{"nameHash":"caa79af4db67695cce51988cda2f98423bb7420fbaee8968cd4aca151f55d3a2","name":"duración","descriptionHash":"a7f7f1dfbcb243f15beb37db437a24a0660b8dd3293610dcf039b6a90197f8f1","description":"El tiempo de espera hasta la eliminación"}]},"$channelPinnedMessages":{"descriptionHash":"31ae026ce2f8e5ea816089e010cc78c30e279a5f368703adb0f511bcaa72c6e7","description":"Devuelve los mensajes anclados de un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"0129b7d51b66034e078139b0f2a2ad400872cdfd62ff7949477c22e3daa7d4e1","description":"El canal para extraer mensajes fijados"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"fa610c99a212905552cdbaa1d344c525f857d8afbc9f4c3ba2d126476f543f22","description":"El separador que se utilizará para cada ID de mensaje."}]},"$firstMessageID":{"descriptionHash":"5b043769a65dd8cd1eabc8b7770d51484398af22e5a4b56fbe2afd00f2556ac1","description":"Devuelve el primer mensaje enviado en un canal.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"110033067e4c2ed55fb013711f8d6fee6b72f5daa2eac74740f0ce77173b4873","description":"El canal del que extraer el primer mensaje"}]},"$parseDigital":{"descriptionHash":"f61511856549dba8eba4856c059f51386da701c201d1e8f3bfdae41c12fd4af1","description":"Análisis dados ms al formato digital.","fields":[{"nameHash":"f785c3ce1d580c8f22c1db8a14cf1268e44279ff5d461361dbbfaf19e8b11578","name":"EM","descriptionHash":"ef42af99a7e97f3b8bb8a61c3b9b57d3c9616a9015798395da80a161d4c49db7","description":"El ms para convertir a formato digital."}]},"$arrayLastIndexOf":{"descriptionHash":"2cf23433289b4cddcf61d80acd9cc8d4651944af3eed14a529dd268cbd5b0634","description":"Obtiene el índice del último elemento encontrado en la matriz.","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"0c2bcb67577ee8b9f2f4838d34302e2caa4e2f659c3e1d9fd647caacda27b76c","description":"El valor exacto para obtener su último índice."}]},"$guildEmojiLimit":{"descriptionHash":"cf4f686a0ac16888082a79023ba4348355281d6a1a8c336ed195f753d426bd1b","description":"Devuelve el límite de emoji de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$guildStickerLimit":{"descriptionHash":"0237490bc2c82d074bbac5b8d2d7525015b0a4155ecb45b0f70d316086e91184","description":"Devuelve el límite de stickers de un servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos."}]},"$arrayFindLastIndex":{"descriptionHash":"eda4b5ce41be9c720400be4c2f734073b7cf851450f5d6f7bdea0efc66dbe55f","description":"Encuentra el índice del último elemento encontrado en la matriz","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"c4dacdef07e8aa2da7015e144c287e5c6b027b0ee7a748e640097387019ab38c","description":"La variable que contiene la matriz."},{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"e5735fcd6db8387b4b751e4fdcba86f40055123a40198b1e36aac8b0dc9c3a27","description":"La variable para cargar el valor del elemento"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"09e91a4a70a4d92f0e3af6da68d60bbc53474128caa21debb95e4c744f14f7fc","description":"El código a ejecutar para cada elemento."}]},"$isBoolean":{"descriptionHash":"5318b69048a66e40ab38d412a76456f272ef2c70275c0dbcadb2f3cc07c7457c","description":"Comprueba si el valor dado es booleano.","fields":[{"nameHash":"cd42404d52ad55ccfa9aca4adc828aa5800ad9d385a0671fbcbf724118320619","name":"valor","descriptionHash":"c7912ba93d08079f39178a22eac0d5781cc589cbdd6e60f657b8fd53733f3637","description":"Valor para comprobar si es un bool válido"}]},"$unparseDigital":{"descriptionHash":"3ce7a0051a9a8e47d01e03adfb1b4669aa9e2805c4583610b7d76bdb554f4ae1","description":"Desanaliza el formato digital dado a ms","fields":[{"nameHash":"cda3c373f19f1c5114f0f6ece4762cab9c78dd494191d19252e1ef5f4342a146","name":"digital","descriptionHash":"0b6a147bb9c5bceb0356f63ef9d6e5871d9129cca8da1020f694fe749dfbeeaa","description":"El formato digital para convertir a ms"}]},"$botDescription":{"descriptionHash":"0416e632b17031487cde688a26aaa43d163d767d707bc7b2103520adb9c80c43","description":"Devuelve la descripción del bot."},"$setBotDescription":{"descriptionHash":"2be71e730d23eb611c2aadfd6d9d3748a932537372a53e5d9a9ec1aca99fc420","description":"Establece la descripción del bot","fields":[{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"457050f3cf6b7c632b4f92cc7afbcc6ce10ba526109a8afd69a994a8550b1fff","description":"la nueva descripción"}]},"$setBotTags":{"descriptionHash":"ba13229bbf22ddb3af556bde9b450574381527586a0f063791722318ee579aa9","description":"Establece las etiquetas del bot","fields":[{"nameHash":"978c2f8941354cf552831bb8b5b648bb3748e83f5d0a69e3301569af01e1de93","name":"etiquetas","descriptionHash":"f43a125fa7277941fdaeaec535b3c69ffb47831f927c74e06666d998214e6f25","description":"las nuevas etiquetas"}]},"$memberCustomStatus":{"descriptionHash":"7f808b2aee949cd1a9dbe7d5b3b15aa7b4b883636058108abd1c0a9a02b3303e","description":"Devuelve el estado personalizado de un miembro.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"6828d878c8d683fe78a0b55facf9b772e97af96b7f65fe88a3f6d7b7eafd6930","description":"El servidor del que extraer al usuario"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"1a59c9c1dd1429711d7e2433da8679f9bb48fecb82f46c4bf630f48894d5d86d","description":"El usuario devolverá su estado personalizado."},{"nameHash":"1303c06b0b014d0ce7b988ab173a13f31227d417058ff4bbe6f8c222b4ad913c","name":"tipo","descriptionHash":"e9cee61e60ea9409cc381ecd16eb7eea1277afbabd8b1d65df3ef08a58cbece3","description":"El tipo de estado personalizado a recuperar"}]},"$memberBanner":{"descriptionHash":"cb582fb44f6183f0f8b856ccc0b2e99f1231c58575338202b9e4123c47e50cf8","description":"Devuelve el banner de miembro","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor del que extraer miembros"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"419f1f225f434de09dccc6fe700e252079913980efa2d6362746136dd6c6292e","description":"El usuario para recuperar el banner."},{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño a utilizar para la imagen."},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a utilizar para la imagen."}]},"$shardCount":{"descriptionHash":"71f764661f62abb3caefcd5d1d36e40256e8502cd8df119bc6ada071ab93606b","description":"Devuelve el recuento de fragmentos del cliente."},"$shardStatus":{"descriptionHash":"48f7ba01aaa7f017c2cf3c35adfa517e11ce7c95f2a93dcfdc7ec28a7ecc5373","description":"Devuelve el estado del fragmento del cliente.","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a303f271455860b02b68810e14120115baf5091ec817c60367290b7ac94f714e","description":"El separador a utilizar para cada estado."}]},"$setGuildAFKTimeout":{"descriptionHash":"755c14900afe849f8d3a4d4280134805f1022488162b1735ec214857aeb000dc","description":"Establece el tiempo de espera AFK para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"1cb3586b218282a37c84efe1569e3064602d2183721812d406c4020ff50f752f","description":"El servidor para configurar el tiempo de espera AFK para"},{"nameHash":"59f006d63bd009b7f1f1d7bd7e29e1f3b9db6505ce784ca3216ea90c6d6dcb11","name":"artículos de segunda clase","descriptionHash":"b3bff4797da74098164439ed960d42adaf6ad39a532ada7f2032ff4c57535b7e","description":"El nuevo tiempo de espera AFK en segundos (60, 300, 900, 1800, 3600)"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildAFKChannel":{"descriptionHash":"7c52c7f16f0148d43de0f877f9ff7549acd2e236a5347e5fc82e7ebc953f74df","description":"Establece el canal AFK para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"1bfc402c2aced4eee09eba93358ae4edef9885f1abf4599d6623a210944fbce1","description":"El servidor para configurar el canal AFK para"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"c583ff8d792ee2f36de49b430b34f8219fa7834d24d25a73a922c3b2922e7dc4","description":"El nuevo canal AFK"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildPreferredLocale":{"descriptionHash":"92cf3c1e62c1f2bb08befa48e0517bd1b468367bb16339dbddd68df87dd4bc4f","description":"Establece la configuración regional preferida de un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"2da0de90dff2a21344b61eb92b321694d65f06662b9ea670f779d3640e27320c","description":"El servidor para configurar la configuración regional preferida"},{"nameHash":"77d9bce4a13de264ff0526e2f26923e29ecf2de9f156d077ff6408bfc352007a","name":"lugar","descriptionHash":"94b25a123ba9f14dbdaaedef7a4c84550d0e12b4e31a4d7ee3a5fe6a6fdad21e","description":"El nuevo lugar preferido"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildPublicUpdatesChannel":{"descriptionHash":"d8b5737d134b8d970cb02069de32b180b2ffec2ca0387d436968f65ae7668003","description":"Establece el canal de actualizaciones públicas para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"3988c75b97a25a25cbea66581d2616b892d538a77b50d86f66608f5699780b54","description":"El servidor para configurar el canal de actualizaciones públicas para"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"dcf7ab5860c1e84583a7860c47771432f60ca50114241819a3569e5016065570","description":"El nuevo canal público de actualizaciones"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildSafetyAlertsChannel":{"descriptionHash":"b3b6f05382dc9299182ca849714bb220c2053270e7262e3609995db21931391f","description":"Establece el canal de alertas de seguridad para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"7afb7230c54ffaf703b3cc7b4106c76d68309e8c0d477c6d542e46b332d48149","description":"El servidor para configurar el canal de alertas de seguridad para"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"d8c700601cfc8964aa8f9ce174f79d0cc03f24f04ffb5b262c5b78e28d788995","description":"El nuevo canal de alertas de seguridad"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildDiscoverySplash":{"descriptionHash":"060257e12ea9b815a949a50966fd1a757cefee8df282154352761de382b50bc7","description":"Establece el inicio de descubrimiento para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"b42ad97a31c436e0fdff6141d332ded4a8a520accdf48056b83ada774323e841","description":"El servidor para configurar el inicio de descubrimiento"},{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"URL","descriptionHash":"e6bd8b5441bdb62d060a8ce18a8e2197f7f4df3458ddbb5f065a593a250cc315","description":"El nuevo descubrimiento"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildRulesChannel":{"descriptionHash":"89b82c988d65b71fb9c79b422902bf2b1e55a226938c114d43264d9ea23ff143","description":"Establece el canal de reglas para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c8adb76ff373bb6c8203346eed7928676c6685f8ddab4eeb9b2b77389d4c21ca","description":"El servidor para establecer el canal de reglas para"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"ada49a56fbc996145eeac620a7742b61c0ed4216d4efe7de384f3b10c0df304e","description":"El nuevo canal de reglas."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildOwner":{"descriptionHash":"279fd8fe6a24257555266f02e15ef201ce6c45443c2c331d202f1407c5c77535","description":"Establece el propietario de un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"8e7470ca4bdd3c81b8df160a53a3b31e761e4cc4373f9b720d940d0e8d34f326","description":"El servidor para establecer el propietario"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"4207c4f674eb31f83328f06bf8c3a705ab5fadc605ff02ca3eacea5e3816ce38","description":"el nuevo dueño"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildExplicitContentFilter":{"descriptionHash":"c1ab8dc7376a563054477401dcd2d5b49b5aafec8fed12b9984de89ebef9965d","description":"Establece el filtro de contenido explícito para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"4e38fba750d441d715d0719f8b0aee5bae768f854df90c05c0c0ab5903af0752","description":"El servidor para configurar el filtro de contenido explícito para"},{"nameHash":"dfc3376b8266c66e8c24736645128a5f93ccf1df6f381286ffbda654fec8f21c","name":"filtrar","descriptionHash":"29414ca3b6cd104699ce99936385ea3ee8db3b5698553014e148ceeb39f1e06f","description":"El nuevo filtro de contenido explícito"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildVerificationLevel":{"descriptionHash":"c459e5f5ec794e33e9db77b2ce9b9b64f0633f4cf16fe27afc27d52d8530ea18","description":"Establece el nivel de verificación de un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"c5e59618154df1e60417f3e18cee61aa2cfc21664560088da6557dd986973a6e","description":"El servidor para establecer el nivel de verificación"},{"nameHash":"0081779c287d567d9ca622f4c0cc2ede819b0cc7f286a5f01d8c3c0178191ad6","name":"nivel","descriptionHash":"86fb5d5a662b7caa241c9143fde5408f9e6e6acd301f045d07048acb1d1c5f44","description":"El nuevo nivel de verificación"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildWidgetSettings":{"descriptionHash":"5293f5911ac3f8adf6ac91aead34c40b94d2b1e6dad46b7ccb78b056f0bbfb7e","description":"Establece la configuración del widget de un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"9a31985f80c474ae12d13debfebbf5c0d35eed4cc3dd894c792ba6d08846af9b","description":"El servidor para configurar la configuración del widget"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"4308e63f0a3ccdc1bd8100bc882c07d690a3eb028e31df52ff5ae295118fc996","description":"El canal de invitación para el widget."},{"nameHash":"fb9cf75606b4070dd6a9705810906bba28d0e2ea74ff301b999a91dbb68c7d98","name":"activado","descriptionHash":"58e71e0c6b7c588c5a77e72bc683f41383461e462d5bdecacaf653b794816be3","description":"Si habilitar el widget"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildDefaultMessageNotifications":{"descriptionHash":"4f988e9c0b5b4be3322b5b2b675a3ebd0ee6e1b588fb104e7d16e252f2c61632","description":"Establece la configuración predeterminada de notificaciones de mensajes para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"19662db8b267f2d4500fa23aeaed4c5d8e673088abb31ccb4d93390762d032bd","description":"El servidor para configurar notificaciones de mensajes predeterminados para"},{"nameHash":"ec72b9566a9c3501838ae30aeeadb527f0b7545902376fe63b7f9739a8ee4acd","name":"configuración","descriptionHash":"3848d136adb2b062b0445834c6aa6d011fd53910d3bb5e126fb63096a78eac89","description":"La nueva configuración predeterminada de notificaciones de mensajes"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildSystemChannel":{"descriptionHash":"187cc66abd9ca6cf32833dceec239b66699a8f9597ca65eb276bcd74498c9991","description":"Establece el canal del sistema para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"8b6b863e851d59db94473aac5d5d40c52dd4230f29dcf19da905bed74e5614f4","description":"El servidor para configurar el canal del sistema para"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"40e8e02c963c019a0b8ea22afa90c46be70330b689faf1469e4b00e752c77e00","description":"El nuevo canal del sistema."},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$setGuildMFALevel":{"descriptionHash":"161a103fa46a23fcde85ef4f3961443f7e2be1f7d937bf04e89978f09a03b3cc","description":"Establece el nivel de MFA para un servidor, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"961e203b297867d6557e8d5d6554dc57f5789034d2b353bdd4495c25bd46666e","description":"El servidor para configurar el nivel de MFA para"},{"nameHash":"0081779c287d567d9ca622f4c0cc2ede819b0cc7f286a5f01d8c3c0178191ad6","name":"nivel","descriptionHash":"7844e1575d2b890684e51d336333c8ed356236d7fafb218ee1cc6af4adfc92b4","description":"El nuevo nivel MFA"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7218a7b710036a9934007130ea2eddf42f77fb0022250184e9bc04dd3fd5de4d","description":"El motivo de esta acción."}]},"$deleteField":{"descriptionHash":"5d6653ead368e3bb52103d57ff5a0baa4a196692b0b345d151a43b216dfd11b8","description":"Elimina un campo para insertar","fields":[{"nameHash":"7a44ff150a04f918083d2437f297ab87a064365eb46ec4ad9a0a9c76cacb199c","name":"índice de campo","descriptionHash":"7a56a8ac620ac84cc1703a5ab298074e36e9b5eb2b3a6064b8cdf6d45dc17908","description":"El campo de índice a eliminar"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"b0a762862397472def8bba32967e981aa6df6c1a5ead6a07470dfac562d79e28","description":"El índice para eliminar este campo en"}]},"$ramTotal":{"descriptionHash":"279a33b4430e4a0c46843850993ff85545c372ec060f0a7077484c84ff1c8f31","description":"Devuelve la capacidad máxima total de RAM del sistema en GB"},"$botWebhookEventURL":{"descriptionHash":"b72045eabdf6e89a4ebd79346f45384d2cd53872a12c966cc04f19616e8999a3","description":"Devuelve la URL del evento del webhook del cliente."},"$botWebhookEventStatus":{"descriptionHash":"877504dafa0520dc58677edd7ad819eb71d629bfcd5f5f55614151623a531fbe","description":"Devuelve el estado del evento del webhook del cliente."},"$botWebhookEventTypes":{"descriptionHash":"6b76f3ddc3539c589d0aa60a44e2132ce806ff0b54e1eb4aec4d996aa30a780e","description":"Devuelve los tipos de eventos del webhook del cliente.","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"61380f511e4c7cdc18fda3e17c2c54389e9f0f354995eebffb8e9ff129db953d","description":"El separador a utilizar para cada tipo"}]},"$botWebhookURL":{"descriptionHash":"b72045eabdf6e89a4ebd79346f45384d2cd53872a12c966cc04f19616e8999a3","description":"Devuelve la URL del evento del webhook del cliente."},"$botWebhookStatus":{"descriptionHash":"877504dafa0520dc58677edd7ad819eb71d629bfcd5f5f55614151623a531fbe","description":"Devuelve el estado del evento del webhook del cliente."},"$botWebhookEvents":{"descriptionHash":"6b76f3ddc3539c589d0aa60a44e2132ce806ff0b54e1eb4aec4d996aa30a780e","description":"Devuelve los tipos de eventos del webhook del cliente.","fields":[{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"61380f511e4c7cdc18fda3e17c2c54389e9f0f354995eebffb8e9ff129db953d","description":"El separador a utilizar para cada tipo"}]},"$pi":{"descriptionHash":"58a2aaffc7f6eeae052d6aace43c641271af68e49992e81f0de01be1d8e3e2d6","description":"Devuelve la constante pi"},"$sign":{"descriptionHash":"c2c5abb7f9daeae80a640ee9e6fdd121540b677d91b937ba5a9fd2d8c9868f50","description":"Devuelve el signo de x, indicando si x es positivo, negativo o cero","fields":[{"nameHash":"12886f9d00055adf24c40579e22d31b2b45f2023f892954ffd5567beb60825f8","name":"número","descriptionHash":"508eb67865408c7d8d4ee79083eaca4359014c60a4d7d9a993f6600568910ca7","description":"El número a utilizar"}]},"$disableButtons":{"descriptionHash":"f7ce6668c1cc4b9f192429ced5a7dd467836fe8f147265a40610f76087143790","description":"Desactiva todos los botones del mensaje actual.","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"46cca060ff2dc7e7d1cb3d661470c184c14f114a52fdd58d8aa1e00eff1dcf14","description":"El índice de la fila a deshabilitar."}]},"$disableButtonsOf":{"descriptionHash":"b7d299a732044403fd4a2521cc47df1b74dd8718059778e2a000412d5a15d15f","description":"Deshabilita todos los botones de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"19e84f645afcd080debfaa2933c5c75cb85a034151dd71e384a4731ece3aef22","description":"El mensaje para desactivar los botones en"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"46cca060ff2dc7e7d1cb3d661470c184c14f114a52fdd58d8aa1e00eff1dcf14","description":"El índice de la fila a deshabilitar."}]},"$disableComponents":{"descriptionHash":"064e0320114a9e24fd4b1ed0130b160c44459a3a6f03d61ebcebd241e70ccace","description":"Deshabilita todos los componentes del mensaje actual."},"$disableComponentsOf":{"descriptionHash":"a4b67c87fc237a787654ca3efff15d32bd610b8fd748f3112169fc81582269ee","description":"Deshabilita todos los componentes de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"c80a6bdc7e24bffde130e04b6e81fa3ca10b69c105a19f13b5059ead9258a336","description":"El mensaje para desactivar componentes en"}]},"$enableComponents":{"descriptionHash":"77aa22344136fcd3e6afd7c6d07fa80f08d49eed3787f101a9c726bccb3e6570","description":"Habilita todos los componentes del mensaje actual."},"$enableButtons":{"descriptionHash":"2332a87e772503c2ba82b313c4442ace508c845235b67926b455118990b05cee","description":"Habilita todos los botones del mensaje actual.","fields":[{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"c21d8863153b4a25b67a0911f8a144b79b7c668d9ee6534704a518e4fdd070bb","description":"El índice de la fila a habilitar."}]},"$enableComponentsOf":{"descriptionHash":"21667c43611636a927f929b7b6d28882940e52e058b2ab35bc63fec9173c3a8c","description":"Habilita todos los componentes de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"4acd010dfafbdf38c289ae7882817e1a19da0b37ac2a1dee72e58f74e9aeefd2","description":"El mensaje para habilitar componentes en"}]},"$enableButtonsOf":{"descriptionHash":"19ec2796347e52b7d7fedfc9970a983c3b6a0ae03918dfc8f75c497ac7d0f262","description":"Habilita todos los botones de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"e9db4f22d77fb40531f356d6fe4c682c3a60ea4b4281147557f65b2a523abb6a","description":"El mensaje para habilitar botones en"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"c21d8863153b4a25b67a0911f8a144b79b7c668d9ee6534704a518e4fdd070bb","description":"El índice de la fila a habilitar."}]},"$getGuildInvite":{"descriptionHash":"86941bcf33208c4674ecb0d8dade39cc47d6f28e41e3f4250168371ffed7ceee","description":"Devuelve información sobre una invitación al servidor.","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"5d1c61f88fb7497ce26397b56b45e9704df4348588e89a5c834cd809685c70fb","description":"El servidor desde el que buscar la invitación"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"412746c5e77fafad80cb894e3b4ac26da5767da3f907843e1d1fcab7d2f0e15c","description":"El código de invitación"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"0b6e84ae629740adbc1b38c120146afaac83d906d641ac63739fe41fdcfd465b","description":"La propiedad de la invitación a regresar."}]},"$getInvite":{"descriptionHash":"d3f0fd310411cbf7815d02466838f5ee6fa0caa11acd94c5bab757e4fa4556a1","description":"Devuelve información sobre una invitación.","fields":[{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"412746c5e77fafad80cb894e3b4ac26da5767da3f907843e1d1fcab7d2f0e15c","description":"El código de invitación"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"0b6e84ae629740adbc1b38c120146afaac83d906d641ac63739fe41fdcfd465b","description":"La propiedad de la invitación a regresar."}]},"$getMessageReactions":{"descriptionHash":"945e291de15b834cd38839c83e8dee65ff8c4229b033b69eae7edca3ea9415d7","description":"Recupera todas las reacciones de un mensaje.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal del que extraer el mensaje"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"4e0b856d63f2042ec259793dc5fb1ad2f4bc14aa47b98d8ea095741eac6a3dcb","description":"El mensaje para recuperar reacciones de"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"40551a1700c3a213dfb209640731937428b82622bf4c083ccbb20ef32fc8cd91","description":"La propiedad de las reacciones de regresar."},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3bcc03eab28bb1255ebae322edc149eeeace8d725836c9ec0246406a86c804bc","description":"El separador a utilizar para cada propiedad."}]},"$editMentionableSelectMenu":{"descriptionHash":"d22120970a4ca6d253125c18cffd2cec58d5833dada06bb18e0ef2e50ed2403e","description":"Edita un menú de selección mencionable","fields":[{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."}]},"$editChannelSelectMenu":{"descriptionHash":"eabde642e4c38b073ac5039dcfa514cfad3638c73d6b9e3c3a5695695b4de1a1","description":"Edita un menú de selección de canal","fields":[{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"44cba2498d2245970c3266b3f381b7fb7a36da5d5860319944d3da89b5483784","name":"canales predeterminados","descriptionHash":"8fec82a56eae952d42693637afc49b58c6d1acb5a2a27c918a2343372d414a0d","description":"Los canales seleccionados por defecto del menú."}]},"$editMentionableSelectMenuOf":{"descriptionHash":"8eed710430dc10b9a4d6e0fdafef8f43617493d367507983b94b03aa87499d9a","description":"Edita un menú de selección mencionable de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"fcf43f7a6a8b8a0efb689fe14460d4ca505c16fe9b5ce0b3b803eeed75de8be4","description":"El mensaje para editar seleccionar menú para"},{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."}]},"$editRoleSelectMenu":{"descriptionHash":"21384cf2ddd183c67e2c51c9a2680ae66bba35fd892e2e7fe371ee4205028c6f","description":"Edita un menú de selección de ID de rol","fields":[{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"abf3d26c6b4be64d52c862381faa920612a82e418e8bb2b4d4aaf3b4622fd820","name":"identificadores de roles predeterminados","descriptionHash":"d22ec15585bc25bb9a2fc5556d6f9fe8f91a574b8f357a28fec947475642537b","description":"Los identificadores de roles seleccionados predeterminados del menú."}]},"$editChannelSelectMenuOf":{"descriptionHash":"e5e9f6c5a183ddbf719b1ca6ec0cec4741a0d919fd7cd4ecad2b456628ea272c","description":"Edita el menú de selección de canal de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"fcf43f7a6a8b8a0efb689fe14460d4ca505c16fe9b5ce0b3b803eeed75de8be4","description":"El mensaje para editar seleccionar menú para"},{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"44cba2498d2245970c3266b3f381b7fb7a36da5d5860319944d3da89b5483784","name":"canales predeterminados","descriptionHash":"8fec82a56eae952d42693637afc49b58c6d1acb5a2a27c918a2343372d414a0d","description":"Los canales seleccionados por defecto del menú."}]},"$editUserSelectMenu":{"descriptionHash":"97e10eddf9f32a6504176e1df50d48b25878edc0698d33668df470bb3341e3d9","description":"Edita un menú de selección de usuario","fields":[{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"0d7768b318f717af53a97a074c835bc3645621599533fa46e4f171a1554cf28f","name":"usuarios predeterminados","descriptionHash":"0e951ac712adb98fdd487c462472cf03e052875723c4a6a6efe49951003b4311","description":"Los usuarios seleccionados por defecto del menú."}]},"$editRoleSelectMenuOf":{"descriptionHash":"4c3f49e5d40924a339db2aaad12bcf0c9d40d446fe8bdbd4aa429a5ba3eda70d","description":"Edita el menú de selección de ID de rol de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"fcf43f7a6a8b8a0efb689fe14460d4ca505c16fe9b5ce0b3b803eeed75de8be4","description":"El mensaje para editar seleccionar menú para"},{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"abf3d26c6b4be64d52c862381faa920612a82e418e8bb2b4d4aaf3b4622fd820","name":"identificadores de roles predeterminados","descriptionHash":"d22ec15585bc25bb9a2fc5556d6f9fe8f91a574b8f357a28fec947475642537b","description":"Los identificadores de roles seleccionados predeterminados del menú."}]},"$editUserSelectMenuOf":{"descriptionHash":"a94dc27a765813b5f21136569383da49d841972b0308330bf1e0de8a7bc09e00","description":"Edita el menú de selección de usuario de un mensaje, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08a5c70f2d3866b4ad2c12f80a313ccc5188009c9a7c5e2162030e08ccb74a5b","description":"La identificación del canal del que extraer el mensaje."},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"fcf43f7a6a8b8a0efb689fe14460d4ca505c16fe9b5ce0b3b803eeed75de8be4","description":"El mensaje para editar seleccionar menú para"},{"nameHash":"8e5fb2d73abd761c9781701e2a6de5a45a2390abad5590fb6a0d6add4584fabe","name":"antigua identificación personalizada","descriptionHash":"957d1ec00963919cd0072e2be3637665d374b2a0671e9c801117abb354626a85","description":"La identificación personalizada del menú para editar."},{"nameHash":"a90845fb799fe823e5862a049025abba5dc8d7784192c65085419395b31906c1","name":"nueva identificación personalizada","descriptionHash":"9c5fb91ff3bfe5927987d15e883bfc1fe7a7bd78ba13b7328b1648f9e22e123d","description":"La nueva identificación personalizada que se usará en este menú."},{"nameHash":"4097889236a2af26c293033feb964c4cf118c0224e0d063fec0a89e9d0569ef2","name":"marcador de posición","descriptionHash":"daa56ef1febb9d700444f06f3aed5574f7c0ba3cfde286fceb039d0fff181da1","description":"El marcador de posición que se utilizará para el menú."},{"nameHash":"17eb3c0168d0d7b21ede5481150f17233427d89833ec121b4dbc4fb96cfab71e","name":"desactivado","descriptionHash":"ba8a0b3e715ce152ab774f3d01d3dbb40842e27f5b86c93f8d754225f6302555","description":"Si se debe mantener este menú deshabilitado"},{"nameHash":"1f6c664f07281d596415fe2356e1e4656306f76a5fe9bfa03b4cea9530b9364d","name":"valores mínimos","descriptionHash":"798549c9072125e507bb4f8aafe3f8eaa7bf8888119151e04e4cf08765e049bd","description":"Los valores mínimos a elegir para el menú."},{"nameHash":"b88f4d4b4b7bd987f048950768ddfb94bdc08810a8ca6d9d19a0d81f4ac571cc","name":"valores máximos","descriptionHash":"0d50130e6e05f6a71c2a5eb67dd75fbd6cc9f0a5bd7ede65721a1800165898b3","description":"Los valores máximos a elegir para el menú."},{"nameHash":"0d7768b318f717af53a97a074c835bc3645621599533fa46e4f171a1554cf28f","name":"usuarios predeterminados","descriptionHash":"0e951ac712adb98fdd487c462472cf03e052875723c4a6a6efe49951003b4311","description":"Los usuarios seleccionados por defecto del menú."}]},"$threadOwnerID":{"descriptionHash":"d5c30413efbe4c07ab8543dbff29475a40fc9ef8aad9f65bf9eb56b4e7396b96","description":"Devuelve el propietario del hilo.","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"08253180b37348d7830850a5681852ac63ac4b89dd9c9bd3e4d5d402fcc92783","description":"El hilo para recuperar el propietario de"}]},"$findApplicationEmoji":{"descriptionHash":"ee00b1c309248bd9c3923c4a97b1febd845da6ea71c47a6719de5311bebbc488","description":"Encuentra un emoji de aplicación del cliente.","fields":[{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"eb2401d8d1ef722ad1955da1a35eae21134ec9e51c96ee674efa939d89de9a8c","description":"La identificación, formato o nombre emoji para encontrar"}]},"$findGuild":{"descriptionHash":"8c38e6dd4012ca2e62ca0eb373226048fdec41293c29c04258152d6383058f90","description":"Encuentra un servidor","fields":[{"nameHash":"a8b771920b8319e47251d1360f5e880bc18e8d329b0f0d003ea3c7e615558947","name":"consulta","descriptionHash":"5787074bd6bd24298763029a6619a534a01694b7a80e508cc7942211d4691194","description":"La identificación o el nombre del servidor a buscar."},{"nameHash":"049851178d13ce162bab09031d7faa4e36c2d019478b7203ac1b602ebfe4f69b","name":"servidor de retorno","descriptionHash":"86c897e1ede3ef8d6be7b342c0cee69c58f18b5ef9ae7ddbadfa65e8355673f0","description":"Devuelve la identificación del servidor actual si no se encuentra ninguno"}]},"$fetchChannels":{"descriptionHash":"76278ac791a7fad433341f37f6f4df47a1b35e5a8112814c8f1aa319fd5cce8f","description":"Almacena en caché todos los canales de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"3efdd5b2bc14112d3515e43b16b2dff2b70360dbd8cf1cc51c9b88b5bca2e039","description":"El servidor para almacenar en caché los canales de"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"identificación del canal","descriptionHash":"5367338431359a9c728844b3a9f279a255452f29cb415cec8eb4504015aed116","description":"El canal para buscar"}]},"$fetchRoles":{"descriptionHash":"c5d602287e7c71cc0af531d355f217d67957414adfb6ff86ef0f028d6ac3f000","description":"Almacena en caché todos los identificadores de roles de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID del servidor","descriptionHash":"91b0e2dccf56439691bdfec51b2ddd5938efb5dba6c494c6f67da30d5d1a29a4","description":"El servidor para almacenar en caché los identificadores de funciones de"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"ID de rol","descriptionHash":"a5ffcbe70537734b76feadd12ee8ab3b5f7d9071f00f04743b1ddd678afe9990","description":"La identificación del rol a buscar"}]},"$pathJoin":{"descriptionHash":"1b7b3fb34180c9a8a7acc150d455dff05c56278a03d18a0ae16f59a18c58c1fc","description":"Une caminos","fields":[{"nameHash":"504dbd7ea99e812ff1ef64c6a162e32890b928a3df1f9e3450aadb7037889be5","name":"caminos","descriptionHash":"09b3050ad8a7d44cd1e28bc48b2c415ac4c486fc48c3dbbdba5dbcc6d60f4004","description":"Los caminos para unirse"}]},"$pathResolve":{"descriptionHash":"c7fac7e26e03447f9ead8ca5723243c5efa5f975443feb256c5e221b793c9a65","description":"Resuelve rutas en una ruta absoluta","fields":[{"nameHash":"504dbd7ea99e812ff1ef64c6a162e32890b928a3df1f9e3450aadb7037889be5","name":"caminos","descriptionHash":"a182c53d28a362b1cc0aca827fb7ade4242a2070caba86281786d1a8991f468b","description":"Los caminos para resolver"}]},"$fetchMessage":{"descriptionHash":"491e1c6909623537030c2f2d1034279d183f51296c3d2a0a8e800cae1a819f4f","description":"Obtiene todos los datos de un mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal para extraer mensaje de"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"a3da23e20c577c588742d9e6da2941deffd91fbd904d66150c79ec3ae1702651","description":"El mensaje para obtener sus datos"}]},"$underline":{"descriptionHash":"e2bd8fef41f96afb1b85bc4aa2007569890e958b75741a610cfd2518358de1db","description":"Agrega un subrayado al texto","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"c733448e704eb17eafe130e4f06a288b2dac52cebc9c2b98a1724407d2a57a70","description":"El texto para agregar subrayado a, esto intentará escapar de todos _"}]},"$subtext":{"descriptionHash":"3564d6cc98841fa30a5a0d09fccd46c11f0082f44a9ab5e931fe3588941bedb0","description":"Hace que el texto dado sea un subtexto","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"97e677c5ebfc0c106c717eb0386a6bd31d914c771c9bc6117bf88682424b59f7","description":"El texto para hacer subtexto"}]},"$jsonHas":{"descriptionHash":"89be77239e19954124d9826a3c0037c5c328eab00544c959ab22b2a0820d9b91","description":"Devuelve si existe una clave en un objeto JSON","fields":[{"nameHash":"3b325109deb02ebf8150c4cc76e908d55f977082fe74bfd455e298770351b77d","name":"variable","descriptionHash":"afb28ca85d89ad4700bdad00608af222546afe55e9c2c6228431fb362cd98f95","description":"La variable que tiene json"},{"nameHash":"2c70e12b7a0646f92279f427c7b38e7334d8e5389cff167a1dc30e73f826b683","name":"llave","descriptionHash":"2414ccb207d98c3dcd0af689d14c55e2c9dda395b89a0d0a17bbbafc9b7516ba","description":"La clave para verificar"}]},"$forumDefaultSortOrder":{"descriptionHash":"b5cf873e568eff65a0729b57187aba18220eea433a1d69203de5bf79f6730d5a","description":"Devuelve el orden de clasificación predeterminado de un foro","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"f5471840b43ac85e581b7618608de222d6125357a0a2c072912bb49d59793ce4","description":"El canal para obtener el orden de clasificación predeterminado desde"}]},"$forumDefaultThreadSlowmode":{"descriptionHash":"f8d618f6cd78398b29d68b9593335ba93aaca87468b7399a391aa081767c3b6a","description":"Devuelve el moderno predeterminado para los subprocesos de un foro","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"efa77232a534d2c793a3ad49533a1e179f2979d89e0e2ab19bc148db42e55e2a","description":"El canal para obtener el moderno de modo lento predeterminado desde"}]},"$forumDefaultLayout":{"descriptionHash":"2a738b0cb877776cbbe00a64757646294d308b8de300348e13898541b23c2839","description":"Devuelve el diseño predeterminado de un foro","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"6a44815cb5730ed477ccc43abdab6b29b35376fda50c4dd73e8d06e0ab49e199","description":"El canal para obtener el diseño predeterminado desde"}]},"$forumDefaultThreadArchiveDuration":{"descriptionHash":"5bed52dbba4bb82130e60a786fd7697cc19c2ac1db5ae46f2b214d7f720f2ed6","description":"Devuelve la duración predeterminada del archivo automático para los subprocesos de un foro","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"f5471840b43ac85e581b7618608de222d6125357a0a2c072912bb49d59793ce4","description":"El canal para obtener el orden de clasificación predeterminado desde"}]},"$forumDefaultReactionEmoji":{"descriptionHash":"92adbb701ccb4a48d06cdcc10616507d2113d29118c860f36ccd0081eef0c34a","description":"Devuelve el emoji de reacción predeterminado de un foro","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"429a27f2ddf1a36ce03ca0feebcce61e27ac4afa5b1980ebceaaf8600714c7bd","description":"El canal para obtener emoji de reacción predeterminado de"}]},"$setDefaultThreadSlowmode":{"descriptionHash":"b54635cdf499b6ebe5b8ebdf9d42b68d8831145acc7f47061b6fb1fd42fce6e4","description":"Establece el modo lento predeterminado de un foro para publicaciones","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"0c63b79a8a6099ea2e3c03b207ac7137e2835fcd1845073a6e1a7690635479aa","description":"El foro para modificar"},{"nameHash":"59f006d63bd009b7f1f1d7bd7e29e1f3b9db6505ce784ca3216ea90c6d6dcb11","name":"artículos de segunda clase","descriptionHash":"6e57d9b445c0ce7cad735a4604f1f429dee2082a94e5b8868c96dae923e5a416","description":"El nuevo moderno de lento predeterminado"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"67690e832b960159d4ae1fdcf1d5676304a9e4ca053184147b70c31de938c7a7","description":"Razón para modificar SlowMode predeterminado"}]},"$setDefaultForumLayout":{"descriptionHash":"944ada731b9a234ac22f283122139f180581cfe6e00f80f3963042fe23cb3571","description":"Establece el diseño predeterminado de publicaciones de un foro","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"0c63b79a8a6099ea2e3c03b207ac7137e2835fcd1845073a6e1a7690635479aa","description":"El foro para modificar"},{"nameHash":"1dc5ae5b68174891b6aa9850aa05ee0d9ae8a20468d9517259951a2dd9e9c0f0","name":"disposición","descriptionHash":"75c5f410f418b802fba07f0cd8a1610d33fded3c904a06b69bbfedb916895da9","description":"El nuevo diseño predeterminado"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"7e31ce9348f3d64bb86490b94c97c8245e699f247eb2c9dba3c2cdeee7b79ebe","description":"Razón para modificar el diseño predeterminado"}]},"$setDefaultReactionEmoji":{"descriptionHash":"075e7090459723829c2bde3ea3436a1cf78a991fb04b4d40eb6bbe8e5e5a51e2","description":"Establece el emoji de reacción predeterminado de un foro para publicaciones","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"0c63b79a8a6099ea2e3c03b207ac7137e2835fcd1845073a6e1a7690635479aa","description":"El foro para modificar"},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emoji","descriptionHash":"b23d094e58a601bd85369bfbda23ae8598f0cb95aff5aded3db366010425619e","description":"El nuevo emoji de reacción predeterminado"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"96ebe0a72b3af65750edfb5c7016d17a4802aecd1d52665e911e0b15948173c9","description":"Razón para modificar el emoji predeterminado"}]},"$setDefaultSortOrder":{"descriptionHash":"e78a0b0441aec5a882882f5b260125d2f055ceaf357ce8104a08368c26984d31","description":"Establece el orden de clasificación predeterminado de un foro de publicaciones","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"0c63b79a8a6099ea2e3c03b207ac7137e2835fcd1845073a6e1a7690635479aa","description":"El foro para modificar"},{"nameHash":"1dc5ae5b68174891b6aa9850aa05ee0d9ae8a20468d9517259951a2dd9e9c0f0","name":"disposición","descriptionHash":"65b240827867ce1d8fb53d328d291d00f9c3dea2bcfd35ae08828531617ff598","description":"El nuevo orden de clasificación predeterminado, deje vacío para reiniciar"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"31ac3957490dcf537f3f37cf06dc410f8a9701e9898b6952d1b97329e4dcf8d1","description":"Razón para modificar el orden de clasificación predeterminado"}]},"$guildDmsDisabledUntil":{"descriptionHash":"fe02255553cdece71d0cf9cf0323b57b829c21760e2d9e7fb58614cc828124bc","description":"Devuelve la marca de tiempo desactivada de mensajes directos de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos"}]},"$guildDmSpamDetectedAt":{"descriptionHash":"c61c8d76bf5ae7ff22e9a97bfa01ca34d33c4e274d4cd3ccc9a67e83e662abc0","description":"Devuelve cuando se detectó un spam de mensaje directo en un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos"}]},"$guildRaidDetectedAt":{"descriptionHash":"21c356bdf871c5da5bcb4b235dcd009eeb5e77fb763fa7710bdf1edd8a688b28","description":"Devuelve cuando se detectó una redada en un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos"}]},"$guildInvitesDisabledUntil":{"descriptionHash":"4b25d5f4733d96cfc3651b4dadbf7f5082ee16b9c5b889ee35b386fbd471041c","description":"Devuelve la marca de tiempo de discapacitado invitadas de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos"}]},"$forward":{"descriptionHash":"9a86351732499f4cd1ee259263cd54bdeaea1aec99d5f42cf49a98a9cd0c1ec9","description":"Reenvía un mensaje a otro canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal para extraer mensaje de"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"11ff1c70be47f2881921f915129b9966b4baae5050b23b180d7ebed4bab8a560","description":"El mensaje a reenviar"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"6be90bb627666e3919bde10bbb0a73c709fe583e648b3a8d6a39654eec22a52a","description":"El canal para reenviar el mensaje a"}]},"$djsVersion":{"descriptionHash":"b1010e86903ce7a3d157b26b47414e2342f671d222d8a984fb66a16b488d321d","description":"Devuelve la versión Discord.js utilizada"},"$channelWebhooks":{"descriptionHash":"7b358d10b5ef48397baf835cafd385a8dbfc9c8cb5cfab491aec3a36ffa8d93d","description":"Devuelve todos los webhooks de un canal","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"f6094a9876f8dc9b3cca6f994a1d2f48c946a170473cdc8b275f5da187dd0df8","description":"El canal para obtener sus webhooks"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"9b9615aad03769adb72681a2ab923bdf349666bf87c95971913f43595e8bdf00","description":"La propiedad para devolver"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"5c77c3a8fef1fe50b6fd9119c4aca1d318595189dab8b6fbe9d866596d28e74b","description":"El separador para usar para cada propiedad"}]},"$followChannel":{"descriptionHash":"bc10c25e5353c36f8fe52b2330c4a97aae8effa3053a04fa0bca9ed57ca7ec79","description":"Sigue el canal de anuncio dado, devuelve la identificación de webhook","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"9b93ddd26cb75d69eae2a041ce56c5367e11b453444dffcd96e1cfab58055d71","description":"El canal a seguir"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"32ebaf436a995b7d1d3aa8922bf1ce5958b16f162973a1974f0be7512a7ff119","description":"El canal a los mensajes de poste cruzado en"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"04bfd90401c821295a35d33a014d602de25400ea3ceca57d0fbf9273b2a24a5a","description":"La razón para seguir el canal"}]},"$guildWebhooks":{"descriptionHash":"ccd45e3ee66c763445b1736e6e399efa37122d0c0d552c29b4188946956b5d08","description":"Devuelve todos los webhooks de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"c7c73626d7071f9e1e78fbe870171ca85d60fdb908af78122cdf39d1f94ffca3","description":"El servidor para recuperar los datos"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"9b9615aad03769adb72681a2ab923bdf349666bf87c95971913f43595e8bdf00","description":"La propiedad para devolver"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"5c77c3a8fef1fe50b6fd9119c4aca1d318595189dab8b6fbe9d866596d28e74b","description":"El separador para usar para cada propiedad"}]},"$webhookType":{"descriptionHash":"c134dac21a2e5e0a1aa7076f109103799d9c4fd79e090259ff54db642ce3ff55","description":"Devuelve el tipo de un webhook","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e2909d0ae1b088798c606206a499873db52c6b426673ee0e66c68ddb30218466","description":"La ID de webhook"}]},"$webhookIsUserCreated":{"descriptionHash":"ac56944205c8fbca0344f1f5ef0b6343a6a9574539195d62ca3fac13eb4a1982","description":"Comprueba si el webhook es creado por el usuario","fields":[{"nameHash":"a56145270ce6b3bebd1dd012b73948677dd618d496488bc608a3cb43ce3547dd","name":"identificación","descriptionHash":"e2909d0ae1b088798c606206a499873db52c6b426673ee0e66c68ddb30218466","description":"La ID de webhook"}]},"$effect":{"descriptionHash":"621f40f7cfd1eac61aacaf672f726e94882428dc1017de5c2ff40993beac18a5","description":"Recupera datos de un evento cuyo contexto fue un evento de efecto de canal de voz","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"}]},"$stickerURL":{"descriptionHash":"e8304e56263cf15b70c43e4f2b9e36a76c42a852bec0083353e77259639b8345","description":"Devuelve una URL de pegatina","fields":[{"nameHash":"dd438c0c918298037714cbca18fbf0ce01da3ca95eaf89086587532663574cbe","name":"identificación de pegatina","descriptionHash":"4ff288b27cdcb222c3d4a420508775ee144f7accb1782c2f26ebb847d44b6ddd","description":"La pegatina para tirar de la url de"}]},"$targetMember":{"descriptionHash":"a88015bfc5957b4dfeb4387ca4db0408654469be7692857e4e72b30704776f79","description":"Recupera datos del miembro objetivo","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador para usar en caso de matriz"}]},"$memberDisplayName":{"descriptionHash":"32c9249811ea07519438ffebdba835342c81a075e8c25e9cd00bc168c2058d72","description":"Devuelve el nombre de visualización de un miembro","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"b30e81ec6743b0cfd2da663f11825ac5768b224101c7fee25e8f347cf04935ff","description":"El servidor para extraer miembro"},{"nameHash":"a4fb97641f37660b7e6b38e8fc03d634832c4c4b23485e4ce1fea6b9ec13f9da","name":"ID de usuario","descriptionHash":"382204e0bcc23333e4c5d4e03c755b4ce3cec4deb96388150531f0cfd7bdf70c","description":"El usuario para obtener su nombre de pantalla"}]},"$callLocalFunction":{"descriptionHash":"0b81b33d3772f028d81dfeca76612bd3759b8118136184b00816b5a9a35209bf","description":"Llama a una función local","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"4a710f6ab270ccf19048738501e1ed42fb441c9ea581470f81ae8dad84bb0fc6","description":"El nombre de la función local"},{"nameHash":"090772cf4068973daad3f715eb788d39fe2c02be42efd86de81f0e59198d6237","name":"argumentos","descriptionHash":"1b4a8d8cecbebc72887739b9c67fadf9dbbddba72d7b9451fd0e0be0ba68aadd","description":"Los args para llamar a esta función local con"}]},"$localFunction":{"descriptionHash":"13f13e9a66b6a355fbfb9f5b367e881a37651e37d83b903ba6498bc193cf75bd","description":"Define una nueva función local","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"4a710f6ab270ccf19048738501e1ed42fb441c9ea581470f81ae8dad84bb0fc6","description":"El nombre de la función local"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"37349e2bf27fef0d11d7b8b1b84781da866b13c4d56304f19650ac41f07f7bc5","description":"El código de función local"},{"nameHash":"a20b52fae57cc7a99c9651f1b573950fd211823e3ace3bb9c273c06430f24cd3","name":"parámetros","descriptionHash":"ff4e1d8e22fd206489dc126230115617ccf9980a56616eaae6459f66c52b7f85","description":"Los parámetros de la función local"}]},"$randomGuildRoleID":{"descriptionHash":"57ddc759440aeae472ac1d38bb6b93c4b3972e215a97da2e942665bc8488a70c","description":"Devuelve una ID de rol aleatorio de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"359418c1c83a6e271343bc9fa49ae674b2f8cb1be6b3139e56b2120b3e6dbd84","description":"El servidor para obtener la ID de rol"}]},"$forwardMessage":{"descriptionHash":"9a86351732499f4cd1ee259263cd54bdeaea1aec99d5f42cf49a98a9cd0c1ec9","description":"Reenvía un mensaje a otro canal, devuelve bool","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal para extraer mensaje de"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"11ff1c70be47f2881921f915129b9966b4baae5050b23b180d7ebed4bab8a560","description":"El mensaje a reenviar"},{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"6be90bb627666e3919bde10bbb0a73c709fe583e648b3a8d6a39654eec22a52a","description":"El canal para reenviar el mensaje a"}]},"$clearInterval":{"descriptionHash":"d66b00be94f4514bb81944a6f4755b52f0c2b7cf921200fe7e5b4adec08c58f0","description":"Borra un intervalo activo, devuelve bool","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"e8237ec6c72a707f51890ef292c8a0dc44baff23065449f5efcbe294889076db","description":"El nombre del intervalo"}]},"$clearTimeout":{"descriptionHash":"1a011ce7f8922d8db59ea6a627e6034a0846e78a62e90d4f05c2c2a7288b5a2f","description":"Borra un tiempo de espera activo, devuelve bool","fields":[{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"0eab4826dce20dde109e93fb5177c799c610b869830da5aa404943d46e1c94e1","description":"El nombre del tiempo de espera"}]},"$dayOfWeek":{"descriptionHash":"b65faeac7dff0c35dbebf0eff9d7d0018b18a1fb8dffb7f195b20cf64f211dd9","description":"Devuelve el día actual de la semana","fields":[{"nameHash":"e904c9ccfa425ff0b055d2c533462314d35a529b055e8abe41d49bb46d827427","name":"formato","descriptionHash":"f5d810cb222befe40d3e99fe0a653b7e2d75e405a50d7e504d7594f304c115ca","description":"El formato del día"}]},"$duck":{"descriptionHash":"66590dce9a1e33fdb085247fa3801e76d12a098e70e3c257c8303407febe7ade","description":"Devuelve un pato al azar"},"$dog":{"descriptionHash":"5dbc8ccdd6b2d54785e3c22639f5702dff73f3b589b22d1f0ff6e55a59301a4b","description":"Devuelve un perro al azar"},"$cat":{"descriptionHash":"52c91d5f4355d32938d190153cc047024ca16be24e43456cb294c156c1ddfa3d","description":"Devuelve un gato al azar"},"$fish":{"descriptionHash":"ab5652009800575dab876c249c18b296967d77eca1488f751a512631d2a416ca","description":"Devuelve un pez aleatorio"},"$monkey":{"descriptionHash":"b596275d28bc2177e9a6ff540fa79ba534ede92b2af739e85b790fb69098154c","description":"Devuelve un mono al azar"},"$horse":{"descriptionHash":"fcef187d72aff87c2a8c448cc81405c7644b7636466f611be2d1dce7873f386c","description":"Devuelve un caballo al azar"},"$deleteGlobalApplicationCommands":{"descriptionHash":"1ba2e7b15cb61e2a7cbdc90cb8cff08c48a211165b8516b44753f8bf527e8a33","description":"Elimina todos los comandos globales de su bot"},"$chalkLog":{"descriptionHash":"60c6cde6a4c0f13d516bb0da41cc05e45381ca46a8a5c8093c763d53859df84f","description":"Registros de texto de estilo a la consola con tiza","fields":[{"nameHash":"982d9e3eb996f559e633f4d194def3761d909f5a3b647d1a851fead67c32c9d1","name":"texto","descriptionHash":"0f06cd764aa9b00b2979dfb29d78fc202bc6a67b6e1542741cd157ec38b24446","description":"El texto para registrar"},{"nameHash":"90a7578caf8760be75c2b36f8b110073e494adf0a3264e624874098ed93acbab","name":"estilos","descriptionHash":"015db8dfd1ddcc64b51ee80a3b08a9ae3e7880d433edbb6c43a16034b505c089","description":"Los estilos para aplicar al texto"}]},"$createStageInstance":{"descriptionHash":"b8e51561f9d4137b1f73762550b49a9260e0ea528b033c47d1005d0ff87d7d02","description":"Crea una nueva instancia de etapa, devuelve ID de instancia","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"c3ebb404fe71622b990c98c625a2214afcfb06f639662e7e2d0051a8df80a6a5","description":"El canal para crear instancia de etapa en"},{"nameHash":"23d611a6f6f8e3ef8775959efd61eee094c1e6b147ab978e7bf7ca452e51110b","name":"tema","descriptionHash":"f9b92b572b4bf849a5c33ea430e94436b7517b4e77ce3d9333e6c0ff92b5f203","description":"El tema de la instancia de la etapa"},{"nameHash":"8c1a4528db0d2e05d730edfa4a6d210e552e0424577bb008d691edfa07244366","name":"nivel de privacidad","descriptionHash":"6636918824ecd7d02595eaa69f151f03ef04799b41dad8ceba397ec7df7bd66a","description":"El nivel de privacidad de la instancia de la etapa"},{"nameHash":"6cd6f41455d78245f1295895838dd1ec14449565a9a8c1c8ea43cb35b592e3ab","name":"notificar","descriptionHash":"72bc7cc03222a81bda488695254b5c6cb765a653d2ce9fbd074509db958e5818","description":"Si notificar a @everyOnone que la instancia de la etapa ha comenzado"},{"nameHash":"9a004dcf5c7fe75447bf3ff39324a3b993d4e0a49da44fc316959b1957d1f43e","name":"ID de evento","descriptionHash":"a171ae3876df16eeda57f26a22a7fce65729031aeaec8aebfbcc869aaac3cc72","description":"El evento programado asociado con la instancia de etapa"}]},"$deleteStageInstance":{"descriptionHash":"b5d5cbc40110a597e90b3d1250685bb965604b50439ca50f9411f6bf227f7dff","description":"Elimina una instancia de etapa, devuelve bool","fields":[{"nameHash":"a3a18f8e225de8b55435baf5b55fe87c2241138a728dca979c5f1f175229ceaa","name":"ID de etapa","descriptionHash":"dca69acdbad379ff34508a0e1ac2cfdc7ad543b3db1d592a1c44723b685745ec","description":"La instancia de la etapa para eliminar"}]},"$editStageInstance":{"descriptionHash":"fa3b58e03d5fa191f712b33c84ddb9d444d7781b5e78f740ca2c9d228e9a9645","description":"Edita una instancia de etapa, devuelve bool","fields":[{"nameHash":"a3a18f8e225de8b55435baf5b55fe87c2241138a728dca979c5f1f175229ceaa","name":"ID de etapa","descriptionHash":"0a695fc38f45f685afe4cee7edcea318e16183ba8664ca5e741b2eba872bbe9b","description":"La instancia de la etapa para editar"},{"nameHash":"23d611a6f6f8e3ef8775959efd61eee094c1e6b147ab978e7bf7ca452e51110b","name":"tema","descriptionHash":"61e564ae509823435bdd3ae8621fdd78214c1754c73ec1e5f7693b35f4196e81","description":"El nuevo tema de la instancia de la etapa"},{"nameHash":"8c1a4528db0d2e05d730edfa4a6d210e552e0424577bb008d691edfa07244366","name":"nivel de privacidad","descriptionHash":"1107df372363fcea8045d5cb39366f626979423c4c6864345ecd37d3a65701ad","description":"El nuevo nivel de privacidad de la instancia de la etapa"}]},"$getStageInstance":{"descriptionHash":"3a8f2bd68e9d511a10fb84370c4b1bc7c93d3b702f872ea3b5a58d17ecf2aa98","description":"Devuelve una instancia de etapa de un servidor","fields":[{"nameHash":"a3a18f8e225de8b55435baf5b55fe87c2241138a728dca979c5f1f175229ceaa","name":"ID de etapa","descriptionHash":"1294a43874f36e4fdbb593a918bc447dab08828c2ae59678a5e2ff1f6a3adc26","description":"La instancia del escenario para obtener"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"0ec982e9cb90614fe6749363dd919dacaf71b9925a4893c79ddb747dbf13b287","description":"La propiedad de la instancia de la etapa para devolver"}]},"$guildStageInstances":{"descriptionHash":"3cc54488a27713c94ef3ba4f590cfe37502a97a65598117bf1379a98086bc9cd","description":"Devuelve todas las instancias de etapa activa de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"a8a6214e6dc076e10ec9b5b6de6e3ea1c25fd47dd834c845bf9d18b01e4d2c81","description":"El servidor para obtener instancias de escenario desde"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"ca08f5a79f40aa551ba5fc9e9e2b6d9ec774f4e51e34e5c4f09a7656df802ff1","description":"La propiedad de cada instancia de etapa para devolver"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3bcc03eab28bb1255ebae322edc149eeeace8d725836c9ec0246406a86c804bc","description":"El separador para usar para cada propiedad"}]},"$guildSoundboardSounds":{"descriptionHash":"c0130eaae16ffc8dab285ab052994aa8eb4fb2606d40cbee421a9cf7f32f3b8c","description":"Devuelve todos los sonidos de la caja de resonancia de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"44f429628a7c15b4c6cfa811810750cf824fcb1a800a02fa6cc3b7e6dea3d5d0","description":"El servidor para obtener sonidos de la tabla de resonancia"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"da7d16153095174d97a1f2d87fb58bbaca287772c83005751042cb493d9a7040","description":"La propiedad de cada sonido para devolver"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"3bcc03eab28bb1255ebae322edc149eeeace8d725836c9ec0246406a86c804bc","description":"El separador para usar para cada propiedad"}]},"$soundGuildID":{"descriptionHash":"d9aba6b4c8f716d2b3ada64f3816af9cefe2b5d8de5badc23cad4e5736dc1b63","description":"Devuelve la ID de servidor de un sonido"},"$deleteSoundboardSounds":{"descriptionHash":"c139cd63ee254913a6c8a8caeb33aac0e4a0661230e2751473c8315f882a7d42","description":"Elimina los sonidos de la tabla de resonancia dada, devuelve el recuento de sonidos eliminados","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"ff68c459085ed20c319cf55e65845a7853b85b9ba89d273393d1ee973c20e386","description":"El servidor para eliminar los sonidos de la tabla de resonancia de"},{"nameHash":"395d4c382804699fa1063dd293af2e8d1aa17f3a40be4d5bf830d7110e3cb85f","name":"sonidos","descriptionHash":"3a2de000b278fb6ab8a8d6d58fa705100167a3d15e4ba21e82481c14a97655fc","description":"La tabla de resonancia suena para eliminar"}]},"$soundEmoji":{"descriptionHash":"13cf8b9121b012a801066ab7752643365e3cecd01e7d161a2b156e39a90b90f4","description":"Devuelve el emoji de un sonido","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f99599663a48755a292f5cb8b385d59abc4e25c7c7903284f2fde0942cd38641","description":"El servidor para obtener sonido desde"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"0af02669c885fd9ec52667fbb657f200178c6269a626c07bab0dc03352ef7c97","description":"El sonido para devolver su emoji"}]},"$soundAvailable":{"descriptionHash":"806c3747790152c7d8d56019696954a326b3563a0d0f285a1f6059ec850c5c35","description":"Devuelve si hay un sonido disponible","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f99599663a48755a292f5cb8b385d59abc4e25c7c7903284f2fde0942cd38641","description":"El servidor para obtener sonido desde"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"bcec00343a8413c8c4ffa862467f18e7dc9db65c6f6752795423001f253601db","description":"El sonido para devolver su estado disponible"}]},"$soundCreatedAt":{"descriptionHash":"93045c412da21f7c221821b3281ef3a5808cbd7c009594a2fec4a42d7d13f3c5","description":"Devuelve la marca de tiempo de creación de un sonido","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f99599663a48755a292f5cb8b385d59abc4e25c7c7903284f2fde0942cd38641","description":"El servidor para obtener sonido desde"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"1e09cb543f416cc1527f8bfc4f51a1393743c9d688f19c60a1f9dfa38b361aa0","description":"El sonido para devolver su marca de tiempo de creación"}]},"$getSoundboardSound":{"descriptionHash":"5744f1db23968912c910d0448d0874943a532d8fd0ccfd399a224a1b5efe7dcc","description":"Devuelve un sonido de placa de resonancia de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"cc950ec0a7c74bed31c39ff17df52bedd7cd239acda8640656f56bc118052a9e","description":"El servidor para obtener el sonido de la tabla de resonancia"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"e1f1e5d0a38989a0a2dfbf194475978a861fe76808a9d3e358eaf13cdae5f59b","description":"El sonido de la tabla de resonancia para obtener"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"143e3ab18f9b88978c9d19713ce4fb2f6f56cb8d06724911d74ea821369b0f57","description":"La propiedad del sonido para devolver"}]},"$editSoundboardSound":{"descriptionHash":"0cfb51342568b92dc7029b143db01ef6068046fdd6ab39ae83b9b044b1d1e238","description":"Ediciones dadas el sonido de la tabla de resonancia, devuelve bool","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"7df4237562a590d8e417f770626c7f2cee3c2e9d58b4037076a8921daf83888c","description":"El servidor para editar el sonido del tablero de resonancia en"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"6919c85c2c1bd099a3ef45919888d2af7b090e3c45707363c7789052448d64ec","description":"El sonido de la tabla de resonancia para editar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"b83b4f625bcc888f694ff8dcc2b5c43a23d54615c29438c55def5dacc76a506b","description":"El nuevo nombre para el sonido"},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emoji","descriptionHash":"d645f0d735dbf8a9b599e4fd301fc0df14048709b7579b09b93d70bd9ae680c6","description":"El nuevo emoji para el sonido"},{"nameHash":"62d7a6b1211d627650e2bf0c869b69b564e2cd74290ae1dd78ae4b5e20b0cfe7","name":"volumen","descriptionHash":"0fe60e05fc4679f2ac0dc60d137ef5497b8e83347a10fb58ae079ca4264db329","description":"El nuevo volumen para el sonido (de 0 a 1)"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"336028310dda679cd4aea1325adece941c3518aa7c2e6a5be578df76bde93d68","description":"La razón para editar el sonido"}]},"$createSoundboardSound":{"descriptionHash":"9b08ac52e4185ddb733a95179e744428c62395784034d919b1fb127dc64a2c24","description":"Crea un nuevo sonido de la tabla de resonancia, devuelve la identificación de sonido","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f6155dd72a83a2b8e994e8f2eb1627677ffede52960c808d8cc69bc542e447f3","description":"El servidor para crear sonido de la tabla de resonancia en"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"2a8de060ef7a5af79d1a08ca6056456205f578cbe769ce42a0e66f1926d56f6f","description":"El nombre del sonido"},{"nameHash":"3b9c358f36f0a31b6ad3e14f309c7cf198ac9246e8316f9ce543d5b19ac02b80","name":"archivo","descriptionHash":"f483a83afcae4562de33c39b56be483587831959dc928433d96b138e5d73bf75","description":"El archivo para el sonido"},{"nameHash":"4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501","name":"emoji","descriptionHash":"61d50c57ce67b517c40e6b3594aca780ddeafcba18a230d50b32f4f46ecd76a9","description":"El emoji para el sonido"},{"nameHash":"62d7a6b1211d627650e2bf0c869b69b564e2cd74290ae1dd78ae4b5e20b0cfe7","name":"volumen","descriptionHash":"0061e254a5484a7a6c01580a60bfc1d83ee0036b0486b3e6a36167c7cbc3b2b6","description":"El volumen para el sonido (de 0 a 1)"},{"nameHash":"8fcfccf675b1f0bfd39dcbb13015052fe82bc51c003c165a410945c913dbb2be","name":"razón","descriptionHash":"efc3f4f44a9cd8793b0e9a716507d20e32fc336b7e14b8d6c247d2457100c79d","description":"La razón para crear el sonido"}]},"$soundURL":{"descriptionHash":"b646403638ddd7fe95fe56f0caea5b9d05a8c4e76ad89460deaf90e709e2adf3","description":"Devuelve la URL de un sonido","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f99599663a48755a292f5cb8b385d59abc4e25c7c7903284f2fde0942cd38641","description":"El servidor para obtener sonido desde"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"503b6c888edf269299994956d5f73f3536e6115b005fa269609719613bc5b6b7","description":"El sonido para devolver su URL"}]},"$soundName":{"descriptionHash":"7ffc9fa191611e13785d67a231c781b48057798ed7ad7b0f27b30268fd4908e5","description":"Devuelve el nombre de un sonido","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f99599663a48755a292f5cb8b385d59abc4e25c7c7903284f2fde0942cd38641","description":"El servidor para obtener sonido desde"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"1212f88f0ca7a65cc823a7aef42f5211f86a6906680f146509e9158b34263ec7","description":"El sonido para devolver su nombre"}]},"$soundVolume":{"descriptionHash":"ef44125154977f95ad1f817d79d1e3d86f68bb1853c08a0780350ad2393798a3","description":"Devuelve el volumen de un sonido","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f99599663a48755a292f5cb8b385d59abc4e25c7c7903284f2fde0942cd38641","description":"El servidor para obtener sonido desde"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"ba70f954db1e475c45f279bbd690454ccb54ec8e01d4bd79eabc3135e4ce4647","description":"El sonido para devolver su volumen"}]},"$soundUserID":{"descriptionHash":"3474e4a56ee31dcf9c780bd68a27ef677d37b32dc38804906dda35c06d10e83b","description":"Devuelve el usuario que creó el sonido","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f99599663a48755a292f5cb8b385d59abc4e25c7c7903284f2fde0942cd38641","description":"El servidor para obtener sonido desde"},{"nameHash":"24a1c10b0dbfaf6f882efbbc9fbdb3fae56c95d144796beecc6fdbb53500d52c","name":"ID de sonido","descriptionHash":"5d9fcd8d80d90bfa2588a354de0216bd52d8db7254b60749d817df7000ef9cb3","description":"El sonido para devolver a su creador"}]},"$soundID":{"descriptionHash":"2739707a41e859975cf7a9486d9dbbd4375b469f13ad972d0e3d2ab3f9e0d523","description":"Devuelve una identificación de sonido con el nombre de la pila","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"f99599663a48755a292f5cb8b385d59abc4e25c7c7903284f2fde0942cd38641","description":"El servidor para obtener sonido desde"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"5fbd36aabadfe7502ed670a0d142e52c02938efa2957f8f8be4d1ee480e93005","description":"El nombre de sonido para devolver su identificación"}]},"$newSound":{"descriptionHash":"4b05f091454bbd71f105001b0be8039c6c0cd7c52f171a10e23c67cdffca21bd","description":"Recupera nuevos datos de un evento cuyo contexto fue una instancia de sonido de la caja de resonancia","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador para usar en caso de matriz"}]},"$oldSound":{"descriptionHash":"dc69bed914fed3c03525cfe32c4147ff00661aa102a90223f27e75f5d17028be","description":"Recupera datos antiguos de un evento cuyo contexto fue una instancia de sonido de la tabla de resonancia","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador para usar en caso de matriz"}]},"$addMediaGallery":{"descriptionHash":"f54df84644c01c0a8979eb83cf874966bab43ff64ab6b354a895d201f605776c","description":"Agrega un nuevo componente de la galería de medios","fields":[{"nameHash":"5f3c4f8580d392e422e7c2f6802674ac27966c98d95c39696e4b2490168e5488","name":"elementos","descriptionHash":"c76843ac96d77965c2b062f1e10915ce2f66b8df3ff1b2c1ef744548766abe0f","description":"Los elementos para agregar"}]},"$addFile":{"descriptionHash":"975f720ba4f839ed9322b8011bb63ad6ac1087e8c41c83c096e341e7f36bcb71","description":"Agrega un nuevo componente de archivo","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"url","descriptionHash":"e79395611e861762d087f04a7aa7211043a6d7a2c706cd77917f8f135b9a8c4d","description":"La URL del archivo (debe usar el archivo adjunto: //)"},{"nameHash":"9b4c79d5e4d69ab58024904cec7788c5b2eca8dffd79d19008cad64a1cc26e11","name":"spoil","descriptionHash":"8ae7fd626d25de17129f448dcf39e17efa9b5c7a27e8b22d8e8f8c2243d3e5bd","description":"Si establecer un spoiler"}]},"$addItem":{"descriptionHash":"ac56599c61904512e7f8fac9e9c4d64fc48be42f91fd1dfaee46b6d6c7944f8e","description":"Agrega un nuevo elemento de la galería de medios","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"url","descriptionHash":"ed7dbe9f29e32e4d3d55059bea5ee2e0ce4078c60831e5fa334d00c932fb970a","description":"La URL para el artículo de los medios"},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"e5d3b8af7157cc7de31c06328e496e32afc40b28a11b242fb6ae8c9ac2bacf4e","description":"La descripción del elemento de los medios"},{"nameHash":"9b4c79d5e4d69ab58024904cec7788c5b2eca8dffd79d19008cad64a1cc26e11","name":"spoil","descriptionHash":"8ae7fd626d25de17129f448dcf39e17efa9b5c7a27e8b22d8e8f8c2243d3e5bd","description":"Si establecer un spoiler"}]},"$addContainer":{"descriptionHash":"2b4414044ddaa0ed0cbdea288f7b4c309f877bfd85ca34161225d7feb2d105d9","description":"Agrega un nuevo componente del contenedor","fields":[{"nameHash":"7b12be43febc6e18259dd77c004315b4143d570234e0f15acf5f9d7b79c371b5","name":"componentes","descriptionHash":"fc85184ef9e662e19875882633ab89c1c2dc729836f2170df08fea5ffcd07ce0","description":"Los componentes para agregar"},{"nameHash":"74284d9dcbcc09928ca5d7d6187270a62ac1b58ccdc4a44b81e47257ffa53b9e","name":"color","descriptionHash":"3a82c00cf24b370ea025e9ea1e29a46048547b0608a4d9ac71223455d8c5a14a","description":"El color para establecer"},{"nameHash":"9b4c79d5e4d69ab58024904cec7788c5b2eca8dffd79d19008cad64a1cc26e11","name":"spoil","descriptionHash":"8ae7fd626d25de17129f448dcf39e17efa9b5c7a27e8b22d8e8f8c2243d3e5bd","description":"Si establecer un spoiler"}]},"$addTextDisplay":{"descriptionHash":"6e015f3ce24c1c729845abfb307591320f1b6a855c6bfcfafc87a5d3ccd1a263","description":"Agrega un nuevo componente de pantalla de texto","fields":[{"nameHash":"ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73","name":"contenido","descriptionHash":"47cbc046e255f19c5cbe644fede56824786793df80ada8778917e5f205450ffa","description":"El contenido de esta pantalla de texto"}]},"$addSection":{"descriptionHash":"cb9ee925dcc0a2662e4d59a8a0451bebd2ccc995b5501d689fb144933e1a13c1","description":"Agrega un nuevo componente de sección","fields":[{"nameHash":"7b12be43febc6e18259dd77c004315b4143d570234e0f15acf5f9d7b79c371b5","name":"componentes","descriptionHash":"3f3e8c97d25c00f20eb28dea61ba4065d146dbf24e6482b52191c1bb8561ccd1","description":"Los componentes y accesorios para agregar"}]},"$addSeparator":{"descriptionHash":"0989a39c386b94086bb098af5e180a68866ae5e22a073ffac8fd5ac9395eb37f","description":"Agrega un nuevo componente separador","fields":[{"nameHash":"59a560ce1bd2c714459851cbd9a23c20257fa9955a11bc22ef7c93242a31ac55","name":"espaciado","descriptionHash":"48026b1fcd818e2ac02e58be46dab12095de09ea860ee20badcbb5fdf5fbabf7","description":"El espacio de este separador"},{"nameHash":"002cd6bbb3f74bf5f437e8977197df4c8c6f3d0592a6c53abd9c2ed3f2c68c1c","name":"divisor","descriptionHash":"ac14372835554a46fd6bde621c37b8a3da4e475d908289e7df7cc49c16fd74d6","description":"Si mostrar una línea de divisor"}]},"$addThumbnail":{"descriptionHash":"19b1f80c358f9c8c903a51c72e4facbd3765c799029fb7227abe41875bdf0562","description":"Agrega un nuevo accesorio para miniatura","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"url","descriptionHash":"19a5fce8fe852f5b21c7587a8f71e7d3f25a7b4e69fba17720a28f25b6995938","description":"La url para la miniatura"},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"b7f180fb2c85868585457079c6fb1addeb2a8c0ede7a4f344459e2913394b21f","description":"La descripción de la miniatura"},{"nameHash":"9b4c79d5e4d69ab58024904cec7788c5b2eca8dffd79d19008cad64a1cc26e11","name":"spoil","descriptionHash":"8ae7fd626d25de17129f448dcf39e17efa9b5c7a27e8b22d8e8f8c2243d3e5bd","description":"Si establecer un spoiler"}]},"$botTeamID":{"descriptionHash":"3d6b12ae43d6d10b774a3387dff1afa3aa62c84e191288a9a1d61d65d5e180ba","description":"Devuelve la identificación del equipo del cliente"},"$botTeamCreatedAt":{"descriptionHash":"01a053c1d47b6b446eb74211d949dc4ce840f709b5a20034cfc50cef92742e86","description":"Devuelve la marca de tiempo de creación del equipo del cliente"},"$botTeamName":{"descriptionHash":"385263e2770b6a7a97d23ce7a5d7b044bf2a0ac43b7a863eccb9a05362568faf","description":"Devuelve el nombre del equipo del cliente"},"$botTeamMembers":{"descriptionHash":"47501eb55880265db5e5c236c2bf55a4ce43423ad1870979d6cdc75c406c55c8","description":"Devuelve los miembros del equipo del cliente","fields":[{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"727ff1e85b3d6693b6261a5bb32034ae4dbfdcfb54b3ce261ff662cd63e4f548","description":"La propiedad de cada miembro del equipo para devolver"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"5c77c3a8fef1fe50b6fd9119c4aca1d318595189dab8b6fbe9d866596d28e74b","description":"El separador para usar para cada propiedad"}]},"$botTeamIcon":{"descriptionHash":"1a91b2cb35ae050aad5c853f4adba042d1f6d9a11726ae4e1e758b1dff688f2f","description":"Devuelve el icono del equipo del cliente","fields":[{"nameHash":"ccdcbe846f3da4eb044fbdf64bf6b57902388ab72fb0c852ba72280f8d478b40","name":"tamaño","descriptionHash":"79d32e68330e4e2dd1179e6b1db81828ca2aa2fb525f9c22ea3c2332e325821d","description":"El tamaño de usar para la imagen"},{"nameHash":"26f1de33979d065ba8d86789de634228e3540fee2f6e5a66eebf93f78d83077d","name":"extensión","descriptionHash":"5e1127658bab637c16494bb620cbdd70172db616ccb3db2bc39696dbdc52eef6","description":"La extensión a usar para la imagen"}]},"$fetchComponents":{"descriptionHash":"88aa741e3314904546c60790f48257ca0f214483478ae7fb26f902589c9de756","description":"Obtiene los componentes de un mensaje, esto anulará cualquier otro componente agregado a la respuesta","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal para extraer mensaje de"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"051b2083a4cf658fd18472d86f86d34b83bd1789df9e6051e2cc1946c5939996","description":"El mensaje para obtener los componentes de"}]},"$getSnapshots":{"descriptionHash":"a1978791e490dfee2277f4428addd7328eb4fc5c6c93f5c9cfbe191084b2201c","description":"Recupera datos de instantáneas de un mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal para extraer mensaje de"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"2f27711d3c02675eab384ee6a562adc2eb1c199bab9e0c7718707b419c76b5f0","description":"El mensaje para recuperar datos de"},{"nameHash":"1bc04b5291c26a46d918139138b992d2de976d6851d0893b0476b85bfbdfc6e6","name":"índice","descriptionHash":"d620b054c6b093c64cdfe8157efd946c21154b22d19e9558c93372edc6248115","description":"El índice de la instantánea para obtener"},{"nameHash":"fc9184134ae5672878413fff088dd0a1db30d18dc2a855da6345c7ab592ac46f","name":"propiedad","descriptionHash":"086552e457d4c262147ad792d97767f0b6e5617fb96f0bd45aab576a4af7edc0","description":"La propiedad para tirar"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"a3594c88652aed89cc2df710b5c6f27084160268bf324897d1ce693c75ddfb45","description":"El separador para usar en caso de matriz"}]},"$syncGuildTemplate":{"descriptionHash":"1ba89052112ce40972ae123787a42e62756b1707e9306ddfa52289ad218ab0ab","description":"Sincrita esta plantilla al estado actual del servidor, devuelve bool","fields":[{"nameHash":"d5ce8d04d14bc2baeca98fd3e40550a048938d229af2047e9f4b262090b19b23","name":"código de plantilla","descriptionHash":"b3e03fbf70997fed9d8d581b394901a652c66a31bd20628e400d7f18aafcdb61","description":"El código de la plantilla para sincronizar"}]},"$typeof":{"descriptionHash":"55aa4d4d7c98a7dcc4c6094da60a7fc34e6b6fac0f23b2887fe47217767e7961","description":"Devuelve el tipo de argumento proporcionado","fields":[{"nameHash":"b74f83c9353b55cd27a6083e8a136486e5be81e8d2f9e83576c931d2400ceaa1","name":"argumento","descriptionHash":"7842659c4b4b58c69a0e961c18f3677612cd9e6c2202aec41c92032edfb7aa4b","description":"El argumento para obtener su tipo"}]},"$guildTemplateCode":{"descriptionHash":"9dad1afcf9a8b25e4c82d8aee525c08409cee0c7b59313f66f1f4900dc9aee58","description":"Devuelve el código de plantilla de un servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"61fcf70194099f69e58939a4fe7d69fa7daa6102af3badf61b9125e05a7be93f","description":"El servidor para obtener plantilla de"}]},"$addMediaItem":{"descriptionHash":"ac56599c61904512e7f8fac9e9c4d64fc48be42f91fd1dfaee46b6d6c7944f8e","description":"Agrega un nuevo elemento de la galería de medios","fields":[{"nameHash":"28e5ebabd9d8f6e237df63da2b503785093f0229241bc7021198f63c43b93269","name":"url","descriptionHash":"ed7dbe9f29e32e4d3d55059bea5ee2e0ce4078c60831e5fa334d00c932fb970a","description":"La URL para el artículo de los medios"},{"nameHash":"c9046f7a37ad0ea7cee73355984fa5428982f8b37c8f7bcec91f7ac71a7cd104","name":"descripción","descriptionHash":"e5d3b8af7157cc7de31c06328e496e32afc40b28a11b242fb6ae8c9ac2bacf4e","description":"La descripción del elemento de los medios"},{"nameHash":"9b4c79d5e4d69ab58024904cec7788c5b2eca8dffd79d19008cad64a1cc26e11","name":"spoil","descriptionHash":"8ae7fd626d25de17129f448dcf39e17efa9b5c7a27e8b22d8e8f8c2243d3e5bd","description":"Si establecer un spoiler"}]},"$guildInviteExists":{"descriptionHash":"3bd9c23590a64ae52f878f83e5ec7ce65abad27d092955b6fb359acd5503e91b","description":"Devuelve si existe un código de invitación de servidor","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"2bf11dfd4401a96d9c6c14aa2a89e8c53478d583aac20d6367b0ff7bbc792424","description":"El servidor para extraer invitaciones de"},{"nameHash":"5694d08a2e53ffcae0c3103e5ad6f6076abd960eb1f8a56577040bc1028f702b","name":"código","descriptionHash":"c13c10d5b5b1b6394c782afb2cef174f79289ba6897d4e3382047ae426189d99","description":"La invitación a comprobar"}]},"$cloneRole":{"descriptionHash":"bbf93a5a058700825ec67479a49ba43fa78538ac258674386e13349a6f50d2c5","description":"Clones Un papel existente de un servidor, devuelve la identificación de roles si el éxito","fields":[{"nameHash":"92175470334bb5bf5d198cb93196378393c4f039799bf239f250899a07831ce4","name":"ID de servidor","descriptionHash":"ca3b94da3c65c32b897fec6fbb42a829cf86f0f6ea120b048eb07e48bb7387e9","description":"El servidor para obtener ID de rol de"},{"nameHash":"151511d9363d6f6939bf1ae097f74a51200d12cb232de2fc5a33c9203bcd6527","name":"ID de rol","descriptionHash":"f035e5110d99e7e4081786d4b1b4c68ae6b7bac9d8e3936a1b58415d35274180","description":"La identificación de rol para clonar"},{"nameHash":"82a3537ff0dbce7eec35d69edc3a189ee6f17d82f353a553f9aa96cb0be3ce89","name":"nombre","descriptionHash":"e9ad285be760b6a95acee6ce581e3f536133d3bb8845a9d62a3a0a00c2a9ea4d","description":"El nombre de ID de rol para la ID de rol clonada"}]},"$messageEmojis":{"descriptionHash":"edc6a43c6ed54744cd1ae2e577397f276dd1e385c55bd7c39a37fe6ee974e44d","description":"Recupera todos los emojis de este mensaje","fields":[{"nameHash":"86896b9de585845793360bf4ddc4f66de4b947d48d432c3eeed67b7eb0f467fb","name":"ID de canal","descriptionHash":"1c8f10b7d6e37dbba1b322de1932e6363ebc327e731f213f85cbfb69578708ef","description":"El canal para extraer mensaje de"},{"nameHash":"7bef616363ce6a07d847e6174de256cab00b68b5c09ec10fc4b7f713b044f047","name":"ID de mensaje","descriptionHash":"239918094aafd3601cdea47542b68dd694cc5bdf5ed39e32ee63eac6fca3205e","description":"El mensaje para obtener sus emojis"},{"nameHash":"080856f98d1eb14b814733d0c19b1af3161009c39e8e44ac79fe80a05b94f425","name":"separador","descriptionHash":"0325a7946ca557a694737fd91fdd0cc229bd8d860feca3b68a2aef5ab5d9c6c0","description":"El separador para usar para cada emoji"},{"nameHash":"d38bed10ee7f5d7c3cfc75718b658fa3b0feb06f1f251b7041479607e49e6cb0","name":"IDS de retorno","descriptionHash":"e83c94b5fd41196b18f27eec50b67101be6a1d5bb6d10d19778db03e1ac8d9c3","description":"Si devolver las identificaciones de emoji, excluye unicode emojis"}]}}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index c81c464afe..c1290de9f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,59 +1,51 @@ { "name": "@tryforge/forgescript", - "version": "2.6.0", + "version": "2.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@tryforge/forgescript", - "version": "2.6.0", - "license": "GPL-3.0", + "version": "2.7.0", + "license": "LGPL-3.0-or-later", "dependencies": { - "chalk": "^4.1.2", - "discord.js": "^14.25.1", + "chalk": "^5.6.2", + "discord.js": "^14.27.0", "ms-utility": "^3.3.0", "tiny-typed-emitter": "^2.1.0", - "undici": "^5.23.0" + "undici": "^7.29.0" }, "devDependencies": { - "@iamtraction/google-translate": "^2.0.1", + "@eslint/js": "^10.0.1", "@types/cli-color": "^2.0.6", - "@types/express": "^4.17.17", + "@types/express": "^5.0.6", "@types/lodash": "^4.14.198", - "@types/node": "^20.5.7", - "@typescript-eslint/eslint-plugin": "^6.5.0", - "@typescript-eslint/parser": "^6.5.0", - "dotenv": "^16.3.1", - "eslint": "^8.48.0", - "eslint-config-prettier": "^9.0.0", - "express": "^4.18.2", - "prettier": "3.0.3", - "typedoc": "^0.25.0", - "typescript": "^5.2.2" + "@types/node": "^26.1.1", + "@typescript-eslint/eslint-plugin": "^8.69.0", + "@typescript-eslint/parser": "^8.69.0", + "dotenv": "^17.4.2", + "eslint": "^10.2.0", + "eslint-config-prettier": "^10.1.8", + "express": "^5.2.1", + "globals": "^17.5.0", + "prettier": "^3.8.3", + "typedoc": "^0.28.19", + "typescript": "^6.0.2" }, "engines": { "node": ">=16.11.0" } }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/@discordjs/builders": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.13.0.tgz", - "integrity": "sha512-COK0uU6ZaJI+LA67H/rp8IbEkYwlZf3mAoBI5wtPh5G5cbEQGNhVpzINg2f/6+q/YipnNIKy6fJDg6kMUKUw4Q==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.14.1.tgz", + "integrity": "sha512-gSKkhXLqs96TCzk66VZuHHl8z2bQMJFGwrXC0f33ngK+FLNau4hU1PYny3DNJfNdSH+gVMzE85/d5FQ2BpcNwQ==", "license": "Apache-2.0", "dependencies": { - "@discordjs/formatters": "^0.6.1", - "@discordjs/util": "^1.1.1", + "@discordjs/formatters": "^0.6.2", + "@discordjs/util": "^1.2.0", "@sapphire/shapeshift": "^4.0.0", - "discord-api-types": "^0.38.31", + "discord-api-types": "^0.38.40", "fast-deep-equal": "^3.1.3", "ts-mixer": "^6.0.4", "tslib": "^2.6.3" @@ -69,6 +61,7 @@ "version": "1.5.3", "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-1.5.3.tgz", "integrity": "sha512-SVb428OMd3WO1paV3rm6tSjM4wC+Kecaa1EUGX7vc6/fddvw/6lg90z4QtCqm21zvVe92vMMDt9+DkIvjXImQQ==", + "license": "Apache-2.0", "engines": { "node": ">=16.11.0" } @@ -89,20 +82,20 @@ } }, "node_modules/@discordjs/rest": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-2.6.0.tgz", - "integrity": "sha512-RDYrhmpB7mTvmCKcpj+pc5k7POKszS4E2O9TYc+U+Y4iaCP+r910QdO43qmpOja8LRr1RJ0b3U+CqVsnPqzf4w==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@discordjs/rest/-/rest-2.6.2.tgz", + "integrity": "sha512-c5HI3hJuRWWrnpyCZAUYfIUTAEv9weX4tE2UfDqtM3ztizdKE9RFEf3G5IWhPyO+kPldUDpGv02XJAQzdUTC9Q==", "license": "Apache-2.0", "dependencies": { "@discordjs/collection": "^2.1.1", - "@discordjs/util": "^1.1.1", + "@discordjs/util": "^1.2.0", "@sapphire/async-queue": "^1.5.3", - "@sapphire/snowflake": "^3.5.3", + "@sapphire/snowflake": "^3.5.5", "@vladfrangu/async_event_emitter": "^2.4.6", - "discord-api-types": "^0.38.16", - "magic-bytes.js": "^1.10.0", + "discord-api-types": "^0.38.49", + "magic-bytes.js": "^1.13.0", "tslib": "^2.6.3", - "undici": "6.21.3" + "undici": "^6.27.0" }, "engines": { "node": ">=18" @@ -124,9 +117,9 @@ } }, "node_modules/@discordjs/rest/node_modules/undici": { - "version": "6.21.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.3.tgz", - "integrity": "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw==", + "version": "6.28.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.28.0.tgz", + "integrity": "sha512-LIY910g9TI13YS95lrMFrs8Rm/u/irgHeTWoKCoteeJ04CUJ92eEfj0rVn+7VKMPBpUPiUoBKfhNyLI23EE/KA==", "license": "MIT", "engines": { "node": ">=18.17" @@ -183,148 +176,198 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", "dev": true, + "license": "MIT", "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.3" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, + "funding": { + "url": "https://opencollective.com/eslint" + }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "node_modules/@eslint-community/regexpp": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.7.0.tgz", - "integrity": "sha512-+HencqxU7CFJnQb7IKtuNBqS6Yx3Tz4kOL8BJXo+JyeiBm5MEX6pO8onXDkjrkCRlfYXS1Axro15ZjVFe9YgsA==", + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, - "node_modules/@eslint/eslintrc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", - "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", + "node_modules/@eslint/config-array": { + "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" + "@eslint/object-schema": "^3.0.5", + "debug": "^4.3.1", + "minimatch": "^10.2.4" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@eslint/js": { - "version": "8.52.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.52.0.tgz", - "integrity": "sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA==", + "node_modules/@eslint/config-helpers": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz", + "integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==", "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1" + }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@fastify/busboy": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.0.0.tgz", - "integrity": "sha512-JUFJad5lv7jxj926GPgymrWQxxjPYuJNiNjNMzqT+HiuP6Vl3dk5xzG+8sTX96np0ZAluvaMzPsjhHZ5rNuNQQ==", - "engines": { - "node": ">=14" + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" + "@types/json-schema": "^7.0.15" }, "engines": { - "node": ">=10.10.0" + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "node_modules/@eslint/js": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", + "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12.22" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "eslint": "^10.0.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", - "dev": true + "node_modules/@eslint/object-schema": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } }, - "node_modules/@iamtraction/google-translate": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@iamtraction/google-translate/-/google-translate-2.0.1.tgz", - "integrity": "sha512-kOTkt23zflxpgxLIe9tLvDU8IvNscXYbgMSXydNkZGWDtJ75YJiU3v7EBz+t7h/gSiY7sT5r4dlFkMrHCl+N6A==", + "node_modules/@eslint/plugin-kit": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", + "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@gerrit0/mini-shiki": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@gerrit0/mini-shiki/-/mini-shiki-3.23.0.tgz", + "integrity": "sha512-bEMORlG0cqdjVyCEuU0cDQbORWX+kYCeo0kV1lbxF5bt4r7SID2l9bqsxJEM0zndaxpOUT7riCyIVEuqq/Ynxg==", "dev": true, "license": "MIT", "dependencies": { - "undici": "^5.12.0" + "@shikijs/engine-oniguruma": "^3.23.0", + "@shikijs/langs": "^3.23.0", + "@shikijs/themes": "^3.23.0", + "@shikijs/types": "^3.23.0", + "@shikijs/vscode-textmate": "^10.0.2" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.18.0" } }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "node_modules/@humanfs/node": { + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" }, "engines": { - "node": ">= 8" + "node": ">=18.18.0" } }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">= 8" + "node": ">=18.18.0" } }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">= 8" + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" } }, "node_modules/@sapphire/async-queue": { @@ -351,20 +394,70 @@ } }, "node_modules/@sapphire/snowflake": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.5.3.tgz", - "integrity": "sha512-jjmJywLAFoWeBi1W7994zZyiNWPIiqRRNAmSERxyg93xRGzNYvGjlZ0gR6x0F4gPRi2+0O6S71kOZYyr3cxaIQ==", + "version": "3.5.5", + "resolved": "https://registry.npmjs.org/@sapphire/snowflake/-/snowflake-3.5.5.tgz", + "integrity": "sha512-xzvBr1Q1c4lCe7i6sRnrofxeO1QTP/LKQ6A6qy0iB4x5yfiSfARMEQEghojzTNALDTcv8En04qYNIco9/K9eZQ==", "license": "MIT", "engines": { "node": ">=v14.0.0", "npm": ">=7.0.0" } }, + "node_modules/@shikijs/engine-oniguruma": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.23.0.tgz", + "integrity": "sha512-1nWINwKXxKKLqPibT5f4pAFLej9oZzQTsby8942OTlsJzOBZ0MWKiwzMsd+jhzu8YPCHAswGnnN1YtQfirL35g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.23.0", + "@shikijs/vscode-textmate": "^10.0.2" + } + }, + "node_modules/@shikijs/langs": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.23.0.tgz", + "integrity": "sha512-2Ep4W3Re5aB1/62RSYQInK9mM3HsLeB91cHqznAJMuylqjzNVAVCMnNWRHFtcNHXsoNRayP9z1qj4Sq3nMqYXg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.23.0" + } + }, + "node_modules/@shikijs/themes": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.23.0.tgz", + "integrity": "sha512-5qySYa1ZgAT18HR/ypENL9cUSGOeI2x+4IvYJu4JgVJdizn6kG4ia5Q1jDEOi7gTbN4RbuYtmHh0W3eccOrjMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/types": "3.23.0" + } + }, + "node_modules/@shikijs/types": { + "version": "3.23.0", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.23.0.tgz", + "integrity": "sha512-3JZ5HXOZfYjsYSk0yPwBrkupyYSLpAE26Qc0HLghhZNGTZg/SKxXIIgoxOpmmeQP0RRSDJTk1/vPfw9tbw+jSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@shikijs/vscode-textmate": "^10.0.2", + "@types/hast": "^3.0.4" + } + }, + "node_modules/@shikijs/vscode-textmate": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz", + "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/body-parser": { - "version": "1.19.2", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", - "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "version": "1.19.6", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.6.tgz", + "integrity": "sha512-HLFeCYgz89uk22N5Qg3dvGvsv46B8GLvKKo1zKG4NybA8U2DiEO3w9lqGg29t/tfLRJpJ6iQxnVw4OnB7MoM9g==", "dev": true, + "license": "MIT", "dependencies": { "@types/connect": "*", "@types/node": "*" @@ -374,34 +467,51 @@ "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/cli-color/-/cli-color-2.0.6.tgz", "integrity": "sha512-uLK0/0dOYdkX8hNsezpYh1gc8eerbhf9bOKZ3e24sP67703mw9S14/yW6mSTatiaKO9v+mU/a1EVy4rOXXeZTA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/connect": { - "version": "3.4.35", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", - "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } }, + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/express": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", - "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.6.tgz", + "integrity": "sha512-sKYVuV7Sv9fbPIt/442koC7+IIwK5olP1KWeD88e/idgoJqDm3JV/YUiPwkoKK92ylff2MGxSz1CSjsXelx0YA==", "dev": true, + "license": "MIT", "dependencies": { "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.33", - "@types/qs": "*", - "@types/serve-static": "*" + "@types/express-serve-static-core": "^5.0.0", + "@types/serve-static": "^2" } }, "node_modules/@types/express-serve-static-core": { - "version": "4.17.36", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.36.tgz", - "integrity": "sha512-zbivROJ0ZqLAtMzgzIUC4oNqDG9iF0lSsAqpOD9kbs5xcIM3dTiyuHvBc7R8MtWBp3AAWGaovJa+wzWPjLYW7Q==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.1.2.tgz", + "integrity": "sha512-d3KvEXBSo/lOAMc2u6fkyDHBvetBHeqD7wm/AcXfLpSOQwlmG9D/aQ0SFswVjv05p7ullQS7Mjohj6/VdbZuTg==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", "@types/qs": "*", @@ -409,77 +519,88 @@ "@types/send": "*" } }, + "node_modules/@types/hast": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", + "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, "node_modules/@types/http-errors": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.1.tgz", - "integrity": "sha512-/K3ds8TRAfBvi5vfjuz8y6+GiAYBZ0x4tXv1Av6CWBWn0IlADc+ZX9pMq7oU0fNQPnBwIZl3rmeLp6SBApbxSQ==", - "dev": true + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.5.tgz", + "integrity": "sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==", + "dev": true, + "license": "MIT" }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.14.202", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz", - "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==", - "dev": true - }, - "node_modules/@types/mime": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", - "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", - "dev": true + "version": "4.17.24", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.24.tgz", + "integrity": "sha512-gIW7lQLZbue7lRSWEFql49QJJWThrTFFeIMJdp3eH4tKoxm1OvEPg02rm4wCCSHS0cL3/Fizimb35b7k8atwsQ==", + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { - "version": "20.10.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.3.tgz", - "integrity": "sha512-XJavIpZqiXID5Yxnxv3RUDKTN5b81ddNC3ecsA0SoFXz/QU8OGBwZGMomiq0zw+uuqbL/krztv/DINAQ/EV4gg==", + "version": "26.1.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.1.1.tgz", + "integrity": "sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw==", + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~8.3.0" } }, "node_modules/@types/qs": { - "version": "6.9.7", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", - "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", - "dev": true + "version": "6.15.1", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.15.1.tgz", + "integrity": "sha512-GZHUBZR9hckSUhrxmp1nG6NwdpM9fCunJwyThLW1X3AyHgd9IlHb6VANpQQqDr2o/qQp6McZ3y/IA2rVzKzSbw==", + "dev": true, + "license": "MIT" }, "node_modules/@types/range-parser": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", - "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", - "dev": true - }, - "node_modules/@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", - "dev": true + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true, + "license": "MIT" }, "node_modules/@types/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz", - "integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/send/-/send-1.2.1.tgz", + "integrity": "sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==", "dev": true, + "license": "MIT", "dependencies": { - "@types/mime": "^1", "@types/node": "*" } }, "node_modules/@types/serve-static": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.2.tgz", - "integrity": "sha512-J2LqtvFYCzaj8pVYKw8klQXrLLk7TBZmQ4ShlcdkELFKGwGMfevMLneMMRkMgZxotOD9wg497LpC7O8PcvAmfw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-2.2.0.tgz", + "integrity": "sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/http-errors": "*", - "@types/mime": "*", "@types/node": "*" } }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/ws": { "version": "8.18.1", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", @@ -490,231 +611,242 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.16.0.tgz", - "integrity": "sha512-O5f7Kv5o4dLWQtPX4ywPPa+v9G+1q1x8mz0Kr0pXUtKsevo+gIJHLkGc8RxaZWtP8RrhwhSNIWThnW42K9/0rQ==", - "dev": true, - "dependencies": { - "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.16.0", - "@typescript-eslint/type-utils": "6.16.0", - "@typescript-eslint/utils": "6.16.0", - "@typescript-eslint/visitor-keys": "6.16.0", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.2.4", + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.69.0.tgz", + "integrity": "sha512-t5jQTKPIgVW1PE6dR6H6Qz5gm8zjMlX5/2gRaOGd9eO6V7J+tQc6iWKukEe7dY8u9HyYasQ0yfF0/FSSTEO2gA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.69.0", + "@typescript-eslint/type-utils": "8.69.0", + "@typescript-eslint/utils": "8.69.0", + "@typescript-eslint/visitor-keys": "8.69.0", + "ignore": "^7.0.5", "natural-compare": "^1.4.0", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "ts-api-utils": "^2.5.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha", - "eslint": "^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "@typescript-eslint/parser": "^8.69.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/parser": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.16.0.tgz", - "integrity": "sha512-H2GM3eUo12HpKZU9njig3DF5zJ58ja6ahj1GoHEHOgQvYxzoFJJEvC1MQ7T2l9Ha+69ZSOn7RTxOdpC/y3ikMw==", + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.69.0.tgz", + "integrity": "sha512-l4b0DhWioGg6Gt2ebGlvfkFMOjRsauxtsnDRwUSRX1qHq3HdTfQHV8wW9zEXeciai6HfeaKOedQn2Zoofx3WBw==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "6.16.0", - "@typescript-eslint/types": "6.16.0", - "@typescript-eslint/typescript-estree": "6.16.0", - "@typescript-eslint/visitor-keys": "6.16.0", - "debug": "^4.3.4" + "@typescript-eslint/scope-manager": "8.69.0", + "@typescript-eslint/types": "8.69.0", + "@typescript-eslint/typescript-estree": "8.69.0", + "@typescript-eslint/visitor-keys": "8.69.0", + "debug": "^4.4.3" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.16.0.tgz", - "integrity": "sha512-0N7Y9DSPdaBQ3sqSCwlrm9zJwkpOuc6HYm7LpzLAPqBL7dmzAUimr4M29dMkOP/tEwvOCC/Cxo//yOfJD3HUiw==", + "node_modules/@typescript-eslint/project-service": { + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.69.0.tgz", + "integrity": "sha512-yi4obFrHMmnsesWehHbkg9zMA7Jt8cXT+mKM08G999pH1yT6nqgsHx7MYm0uY1wAj8CqiBXYRJ7WAT0QdQHQXg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "6.16.0", - "@typescript-eslint/visitor-keys": "6.16.0" + "@typescript-eslint/tsconfig-utils": "^8.69.0", + "@typescript-eslint/types": "^8.69.0", + "debug": "^4.4.3" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/@typescript-eslint/type-utils": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.16.0.tgz", - "integrity": "sha512-ThmrEOcARmOnoyQfYkHw/DX2SEYBalVECmoldVuH6qagKROp/jMnfXpAU/pAIWub9c4YTxga+XwgAkoA0pxfmg==", + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.69.0.tgz", + "integrity": "sha512-ewfspqWvSxKSOaplqAUNbaSFO0eB6w1EtQ+esfYFRm3614Ty4uNtExkcbgd6nWsXphbqKyf9ZYdbZdv2xEoWEQ==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "6.16.0", - "@typescript-eslint/utils": "6.16.0", - "debug": "^4.3.4", - "ts-api-utils": "^1.0.1" + "@typescript-eslint/types": "8.69.0", + "@typescript-eslint/visitor-keys": "8.69.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } } }, - "node_modules/@typescript-eslint/types": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.16.0.tgz", - "integrity": "sha512-hvDFpLEvTJoHutVl87+MG/c5C8I6LOgEx05zExTSJDEVU7hhR3jhV8M5zuggbdFCw98+HhZWPHZeKS97kS3JoQ==", + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.69.0.tgz", + "integrity": "sha512-xNqK7YTDZsLniQMV/4rpFR8Z5JlqeRvVjuG1YgF/mdPVH84HSD19L8CczMA0qg2RfwEV231GHH3VnToJDo4MfQ==", "dev": true, + "license": "MIT", "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.16.0.tgz", - "integrity": "sha512-VTWZuixh/vr7nih6CfrdpmFNLEnoVBF1skfjdyGnNwXOH1SLeHItGdZDHhhAIzd3ACazyY2Fg76zuzOVTaknGA==", + "node_modules/@typescript-eslint/type-utils": { + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.69.0.tgz", + "integrity": "sha512-ZfoJAVg3JZndQEpEl9petVlxau3lRuElc4HRMuAlLCf8to04/iHz692RUSNmXKDjEuJmIL+KZ2/BsOcBc16dsA==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "6.16.0", - "@typescript-eslint/visitor-keys": "6.16.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "minimatch": "9.0.3", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "@typescript-eslint/types": "8.69.0", + "@typescript-eslint/typescript-estree": "8.69.0", + "@typescript-eslint/utils": "8.69.0", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "node_modules/@typescript-eslint/types": { + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.69.0.tgz", + "integrity": "sha512-K3VrubUPhlo9VDBS6QdI8YB5j7ClpqLRdefcz6PFrhnwicehBweqQ9Evhl4l+FYz0HdDmMqIiSX0aldGRYtDCA==", "dev": true, "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.69.0.tgz", + "integrity": "sha512-AdFkgqck3Vudb/kWnxlyafU/4aBhHrbQ9locP2N4psXTy5mOBg0SHJumnLvx7r6g1gV4DKvUFwV2nJZBoqOD8w==", "dev": true, + "license": "MIT", "dependencies": { - "brace-expansion": "^2.0.1" + "@typescript-eslint/project-service": "8.69.0", + "@typescript-eslint/tsconfig-utils": "8.69.0", + "@typescript-eslint/types": "8.69.0", + "@typescript-eslint/visitor-keys": "8.69.0", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/utils": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.16.0.tgz", - "integrity": "sha512-T83QPKrBm6n//q9mv7oiSvy/Xq/7Hyw9SzSEhMHJwznEmQayfBM87+oAlkNAMEO7/MjIwKyOHgBJbxB0s7gx2A==", + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.69.0.tgz", + "integrity": "sha512-tUbx60BBqQa31kXF5MCsOOLL5E/WzUuxIn7YpAvq+eaUlqvk8/NXnXMBNAdLCr0icjkzem7iUA5QqWHe/hJ1aw==", "dev": true, + "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.12", - "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.16.0", - "@typescript-eslint/types": "6.16.0", - "@typescript-eslint/typescript-estree": "6.16.0", - "semver": "^7.5.4" + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.69.0", + "@typescript-eslint/types": "8.69.0", + "@typescript-eslint/typescript-estree": "8.69.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0" + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.16.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.16.0.tgz", - "integrity": "sha512-QSFQLruk7fhs91a/Ep/LqRdbJCZ1Rq03rqBdKT5Ky17Sz8zRLUksqIe9DW0pKtg/Z35/ztbLQ6qpOCN6rOC11A==", + "version": "8.69.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.69.0.tgz", + "integrity": "sha512-+rmdgPA+EXkNgKYvHvFfhrs35utXbwaC5PGpDquSXcoXQDKUA5UjV0LmTucG/4JXkM31BTu4TilHtrN8IVBe8w==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "6.16.0", - "eslint-visitor-keys": "^3.4.1" + "@typescript-eslint/types": "8.69.0", + "eslint-visitor-keys": "^5.0.0" }, "engines": { - "node": "^16.0.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } }, "node_modules/@vladfrangu/async_event_emitter": { - "version": "2.4.6", - "resolved": "https://registry.npmjs.org/@vladfrangu/async_event_emitter/-/async_event_emitter-2.4.6.tgz", - "integrity": "sha512-RaI5qZo6D2CVS6sTHFKg1v5Ohq/+Bo2LZ5gzUEwZ/WkHhwtGTCB/sVLw8ijOkAUxasZ+WshN/Rzj4ywsABJ5ZA==", + "version": "2.4.7", + "resolved": "https://registry.npmjs.org/@vladfrangu/async_event_emitter/-/async_event_emitter-2.4.7.tgz", + "integrity": "sha512-Xfe6rpCTxSxfbswi/W/Pz7zp1WWSNn4A0eW4mLkQUewCrXXtMj31lCg+iQyTkh/CkusZSq9eDflu7tjEDXUY6g==", "license": "MIT", "engines": { "node": ">=v14.0.0", @@ -722,24 +854,25 @@ } }, "node_modules/accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", "dev": true, + "license": "MIT", "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" }, "engines": { "node": ">= 0.6" } }, "node_modules/acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz", + "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==", "dev": true, - "peer": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -752,15 +885,17 @@ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -772,126 +907,73 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=8" + "node": "18 || 20 || >=22" } }, - "node_modules/ansi-sequence-parser": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.1.tgz", - "integrity": "sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==", - "dev": true - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/body-parser": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.3.0.tgz", + "integrity": "sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==", + "dev": true, + "license": "MIT", "dependencies": { - "color-convert": "^2.0.1" + "bytes": "^3.1.2", + "content-type": "^2.0.0", + "debug": "^4.4.3", + "http-errors": "^2.0.1", + "iconv-lite": "^0.7.2", + "on-finished": "^2.4.1", + "qs": "^6.15.2", + "raw-body": "^3.0.2", + "type-is": "^2.1.0" }, "engines": { - "node": ">=8" + "node": ">=18" }, "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", - "dev": true - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/body-parser": { - "version": "1.20.3", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", - "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "node_modules/body-parser/node_modules/content-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz", + "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==", "dev": true, "license": "MIT", - "dependencies": { - "bytes": "3.1.2", - "content-type": "~1.0.5", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "2.5.2", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - }, "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "node_modules/body-parser/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, "node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz", + "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==", "dev": true, "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" + "balanced-match": "^4.0.2" }, "engines": { - "node": ">=8" + "node": "20 || >=22" } }, "node_modules/bytes": { @@ -904,82 +986,61 @@ "node": ">= 0.8" } }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", "dev": true, "license": "MIT", "dependencies": { - "es-define-property": "^1.0.0", "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" + "function-bind": "^1.1.2" }, "engines": { "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" }, "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, + "node_modules/chalk": { + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", + "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", + "license": "MIT", "engines": { - "node": ">=7.0.0" + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", "dev": true, - "dependencies": { - "safe-buffer": "5.2.1" - }, + "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/content-type": { @@ -993,9 +1054,9 @@ } }, "node_modules/cookie": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", - "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", "dev": true, "license": "MIT", "engines": { @@ -1003,10 +1064,14 @@ } }, "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", - "dev": true + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.6.0" + } }, "node_modules/cross-spawn": { "version": "7.0.6", @@ -1024,12 +1089,13 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dev": true, + "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -1044,25 +1110,8 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "license": "MIT" }, "node_modules/depd": { "version": "2.0.0", @@ -1074,57 +1123,34 @@ "node": ">= 0.8" } }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/discord-api-types": { - "version": "0.38.34", - "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.38.34.tgz", - "integrity": "sha512-muq7xKGznj5MSFCzuIm/2TO7DpttuomUTemVM82fRqgnMl70YRzEyY24jlbiV6R9tzOTq6A6UnZ0bsfZeKD38Q==", + "version": "0.38.49", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.38.49.tgz", + "integrity": "sha512-XnqcWmnFZFAE8ZM8SHAw9DIV8D3Or00rMQ8iQLotrEA2PmXhl+ykaf6L6q4l474hrSUH1JaYcv+iOMRWp2p6Tg==", "license": "MIT", "workspaces": [ "scripts/actions/documentation" ] }, "node_modules/discord.js": { - "version": "14.25.1", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.25.1.tgz", - "integrity": "sha512-2l0gsPOLPs5t6GFZfQZKnL1OJNYFcuC/ETWsW4VtKVD/tg4ICa9x+jb9bkPffkMdRpRpuUaO/fKkHCBeiCKh8g==", + "version": "14.27.0", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-14.27.0.tgz", + "integrity": "sha512-qHbFlFG2N7y3LjPySYsL6A1+BnX6bkTVgo842EX0CqVPk/KTMwZkojPHEXKsQUpWZNyz5BISNHK1cPpQw0+m4A==", "license": "Apache-2.0", "dependencies": { - "@discordjs/builders": "^1.13.0", + "@discordjs/builders": "^1.14.1", "@discordjs/collection": "1.5.3", "@discordjs/formatters": "^0.6.2", - "@discordjs/rest": "^2.6.0", + "@discordjs/rest": "^2.6.2", "@discordjs/util": "^1.2.0", "@discordjs/ws": "^1.2.3", - "@sapphire/snowflake": "3.5.3", - "discord-api-types": "^0.38.33", + "@sapphire/snowflake": "3.5.5", + "discord-api-types": "^0.38.49", "fast-deep-equal": "3.1.3", "lodash.snakecase": "4.1.1", - "magic-bytes.js": "^1.10.0", + "magic-bytes.js": "^1.13.0", "tslib": "^2.6.3", - "undici": "6.21.3" + "undici": "^6.27.0" }, "engines": { "node": ">=18" @@ -1134,36 +1160,40 @@ } }, "node_modules/discord.js/node_modules/undici": { - "version": "6.21.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.3.tgz", - "integrity": "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw==", + "version": "6.28.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.28.0.tgz", + "integrity": "sha512-LIY910g9TI13YS95lrMFrs8Rm/u/irgHeTWoKCoteeJ04CUJ92eEfj0rVn+7VKMPBpUPiUoBKfhNyLI23EE/KA==", "license": "MIT", "engines": { "node": ">=18.17" } }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/dotenv": { - "version": "16.3.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", - "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", + "version": "17.4.2", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz", + "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=12" }, "funding": { - "url": "https://github.com/motdotla/dotenv?sponsor=1" + "url": "https://dotenvx.com" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" } }, "node_modules/ee-first": { @@ -1183,15 +1213,25 @@ "node": ">= 0.8" } }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "dev": true, "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, "engines": { "node": ">= 0.4" } @@ -1206,6 +1246,19 @@ "node": ">= 0.4" } }, + "node_modules/es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", @@ -1218,6 +1271,7 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -1226,84 +1280,94 @@ } }, "node_modules/eslint": { - "version": "8.52.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.52.0.tgz", - "integrity": "sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.7.0.tgz", + "integrity": "sha512-GVTD7s1vdIl6UYvAfriOPeY1Df8LIZjfofLvHwde+erDHGGuHyuM6xoxRxmHiebhYuD2p1vN4wWh0XzPARSGDQ==", "dev": true, - "peer": true, + "license": "MIT", + "workspaces": [ + "packages/*" + ], "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.52.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.2", + "@eslint/config-array": "^0.23.5", + "@eslint/config-helpers": "^0.6.0", + "@eslint/core": "^1.2.1", + "@eslint/plugin-kit": "^0.7.2", + "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "cross-spawn": "^7.0.6", "debug": "^4.3.2", - "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", + "eslint-scope": "^9.1.2", + "eslint-visitor-keys": "^5.0.1", + "espree": "^11.2.0", + "esquery": "^1.7.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", + "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", + "minimatch": "^10.2.4", "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" + "optionator": "^0.9.3" }, "bin": { "eslint": "bin/eslint.js" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } } }, "node_modules/eslint-config-prettier": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", - "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", + "version": "10.1.8", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", + "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", "dev": true, + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, + "funding": { + "url": "https://opencollective.com/eslint-config-prettier" + }, "peerDependencies": { "eslint": ">=7.0.0" } }, "node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { + "@types/esrecurse": "^4.3.1", + "@types/estree": "^1.0.8", "esrecurse": "^4.3.0", "estraverse": "^5.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { "url": "https://opencollective.com/eslint" @@ -1314,6 +1378,7 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -1321,28 +1386,66 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "acorn": "^8.9.0", + "acorn": "^8.16.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^5.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { "url": "https://opencollective.com/eslint" } }, "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -1355,6 +1458,7 @@ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -1367,6 +1471,7 @@ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -1376,6 +1481,7 @@ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } @@ -1391,187 +1497,128 @@ } }, "node_modules/express": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", - "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", - "dev": true, - "license": "MIT", - "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.3", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.12", - "proxy-addr": "~2.0.7", - "qs": "6.13.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.19.0", - "serve-static": "1.16.2", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", + "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "accepts": "^2.0.0", + "body-parser": "^2.2.1", + "content-disposition": "^1.0.0", + "content-type": "^1.0.5", + "cookie": "^0.7.1", + "cookie-signature": "^1.2.1", + "debug": "^4.4.0", + "depd": "^2.0.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "finalhandler": "^2.1.0", + "fresh": "^2.0.0", + "http-errors": "^2.0.0", + "merge-descriptors": "^2.0.0", + "mime-types": "^3.0.0", + "on-finished": "^2.4.1", + "once": "^1.4.0", + "parseurl": "^1.3.3", + "proxy-addr": "^2.0.7", + "qs": "^6.14.0", + "range-parser": "^1.2.1", + "router": "^2.2.0", + "send": "^1.1.0", + "serve-static": "^2.2.0", + "statuses": "^2.0.1", + "type-is": "^2.0.1", + "vary": "^1.1.2" + }, + "engines": { + "node": ">= 18" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/express" } }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/express/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "license": "MIT" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } + "license": "MIT" }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, - "dependencies": { - "flat-cache": "^3.0.4" - }, + "license": "MIT", "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } } }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", "dev": true, "license": "MIT", "dependencies": { - "to-regex-range": "^5.0.1" + "flat-cache": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=16.0.0" } }, "node_modules/finalhandler": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", - "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", + "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", "dev": true, "license": "MIT", "dependencies": { - "debug": "2.6.9", - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" }, "engines": { - "node": ">= 0.8" - } - }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" + "node": ">= 18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "node_modules/finalhandler/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" @@ -1584,49 +1631,46 @@ } }, "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", "dev": true, + "license": "MIT", "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" + "flatted": "^3.2.9", + "keyv": "^4.5.4" }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=16" } }, "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", - "dev": true + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "dev": true, + "license": "ISC" }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", "dev": true, "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">= 0.8" } }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -1638,17 +1682,22 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", "dev": true, "license": "MIT", "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" }, "engines": { "node": ">= 0.4" @@ -1657,24 +1706,18 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", "dev": true, + "license": "MIT", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" }, "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">= 0.4" } }, "node_modules/glob-parent": { @@ -1682,6 +1725,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -1690,84 +1734,22 @@ } }, "node_modules/globals": { - "version": "13.21.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", - "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "version": "17.7.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.7.0.tgz", + "integrity": "sha512-Czmyns5dUsq4seFBR/Kdydhmo8y9kC79hiSkPn0YcGtNnYWnrgt0vjrSjx9tspoDGWm2CMarffRuLjM4xUz8xg==", "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, + "license": "MIT", "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "dev": true, "license": "MIT", "engines": { @@ -1778,9 +1760,9 @@ } }, "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "dev": true, "license": "MIT", "engines": { @@ -1791,9 +1773,9 @@ } }, "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "dev": true, "license": "MIT", "dependencies": { @@ -1804,90 +1786,76 @@ } }, "node_modules/http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", "dev": true, "license": "MIT", "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" }, "engines": { "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", "dev": true, "license": "MIT", "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.6.tgz", + "integrity": "sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.19" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.10" } @@ -1897,6 +1865,7 @@ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -1906,6 +1875,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -1913,67 +1883,57 @@ "node": ">=0.10.0" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "node_modules/is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", "dev": true, - "engines": { - "node": ">=8" - } + "license": "MIT" }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, - "node_modules/js-yaml": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", - "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", "dev": true, - "license": "MIT", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } + "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true + "dev": true, + "license": "MIT" }, - "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" @@ -1982,11 +1942,32 @@ "node": ">= 0.8.0" } }, + "node_modules/linkify-it": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.2.tgz", + "integrity": "sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/markdown-it" + } + ], + "license": "MIT", + "dependencies": { + "uc.micro": "^2.0.0" + } + }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^5.0.0" }, @@ -1998,186 +1979,175 @@ } }, "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "license": "MIT" }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, "node_modules/lodash.snakecase": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", - "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } + "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==", + "license": "MIT" }, "node_modules/lunr": { "version": "2.3.9", "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/magic-bytes.js": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/magic-bytes.js/-/magic-bytes.js-1.12.1.tgz", - "integrity": "sha512-ThQLOhN86ZkJ7qemtVRGYM+gRgR8GEXNli9H/PMvpnZsE44Xfh3wx9kGJaldg314v85m+bFW6WBMaVHJc/c3zA==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/magic-bytes.js/-/magic-bytes.js-1.13.0.tgz", + "integrity": "sha512-afO2mnxW7GDTXMm5/AoN1WuOcdoKhtgXjIvHmobqTD1grNplhGdv3PFOyjCVmrnOZBIT/gD/koDKpYG+0mvHcg==", "license": "MIT" }, - "node_modules/marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", - "dev": true, - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "node_modules/markdown-it": { + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.3.0.tgz", + "integrity": "sha512-RCEsPjR+sr0x+AuYp601tKTkgFG4YEPLCzHST3cQ/fhlJkqAkz1L2/Qbp1j9qw5SBwQHFBoW8+hoN5xssOF0Tw==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/markdown-it" + } + ], "license": "MIT", - "engines": { - "node": ">= 0.6" + "dependencies": { + "argparse": "^2.0.1", + "entities": "^4.5.0", + "linkify-it": "^5.0.2", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" + }, + "bin": { + "markdown-it": "bin/markdown-it.mjs" } }, - "node_modules/merge-descriptors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", - "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", "dev": true, "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, "engines": { - "node": ">= 8" + "node": ">= 0.4" } }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "node_modules/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", "dev": true, - "engines": { - "node": ">= 0.6" - } + "license": "MIT" }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "node_modules/media-typer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", + "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", "dev": true, "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, "engines": { - "node": ">=8.6" + "node": ">= 0.8" } }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "node_modules/merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", "dev": true, "license": "MIT", - "bin": { - "mime": "cli.js" - }, "engines": { - "node": ">=4" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", + "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", + "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", "dev": true, + "license": "MIT", "dependencies": { - "mime-db": "1.52.0" + "mime-db": "^1.54.0" }, "engines": { - "node": ">= 0.6" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^5.0.5" }, "engines": { - "node": "*" + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" }, "node_modules/ms-utility": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/ms-utility/-/ms-utility-3.3.0.tgz", - "integrity": "sha512-PM1brH9z25ICcU17rK8yLwjH5sekCHs1xiftUTKmkoSlBY+F/l7G+zyUMmZ148SkVwOPb0qDGZgawKvELJ+klQ==" + "integrity": "sha512-PM1brH9z25ICcU17rK8yLwjH5sekCHs1xiftUTKmkoSlBY+F/l7G+zyUMmZ148SkVwOPb0qDGZgawKvELJ+klQ==", + "license": "ISC" }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", "dev": true, "license": "MIT", "engines": { @@ -2205,22 +2175,24 @@ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, + "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, + "license": "MIT", "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" }, "engines": { "node": ">= 0.8.0" @@ -2231,6 +2203,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, + "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -2246,6 +2219,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -2256,18 +2230,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -2283,51 +2245,40 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/path-to-regexp": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", - "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", "dev": true, - "license": "MIT" - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" @@ -2338,15 +2289,17 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/prettier": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", - "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", + "version": "3.9.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.5.tgz", + "integrity": "sha512-/FVl766LpUfB5vXgCYOYa0MeV/441Ia99AeICQIQFTY/Nw0roZwULcXpku5i1/m5kt/baz+s4Zogspd839HSMg==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, @@ -2362,6 +2315,7 @@ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", "dev": true, + "license": "MIT", "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" @@ -2371,22 +2325,34 @@ } }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/qs": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", - "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "version": "6.16.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.16.0.tgz", + "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.0.6" + "es-define-property": "^1.0.1", + "side-channel": "^1.1.1" }, "engines": { "node": ">=0.6" @@ -2395,129 +2361,53 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.3.0.tgz", + "integrity": "sha512-hek2mFQpPuI4E1BBKrSto+BU3e3x4xuarsbiwr3+lf7p44juvFMV0XFWQAP3xUyqXA4RrXLIoaSUGbSt056ZMw==", "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/raw-body": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", - "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", + "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", "dev": true, "license": "MIT", "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.7.0", + "unpipe": "~1.0.0" }, "engines": { - "node": ">= 0.8" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" + "node": ">= 0.10" } }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "node_modules/router": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", + "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", "dev": true, + "license": "MIT", "dependencies": { - "glob": "^7.1.3" + "debug": "^4.4.0", + "depd": "^2.0.0", + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" + "engines": { + "node": ">= 18" } }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -2526,13 +2416,11 @@ "license": "MIT" }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -2541,96 +2429,50 @@ } }, "node_modules/send": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", - "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", + "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", "dev": true, "license": "MIT", "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" + "debug": "^4.4.3", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^2.0.0", + "http-errors": "^2.0.1", + "mime-types": "^3.0.2", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.2" }, "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/send/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true, - "license": "MIT" - }, - "node_modules/send/node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" + "node": ">= 18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, "node_modules/serve-static": { - "version": "1.16.2", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", - "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", + "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", "dev": true, "license": "MIT", "dependencies": { - "encodeurl": "~2.0.0", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.19.0" + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.2.0" }, "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" + "node": ">= 18" }, - "engines": { - "node": ">= 0.4" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/setprototypeof": { @@ -2645,6 +2487,7 @@ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -2657,33 +2500,23 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/shiki": { - "version": "0.14.3", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.3.tgz", - "integrity": "sha512-U3S/a+b0KS+UkTyMjoNojvTgrBHjgp7L6ovhFVZsXmBGnVdQ4K4U9oK0z63w538S91ATngv1vXigHCSWOwnr+g==", - "dev": true, - "dependencies": { - "ansi-sequence-parser": "^1.1.0", - "jsonc-parser": "^3.2.0", - "vscode-oniguruma": "^1.7.0", - "vscode-textmate": "^8.0.0" - } - }, "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz", + "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" + "object-inspect": "^1.13.4", + "side-channel-list": "^1.0.1", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -2692,82 +2525,93 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "node_modules/side-channel-list": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz", + "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==", "dev": true, "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.4" + }, "engines": { - "node": ">= 0.8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", "dev": true, + "license": "MIT", "dependencies": { - "ansi-regex": "^5.0.1" + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" }, "engines": { - "node": ">=8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, "engines": { - "node": ">=8" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, + "node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=8" + "node": ">= 0.8" } }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, "node_modules/tiny-typed-emitter": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/tiny-typed-emitter/-/tiny-typed-emitter-2.1.0.tgz", - "integrity": "sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==" + "integrity": "sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==", + "license": "MIT" }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, "license": "MIT", "dependencies": { - "is-number": "^7.0.0" + "fdir": "^6.5.0", + "picomatch": "^4.0.4" }, "engines": { - "node": ">=8.0" + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" } }, "node_modules/toidentifier": { @@ -2781,15 +2625,16 @@ } }, "node_modules/ts-api-utils": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.2.tgz", - "integrity": "sha512-Cbu4nIqnEdd+THNEsBdkolnOXhg0I8XteoHaEKgvsxpsbWda4IsUut2c187HxywQCvveojow0Dgw/amxtSKVkQ==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=16.13.0" + "node": ">=18.12" }, "peerDependencies": { - "typescript": ">=4.2.0" + "typescript": ">=4.8.4" } }, "node_modules/ts-mixer": { @@ -2809,6 +2654,7 @@ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -2816,84 +2662,69 @@ "node": ">= 0.8.0" } }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "node_modules/type-is": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.1.0.tgz", + "integrity": "sha512-faYHw0anBbc/kWF3zFTEnxSFOAGUX9GFbOBthvDdLsIlEoWOFOtS0zgCiQYwIskL9iGXZL3kAXD8OoZ4GmMATA==", "dev": true, + "license": "MIT", + "dependencies": { + "content-type": "^2.0.0", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, "engines": { - "node": ">=10" + "node": ">= 18" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/express" } }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "node_modules/type-is/node_modules/content-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-2.0.0.tgz", + "integrity": "sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==", "dev": true, "license": "MIT", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, "engines": { - "node": ">= 0.6" + "node": ">=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" } }, "node_modules/typedoc": { - "version": "0.25.4", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.4.tgz", - "integrity": "sha512-Du9ImmpBCw54bX275yJrxPVnjdIyJO/84co0/L9mwe0R3G4FSR6rQ09AlXVRvZEGMUg09+z/usc8mgygQ1aidA==", + "version": "0.28.20", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.28.20.tgz", + "integrity": "sha512-uSKqkh8Cr48vllnEy+jdaAgOeR6Y+QCBW7usgUsKj7gJEfR7stw9U/fE49LBnj2tPRKPY0c0EBJSWe9Appmplg==", "dev": true, + "license": "Apache-2.0", "dependencies": { + "@gerrit0/mini-shiki": "^3.23.0", "lunr": "^2.3.9", - "marked": "^4.3.0", - "minimatch": "^9.0.3", - "shiki": "^0.14.1" + "markdown-it": "^14.3.0", + "minimatch": "^10.2.5", + "yaml": "^2.9.0" }, "bin": { "typedoc": "bin/typedoc" }, "engines": { - "node": ">= 16" + "node": ">= 18", + "pnpm": ">= 10" }, "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x" - } - }, - "node_modules/typedoc/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/typedoc/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x || 5.9.x || 6.0.x" } }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "dev": true, - "peer": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -2902,22 +2733,27 @@ "node": ">=14.17" } }, + "node_modules/uc.micro": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", + "dev": true, + "license": "MIT" + }, "node_modules/undici": { - "version": "5.29.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.29.0.tgz", - "integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==", + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz", + "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==", "license": "MIT", - "dependencies": { - "@fastify/busboy": "^2.0.0" - }, "engines": { - "node": ">=14.0" + "node": ">=20.18.1" } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.3.0.tgz", + "integrity": "sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==", + "license": "MIT" }, "node_modules/unpipe": { "version": "1.0.0", @@ -2934,45 +2770,27 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", - "dev": true, - "engines": { - "node": ">= 0.4.0" - } - }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8" } }, - "node_modules/vscode-oniguruma": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", - "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==", - "dev": true - }, - "node_modules/vscode-textmate": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz", - "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==", - "dev": true - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -2983,16 +2801,27 @@ "node": ">= 8" } }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/ws": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.2.tgz", - "integrity": "sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==", + "version": "8.21.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz", + "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==", "license": "MIT", "engines": { "node": ">=10.0.0" @@ -3010,17 +2839,28 @@ } } }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true + "node_modules/yaml": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", + "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", + "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index 887ec60676..e2eba81abf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tryforge/forgescript", - "version": "2.6.0", + "version": "2.7.0", "description": "ForgeScript is a comprehensive package that empowers you to effortlessly interact with Discord's API. It ensures scripting remains easy to learn and consistently effective.", "types": "dist/index.d.ts", "main": "dist/index.js", @@ -8,7 +8,7 @@ "prepublishOnly": "tsc", "build": "tsc -p tsconfig.build.json && node dist/@build/license && tsc -p tsconfig.json", "docgen": "npm run build && typedoc ./src --out ./docs && node dist/docgen", - "eslint": "eslint ./src/**/* --fix", + "eslint": "eslint ./src/**/*.ts --fix", "commit": "npm run docgen && node dist/@build/commit", "test": "npm run build && node dist/__tests__/runner" }, @@ -33,29 +33,30 @@ ], "author": "ruben40000", "contributors": [], - "license": "GPL-3.0", + "license": "LGPL-3.0-or-later", "devDependencies": { - "@iamtraction/google-translate": "^2.0.1", + "@eslint/js": "^10.0.1", "@types/cli-color": "^2.0.6", - "@types/express": "^4.17.17", + "@types/express": "^5.0.6", "@types/lodash": "^4.14.198", - "@types/node": "^20.5.7", - "@typescript-eslint/eslint-plugin": "^6.5.0", - "@typescript-eslint/parser": "^6.5.0", - "dotenv": "^16.3.1", - "eslint": "^8.48.0", - "eslint-config-prettier": "^9.0.0", - "express": "^4.18.2", - "prettier": "3.0.3", - "typedoc": "^0.25.0", - "typescript": "^5.2.2" + "@types/node": "^26.1.1", + "@typescript-eslint/eslint-plugin": "^8.69.0", + "@typescript-eslint/parser": "^8.69.0", + "dotenv": "^17.4.2", + "eslint": "^10.2.0", + "eslint-config-prettier": "^10.1.8", + "express": "^5.2.1", + "globals": "^17.5.0", + "prettier": "^3.8.3", + "typedoc": "^0.28.19", + "typescript": "^6.0.2" }, "dependencies": { - "chalk": "^4.1.2", - "discord.js": "^14.25.1", + "chalk": "^5.6.2", + "discord.js": "^14.27.0", "ms-utility": "^3.3.0", "tiny-typed-emitter": "^2.1.0", - "undici": "^5.23.0" + "undici": "^7.29.0" }, "engines": { "node": ">=16.11.0" diff --git a/src/@build/commit.ts b/src/@build/commit.ts index 8e8cd42844..6414045c55 100644 --- a/src/@build/commit.ts +++ b/src/@build/commit.ts @@ -1,14 +1,13 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { stdin, stdout } from "process" import { createInterface } from "readline" -import { execSync } from "child_process" +import { execFileSync, execSync } from "child_process" import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs" import { join } from "path" -import { platform } from "os" async function prompt(q: string) { const itf = createInterface(stdin, stdout) @@ -31,7 +30,7 @@ async function main() { const msg = (await prompt("Please write the commit message: ")).replace( /(--?(\w+))/gim, (match) => { const name = /(\w+)/.exec(match)![1].toLowerCase() - + switch (name) { case "hide": { skip = true @@ -44,7 +43,7 @@ async function main() { } return "" - } + } ).trim() const fileName = join(path, "changelogs.json") @@ -61,12 +60,11 @@ async function main() { } const branch = await prompt("Write the branch name to push to (defaults to dev): ") || "dev" - let escapedMsg = msg - if (platform() === "darwin") escapedMsg = escapedMsg.replace(/\$/g, "\\$") - execSync("git branch -M " + branch + " && git add . && git commit -m \"" + escapedMsg + "\" && git push -u origin " + branch, { - stdio: "inherit" - }) + execFileSync("git", ["branch", "-M", branch], { stdio: "inherit" }) + execFileSync("git", ["add", "."], { stdio: "inherit" }) + execFileSync("git", ["commit", "-m", msg], { stdio: "inherit" }) + execFileSync("git", ["push", "-u", "origin", branch], { stdio: "inherit" }) } // Nothing diff --git a/src/@build/license.ts b/src/@build/license.ts index 8372e21843..c3d71e31ce 100644 --- a/src/@build/license.ts +++ b/src/@build/license.ts @@ -1,17 +1,18 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { existsSync, readFileSync, readdirSync, statSync, writeFileSync } from "fs" import { join, resolve } from "path" const LICENSE = `/* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © ${new Date().getFullYear()} BotForge */` const dir = resolve("src") +const HeaderRegex = /^\s*\/\*[\s\S]*?SPDX-License-Identifier:[\s\S]*?\*\/\s*/ function log(msg: string) { const time = new Date().toLocaleTimeString() @@ -23,20 +24,15 @@ if (!existsSync(dir)) { process.exit(1) } -const isTs = (file: string) => file.endsWith(".ts") +const isTs = (file: string) => file.endsWith(".ts") function addHeaderIfMissing(filePath: string) { try { const content = readFileSync(filePath, "utf8") - const c = content.split("\n") - const l = LICENSE.split("\n") - let i = 0 - for(const line of c) { - if(line.startsWith(l[i])) i++ - else break - } - if(i === l.length) return false - writeFileSync(filePath, `${LICENSE}\n\n${content}`) + const stripped = content.replace(HeaderRegex, "") + const updated = `${LICENSE}\n\n${stripped}` + if (updated === content) return false + writeFileSync(filePath, updated) log(`Added license header → ${filePath}`) return true } catch { diff --git a/src/__tests__/app/ok.ts b/src/__tests__/app/ok.ts index 2c183fad1b..9dc6beb1b8 100644 --- a/src/__tests__/app/ok.ts +++ b/src/__tests__/app/ok.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ApplicationCommandOptionType, ApplicationCommandType } from "discord.js" diff --git a/src/__tests__/app/ping.ts b/src/__tests__/app/ping.ts index 5985b35a15..c2ad9283e3 100644 --- a/src/__tests__/app/ping.ts +++ b/src/__tests__/app/ping.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ApplicationCommandOptionType, ApplicationCommandType } from "discord.js" diff --git a/src/__tests__/app/test/bye.ts b/src/__tests__/app/test/bye.ts index ea7d40485f..c32bc99127 100644 --- a/src/__tests__/app/test/bye.ts +++ b/src/__tests__/app/test/bye.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ApplicationCommandOptionType } from "discord.js" diff --git a/src/__tests__/async.ts b/src/__tests__/async.ts index 14516c1a20..e06f650a6d 100644 --- a/src/__tests__/async.ts +++ b/src/__tests__/async.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ async function asyncTask() { diff --git a/src/__tests__/bar.ts b/src/__tests__/bar.ts index ad65b504f2..4ef5bc6d0f 100644 --- a/src/__tests__/bar.ts +++ b/src/__tests__/bar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { generateAdvancedBar, generateBar } from "../functions/generateBar" diff --git a/src/__tests__/bulk.ts b/src/__tests__/bulk.ts index cb7af01247..642d6d65c0 100644 --- a/src/__tests__/bulk.ts +++ b/src/__tests__/bulk.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { setTimeout } from "timers/promises" diff --git a/src/__tests__/client.ts b/src/__tests__/client.ts index 47c274fad4..bc6e412523 100644 --- a/src/__tests__/client.ts +++ b/src/__tests__/client.ts @@ -1,11 +1,11 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ForgeClient } from "../core" import { config } from "dotenv" -import { ActivityType, ApplicationCommandType, Events } from "discord.js" +import { Events } from "discord.js" import { LogPriority } from "../structures/@internal/Logger" import { MyExtension } from "./ext" config() @@ -73,7 +73,7 @@ client.commands.add({ client.commands.add({ type: "interactionCreate", - allowedInteractionTypes: [ "modal" ], + allowedInteractionTypes: ["modal"], code: ` $log[hello $channelID | $messageID] $editButtonOf[$channelID;$messageID;yes;;;Danger;;true] @@ -92,7 +92,7 @@ client.commands.add({ client.commands.add({ type: "interactionCreate", - allowedInteractionTypes: [ "button" ], + allowedInteractionTypes: ["button"], code: ` $modal[yes;owa] $addTextInput[owa;owa;Short;true] @@ -155,5 +155,4 @@ client.commands.add({ `, }) -// eslint-disable-next-line no-undef client.login(process.env.TOKEN) diff --git a/src/__tests__/custom/uwu.ts b/src/__tests__/custom/uwu.ts index 15c145877b..f01afabf78 100644 --- a/src/__tests__/custom/uwu.ts +++ b/src/__tests__/custom/uwu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/__tests__/diagnostics.ts b/src/__tests__/diagnostics.ts index 197ae9feb4..f46c145032 100644 --- a/src/__tests__/diagnostics.ts +++ b/src/__tests__/diagnostics.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { subscribe, channel } from "node:diagnostics_channel" diff --git a/src/__tests__/docs.ts b/src/__tests__/docs.ts index 949d9bc474..624acb0256 100644 --- a/src/__tests__/docs.ts +++ b/src/__tests__/docs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import express from "express" diff --git a/src/__tests__/error.ts b/src/__tests__/error.ts index 426caf2f0e..8600b3acf7 100644 --- a/src/__tests__/error.ts +++ b/src/__tests__/error.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ErrorType, ForgeError } from "../structures/forge/ForgeError" diff --git a/src/__tests__/ext.ts b/src/__tests__/ext.ts index 852b137ae3..158287804a 100644 --- a/src/__tests__/ext.ts +++ b/src/__tests__/ext.ts @@ -1,12 +1,11 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { join } from "node:path" import { ForgeClient } from "../core/ForgeClient" import { BaseCommandManager } from "../managers" -import { FunctionManager } from "../managers/FunctionManager" import { ForgeExtension } from "../structures/forge/ForgeExtension" export class RndManager extends BaseCommandManager<{}> { @@ -22,7 +21,6 @@ export class MyExtension extends ForgeExtension { public random!: RndManager public init(client: ForgeClient): void { - // eslint-disable-next-line no-undef this.load(join(__dirname, "custom")) this.random = new RndManager(client) } diff --git a/src/__tests__/fs.ts b/src/__tests__/fs.ts index 834be948c2..fcf8cb44c2 100644 --- a/src/__tests__/fs.ts +++ b/src/__tests__/fs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { FileReader } from "../core/FileReader" diff --git a/src/__tests__/read.ts b/src/__tests__/read.ts index 78cc5014d7..d6821bc8a7 100644 --- a/src/__tests__/read.ts +++ b/src/__tests__/read.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { inspect } from "util" diff --git a/src/__tests__/regex.ts b/src/__tests__/regex.ts index 956237796f..d4f53aacb6 100644 --- a/src/__tests__/regex.ts +++ b/src/__tests__/regex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { inspect } from "node:util" diff --git a/src/__tests__/rgb.ts b/src/__tests__/rgb.ts index 41f701c25d..6f0cbc2cfb 100644 --- a/src/__tests__/rgb.ts +++ b/src/__tests__/rgb.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import clc from "cli-color" diff --git a/src/__tests__/runner.ts b/src/__tests__/runner.ts index aba70b1d28..ab39dbe668 100644 --- a/src/__tests__/runner.ts +++ b/src/__tests__/runner.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { argv } from "process" diff --git a/src/__tests__/validate.ts b/src/__tests__/validate.ts index 0080dd1517..548da9e71a 100644 --- a/src/__tests__/validate.ts +++ b/src/__tests__/validate.ts @@ -1,13 +1,12 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { FunctionManager } from "../managers" import { ArgType } from "../structures" import { Logger } from "../structures/@internal/Logger" -// eslint-disable-next-line no-undef FunctionManager.load("Validator", __dirname + "/../native") for (const [, fn] of FunctionManager["Functions"]) { diff --git a/src/constants.ts b/src/constants.ts index 00df16b7c7..6104c411c7 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import Parser from "ms-utility" diff --git a/src/core/Compiler.ts b/src/core/Compiler.ts index adde0d18aa..bd03ab81f3 100644 --- a/src/core/Compiler.ts +++ b/src/core/Compiler.ts @@ -1,9 +1,8 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { inspect } from "util" import { CompiledFunction } from "../structures/@internal/CompiledFunction" import { ErrorType, ForgeError } from "../structures/forge/ForgeError" import { Collection } from "discord.js" @@ -34,6 +33,7 @@ export type WrappedConditionCode = (lhs: unknown, rhs: unknown) => boolean export interface ICompiledFunctionField { value: string + rawValue: string functions: ICompiledFunction[] resolve: WrappedCode } @@ -240,11 +240,14 @@ export class Compiler { } private parseFieldMatch(fns: Array, match: IRawFunctionMatch) { + const start = match.index const fn = this.parseFunction() fns.push(fn) + const raw = this.code!.slice(start, this.index) // Next match return { nextMatch: this.match, + raw, fn, } } @@ -268,6 +271,7 @@ export class Compiler { const data = {} as ICompiledFunctionConditionField const functions = new Array() + let rawValue = "" let fieldValue = "" let closedGracefully = false @@ -279,6 +283,7 @@ export class Compiler { if (isEscape) { const { char, nextMatch } = this.processEscape() fieldValue += char + rawValue += char match = nextMatch continue } @@ -289,9 +294,10 @@ export class Compiler { } if (match?.index === this.index) { - const { fn, nextMatch } = this.parseFieldMatch(functions, match) + const { fn, raw, nextMatch } = this.parseFieldMatch(functions, match) match = nextMatch fieldValue += fn.id + rawValue += raw continue } @@ -303,8 +309,10 @@ export class Compiler { functions: [...functions], resolve: this.wrap(fieldValue), value: fieldValue, + rawValue } + rawValue = "" fieldValue = "" functions.length = 0 this.index += data.op.length @@ -313,6 +321,7 @@ export class Compiler { } fieldValue += char + rawValue += char this.index++ } @@ -320,6 +329,7 @@ export class Compiler { const out: ICompiledFunctionField = { functions, + rawValue, value: fieldValue, resolve: this.wrap(fieldValue), } @@ -335,6 +345,7 @@ export class Compiler { private parseNormalField(ref: IRawFunctionMatch): ICompiledFunctionField { const functions = new Array() + let rawValue = "" let fieldValue = "" let closedGracefully = false @@ -346,6 +357,7 @@ export class Compiler { if (isEscape) { const { char, nextMatch } = this.processEscape() fieldValue += char + rawValue += char match = nextMatch continue } @@ -356,13 +368,15 @@ export class Compiler { } if (match?.index === this.index) { - const { fn, nextMatch } = this.parseFieldMatch(functions, match) + const { fn, raw, nextMatch } = this.parseFieldMatch(functions, match) match = nextMatch fieldValue += fn.id + rawValue += raw continue } fieldValue += char + rawValue += char this.index++ } @@ -371,6 +385,7 @@ export class Compiler { return { resolve: this.wrap(fieldValue), functions, + rawValue, value: fieldValue, } } diff --git a/src/core/FileReader.ts b/src/core/FileReader.ts index 1965f26fcb..d321ca6fdb 100644 --- a/src/core/FileReader.ts +++ b/src/core/FileReader.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { readFileSync } from "fs" diff --git a/src/core/ForgeClient.ts b/src/core/ForgeClient.ts index 7f84946a2e..e4e6c496e6 100644 --- a/src/core/ForgeClient.ts +++ b/src/core/ForgeClient.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { @@ -54,52 +54,64 @@ export interface IRestrictions { export interface IRawForgeClientOptions extends ClientOptions { /** - * Specifies a folder (path) to load all commands from it + * Specifies a folder (path) to load all commands from it. */ commands?: string /** - * The discord.js events our bot will use + * The discord.js events the bot will listen to. */ events?: CommandType[] /** - * The prefixes our bot will act upon for command messages + * The prefixes the bot will act upon for command messages. */ prefixes?: string[] /** - * Whether prefixes should be case-insensitive, this only affects letters + * Whether prefixes should be case-insensitive, this only affects letters. + * + * @default false */ prefixCaseInsensitive?: boolean /** - * Specifies the logs to be received + * Specifies the logs to be received. + * + * @default LogPriority.Medium */ logLevel?: LogPriority + + /** + * Specifies a folder (path) to load all custom functions from it. + */ functions?: string /** - * Allows the bot to execute events triggered by other bots (and itself) + * Allows the bot to execute events triggered by other bots (and itself). + * + * @default false */ allowBots?: boolean token?: string /** - * @deprecated use trackers: { invites: true } instead + * @deprecated Use `trackers: { invites: true }` instead. */ useInviteSystem?: boolean disableConsoleErrors?: boolean /** - * This will connect the client to Discord with the mobile status + * This will connect the client to Discord with the mobile status. + * + * @default false */ mobile?: boolean trackers?: ITrackers /** - * @deprecated Does not work + * @deprecated Does not work. */ optionalGuildID?: boolean extensions?: ForgeExtension[] @@ -110,6 +122,8 @@ export interface IRawForgeClientOptions extends ClientOptions { * Allows the bot to re-use messages that were edited to find possibly command calls. * If a number is passed, it's treated as the amount of milliseconds that can pass before * the message becomes completely unusable. + * + * @default false */ respondOnEdit?: number | boolean } @@ -131,7 +145,6 @@ export class ForgeClient extends Client { public readonly intervals = new Map() public readonly globalVariables: Record = {}; - // eslint-disable-next-line no-undef [x: PropertyKey]: unknown public constructor(options: IRawForgeClientOptions) { diff --git a/src/core/Interpreter.ts b/src/core/Interpreter.ts index f4b237fb6a..77fa4d8067 100644 --- a/src/core/Interpreter.ts +++ b/src/core/Interpreter.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { @@ -27,6 +27,7 @@ import { Subscription, User, VoiceChannelEffect, + VoiceServerUpdateData, VoiceState } from "discord.js" import { IExtendedCompilationResult } from "." @@ -36,6 +37,7 @@ import { ForgeClient } from "./ForgeClient" export interface IStates { message: Message voiceState: VoiceState + voiceServer: VoiceServerUpdateData voiceEffect: VoiceChannelEffect presence: Presence role: Role diff --git a/src/core/index.ts b/src/core/index.ts index 3a3feccc4d..8f8463830c 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ export * from "./Compiler" diff --git a/src/docgen.ts b/src/docgen.ts index ac0903e3be..375da99183 100644 --- a/src/docgen.ts +++ b/src/docgen.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, GatewayIntentBits, Locale, StickerFormatType } from "discord.js" diff --git a/src/experimental/threading/thread.ts b/src/experimental/threading/thread.ts index a322107814..5dc238150c 100644 --- a/src/experimental/threading/thread.ts +++ b/src/experimental/threading/thread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { parentPort } from "worker_threads" diff --git a/src/experimental/threading/translationThread.ts b/src/experimental/threading/translationThread.ts index 6ff801e124..5848e6a1b1 100644 --- a/src/experimental/threading/translationThread.ts +++ b/src/experimental/threading/translationThread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { parentPort } from "worker_threads" @@ -11,6 +11,7 @@ export interface ITranslateData { locale: string } +/* Translation package not installed. parentPort?.on("message", async function(msg: ITranslateData) { const translate = await import("@iamtraction/google-translate").then(x => x.default) for (;;) { @@ -23,4 +24,4 @@ parentPort?.on("message", async function(msg: ITranslateData) { parentPort?.postMessage(txt.text) break } -}) \ No newline at end of file +}) */ \ No newline at end of file diff --git a/src/functions/array.ts b/src/functions/array.ts index 42bfd5276c..649952bcc7 100644 --- a/src/functions/array.ts +++ b/src/functions/array.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType } from "../structures" diff --git a/src/functions/components.ts b/src/functions/components.ts index cb85fccdc9..8522ef9add 100644 --- a/src/functions/components.ts +++ b/src/functions/components.ts @@ -1,22 +1,28 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ButtonBuilder, ChannelSelectMenuBuilder, + CheckboxBuilder, + CheckboxGroupBuilder, ComponentType, ContainerBuilder, FileBuilder, + FileUploadBuilder, MediaGalleryBuilder, MentionableSelectMenuBuilder, + MessageActionRowComponentBuilder, + RadioGroupBuilder, RoleSelectMenuBuilder, SectionBuilder, SeparatorBuilder, StringSelectMenuBuilder, TextDisplayBuilder, + TextInputBuilder, UserSelectMenuBuilder } from "discord.js" import { Context } from "../structures" @@ -77,7 +83,7 @@ export function buildComponent(comp: any, ctx?: Context) { * @param ctx The current context. * @returns */ -export function getLastComponent(ctx: Context) { +export function getLastComponent(ctx: Context): MessageActionRowComponentBuilder | TextInputBuilder | CheckboxBuilder | CheckboxGroupBuilder | FileUploadBuilder | RadioGroupBuilder | undefined { return (ctx.component.label?.data.component ?? ctx.container.actionRow?.components[0]) } @@ -95,7 +101,7 @@ export function addActionRow(ctx: Context, cv2: boolean = true) { const comp = ctx.container.components.at(-1) - if (comp instanceof ContainerBuilder && ctx.container.isInside(ComponentType.Container)) + if (comp instanceof ContainerBuilder && ctx.container.isInside(ComponentType.Container)) comp.addActionRowComponents(row) else ctx.container.components.push(row) diff --git a/src/functions/contextNoop.ts b/src/functions/contextNoop.ts index 2c6da61b1f..3c95f1b814 100644 --- a/src/functions/contextNoop.ts +++ b/src/functions/contextNoop.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Context, Logger } from "../structures" diff --git a/src/functions/customImport.ts b/src/functions/customImport.ts index 072c570db2..64d97aec5b 100644 --- a/src/functions/customImport.ts +++ b/src/functions/customImport.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { execSync } from "child_process" diff --git a/src/functions/defineProperties.ts b/src/functions/defineProperties.ts index 61338cd742..fe6deb7d10 100644 --- a/src/functions/defineProperties.ts +++ b/src/functions/defineProperties.ts @@ -1,10 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { VoiceState } from "discord.js" -import { EnumLike, GetEnum } from "../structures" +import { EnumLike } from "../structures" export type Properties = { [P in keyof Enum]: (v?: Type | null, sep?: string | null, index?: number | null) => null | undefined | string | number | boolean diff --git a/src/functions/digital.ts b/src/functions/digital.ts index ab852c35ce..ec88c3b54d 100644 --- a/src/functions/digital.ts +++ b/src/functions/digital.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ const DigitalFormatRegex = /^(?:(\d+):)?([0-5]?\d):([0-5]?\d)$/ diff --git a/src/functions/enum.ts b/src/functions/enum.ts index e835fba2db..4a91b1710f 100644 --- a/src/functions/enum.ts +++ b/src/functions/enum.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EnumLike } from "../structures" diff --git a/src/functions/fetchAllMessages.ts b/src/functions/fetchAllMessages.ts index 2f42d3b035..a79fde350a 100644 --- a/src/functions/fetchAllMessages.ts +++ b/src/functions/fetchAllMessages.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Collection, Message, TextBasedChannel } from "discord.js" diff --git a/src/functions/generateBar.ts b/src/functions/generateBar.ts index d885cac034..9b40ba6b5f 100644 --- a/src/functions/generateBar.ts +++ b/src/functions/generateBar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ export function generateBar( diff --git a/src/functions/generateMetadata.ts b/src/functions/generateMetadata.ts index 4f67c39390..1c2c24d34d 100644 --- a/src/functions/generateMetadata.ts +++ b/src/functions/generateMetadata.ts @@ -1,25 +1,29 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs" import { EventManager, FunctionManager } from "../managers" -import { cwd, exit } from "process" -import { EnumLike, IArg, IEvent, INativeFunction, Logger } from "../structures" +import { EnumLike, IArg, INativeFunction, Logger } from "../structures" import { enumToArray } from "./enum" -import { translateData } from "./translate" import { Locale } from "discord.js" import { join, relative } from "path" +import { cwd, exit } from "process" const FunctionNameRegex = /(name: "\$?(\w+)"),?/m const FunctionCategoryRegex = /\r?\n(.*)(category: "\$?(\w+)"),?/m const ArgEnumRegex = /(?:enum: +(\w+),?|Arg\.(?:\w+)Enum\([\r\n\t ]*(\w+))/gim const OutputRegex = /output:(array(<[A-Za-z.]+>)?\((\w+)?\)|(\w+)|ArgType.(\w+)|\[((array(<[A-Za-z.]+>)?\(\w*\)|\w+|ArgType\.\w+),?)+\]),/im +const translations = { + functions: {} as Record, + events: {} as Record +} + function getOutputValues(fn: INativeFunction, txt: string, enums: Record) { const output = OutputRegex.exec(txt.replace(/[^0-9A-Za-z:,.[\]<>()|]/gm, ""))?.[1].replace(/[[\]]/g, "").trim() - + if (!output) { if (fn.output) { Logger.error(`OUTPUT LOOKUP FAILURE: in ${fn.name}, out: ${output}`) @@ -65,7 +69,16 @@ function getOutputValues(fn: INativeFunction, txt: string, enums: Record return arr } -export default async function(functionsAbsolutePath: string, mainCategoryName?: string, eventName?: string, warnOnNoOutput = false, expose?: Record, eventsAbsolutePath?: string, translate: Array = []) { +export default async function ( + functionsAbsolutePath: string, + mainCategoryName?: string, + eventName?: string, + warnOnNoOutput = false, + expose?: Record, + eventsAbsolutePath?: string, + /** @deprecated This parameter is no longer being used. */ + translate: Array = [] +) { let total = 0 const enums: Record = {} @@ -106,7 +119,7 @@ export default async function(functionsAbsolutePath: string, mainCategoryName?: } } } - + const output = getOutputValues(fn.data, txt, enums) if (output?.length) Reflect.set(fn.data, "output", output) @@ -128,28 +141,46 @@ export default async function(functionsAbsolutePath: string, mainCategoryName?: txt = txt.replace(FunctionCategoryRegex, "") modified = true } - + if (!fn.data.version) { fn.data.version = v txt = txt.replace(FunctionNameRegex, `$1,\n version: "${v}",`) modified = true } - + if (modified) writeFileSync(nativePath, txt) + + const func: Record = {} + func.description = fn.data.description + + if (fn.data.args?.length) { + func.args = {} + + for (const arg of fn.data.args) { + func.args[arg.name] = { + description: arg.description + } + } + + if (!Object.keys(func.args).length) + delete func.args + } + + translations.functions[fn.name] = func } - + if (warnOnNoOutput) Logger.warn(`${total.toLocaleString()} functions are missing output value`) writeFileSync(join(metaOutPath, "enums.json"), JSON.stringify(enums), "utf-8") writeFileSync(join(metaOutPath, "functions.json"), JSON.stringify(FunctionManager.toJSON())) } - + if (eventName) { if (!eventsAbsolutePath) throw new Error("An absolute path to events must be provided") - + Logger.info(`Loading events from ${eventsAbsolutePath}`) EventManager.load(eventName, eventsAbsolutePath) const events = Object.values(EventManager["Loaded"]![eventName]!) @@ -163,11 +194,27 @@ export default async function(functionsAbsolutePath: string, mainCategoryName?: event!.data.version = v writeFileSync(nativePath, txt.replace(FunctionNameRegex, `$1,\n version: "${v}",`)) } + + const ev: Record = {} + ev.description = event.data.description + translations.events[event.name] = ev } writeFileSync(join(metaOutPath, "events.json"), JSON.stringify(EventManager.toJSON(eventName))) } + const transOutPath = join(metaOutPath, "translations") + if (!existsSync(transOutPath)) mkdirSync(transOutPath, { recursive: true }) + + const transFile = join(transOutPath, "en.json") + const json = JSON.stringify(translations) + + if (!existsSync(transFile) || readFileSync(transFile, "utf8") !== json) { + Logger.info("Writing translation metadata...") + writeFileSync(transFile, json, "utf8") + } + + /* Deprecated. if (translate.length) { Logger.info("Now translating data, hold tight...") await translateData({ @@ -175,5 +222,5 @@ export default async function(functionsAbsolutePath: string, mainCategoryName?: events: eventName ? Object.values(EventManager["Loaded"]![eventName]!).map(x => x.data as unknown as IEvent) : [], functions: [...FunctionManager["Functions"].values()].map(x => x.data) }) - } + } */ } \ No newline at end of file diff --git a/src/functions/getVersionNumber.ts b/src/functions/getVersionNumber.ts index b497f66aa7..7e0ccb767f 100644 --- a/src/functions/getVersionNumber.ts +++ b/src/functions/getVersionNumber.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ export default function(v: string) { diff --git a/src/functions/hex.ts b/src/functions/hex.ts index d40463bff5..71893ab0d3 100644 --- a/src/functions/hex.ts +++ b/src/functions/hex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Colors } from "discord.js" diff --git a/src/functions/isTrue.ts b/src/functions/isTrue.ts index 29893464d2..2945b0fe49 100644 --- a/src/functions/isTrue.ts +++ b/src/functions/isTrue.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Return } from "../structures" diff --git a/src/functions/noop.ts b/src/functions/noop.ts index a7dac45d1d..4657e53eac 100644 --- a/src/functions/noop.ts +++ b/src/functions/noop.ts @@ -1,10 +1,8 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { DiscordAPIError } from "discord.js" -import { inspect } from "node:util" import { Logger } from "../structures/@internal/Logger" export default (...args: any[]) => { diff --git a/src/functions/ordinal.ts b/src/functions/ordinal.ts index 285e64d054..06ec35cff0 100644 --- a/src/functions/ordinal.ts +++ b/src/functions/ordinal.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ export function ordinal(i: number) { diff --git a/src/functions/overwritePermissions.ts b/src/functions/overwritePermissions.ts new file mode 100644 index 0000000000..1d2092e795 --- /dev/null +++ b/src/functions/overwritePermissions.ts @@ -0,0 +1,32 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import type { OverwriteData, PermissionResolvable } from "discord.js" +import type { OverwritePermission } from "../structures" + +export function overwritePermissionsArrayToObject(arr: OverwritePermission[]) { + const obj: Partial> = {} + for (let i = 0, len = arr.length; i < len; i++) { + const data = arr[i] + obj[data.permission] = data.value + } + + return obj +} + +export function overwritePermissionsToOverwriteData(id: string, arr: OverwritePermission[]): OverwriteData { + const allow: PermissionResolvable[] = [] + const deny: PermissionResolvable[] = [] + + for (const perm of arr) { + if (perm.value === true) { + allow.push(perm.permission) + } else if (perm.value === false) { + deny.push(perm.permission) + } + } + + return { id, allow, deny } +} \ No newline at end of file diff --git a/src/functions/overwritePermissionsArrayToObject.ts b/src/functions/overwritePermissionsArrayToObject.ts deleted file mode 100644 index 5580499517..0000000000 --- a/src/functions/overwritePermissionsArrayToObject.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge -*/ - -import { PermissionsString } from "discord.js" -import { OverwritePermission } from "../structures" - -export default function(arr: OverwritePermission[]) { - const obj: Partial> = {} - for (let i = 0, len = arr.length;i < len;i++) { - const data = arr[i] - obj[data.permission] = data.value - } - - return obj -} \ No newline at end of file diff --git a/src/functions/parseJSON.ts b/src/functions/parseJSON.ts index 7b75784eb1..7a49e367a4 100644 --- a/src/functions/parseJSON.ts +++ b/src/functions/parseJSON.ts @@ -1,18 +1,18 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ export const JSONStartRegex = /^[[{]/ export const JSONEndRegex = /^[\]}]/ export const JSONNumberRegex = /^\d+$/ -export default function parseJSON(str: unknown) { - if (typeof str !== "string") +export default function parseJSON(str: unknown, parseNull = true) { + if (typeof str !== "string" || (!parseNull && str === "null")) return str - + try { - return JSONNumberRegex.test(str) ? str : JSON.parse(str) + return JSONNumberRegex.test(str) ? Number(str) : JSON.parse(str) } catch (error) { return str } diff --git a/src/functions/parseSingleEmoji.ts b/src/functions/parseSingleEmoji.ts index 8aae952a98..5bdc02ee69 100644 --- a/src/functions/parseSingleEmoji.ts +++ b/src/functions/parseSingleEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { parseEmoji } from "discord.js" diff --git a/src/functions/prompt.ts b/src/functions/prompt.ts index 2530de003f..b9c6e2c663 100644 --- a/src/functions/prompt.ts +++ b/src/functions/prompt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { stdin, stdout } from "process" diff --git a/src/functions/recursiveReaddirSync.ts b/src/functions/recursiveReaddirSync.ts index ae87888178..c12a3dd63d 100644 --- a/src/functions/recursiveReaddirSync.ts +++ b/src/functions/recursiveReaddirSync.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Dirent, lstatSync, readdirSync } from "fs" diff --git a/src/functions/splitNumber.ts b/src/functions/splitNumber.ts index 71748e76b6..e84859a9a7 100644 --- a/src/functions/splitNumber.ts +++ b/src/functions/splitNumber.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ export default function (n: number, max: number): Array { diff --git a/src/functions/thread.ts b/src/functions/thread.ts index 6620d32245..073505317c 100644 --- a/src/functions/thread.ts +++ b/src/functions/thread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { once } from "events" @@ -8,7 +8,6 @@ import { join } from "path" import { Worker } from "worker_threads" export async function spawn(name: string) { - // eslint-disable-next-line no-undef const worker = new Worker(join(__dirname, "..", "experimental", "threading", `${name}.js`)) await once(worker, "online") return worker diff --git a/src/functions/translate.ts b/src/functions/translate.ts index 7c988509db..5a75389c46 100644 --- a/src/functions/translate.ts +++ b/src/functions/translate.ts @@ -1,14 +1,12 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { Locale, SnowflakeUtil } from "discord.js" -import { ArgType, IArg, IEvent, INativeFunction, Logger } from "../structures" +import { Locale } from "discord.js" +import { IArg, IEvent, INativeFunction, Logger } from "../structures" import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs" import { createHash } from "crypto" -import { capitalize } from "lodash" -import { exit, memoryUsage } from "process" import { TimeParser } from "../constants" import { generateBar } from "./generateBar" import { join } from "path" diff --git a/src/handlers/events/autoModerationActionExecution.ts b/src/handlers/events/autoModerationActionExecution.ts index 21a94e2e6f..f6807c0254 100644 --- a/src/handlers/events/autoModerationActionExecution.ts +++ b/src/handlers/events/autoModerationActionExecution.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/autoModerationRuleCreate.ts b/src/handlers/events/autoModerationRuleCreate.ts index 107cabf55b..93a91cd95e 100644 --- a/src/handlers/events/autoModerationRuleCreate.ts +++ b/src/handlers/events/autoModerationRuleCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/autoModerationRuleDelete.ts b/src/handlers/events/autoModerationRuleDelete.ts index 73153d0d22..8c0bc72f8a 100644 --- a/src/handlers/events/autoModerationRuleDelete.ts +++ b/src/handlers/events/autoModerationRuleDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/autoModerationRuleUpdate.ts b/src/handlers/events/autoModerationRuleUpdate.ts index 99b03a64c5..933ff7b4c4 100644 --- a/src/handlers/events/autoModerationRuleUpdate.ts +++ b/src/handlers/events/autoModerationRuleUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/channelCreate.ts b/src/handlers/events/channelCreate.ts index c90f094e48..cfbdad7616 100644 --- a/src/handlers/events/channelCreate.ts +++ b/src/handlers/events/channelCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/channelDelete.ts b/src/handlers/events/channelDelete.ts index bfaddc0fde..f41a7c516c 100644 --- a/src/handlers/events/channelDelete.ts +++ b/src/handlers/events/channelDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/channelPinsUpdate.ts b/src/handlers/events/channelPinsUpdate.ts index 9b933d3801..45dab665df 100644 --- a/src/handlers/events/channelPinsUpdate.ts +++ b/src/handlers/events/channelPinsUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/channelUpdate.ts b/src/handlers/events/channelUpdate.ts index 0b0b0b2f9e..c75caf8f36 100644 --- a/src/handlers/events/channelUpdate.ts +++ b/src/handlers/events/channelUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/clientReady.ts b/src/handlers/events/clientReady.ts index 7d0c622e14..bba6a4e0f2 100644 --- a/src/handlers/events/clientReady.ts +++ b/src/handlers/events/clientReady.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/debug.ts b/src/handlers/events/debug.ts index d1e3e35ef3..39a8d39379 100644 --- a/src/handlers/events/debug.ts +++ b/src/handlers/events/debug.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/emojiCreate.ts b/src/handlers/events/emojiCreate.ts index 9a6c1e15b3..15ea3c219b 100644 --- a/src/handlers/events/emojiCreate.ts +++ b/src/handlers/events/emojiCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/emojiDelete.ts b/src/handlers/events/emojiDelete.ts index 19d683e106..a6ea922acc 100644 --- a/src/handlers/events/emojiDelete.ts +++ b/src/handlers/events/emojiDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/emojiUpdate.ts b/src/handlers/events/emojiUpdate.ts index 3395801e2e..77d7e2133d 100644 --- a/src/handlers/events/emojiUpdate.ts +++ b/src/handlers/events/emojiUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/entitlementCreate.ts b/src/handlers/events/entitlementCreate.ts index 6173a0eb6a..7138837d83 100644 --- a/src/handlers/events/entitlementCreate.ts +++ b/src/handlers/events/entitlementCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/entitlementDelete.ts b/src/handlers/events/entitlementDelete.ts index d028868215..3a5abb94b3 100644 --- a/src/handlers/events/entitlementDelete.ts +++ b/src/handlers/events/entitlementDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/entitlementUpdate.ts b/src/handlers/events/entitlementUpdate.ts index d01897f847..c3cdc715f7 100644 --- a/src/handlers/events/entitlementUpdate.ts +++ b/src/handlers/events/entitlementUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/error.ts b/src/handlers/events/error.ts index 7e6b7e646f..82ae0f3ddc 100644 --- a/src/handlers/events/error.ts +++ b/src/handlers/events/error.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildAuditLogEntryCreate.ts b/src/handlers/events/guildAuditLogEntryCreate.ts index e611548757..5d79c57978 100644 --- a/src/handlers/events/guildAuditLogEntryCreate.ts +++ b/src/handlers/events/guildAuditLogEntryCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildAvailable.ts b/src/handlers/events/guildAvailable.ts index 07b692cdf9..482bf90c63 100644 --- a/src/handlers/events/guildAvailable.ts +++ b/src/handlers/events/guildAvailable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildBanAdd.ts b/src/handlers/events/guildBanAdd.ts index 07d903f44f..a80f1e7277 100644 --- a/src/handlers/events/guildBanAdd.ts +++ b/src/handlers/events/guildBanAdd.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildBanRemove.ts b/src/handlers/events/guildBanRemove.ts index 7f78cbe1ae..90a7414345 100644 --- a/src/handlers/events/guildBanRemove.ts +++ b/src/handlers/events/guildBanRemove.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildCreate.ts b/src/handlers/events/guildCreate.ts index 21a0191135..df54910eab 100644 --- a/src/handlers/events/guildCreate.ts +++ b/src/handlers/events/guildCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildDelete.ts b/src/handlers/events/guildDelete.ts index fc12f164db..b87a0d22d9 100644 --- a/src/handlers/events/guildDelete.ts +++ b/src/handlers/events/guildDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildIntegrationsUpdate.ts b/src/handlers/events/guildIntegrationsUpdate.ts index 7ba96d11e6..34dd3b35b1 100644 --- a/src/handlers/events/guildIntegrationsUpdate.ts +++ b/src/handlers/events/guildIntegrationsUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildMemberAdd.ts b/src/handlers/events/guildMemberAdd.ts index 65942818f8..181e87b27d 100644 --- a/src/handlers/events/guildMemberAdd.ts +++ b/src/handlers/events/guildMemberAdd.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildMemberAvailable.ts b/src/handlers/events/guildMemberAvailable.ts index 637eb0c601..dafef74411 100644 --- a/src/handlers/events/guildMemberAvailable.ts +++ b/src/handlers/events/guildMemberAvailable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildMember } from "discord.js" diff --git a/src/handlers/events/guildMemberRemove.ts b/src/handlers/events/guildMemberRemove.ts index e030a644a6..4f5218a602 100644 --- a/src/handlers/events/guildMemberRemove.ts +++ b/src/handlers/events/guildMemberRemove.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildMember } from "discord.js" diff --git a/src/handlers/events/guildMemberUpdate.ts b/src/handlers/events/guildMemberUpdate.ts index a297c39958..899b343bbb 100644 --- a/src/handlers/events/guildMemberUpdate.ts +++ b/src/handlers/events/guildMemberUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildMember } from "discord.js" diff --git a/src/handlers/events/guildScheduledEventCreate.ts b/src/handlers/events/guildScheduledEventCreate.ts index 75584e621a..a9e73923b5 100644 --- a/src/handlers/events/guildScheduledEventCreate.ts +++ b/src/handlers/events/guildScheduledEventCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildScheduledEventDelete.ts b/src/handlers/events/guildScheduledEventDelete.ts index 28b515b045..818aa5376a 100644 --- a/src/handlers/events/guildScheduledEventDelete.ts +++ b/src/handlers/events/guildScheduledEventDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildScheduledEvent } from "discord.js" diff --git a/src/handlers/events/guildScheduledEventUpdate.ts b/src/handlers/events/guildScheduledEventUpdate.ts index 03af182bb8..7b9006be23 100644 --- a/src/handlers/events/guildScheduledEventUpdate.ts +++ b/src/handlers/events/guildScheduledEventUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildScheduledEvent } from "discord.js" diff --git a/src/handlers/events/guildScheduledEventUserAdd.ts b/src/handlers/events/guildScheduledEventUserAdd.ts index 81a6569096..d6bbc77530 100644 --- a/src/handlers/events/guildScheduledEventUserAdd.ts +++ b/src/handlers/events/guildScheduledEventUserAdd.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildScheduledEvent } from "discord.js" diff --git a/src/handlers/events/guildScheduledEventUserRemove.ts b/src/handlers/events/guildScheduledEventUserRemove.ts index 398929987e..cc5a7c8066 100644 --- a/src/handlers/events/guildScheduledEventUserRemove.ts +++ b/src/handlers/events/guildScheduledEventUserRemove.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildScheduledEvent } from "discord.js" diff --git a/src/handlers/events/guildSoundboardSoundCreate.ts b/src/handlers/events/guildSoundboardSoundCreate.ts index 225addcf71..3beac70dc0 100644 --- a/src/handlers/events/guildSoundboardSoundCreate.ts +++ b/src/handlers/events/guildSoundboardSoundCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildSoundboardSoundDelete.ts b/src/handlers/events/guildSoundboardSoundDelete.ts index 237082f3ef..0e1f49a11c 100644 --- a/src/handlers/events/guildSoundboardSoundDelete.ts +++ b/src/handlers/events/guildSoundboardSoundDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildSoundboardSoundUpdate.ts b/src/handlers/events/guildSoundboardSoundUpdate.ts index 0ac0f30868..c90ea02b41 100644 --- a/src/handlers/events/guildSoundboardSoundUpdate.ts +++ b/src/handlers/events/guildSoundboardSoundUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildUnavailable.ts b/src/handlers/events/guildUnavailable.ts index 06684053a0..471bf5a51b 100644 --- a/src/handlers/events/guildUnavailable.ts +++ b/src/handlers/events/guildUnavailable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/guildUpdate.ts b/src/handlers/events/guildUpdate.ts index 9637caecc0..9ac3f112a3 100644 --- a/src/handlers/events/guildUpdate.ts +++ b/src/handlers/events/guildUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/interactionCreate.ts b/src/handlers/events/interactionCreate.ts index ea38f732ce..d2c55bdc97 100644 --- a/src/handlers/events/interactionCreate.ts +++ b/src/handlers/events/interactionCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/inviteCreate.ts b/src/handlers/events/inviteCreate.ts index 2cd98238e7..03625491d3 100644 --- a/src/handlers/events/inviteCreate.ts +++ b/src/handlers/events/inviteCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/inviteDelete.ts b/src/handlers/events/inviteDelete.ts index 376b96d728..148e0052ec 100644 --- a/src/handlers/events/inviteDelete.ts +++ b/src/handlers/events/inviteDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/messageCreate.ts b/src/handlers/events/messageCreate.ts index 6be37744f8..dc6f382d1c 100644 --- a/src/handlers/events/messageCreate.ts +++ b/src/handlers/events/messageCreate.ts @@ -1,9 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core/Interpreter" +import { PrefixMode } from "../../structures" import { DiscordEventHandler } from "../../structures/extended/DiscordEventHandler" export default new DiscordEventHandler({ @@ -14,20 +15,34 @@ export default new DiscordEventHandler({ const prefix = await this.getPrefix(message) const args = message.content + .trim() .slice(prefix?.length ?? 0) .trim() .split(/ +/g) - const name = prefix ? args.shift()?.toLowerCase() : args[0] + const rawName = prefix ? args.shift() : args[0] + + const commands = this.commands.get("messageCreate").filter((cmd) => { + const ignoreCase = cmd.data.nameCaseInsensitive !== false + const name = ignoreCase ? rawName?.toLowerCase() : rawName + const cmdName = ignoreCase ? cmd.name?.toLowerCase() : cmd.name + const aliases = ignoreCase ? cmd.data.aliases?.map((x) => x.toLowerCase()) : cmd.data.aliases + + const mode = cmd.data.prefixMode ?? (cmd.data.unprefixed ? PrefixMode.None : PrefixMode.Required) + + const prefixMatches = mode === PrefixMode.Optional + ? true + // If unprefixed there can be no prefix + : mode === PrefixMode.None + ? !prefix + : !!prefix - const commands = this.commands.get("messageCreate").filter( // Allow always execute commands - (cmd) => - !cmd.name || - (// Check if it matches the command name or one of aliases - (cmd.name === name || !!cmd.data.aliases?.includes(name!)) && - // If unprefixed there can be no prefix - (cmd.data.unprefixed ? true : !!prefix)) - ) + return !cmd.name || ( + // Check if it matches the command name or one of aliases + (cmdName === name || !!aliases?.includes(name!)) && + prefixMatches + ) + }) for (const command of commands) { Interpreter.run({ @@ -44,5 +59,5 @@ export default new DiscordEventHandler({ }) } }, - intents: ["GuildMessages", "DirectMessages"], + intents: ["GuildMessages", "DirectMessages", "MessageContent"], }) diff --git a/src/handlers/events/messageDelete.ts b/src/handlers/events/messageDelete.ts index 5b49929c47..e5fd8bdf67 100644 --- a/src/handlers/events/messageDelete.ts +++ b/src/handlers/events/messageDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Message } from "discord.js" diff --git a/src/handlers/events/messageDeleteBulk.ts b/src/handlers/events/messageDeleteBulk.ts index cc04058a73..26a2044162 100644 --- a/src/handlers/events/messageDeleteBulk.ts +++ b/src/handlers/events/messageDeleteBulk.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Collection } from "discord.js" diff --git a/src/handlers/events/messagePollVoteAdd.ts b/src/handlers/events/messagePollVoteAdd.ts index 98878c97cc..d31489f6f9 100644 --- a/src/handlers/events/messagePollVoteAdd.ts +++ b/src/handlers/events/messagePollVoteAdd.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/messagePollVoteRemove.ts b/src/handlers/events/messagePollVoteRemove.ts index 6d952bd9b2..418a0ded54 100644 --- a/src/handlers/events/messagePollVoteRemove.ts +++ b/src/handlers/events/messagePollVoteRemove.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/messageReactionAdd.ts b/src/handlers/events/messageReactionAdd.ts index 58c2046814..5c858293bf 100644 --- a/src/handlers/events/messageReactionAdd.ts +++ b/src/handlers/events/messageReactionAdd.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageReaction, User } from "discord.js" diff --git a/src/handlers/events/messageReactionRemove.ts b/src/handlers/events/messageReactionRemove.ts index 1ac79c23a8..0f61f5f02f 100644 --- a/src/handlers/events/messageReactionRemove.ts +++ b/src/handlers/events/messageReactionRemove.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageReaction, User } from "discord.js" diff --git a/src/handlers/events/messageReactionRemoveAll.ts b/src/handlers/events/messageReactionRemoveAll.ts index 97dbf11f9c..73d96ea4ea 100644 --- a/src/handlers/events/messageReactionRemoveAll.ts +++ b/src/handlers/events/messageReactionRemoveAll.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageReaction, User } from "discord.js" diff --git a/src/handlers/events/messageReactionRemoveEmoji.ts b/src/handlers/events/messageReactionRemoveEmoji.ts index ce81a5bec9..c298df0f21 100644 --- a/src/handlers/events/messageReactionRemoveEmoji.ts +++ b/src/handlers/events/messageReactionRemoveEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageReaction, User } from "discord.js" diff --git a/src/handlers/events/messageUpdate.ts b/src/handlers/events/messageUpdate.ts index aecd306752..415a954589 100644 --- a/src/handlers/events/messageUpdate.ts +++ b/src/handlers/events/messageUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Message } from "discord.js" diff --git a/src/handlers/events/presenceUpdate.ts b/src/handlers/events/presenceUpdate.ts index aa4d8f4001..76e31b94ea 100644 --- a/src/handlers/events/presenceUpdate.ts +++ b/src/handlers/events/presenceUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/roleCreate.ts b/src/handlers/events/roleCreate.ts index 86972887e7..905638fcde 100644 --- a/src/handlers/events/roleCreate.ts +++ b/src/handlers/events/roleCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/roleDelete.ts b/src/handlers/events/roleDelete.ts index a6ba8c0350..bcdd5a11c3 100644 --- a/src/handlers/events/roleDelete.ts +++ b/src/handlers/events/roleDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/roleUpdate.ts b/src/handlers/events/roleUpdate.ts index caffb3fea8..6f500166c1 100644 --- a/src/handlers/events/roleUpdate.ts +++ b/src/handlers/events/roleUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/shardDisconnect.ts b/src/handlers/events/shardDisconnect.ts index dd72e24793..20fc9b2e82 100644 --- a/src/handlers/events/shardDisconnect.ts +++ b/src/handlers/events/shardDisconnect.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/shardError.ts b/src/handlers/events/shardError.ts index 59ff7f5a17..b891dd0790 100644 --- a/src/handlers/events/shardError.ts +++ b/src/handlers/events/shardError.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/shardReady.ts b/src/handlers/events/shardReady.ts index 3aa90c7493..9e3a1a1c7b 100644 --- a/src/handlers/events/shardReady.ts +++ b/src/handlers/events/shardReady.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/shardReconnecting.ts b/src/handlers/events/shardReconnecting.ts index 485a93270d..805fd97525 100644 --- a/src/handlers/events/shardReconnecting.ts +++ b/src/handlers/events/shardReconnecting.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/shardResume.ts b/src/handlers/events/shardResume.ts index 8112ab78b8..7cf7b33fbb 100644 --- a/src/handlers/events/shardResume.ts +++ b/src/handlers/events/shardResume.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/stageInstanceCreate.ts b/src/handlers/events/stageInstanceCreate.ts index 70fbc49768..676150a570 100644 --- a/src/handlers/events/stageInstanceCreate.ts +++ b/src/handlers/events/stageInstanceCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/stageInstanceDelete.ts b/src/handlers/events/stageInstanceDelete.ts index 6961964973..fbfdf52a9f 100644 --- a/src/handlers/events/stageInstanceDelete.ts +++ b/src/handlers/events/stageInstanceDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/stageInstanceUpdate.ts b/src/handlers/events/stageInstanceUpdate.ts index ff8db1e4b2..9794dc18d0 100644 --- a/src/handlers/events/stageInstanceUpdate.ts +++ b/src/handlers/events/stageInstanceUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/stickerCreate.ts b/src/handlers/events/stickerCreate.ts index 1e4c8cd6ae..fcbc3f2a14 100644 --- a/src/handlers/events/stickerCreate.ts +++ b/src/handlers/events/stickerCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/stickerDelete.ts b/src/handlers/events/stickerDelete.ts index 61e9f673a8..a1211a2cdb 100644 --- a/src/handlers/events/stickerDelete.ts +++ b/src/handlers/events/stickerDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/stickerUpdate.ts b/src/handlers/events/stickerUpdate.ts index 0c8de59d99..df18cc17e1 100644 --- a/src/handlers/events/stickerUpdate.ts +++ b/src/handlers/events/stickerUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/subscriptionCreate.ts b/src/handlers/events/subscriptionCreate.ts index 6ac1e396b2..97f3e559ed 100644 --- a/src/handlers/events/subscriptionCreate.ts +++ b/src/handlers/events/subscriptionCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/subscriptionDelete.ts b/src/handlers/events/subscriptionDelete.ts index 2cfb9d7472..2291707228 100644 --- a/src/handlers/events/subscriptionDelete.ts +++ b/src/handlers/events/subscriptionDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/subscriptionUpdate.ts b/src/handlers/events/subscriptionUpdate.ts index 5a2dee4fd7..9b2cdcaf70 100644 --- a/src/handlers/events/subscriptionUpdate.ts +++ b/src/handlers/events/subscriptionUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/threadCreate.ts b/src/handlers/events/threadCreate.ts index 1f31bec138..dec8857bea 100644 --- a/src/handlers/events/threadCreate.ts +++ b/src/handlers/events/threadCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/threadDelete.ts b/src/handlers/events/threadDelete.ts index b0db430d6c..c0a237ebb8 100644 --- a/src/handlers/events/threadDelete.ts +++ b/src/handlers/events/threadDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/threadMemberUpdate.ts b/src/handlers/events/threadMemberUpdate.ts index ca4759d8bd..a47ec109fc 100644 --- a/src/handlers/events/threadMemberUpdate.ts +++ b/src/handlers/events/threadMemberUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/threadUpdate.ts b/src/handlers/events/threadUpdate.ts index b3c0e68dff..4f33894fc2 100644 --- a/src/handlers/events/threadUpdate.ts +++ b/src/handlers/events/threadUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/typingStart.ts b/src/handlers/events/typingStart.ts index c28e0b8e87..f9baf8dd34 100644 --- a/src/handlers/events/typingStart.ts +++ b/src/handlers/events/typingStart.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" @@ -9,13 +9,13 @@ import { DiscordEventHandler } from "../../structures/extended/DiscordEventHandl export default new DiscordEventHandler({ name: "typingStart", version: "1.4.0", - description: "This event is fired when a user starts typing", + description: "This event is fired when a user starts typing in a channel", listener: async function (typing) { const commands = this.commands.get("typingStart") for (const command of commands) { Interpreter.run({ - obj: typing.member ?? typing.user, + obj: typing, command, client: this, data: command.compiled.code, diff --git a/src/handlers/events/userUpdate.ts b/src/handlers/events/userUpdate.ts index 3f137956c4..ffc1f2d5ba 100644 --- a/src/handlers/events/userUpdate.ts +++ b/src/handlers/events/userUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { User } from "discord.js" diff --git a/src/handlers/events/voiceChannelEffectSend.ts b/src/handlers/events/voiceChannelEffectSend.ts index c5f03107b0..5f16921ecd 100644 --- a/src/handlers/events/voiceChannelEffectSend.ts +++ b/src/handlers/events/voiceChannelEffectSend.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/voiceServerUpdate.ts b/src/handlers/events/voiceServerUpdate.ts new file mode 100644 index 0000000000..a7d1f24cca --- /dev/null +++ b/src/handlers/events/voiceServerUpdate.ts @@ -0,0 +1,33 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { Interpreter } from "../../core" +import { DiscordEventHandler } from "../../structures/extended/DiscordEventHandler" + +export default new DiscordEventHandler({ + name: "voiceServerUpdate", + version: "2.7.0", + description: "This event is fired when a voice server is updated", + listener: async function (data) { + const commands = this.commands.get("voiceServerUpdate") + + for (const command of commands) { + Interpreter.run({ + obj: data, + command, + client: this, + states: { + voiceServer: { + new: data, + old: data + }, + }, + data: command.compiled.code, + args: [], + }) + } + }, + intents: ["GuildVoiceStates"], +}) diff --git a/src/handlers/events/voiceStateUpdate.ts b/src/handlers/events/voiceStateUpdate.ts index abe8bd5977..05bbba999f 100644 --- a/src/handlers/events/voiceStateUpdate.ts +++ b/src/handlers/events/voiceStateUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/handlers/events/webhooksUpdate.ts b/src/handlers/events/webhooksUpdate.ts index 278f388345..10c2e39b61 100644 --- a/src/handlers/events/webhooksUpdate.ts +++ b/src/handlers/events/webhooksUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter } from "../../core" diff --git a/src/index.ts b/src/index.ts index f8dbbe2e26..496d7fb957 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,12 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import generateMetadata from "./functions/generateMetadata" +import defineProperties from "./functions/defineProperties" +import array from "./functions/array" export * from "./managers" export * from "./structures" export * from "./core" -export { generateMetadata } \ No newline at end of file +export { generateMetadata, defineProperties, array } +export type { Properties } from "./functions/defineProperties" \ No newline at end of file diff --git a/src/managers/ApplicationCommandManager.ts b/src/managers/ApplicationCommandManager.ts index e541bbbb6e..80a1222dee 100644 --- a/src/managers/ApplicationCommandManager.ts +++ b/src/managers/ApplicationCommandManager.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ /* eslint-disable indent */ @@ -235,7 +235,7 @@ export class ApplicationCommandManager { try { return JSON.parse(readFileSync(configPath, "utf-8")) } catch (err) { - throw new Error(`Error reading config.json in ${folderPath}: ${err}`) + throw new Error(`Error reading config.json in ${folderPath}: `, { cause: err }) } } return null diff --git a/src/managers/BaseCommandManager.ts b/src/managers/BaseCommandManager.ts index b574c3ab75..f990b6ecea 100644 --- a/src/managers/BaseCommandManager.ts +++ b/src/managers/BaseCommandManager.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Collection } from "discord.js" @@ -29,14 +29,12 @@ export abstract class BaseCommandManager extends TypedEmitter !x.data.unloadable) - // Keep unloadable this.commands.set(key, unloadable) } for (const p of this.paths) { for (const file of recursiveReaddirSync(p).filter((x) => x.endsWith(".js") || x.endsWith)) { - // eslint-disable-next-line no-undef const path = join(cwd(), file) delete require.cache[require.resolve(path)] } @@ -50,12 +48,11 @@ export abstract class BaseCommandManager extends TypedEmitter x.endsWith(".js") || x.endsWith(".fs"))) { - // eslint-disable-next-line no-undef const path = join(cwd(), file) const req = FileReader.read(file, path) if (!req) continue - + if (Array.isArray(req)) this.addPath(true, path, ...req) else this.addPath(true, path, req) } @@ -64,7 +61,7 @@ export abstract class BaseCommandManager extends TypedEmitter x + y.length, 0) } - + public get(type: T, fn?: (cmd: BaseCommand) => boolean): BaseCommand[] { const cmds = this.commands.get(type) ?? [] if (!fn) return cmds @@ -83,12 +80,12 @@ export abstract class BaseCommandManager extends TypedEmitter new Array()) + const col = this.commands.ensure(cmd.type as T, () => []) cmd.data.unloadable = unloadable col.push(cmd) diff --git a/src/managers/CooldownManager.ts b/src/managers/CooldownManager.ts index 2dbe9b37a7..eefdeb1c0e 100644 --- a/src/managers/CooldownManager.ts +++ b/src/managers/CooldownManager.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Collection } from "discord.js" diff --git a/src/managers/EventManager.ts b/src/managers/EventManager.ts index 1963303027..e6cef5fe7f 100644 --- a/src/managers/EventManager.ts +++ b/src/managers/EventManager.ts @@ -1,12 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ClientEvents, Collection } from "discord.js" +import { Collection } from "discord.js" import { type ForgeClient } from "../core/ForgeClient" -import { CommandType } from "../structures/base/BaseCommand" -import { readdirSync } from "fs" import recursiveReaddirSync from "../functions/recursiveReaddirSync" import { BaseEventHandler } from "../structures" @@ -17,13 +15,12 @@ export class EventManager { private events = new Collection>() - public constructor(private readonly client: ForgeClient) {} + public constructor(private readonly client: ForgeClient) { } public static loadNative() { - // eslint-disable-next-line no-undef EventManager.load(NativeEventName, __dirname + "/../handlers/events") } - + load(name: string, ...events: (string | string[])[]): void { for (const eventType of events.flat()) { EventManager.Loaded[name] ??= {} diff --git a/src/managers/ForgeFunctionManager.ts b/src/managers/ForgeFunctionManager.ts index 287ebb912d..16ae159637 100644 --- a/src/managers/ForgeFunctionManager.ts +++ b/src/managers/ForgeFunctionManager.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ForgeClient } from "../core/ForgeClient" diff --git a/src/managers/FunctionManager.ts b/src/managers/FunctionManager.ts index 3fd89d00c8..87877648e5 100644 --- a/src/managers/FunctionManager.ts +++ b/src/managers/FunctionManager.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IArg, INativeFunction, NativeFunction } from "../structures/@internal/NativeFunction" @@ -16,8 +16,7 @@ export type RecursiveArray = T | T[] export class FunctionManager { private static readonly Functions = new Map() - public static loadNative() { - // eslint-disable-next-line no-undef + public static loadNative() { FunctionManager.load("ForgeScript", join(__dirname, "..", "native")) } @@ -33,10 +32,9 @@ export class FunctionManager { const loader = new Array() for (const file of recursiveReaddirSync(path).filter((x) => x.endsWith(".js"))) { - // eslint-disable-next-line @typescript-eslint/no-var-requires const req = require(file).default as NativeFunction req.path = file - + if (this.Functions.has(req.name)) { overrideAttempts.push(req.name) continue @@ -44,7 +42,7 @@ export class FunctionManager { if (!req.data.args?.length) req.data.unwrap = false - + loader.push(req) } @@ -55,7 +53,7 @@ export class FunctionManager { } public static addMany(...fns: RecursiveArray[]): void { - for (let i = 0, len = fns.length;i < len;i++) { + for (let i = 0, len = fns.length; i < len; i++) { const fn = fns[i] if (Array.isArray(fn)) this.addMany(...fn) @@ -79,11 +77,11 @@ export class FunctionManager { public static toJSON(): INativeFunction[] { return Array.from(this.Functions.values()).map((x) => { - const d = { ...x.data } + const d = { ...x.data } d.args?.forEach((x) => Reflect.deleteProperty(x, "check")) Reflect.deleteProperty(d, "execute") const data = deserialize(new Uint8Array(serialize(d))) as INativeFunction - + data.args?.map((x) => { x.type = ArgType[x.type] if (x.enum) x.enum = enumToArray(x.enum) diff --git a/src/managers/NativeCommandManager.ts b/src/managers/NativeCommandManager.ts index 825556f22a..1367938de7 100644 --- a/src/managers/NativeCommandManager.ts +++ b/src/managers/NativeCommandManager.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { CommandType } from "../structures" diff --git a/src/managers/ThreadManager.ts b/src/managers/ThreadManager.ts index 6997908de6..68cc172d39 100644 --- a/src/managers/ThreadManager.ts +++ b/src/managers/ThreadManager.ts @@ -1,11 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Worker } from "worker_threads" import { ForgeClient, IRunnable } from "../core" -import { once } from "events" import { Logger } from "../structures/@internal/Logger" import { spawn } from "../functions/thread" @@ -34,10 +33,10 @@ export class ThreadManager { private readonly queue = new Map() private readonly executing = new Map() - + private increment = 0 - public constructor(private readonly client: ForgeClient) {} + public constructor(private readonly client: ForgeClient) { } public async run(ctx: IThreadContext) { return new Promise(resolve => { @@ -55,7 +54,7 @@ export class ThreadManager { } private async execute() { - for (const [, task ] of this.queue) { + for (const [, task] of this.queue) { const worker = await this.getAvailableWorker() if (worker === null) { return @@ -64,7 +63,7 @@ export class ThreadManager { this.setBusyWorker(worker!) this.queue.delete(task.id) this.executing.set(task.id, task) - + worker!.postMessage({ ...task.context, taskId: task.id @@ -93,7 +92,6 @@ export class ThreadManager { private async getAvailableWorker(): Promise { if (this.available.size !== 0) return this.available.values().next().value if (this.workerCount >= this.maxWorkerCount) return undefined - // eslint-disable-next-line no-undef const worker = await spawn("thread") worker.on("error", this.onWorkerError.bind(this, worker)) worker.on("message", this.onWorkerMessage.bind(this, worker)) diff --git a/src/managers/index.ts b/src/managers/index.ts index cd2d601615..1d5b78f35c 100644 --- a/src/managers/index.ts +++ b/src/managers/index.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ export * from "./BaseCommandManager" diff --git a/src/native/array/advancedTextSplit.ts b/src/native/array/advancedTextSplit.ts index 7cdd0c3574..e2fe7b253d 100644 --- a/src/native/array/advancedTextSplit.ts +++ b/src/native/array/advancedTextSplit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/array/arrayAdvancedSort.ts b/src/native/array/arrayAdvancedSort.ts index d3d112f090..c124cf7f7e 100644 --- a/src/native/array/arrayAdvancedSort.ts +++ b/src/native/array/arrayAdvancedSort.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayAt.ts b/src/native/array/arrayAt.ts index dad57d3479..f6fcf2e172 100644 --- a/src/native/array/arrayAt.ts +++ b/src/native/array/arrayAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, Context, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayClear.ts b/src/native/array/arrayClear.ts index 04ad82860b..03b8c2c686 100644 --- a/src/native/array/arrayClear.ts +++ b/src/native/array/arrayClear.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayConcat.ts b/src/native/array/arrayConcat.ts index d142527784..f9952a75c2 100644 --- a/src/native/array/arrayConcat.ts +++ b/src/native/array/arrayConcat.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayCreate.ts b/src/native/array/arrayCreate.ts index 3a05a9bec5..0a9f4a5504 100644 --- a/src/native/array/arrayCreate.ts +++ b/src/native/array/arrayCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/array/arrayEvery.ts b/src/native/array/arrayEvery.ts index 30cdbff661..7e5632199c 100644 --- a/src/native/array/arrayEvery.ts +++ b/src/native/array/arrayEvery.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import isTrue from "../../functions/isTrue" diff --git a/src/native/array/arrayFill.ts b/src/native/array/arrayFill.ts index 0e708f6181..22af756d9a 100644 --- a/src/native/array/arrayFill.ts +++ b/src/native/array/arrayFill.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/array/arrayFilter.ts b/src/native/array/arrayFilter.ts new file mode 100644 index 0000000000..61537730d9 --- /dev/null +++ b/src/native/array/arrayFilter.ts @@ -0,0 +1,75 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, IExtendedCompiledFunctionConditionField, NativeFunction } from "../../structures" +import isTrue from "../../functions/isTrue" + +export default new NativeFunction({ + name: "$arrayFilter", + version: "2.7.0", + description: "Filters through every element of the array and loads the results to another array", + unwrap: false, + brackets: true, + experimental: true, + args: [ + { + name: "name", + description: "The variable that holds the array", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "variable", + description: "The variable to load the element value to", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "code", + description: "The code to execute for every element", + rest: false, + required: true, + condition: true, + type: ArgType.String, + }, + { + name: "other variable", + description: "The other variable to load the result to, leave empty to return output", + rest: false, + required: false, + type: ArgType.String, + }, + ], + output: ArgType.Json, + async execute(ctx) { + const code = this.data.fields![2] as IExtendedCompiledFunctionConditionField + + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 1, 3) + if (!this["isValidReturnType"](rt)) return rt + const [name, varName, otherVarName] = args + + const arr = ctx.getEnvironmentKey(name) + const newArr = new Array() + + if (Array.isArray(arr)) { + for (let i = 0, len = arr.length; i < len; i++) { + const el = arr[i] + ctx.setEnvironmentKey(varName, el) + const rt = await this["resolveCondition"](ctx, code) + + if (rt.return || rt.success) { + if (!isTrue(rt)) continue + newArr.push(el) + } else if (!this["isValidReturnType"](rt)) return rt + } + } + + return otherVarName ? + this.success(void ctx.setEnvironmentKey(otherVarName, newArr)) : + this.successJSON(newArr) + }, +}) \ No newline at end of file diff --git a/src/native/array/arrayFind.ts b/src/native/array/arrayFind.ts new file mode 100644 index 0000000000..09f0cf16a7 --- /dev/null +++ b/src/native/array/arrayFind.ts @@ -0,0 +1,64 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import isTrue from "../../functions/isTrue" +import { ArgType, IExtendedCompiledFunctionConditionField, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$arrayFind", + version: "2.7.0", + description: "Finds the value of a first found element in the array", + unwrap: false, + brackets: true, + experimental: true, + args: [ + { + name: "name", + description: "The variable that holds the array", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "variable", + description: "The variable to load the element value to", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "code", + description: "The code to execute for every element", + rest: false, + condition: true, + required: true, + type: ArgType.String, + }, + ], + output: ArgType.Unknown, + async execute(ctx) { + const code = this.data.fields![2] as IExtendedCompiledFunctionConditionField + + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 1) + if (!this["isValidReturnType"](rt)) return rt + const [ name, varName ] = args + + const arr = ctx.getEnvironmentKey(name) + if (!Array.isArray(arr)) return this.success() + + for (let i = 0, len = arr.length; i < len; i++) { + const el = arr[i] + ctx.setEnvironmentKey(varName, el) + const rt = await this["resolveCondition"](ctx, code) + + if (rt.return || rt.success) { + if (!isTrue(rt)) continue + return this.successJSON(el) + } else if (!this["isValidReturnType"](rt)) return rt + } + + return this.success() + }, +}) diff --git a/src/native/array/arrayFindIndex.ts b/src/native/array/arrayFindIndex.ts index 8aeb4d9784..259b688177 100644 --- a/src/native/array/arrayFindIndex.ts +++ b/src/native/array/arrayFindIndex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import isTrue from "../../functions/isTrue" diff --git a/src/native/array/arrayFindLast.ts b/src/native/array/arrayFindLast.ts new file mode 100644 index 0000000000..26df2fa2f6 --- /dev/null +++ b/src/native/array/arrayFindLast.ts @@ -0,0 +1,64 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import isTrue from "../../functions/isTrue" +import { ArgType, IExtendedCompiledFunctionConditionField, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$arrayFindLast", + version: "2.7.0", + description: "Finds the value of a last found element in the array", + unwrap: false, + brackets: true, + experimental: true, + args: [ + { + name: "name", + description: "The variable that holds the array", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "variable", + description: "The variable to load the element value to", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "code", + description: "The code to execute for every element", + rest: false, + condition: true, + required: true, + type: ArgType.String, + }, + ], + output: ArgType.Unknown, + async execute(ctx) { + const code = this.data.fields![2] as IExtendedCompiledFunctionConditionField + + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 1) + if (!this["isValidReturnType"](rt)) return rt + const [ name, varName ] = args + + const arr = ctx.getEnvironmentKey(name) + if (!Array.isArray(arr)) return this.success() + + for (let i = arr.length - 1; i >= 0; i--) { + const el = arr[i] + ctx.setEnvironmentKey(varName, el) + const rt = await this["resolveCondition"](ctx, code) + + if (rt.return || rt.success) { + if (!isTrue(rt)) continue + return this.successJSON(el) + } else if (!this["isValidReturnType"](rt)) return rt + } + + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/array/arrayFindLastIndex.ts b/src/native/array/arrayFindLastIndex.ts index 05c5fc2ef7..7f2074ea8b 100644 --- a/src/native/array/arrayFindLastIndex.ts +++ b/src/native/array/arrayFindLastIndex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import isTrue from "../../functions/isTrue" diff --git a/src/native/array/arrayForEach.ts b/src/native/array/arrayForEach.ts index 7009b7f695..af5da0950a 100644 --- a/src/native/array/arrayForEach.ts +++ b/src/native/array/arrayForEach.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayIncludes.ts b/src/native/array/arrayIncludes.ts index 99c8a1eac9..dbfc054193 100644 --- a/src/native/array/arrayIncludes.ts +++ b/src/native/array/arrayIncludes.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayIndexOf.ts b/src/native/array/arrayIndexOf.ts index c1b42254b4..9e8a16c331 100644 --- a/src/native/array/arrayIndexOf.ts +++ b/src/native/array/arrayIndexOf.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayJoin.ts b/src/native/array/arrayJoin.ts index 89b114df96..864ed8ff65 100644 --- a/src/native/array/arrayJoin.ts +++ b/src/native/array/arrayJoin.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/array/arrayLastIndexOf.ts b/src/native/array/arrayLastIndexOf.ts index 0bc0b6cf9f..e609d5ad85 100644 --- a/src/native/array/arrayLastIndexOf.ts +++ b/src/native/array/arrayLastIndexOf.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayLength.ts b/src/native/array/arrayLength.ts index d0dbe1e2cc..76ea74c8f2 100644 --- a/src/native/array/arrayLength.ts +++ b/src/native/array/arrayLength.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayLoad.ts b/src/native/array/arrayLoad.ts index 879d7c79b9..75e05e1a22 100644 --- a/src/native/array/arrayLoad.ts +++ b/src/native/array/arrayLoad.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayMap.ts b/src/native/array/arrayMap.ts index 3ac4a775ba..d6c203a683 100644 --- a/src/native/array/arrayMap.ts +++ b/src/native/array/arrayMap.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import parseJSON from "../../functions/parseJSON" diff --git a/src/native/array/arrayPop.ts b/src/native/array/arrayPop.ts index 785966b751..5dc8e050a7 100644 --- a/src/native/array/arrayPop.ts +++ b/src/native/array/arrayPop.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayPush.ts b/src/native/array/arrayPush.ts index 3454d640b5..871106cb8d 100644 --- a/src/native/array/arrayPush.ts +++ b/src/native/array/arrayPush.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayPushJSON.ts b/src/native/array/arrayPushJSON.ts index b6d433086e..d1578ba069 100644 --- a/src/native/array/arrayPushJSON.ts +++ b/src/native/array/arrayPushJSON.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayRandomIndex.ts b/src/native/array/arrayRandomIndex.ts index 3907cabbd1..c5c6db8a41 100644 --- a/src/native/array/arrayRandomIndex.ts +++ b/src/native/array/arrayRandomIndex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayRandomValue.ts b/src/native/array/arrayRandomValue.ts index 91bca00385..0c0dd7033c 100644 --- a/src/native/array/arrayRandomValue.ts +++ b/src/native/array/arrayRandomValue.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayReduce.ts b/src/native/array/arrayReduce.ts index 0c9d2bcd12..2a02a40a37 100644 --- a/src/native/array/arrayReduce.ts +++ b/src/native/array/arrayReduce.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayReverse.ts b/src/native/array/arrayReverse.ts index 6223ade6a1..a1b2dfce74 100644 --- a/src/native/array/arrayReverse.ts +++ b/src/native/array/arrayReverse.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayShift.ts b/src/native/array/arrayShift.ts index a2dfe759d2..d4567dd848 100644 --- a/src/native/array/arrayShift.ts +++ b/src/native/array/arrayShift.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayShuffle.ts b/src/native/array/arrayShuffle.ts index e4bb0fe750..a4335586de 100644 --- a/src/native/array/arrayShuffle.ts +++ b/src/native/array/arrayShuffle.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, Context, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arraySlice.ts b/src/native/array/arraySlice.ts index d54aee8b24..b1a814aacd 100644 --- a/src/native/array/arraySlice.ts +++ b/src/native/array/arraySlice.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arraySome.ts b/src/native/array/arraySome.ts index e6ddf8b57f..fc5261b70a 100644 --- a/src/native/array/arraySome.ts +++ b/src/native/array/arraySome.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import isTrue from "../../functions/isTrue" diff --git a/src/native/array/arraySort.ts b/src/native/array/arraySort.ts index 76ba11abfe..107483c56a 100644 --- a/src/native/array/arraySort.ts +++ b/src/native/array/arraySort.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arraySplice.ts b/src/native/array/arraySplice.ts index cb87e34352..5888abed1d 100644 --- a/src/native/array/arraySplice.ts +++ b/src/native/array/arraySplice.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayUnique.ts b/src/native/array/arrayUnique.ts index 58a45c6c15..b2bbdedd96 100644 --- a/src/native/array/arrayUnique.ts +++ b/src/native/array/arrayUnique.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { isEqual, uniqWith } from "lodash" diff --git a/src/native/array/arrayUnload.ts b/src/native/array/arrayUnload.ts index ecfd9d3843..fcf95027fc 100644 --- a/src/native/array/arrayUnload.ts +++ b/src/native/array/arrayUnload.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayUnshift.ts b/src/native/array/arrayUnshift.ts index 18986b1bcc..2cc6327c05 100644 --- a/src/native/array/arrayUnshift.ts +++ b/src/native/array/arrayUnshift.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/arrayUnshiftJSON.ts b/src/native/array/arrayUnshiftJSON.ts index e14321593e..6bd5cc8144 100644 --- a/src/native/array/arrayUnshiftJSON.ts +++ b/src/native/array/arrayUnshiftJSON.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/getSplitTextLength.ts b/src/native/array/getSplitTextLength.ts index aacca83c68..fcc02ffc98 100644 --- a/src/native/array/getSplitTextLength.ts +++ b/src/native/array/getSplitTextLength.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/array/getTextSplitIndex.ts b/src/native/array/getTextSplitIndex.ts index a3fee6bffd..9b70a81763 100644 --- a/src/native/array/getTextSplitIndex.ts +++ b/src/native/array/getTextSplitIndex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/array/isArray.ts b/src/native/array/isArray.ts new file mode 100644 index 0000000000..a17d2cf707 --- /dev/null +++ b/src/native/array/isArray.ts @@ -0,0 +1,28 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$isArray", + version: "2.7.0", + description: "Checks whether given array is valid", + aliases: ["$isValidArray"], + unwrap: true, + brackets: true, + args: [ + { + name: "array", + description: "The array to check for", + rest: false, + required: true, + type: ArgType.Json, + } + ], + output: ArgType.Boolean, + execute(ctx, [ arr ]) { + return this.success(Array.isArray(arr)) + }, +}) \ No newline at end of file diff --git a/src/native/array/segmentTextSplit.ts b/src/native/array/segmentTextSplit.ts index eee4e2e037..1db012ad5b 100644 --- a/src/native/array/segmentTextSplit.ts +++ b/src/native/array/segmentTextSplit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/array/splitText.ts b/src/native/array/splitText.ts index c08fe4d58b..a9e0215d87 100644 --- a/src/native/array/splitText.ts +++ b/src/native/array/splitText.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/array/splitTextJoin.ts b/src/native/array/splitTextJoin.ts index c92eaab5cc..b9ec6c595c 100644 --- a/src/native/array/splitTextJoin.ts +++ b/src/native/array/splitTextJoin.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/array/textSplit.ts b/src/native/array/textSplit.ts index 3c4af6dc9f..f1296abdac 100644 --- a/src/native/array/textSplit.ts +++ b/src/native/array/textSplit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/audit/fetchAuditLog.ts b/src/native/audit/fetchAuditLog.ts index 5e34e9b74c..0017a06f1c 100644 --- a/src/native/audit/fetchAuditLog.ts +++ b/src/native/audit/fetchAuditLog.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AuditLogEvent } from "discord.js" diff --git a/src/native/audit/fetchAuditLogCount.ts b/src/native/audit/fetchAuditLogCount.ts index a3046e44b4..2cad8cbe48 100644 --- a/src/native/audit/fetchAuditLogCount.ts +++ b/src/native/audit/fetchAuditLogCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AuditLogEvent } from "discord.js" diff --git a/src/native/audit/fetchUserAuditLog.ts b/src/native/audit/fetchUserAuditLog.ts index 0234db22e0..3a1c6f1b7e 100644 --- a/src/native/audit/fetchUserAuditLog.ts +++ b/src/native/audit/fetchUserAuditLog.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AuditLogEvent } from "discord.js" diff --git a/src/native/audit/setAuditLogReason.ts b/src/native/audit/setAuditLogReason.ts index 6a33a202ba..c6da338bca 100644 --- a/src/native/audit/setAuditLogReason.ts +++ b/src/native/audit/setAuditLogReason.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/automod/automodActionType.ts b/src/native/automod/automodActionType.ts index 6e6ace3826..d145c9254b 100644 --- a/src/native/automod/automodActionType.ts +++ b/src/native/automod/automodActionType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AutoModerationActionType } from "discord.js" diff --git a/src/native/automod/automodAlertSystemMessageID.ts b/src/native/automod/automodAlertSystemMessageID.ts index f812f31248..3a624282ee 100644 --- a/src/native/automod/automodAlertSystemMessageID.ts +++ b/src/native/automod/automodAlertSystemMessageID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/automodChannelID.ts b/src/native/automod/automodChannelID.ts index ead525bdb8..90d858fcef 100644 --- a/src/native/automod/automodChannelID.ts +++ b/src/native/automod/automodChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/automodContent.ts b/src/native/automod/automodContent.ts index 9fabd02dd0..c452cc857e 100644 --- a/src/native/automod/automodContent.ts +++ b/src/native/automod/automodContent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/automodCustomMessage.ts b/src/native/automod/automodCustomMessage.ts index 5b88f857c1..5dbb63e9e4 100644 --- a/src/native/automod/automodCustomMessage.ts +++ b/src/native/automod/automodCustomMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/automodDuration.ts b/src/native/automod/automodDuration.ts index 26fd8bb8df..fc1970d8c0 100644 --- a/src/native/automod/automodDuration.ts +++ b/src/native/automod/automodDuration.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/automodMatchedContent.ts b/src/native/automod/automodMatchedContent.ts index 6c1a36227a..f3bda87847 100644 --- a/src/native/automod/automodMatchedContent.ts +++ b/src/native/automod/automodMatchedContent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/automodMatchedKeyword.ts b/src/native/automod/automodMatchedKeyword.ts index 49f3282fc0..d43b6c3836 100644 --- a/src/native/automod/automodMatchedKeyword.ts +++ b/src/native/automod/automodMatchedKeyword.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/automodRuleID.ts b/src/native/automod/automodRuleID.ts index fa624ef94e..22c76e2235 100644 --- a/src/native/automod/automodRuleID.ts +++ b/src/native/automod/automodRuleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/automodRuleTriggerType.ts b/src/native/automod/automodRuleTriggerType.ts index 0271b42df5..ea101f1be6 100644 --- a/src/native/automod/automodRuleTriggerType.ts +++ b/src/native/automod/automodRuleTriggerType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AutoModerationRuleTriggerType } from "discord.js" diff --git a/src/native/automod/createAutomodRule.ts b/src/native/automod/createAutomodRule.ts index 15e69dba71..a2eabd612c 100644 --- a/src/native/automod/createAutomodRule.ts +++ b/src/native/automod/createAutomodRule.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AutoModerationRuleTriggerType, AutoModerationRuleEventType } from "discord.js" diff --git a/src/native/automod/deleteAutomodRule.ts b/src/native/automod/deleteAutomodRule.ts index 639953b424..06049e8422 100644 --- a/src/native/automod/deleteAutomodRule.ts +++ b/src/native/automod/deleteAutomodRule.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/editAutomodRule.ts b/src/native/automod/editAutomodRule.ts index fbe531ac0e..ac61aa206a 100644 --- a/src/native/automod/editAutomodRule.ts +++ b/src/native/automod/editAutomodRule.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AutoModerationRuleEventType } from "discord.js" diff --git a/src/native/automod/getAutomodRule.ts b/src/native/automod/getAutomodRule.ts index 5f30ecd9a9..cb23e33913 100644 --- a/src/native/automod/getAutomodRule.ts +++ b/src/native/automod/getAutomodRule.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/getAutomodRuleActions.ts b/src/native/automod/getAutomodRuleActions.ts index 0eddfe184b..7075c17983 100644 --- a/src/native/automod/getAutomodRuleActions.ts +++ b/src/native/automod/getAutomodRuleActions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/setAutomodAction.ts b/src/native/automod/setAutomodAction.ts index 75641cdc0b..6d8e7614e6 100644 --- a/src/native/automod/setAutomodAction.ts +++ b/src/native/automod/setAutomodAction.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, AutoModerationActionType, GuildTextChannelResolvable, ThreadChannel, AutoModerationActionOptions } from "discord.js" diff --git a/src/native/automod/setAutomodAllowList.ts b/src/native/automod/setAutomodAllowList.ts index 3f79428bd8..0f2efd0192 100644 --- a/src/native/automod/setAutomodAllowList.ts +++ b/src/native/automod/setAutomodAllowList.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/setAutomodExemptChannels.ts b/src/native/automod/setAutomodExemptChannels.ts index 5fe56536a3..d92380dd01 100644 --- a/src/native/automod/setAutomodExemptChannels.ts +++ b/src/native/automod/setAutomodExemptChannels.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/setAutomodExemptRoles.ts b/src/native/automod/setAutomodExemptRoles.ts index b317da30d6..2c1be3f081 100644 --- a/src/native/automod/setAutomodExemptRoles.ts +++ b/src/native/automod/setAutomodExemptRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/setAutomodKeywordFilter.ts b/src/native/automod/setAutomodKeywordFilter.ts index 4366cf998b..1a3f91f979 100644 --- a/src/native/automod/setAutomodKeywordFilter.ts +++ b/src/native/automod/setAutomodKeywordFilter.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/setAutomodMentionRaidProtection.ts b/src/native/automod/setAutomodMentionRaidProtection.ts index a9ad271e39..504703b996 100644 --- a/src/native/automod/setAutomodMentionRaidProtection.ts +++ b/src/native/automod/setAutomodMentionRaidProtection.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/setAutomodMentionTotalLimit.ts b/src/native/automod/setAutomodMentionTotalLimit.ts index 395650fcc0..0a65046acd 100644 --- a/src/native/automod/setAutomodMentionTotalLimit.ts +++ b/src/native/automod/setAutomodMentionTotalLimit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/automod/setAutomodPresets.ts b/src/native/automod/setAutomodPresets.ts index bd9638db70..a4c5f3fc7c 100644 --- a/src/native/automod/setAutomodPresets.ts +++ b/src/native/automod/setAutomodPresets.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AutoModerationRuleKeywordPresetType } from "discord.js" diff --git a/src/native/automod/setAutomodRegexFilter.ts b/src/native/automod/setAutomodRegexFilter.ts index f6e35188b7..5058156c03 100644 --- a/src/native/automod/setAutomodRegexFilter.ts +++ b/src/native/automod/setAutomodRegexFilter.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/applicationCommandCount.ts b/src/native/bot/applicationCommandCount.ts index 8be441ae3a..1c4d297adc 100644 --- a/src/native/bot/applicationCommandCount.ts +++ b/src/native/bot/applicationCommandCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ApplicationCommandOptionType } from "discord.js" diff --git a/src/native/bot/applicationCommands.ts b/src/native/bot/applicationCommands.ts index 74dcab5d17..09278dfa4e 100644 --- a/src/native/bot/applicationCommands.ts +++ b/src/native/bot/applicationCommands.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botCount.ts b/src/native/bot/botCount.ts index 7972a9acb1..7a5b95d0f1 100644 --- a/src/native/bot/botCount.ts +++ b/src/native/bot/botCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botCustomInvite.ts b/src/native/bot/botCustomInvite.ts index 0ca3eb1032..c524796c11 100644 --- a/src/native/bot/botCustomInvite.ts +++ b/src/native/bot/botCustomInvite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botDescription.ts b/src/native/bot/botDescription.ts index 5d4b1d2425..576fa39d7d 100644 --- a/src/native/bot/botDescription.ts +++ b/src/native/bot/botDescription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botDestroy.ts b/src/native/bot/botDestroy.ts index 805e69f66e..58f4357465 100644 --- a/src/native/bot/botDestroy.ts +++ b/src/native/bot/botDestroy.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botID.ts b/src/native/bot/botID.ts index 563bc90fc0..b833be2620 100644 --- a/src/native/bot/botID.ts +++ b/src/native/bot/botID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botInvite.ts b/src/native/bot/botInvite.ts index a173856c7b..2465c07d44 100644 --- a/src/native/bot/botInvite.ts +++ b/src/native/bot/botInvite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { OAuth2Scopes, PermissionsString } from "discord.js" diff --git a/src/native/bot/botMutualGuilds.ts b/src/native/bot/botMutualGuilds.ts index 321be51a35..73fbe60540 100644 --- a/src/native/bot/botMutualGuilds.ts +++ b/src/native/bot/botMutualGuilds.ts @@ -1,16 +1,18 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ +import { Guild } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" import array from "../../functions/array" -import { ArgType, NativeFunction, Return } from "../../structures" export default new NativeFunction({ name: "$botMutualGuilds", version: "1.5.0", aliases: ["$clientMutualGuilds"], description: "Returns the client's mutual guilds with a user", + brackets: false, unwrap: true, args: [ { @@ -27,14 +29,22 @@ export default new NativeFunction({ type: ArgType.String, }, ], - brackets: false, output: array(), async execute(ctx, [user, sep]) { user ??= ctx.user! - return this.success(ctx.client.guilds.cache - .filter(async (x) => await x.members.fetch(user).then(() => true).catch(() => false)) - .map(guild => guild.id) - .join(sep || ", ") + if (!user) return this.success() + + const guilds = await Promise.all( + ctx.client.guilds.cache.map(async (guild) => { + try { + await guild.members.fetch(user.id) + return guild + } catch { + return null + } + }) ) + + return this.success(guilds.filter((x) => x instanceof Guild).map((guild) => guild.id).join(sep ?? ", ")) }, }) \ No newline at end of file diff --git a/src/native/bot/botOwnerID.ts b/src/native/bot/botOwnerID.ts index 32ee094842..adff7fbbab 100644 --- a/src/native/bot/botOwnerID.ts +++ b/src/native/bot/botOwnerID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { User } from "discord.js" diff --git a/src/native/bot/botTags.ts b/src/native/bot/botTags.ts index 947c25760b..894ba6ed16 100644 --- a/src/native/bot/botTags.ts +++ b/src/native/bot/botTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/bot/botTeamCreatedAt.ts b/src/native/bot/botTeamCreatedAt.ts index f6d5db64f8..c9dd151db1 100644 --- a/src/native/bot/botTeamCreatedAt.ts +++ b/src/native/bot/botTeamCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Team } from "discord.js" diff --git a/src/native/bot/botTeamID.ts b/src/native/bot/botTeamID.ts index b677391470..2a3a4d25e6 100644 --- a/src/native/bot/botTeamID.ts +++ b/src/native/bot/botTeamID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Team } from "discord.js" diff --git a/src/native/bot/botTeamIcon.ts b/src/native/bot/botTeamIcon.ts index e5af8f9863..4ae95990ef 100644 --- a/src/native/bot/botTeamIcon.ts +++ b/src/native/bot/botTeamIcon.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize, Team } from "discord.js" diff --git a/src/native/bot/botTeamMembers.ts b/src/native/bot/botTeamMembers.ts index 98ef201bcf..bc3d8672f5 100644 --- a/src/native/bot/botTeamMembers.ts +++ b/src/native/bot/botTeamMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Team } from "discord.js" diff --git a/src/native/bot/botTeamName.ts b/src/native/bot/botTeamName.ts index 4e1dc3f4d2..df5a50b991 100644 --- a/src/native/bot/botTeamName.ts +++ b/src/native/bot/botTeamName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Team } from "discord.js" diff --git a/src/native/bot/botToken.ts b/src/native/bot/botToken.ts index e2f21d9873..69406e62d9 100644 --- a/src/native/bot/botToken.ts +++ b/src/native/bot/botToken.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botUserAuthorizationCount.ts b/src/native/bot/botUserAuthorizationCount.ts index 386c2d7784..e6702fb1bd 100644 --- a/src/native/bot/botUserAuthorizationCount.ts +++ b/src/native/bot/botUserAuthorizationCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botUserInstallCount.ts b/src/native/bot/botUserInstallCount.ts index 377d439b94..0e1dc96e21 100644 --- a/src/native/bot/botUserInstallCount.ts +++ b/src/native/bot/botUserInstallCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/botWebhookEvents.ts b/src/native/bot/botWebhookEvents.ts index c048a7c3fe..c10f2db535 100644 --- a/src/native/bot/botWebhookEvents.ts +++ b/src/native/bot/botWebhookEvents.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ApplicationWebhookEventType } from "discord.js" diff --git a/src/native/bot/botWebhookStatus.ts b/src/native/bot/botWebhookStatus.ts index 7c8182f452..ce492f666c 100644 --- a/src/native/bot/botWebhookStatus.ts +++ b/src/native/bot/botWebhookStatus.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ApplicationWebhookEventStatus } from "discord.js" diff --git a/src/native/bot/botWebhookURL.ts b/src/native/bot/botWebhookURL.ts index c9291409e2..9b2d492da3 100644 --- a/src/native/bot/botWebhookURL.ts +++ b/src/native/bot/botWebhookURL.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/deleteGlobalApplicationCommands.ts b/src/native/bot/deleteGlobalApplicationCommands.ts index e6f3cc4014..ba94465a64 100644 --- a/src/native/bot/deleteGlobalApplicationCommands.ts +++ b/src/native/bot/deleteGlobalApplicationCommands.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Arg, ArgType, NativeFunction } from "../../structures" diff --git a/src/native/bot/extensionVersion.ts b/src/native/bot/extensionVersion.ts index d171c7f742..7e6bc3276e 100644 --- a/src/native/bot/extensionVersion.ts +++ b/src/native/bot/extensionVersion.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/bot/fetchApplication.ts b/src/native/bot/fetchApplication.ts new file mode 100644 index 0000000000..2d1781f0db --- /dev/null +++ b/src/native/bot/fetchApplication.ts @@ -0,0 +1,17 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$fetchApplication", + version: "2.7.0", + description: "Fetches the application of the client", + unwrap: false, + async execute(ctx) { + await ctx.client.application.fetch().catch(ctx.noop) + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/bot/hasExtension.ts b/src/native/bot/hasExtension.ts index 2368ef9cc0..97ef352ebc 100644 --- a/src/native/bot/hasExtension.ts +++ b/src/native/bot/hasExtension.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/ping.ts b/src/native/bot/ping.ts index 6c17bd547b..aa7f92c380 100644 --- a/src/native/bot/ping.ts +++ b/src/native/bot/ping.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setBotAvatar.ts b/src/native/bot/setBotAvatar.ts index 27061431ee..adb0edb535 100644 --- a/src/native/bot/setBotAvatar.ts +++ b/src/native/bot/setBotAvatar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setBotBanner.ts b/src/native/bot/setBotBanner.ts index 69a48452b4..9c4eec4daa 100644 --- a/src/native/bot/setBotBanner.ts +++ b/src/native/bot/setBotBanner.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setBotDescription.ts b/src/native/bot/setBotDescription.ts index 947fa1fc5c..936e69daed 100644 --- a/src/native/bot/setBotDescription.ts +++ b/src/native/bot/setBotDescription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setBotGuildAvatar.ts b/src/native/bot/setBotGuildAvatar.ts index afeacde6e3..460348574d 100644 --- a/src/native/bot/setBotGuildAvatar.ts +++ b/src/native/bot/setBotGuildAvatar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setBotGuildBanner.ts b/src/native/bot/setBotGuildBanner.ts index d2b464fb1e..69f8a12bc9 100644 --- a/src/native/bot/setBotGuildBanner.ts +++ b/src/native/bot/setBotGuildBanner.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setBotGuildDescription.ts b/src/native/bot/setBotGuildDescription.ts index e19ec94f97..1d8e9248f8 100644 --- a/src/native/bot/setBotGuildDescription.ts +++ b/src/native/bot/setBotGuildDescription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setBotName.ts b/src/native/bot/setBotName.ts index 39f9b12949..1514024777 100644 --- a/src/native/bot/setBotName.ts +++ b/src/native/bot/setBotName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setBotTags.ts b/src/native/bot/setBotTags.ts index ca6b7cb2d9..2cb7aae0f0 100644 --- a/src/native/bot/setBotTags.ts +++ b/src/native/bot/setBotTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/setStatus.ts b/src/native/bot/setStatus.ts index 48cd97c771..cb0052dda8 100644 --- a/src/native/bot/setStatus.ts +++ b/src/native/bot/setStatus.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActivityType, PresenceStatusData } from "discord.js" diff --git a/src/native/bot/shardCount.ts b/src/native/bot/shardCount.ts index 7187163958..a558275bf7 100644 --- a/src/native/bot/shardCount.ts +++ b/src/native/bot/shardCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/shardID.ts b/src/native/bot/shardID.ts index 69d8de644a..cea1b239df 100644 --- a/src/native/bot/shardID.ts +++ b/src/native/bot/shardID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/shardStatus.ts b/src/native/bot/shardStatus.ts index 34382e39df..6f025196aa 100644 --- a/src/native/bot/shardStatus.ts +++ b/src/native/bot/shardStatus.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Status } from "discord.js" diff --git a/src/native/bot/updateApplicationCommands.ts b/src/native/bot/updateApplicationCommands.ts index 3ae6459390..386c4c6d04 100644 --- a/src/native/bot/updateApplicationCommands.ts +++ b/src/native/bot/updateApplicationCommands.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/bot/updateCommands.ts b/src/native/bot/updateCommands.ts index a7d5d71049..07411996bd 100644 --- a/src/native/bot/updateCommands.ts +++ b/src/native/bot/updateCommands.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/uptime.ts b/src/native/bot/uptime.ts index 23c8290d4f..cc6dcdfd0d 100644 --- a/src/native/bot/uptime.ts +++ b/src/native/bot/uptime.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/bot/version.ts b/src/native/bot/version.ts index 0658dd56a5..be7496b1f8 100644 --- a/src/native/bot/version.ts +++ b/src/native/bot/version.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferAlloc.ts b/src/native/buffer/bufferAlloc.ts index a8ea38100a..2b85352681 100644 --- a/src/native/buffer/bufferAlloc.ts +++ b/src/native/buffer/bufferAlloc.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferAllocUnsafe.ts b/src/native/buffer/bufferAllocUnsafe.ts index 4263e19876..0a1bd5d0b0 100644 --- a/src/native/buffer/bufferAllocUnsafe.ts +++ b/src/native/buffer/bufferAllocUnsafe.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferLength.ts b/src/native/buffer/bufferLength.ts index 97d528b94b..e5c9c5c3d0 100644 --- a/src/native/buffer/bufferLength.ts +++ b/src/native/buffer/bufferLength.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferReadInt32.ts b/src/native/buffer/bufferReadInt32.ts index 440828a94d..6b9e2f9bda 100644 --- a/src/native/buffer/bufferReadInt32.ts +++ b/src/native/buffer/bufferReadInt32.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferReadUtf8.ts b/src/native/buffer/bufferReadUtf8.ts index fe157cd7e7..f05664c8a1 100644 --- a/src/native/buffer/bufferReadUtf8.ts +++ b/src/native/buffer/bufferReadUtf8.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferResize.ts b/src/native/buffer/bufferResize.ts index e0d0ed71c5..b911af800a 100644 --- a/src/native/buffer/bufferResize.ts +++ b/src/native/buffer/bufferResize.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferToString.ts b/src/native/buffer/bufferToString.ts index 0456e68277..3da6fd1336 100644 --- a/src/native/buffer/bufferToString.ts +++ b/src/native/buffer/bufferToString.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferWriteInt32.ts b/src/native/buffer/bufferWriteInt32.ts index bd3eb6fa5a..d63b2a6d8a 100644 --- a/src/native/buffer/bufferWriteInt32.ts +++ b/src/native/buffer/bufferWriteInt32.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/buffer/bufferWriteUtf8.ts b/src/native/buffer/bufferWriteUtf8.ts index fbbfa07a22..05780e724a 100644 --- a/src/native/buffer/bufferWriteUtf8.ts +++ b/src/native/buffer/bufferWriteUtf8.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/addChannelPerms.ts b/src/native/channel/addChannelPerms.ts index f151c52508..b01c8dc7d1 100644 --- a/src/native/channel/addChannelPerms.ts +++ b/src/native/channel/addChannelPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel, PermissionFlagsBits, PermissionsString } from "discord.js" diff --git a/src/native/channel/addPermissionOverwrite.ts b/src/native/channel/addPermissionOverwrite.ts new file mode 100644 index 0000000000..4b92182863 --- /dev/null +++ b/src/native/channel/addPermissionOverwrite.ts @@ -0,0 +1,41 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { PermissionFlagsBits } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" +import { overwritePermissionsToOverwriteData } from "../../functions/overwritePermissions" + +export default new NativeFunction({ + name: "$addPermissionOverwrite", + version: "2.7.0", + description: "Adds a new permission overwrite to the channel", + unwrap: true, + brackets: true, + args: [ + { + name: "roleOrUser", + description: "The role or member to set perms for", + type: ArgType.RoleOrUser, + rest: false, + required: true, + pointer: 0, + pointerProperty: "guild" + }, + { + name: "perms", + description: "The permissions to allow or disallow, (+,-)Perm", + type: ArgType.OverwritePermission, + rest: true, + required: true, + enum: PermissionFlagsBits + } + ], + async execute(ctx, [roleOrUser, raw]) { + const obj = overwritePermissionsToOverwriteData(roleOrUser.id, raw) + ctx.permissionOverwrites ??= [] + ctx.permissionOverwrites.push(obj) + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/channel/addPostTags.ts b/src/native/channel/addPostTags.ts index 20b4e417e1..f3442aba65 100644 --- a/src/native/channel/addPostTags.ts +++ b/src/native/channel/addPostTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/addThreadMember.ts b/src/native/channel/addThreadMember.ts index 548bea0485..5c63e9682c 100644 --- a/src/native/channel/addThreadMember.ts +++ b/src/native/channel/addThreadMember.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/archiveThread.ts b/src/native/channel/archiveThread.ts index fa508b47dc..f8a9b721cc 100644 --- a/src/native/channel/archiveThread.ts +++ b/src/native/channel/archiveThread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/channelBitrate.ts b/src/native/channel/channelBitrate.ts index accbef7eee..92763dd264 100644 --- a/src/native/channel/channelBitrate.ts +++ b/src/native/channel/channelBitrate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelCategoryID.ts b/src/native/channel/channelCategoryID.ts index 33bbcd89b5..79e77b8c2c 100644 --- a/src/native/channel/channelCategoryID.ts +++ b/src/native/channel/channelCategoryID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelChildrenCount.ts b/src/native/channel/channelChildrenCount.ts index 7c6fa808ed..402ea79b60 100644 --- a/src/native/channel/channelChildrenCount.ts +++ b/src/native/channel/channelChildrenCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, CategoryChannel, ChannelType } from "discord.js" diff --git a/src/native/channel/channelChildrenIDs.ts b/src/native/channel/channelChildrenIDs.ts index 3e227959e3..50af44e9c8 100644 --- a/src/native/channel/channelChildrenIDs.ts +++ b/src/native/channel/channelChildrenIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, CategoryChannel, ChannelType } from "discord.js" diff --git a/src/native/channel/channelCount.ts b/src/native/channel/channelCount.ts index 415a244f14..13d62f35bf 100644 --- a/src/native/channel/channelCount.ts +++ b/src/native/channel/channelCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelType } from "discord.js" diff --git a/src/native/channel/channelCreatedAt.ts b/src/native/channel/channelCreatedAt.ts index 83379af883..18177070bc 100644 --- a/src/native/channel/channelCreatedAt.ts +++ b/src/native/channel/channelCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelDeletable.ts b/src/native/channel/channelDeletable.ts index 782c06b603..0b8445560d 100644 --- a/src/native/channel/channelDeletable.ts +++ b/src/native/channel/channelDeletable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelExists.ts b/src/native/channel/channelExists.ts index 9f6e81144f..9d70497ec7 100644 --- a/src/native/channel/channelExists.ts +++ b/src/native/channel/channelExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelFlags.ts b/src/native/channel/channelFlags.ts index 5f58ca0c90..c6477fce37 100644 --- a/src/native/channel/channelFlags.ts +++ b/src/native/channel/channelFlags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelFlags } from "discord.js" diff --git a/src/native/channel/channelFull.ts b/src/native/channel/channelFull.ts index 0c875d7546..8b13adf100 100644 --- a/src/native/channel/channelFull.ts +++ b/src/native/channel/channelFull.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelGuildID.ts b/src/native/channel/channelGuildID.ts index 91e704f46c..e7e47fbf22 100644 --- a/src/native/channel/channelGuildID.ts +++ b/src/native/channel/channelGuildID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelHasAnyPerms.ts b/src/native/channel/channelHasAnyPerms.ts index 4c6b87566a..3bb87c638c 100644 --- a/src/native/channel/channelHasAnyPerms.ts +++ b/src/native/channel/channelHasAnyPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildTextBasedChannel, PermissionFlagsBits } from "discord.js" diff --git a/src/native/channel/channelHasPerms.ts b/src/native/channel/channelHasPerms.ts index 41a88c30b3..151bfdda25 100644 --- a/src/native/channel/channelHasPerms.ts +++ b/src/native/channel/channelHasPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildTextBasedChannel, PermissionFlagsBits } from "discord.js" diff --git a/src/native/channel/channelID.ts b/src/native/channel/channelID.ts index 819f23cf8d..81e6e5ac34 100644 --- a/src/native/channel/channelID.ts +++ b/src/native/channel/channelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelIDs.ts b/src/native/channel/channelIDs.ts index 2a55ff6de4..04b4039fb5 100644 --- a/src/native/channel/channelIDs.ts +++ b/src/native/channel/channelIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/channel/channelIsChildrenOf.ts b/src/native/channel/channelIsChildrenOf.ts index 3b9ba22940..e7151d090e 100644 --- a/src/native/channel/channelIsChildrenOf.ts +++ b/src/native/channel/channelIsChildrenOf.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, CategoryChannel, ChannelType } from "discord.js" diff --git a/src/native/channel/channelJoinable.ts b/src/native/channel/channelJoinable.ts index 855c6400d6..652489d6d6 100644 --- a/src/native/channel/channelJoinable.ts +++ b/src/native/channel/channelJoinable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelManageable.ts b/src/native/channel/channelManageable.ts index 95d53d479e..f31916047f 100644 --- a/src/native/channel/channelManageable.ts +++ b/src/native/channel/channelManageable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelMembers.ts b/src/native/channel/channelMembers.ts index 82470b8de3..8d1a81ed1b 100644 --- a/src/native/channel/channelMembers.ts +++ b/src/native/channel/channelMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelNSFW.ts b/src/native/channel/channelNSFW.ts index 7263b61d10..0e2e3c2124 100644 --- a/src/native/channel/channelNSFW.ts +++ b/src/native/channel/channelNSFW.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelName.ts b/src/native/channel/channelName.ts index 91d47dc344..0249c123cf 100644 --- a/src/native/channel/channelName.ts +++ b/src/native/channel/channelName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelNames.ts b/src/native/channel/channelNames.ts index 42f20aa03b..e8d60e622f 100644 --- a/src/native/channel/channelNames.ts +++ b/src/native/channel/channelNames.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/channel/channelPermissions.ts b/src/native/channel/channelPermissions.ts index ef1d084b1a..006998a76b 100644 --- a/src/native/channel/channelPermissions.ts +++ b/src/native/channel/channelPermissions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel } from "discord.js" diff --git a/src/native/channel/channelPermissionsFor.ts b/src/native/channel/channelPermissionsFor.ts index e053e75462..7529b48a03 100644 --- a/src/native/channel/channelPermissionsFor.ts +++ b/src/native/channel/channelPermissionsFor.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildTextBasedChannel, PermissionFlagsBits } from "discord.js" diff --git a/src/native/channel/channelPermissionsOf.ts b/src/native/channel/channelPermissionsOf.ts index 62c8cda5b5..4ddbcaba21 100644 --- a/src/native/channel/channelPermissionsOf.ts +++ b/src/native/channel/channelPermissionsOf.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel, PermissionFlagsBits } from "discord.js" diff --git a/src/native/channel/channelPinnedMessages.ts b/src/native/channel/channelPinnedMessages.ts index dce0ca2e97..f71ebae887 100644 --- a/src/native/channel/channelPinnedMessages.ts +++ b/src/native/channel/channelPinnedMessages.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextBasedChannel } from "discord.js" diff --git a/src/native/channel/channelPosition.ts b/src/native/channel/channelPosition.ts index 67594192ad..31ab8acd71 100644 --- a/src/native/channel/channelPosition.ts +++ b/src/native/channel/channelPosition.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelRawData.ts b/src/native/channel/channelRawData.ts index a352511054..a67c2ea62d 100644 --- a/src/native/channel/channelRawData.ts +++ b/src/native/channel/channelRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelSlowmode.ts b/src/native/channel/channelSlowmode.ts index db9a624dfc..2e5081c6f8 100644 --- a/src/native/channel/channelSlowmode.ts +++ b/src/native/channel/channelSlowmode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/channel/channelTags.ts b/src/native/channel/channelTags.ts index b65c6427c6..3c6cce0554 100644 --- a/src/native/channel/channelTags.ts +++ b/src/native/channel/channelTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/channelThreadIDs.ts b/src/native/channel/channelThreadIDs.ts index bfad43b683..be690da3a6 100644 --- a/src/native/channel/channelThreadIDs.ts +++ b/src/native/channel/channelThreadIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadManager } from "discord.js" diff --git a/src/native/channel/channelTopic.ts b/src/native/channel/channelTopic.ts index 97fa9e84e8..6f7de2c2fe 100644 --- a/src/native/channel/channelTopic.ts +++ b/src/native/channel/channelTopic.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelType.ts b/src/native/channel/channelType.ts index c92d34b607..0714d98ec6 100644 --- a/src/native/channel/channelType.ts +++ b/src/native/channel/channelType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelType } from "discord.js" diff --git a/src/native/channel/channelURL.ts b/src/native/channel/channelURL.ts index b1bd32fb62..95d57d170a 100644 --- a/src/native/channel/channelURL.ts +++ b/src/native/channel/channelURL.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelUserLimit.ts b/src/native/channel/channelUserLimit.ts index 819efdbcba..80c7cb80c6 100644 --- a/src/native/channel/channelUserLimit.ts +++ b/src/native/channel/channelUserLimit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelVoiceMemberCount.ts b/src/native/channel/channelVoiceMemberCount.ts index c4ce97dfe4..e2ea576135 100644 --- a/src/native/channel/channelVoiceMemberCount.ts +++ b/src/native/channel/channelVoiceMemberCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TextChannel } from "discord.js" diff --git a/src/native/channel/channelVoiceMemberIDs.ts b/src/native/channel/channelVoiceMemberIDs.ts index 7c33197b29..2146f1e534 100644 --- a/src/native/channel/channelVoiceMemberIDs.ts +++ b/src/native/channel/channelVoiceMemberIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/channelVoiceRegion.ts b/src/native/channel/channelVoiceRegion.ts index d43db26137..71c94268e5 100644 --- a/src/native/channel/channelVoiceRegion.ts +++ b/src/native/channel/channelVoiceRegion.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, VoiceChannel } from "discord.js" diff --git a/src/native/channel/channelWebhooks.ts b/src/native/channel/channelWebhooks.ts index 08854d1312..6144e86a17 100644 --- a/src/native/channel/channelWebhooks.ts +++ b/src/native/channel/channelWebhooks.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, BaseGuildTextChannel } from "discord.js" diff --git a/src/native/channel/clearChannelPerms.ts b/src/native/channel/clearChannelPerms.ts index bef4faeafb..28332b7f90 100644 --- a/src/native/channel/clearChannelPerms.ts +++ b/src/native/channel/clearChannelPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel } from "discord.js" diff --git a/src/native/channel/clearMessages.ts b/src/native/channel/clearMessages.ts index 058090674d..6360d09246 100644 --- a/src/native/channel/clearMessages.ts +++ b/src/native/channel/clearMessages.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/clearUserMessages.ts b/src/native/channel/clearUserMessages.ts index 804581d8b7..8b959eab47 100644 --- a/src/native/channel/clearUserMessages.ts +++ b/src/native/channel/clearUserMessages.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/cloneChannel.ts b/src/native/channel/cloneChannel.ts index d24c5df22c..2adbbdaa58 100644 --- a/src/native/channel/cloneChannel.ts +++ b/src/native/channel/cloneChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel } from "discord.js" diff --git a/src/native/channel/cloneChannelPerms.ts b/src/native/channel/cloneChannelPerms.ts index 0590a4a34a..7bb01be843 100644 --- a/src/native/channel/cloneChannelPerms.ts +++ b/src/native/channel/cloneChannelPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel } from "discord.js" diff --git a/src/native/channel/createChannel.ts b/src/native/channel/createChannel.ts index 758f54fa52..7c22fe40f0 100644 --- a/src/native/channel/createChannel.ts +++ b/src/native/channel/createChannel.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, CategoryChannel, ChannelType, GuildChannelCreateOptions } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$createChannel", @@ -58,6 +58,7 @@ export default new NativeFunction({ name, topic: topic || undefined, parent: parent as CategoryChannel, + permissionOverwrites: ctx.permissionOverwrites, reason: ctx.reason }) .catch(ctx.noop) diff --git a/src/native/channel/createForumPost.ts b/src/native/channel/createForumPost.ts index 3140c4f990..8164681f3a 100644 --- a/src/native/channel/createForumPost.ts +++ b/src/native/channel/createForumPost.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/createForumTag.ts b/src/native/channel/createForumTag.ts index 323cf827d9..b92e9f1274 100644 --- a/src/native/channel/createForumTag.ts +++ b/src/native/channel/createForumTag.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildForumTagData, ThreadOnlyChannel } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { parseSingleEmoji } from "../../functions/parseSingleEmoji" export default new NativeFunction({ @@ -43,14 +43,14 @@ export default new NativeFunction({ } ], output: ArgType.ForumTag, - async execute(ctx, [ channel, name, emoji, mod ]) { + async execute(ctx, [channel, name, emoji, mod]) { const forum = channel as ThreadOnlyChannel - const tag = { + const tag: GuildForumTagData = { name, emoji: parseSingleEmoji(ctx, emoji), moderated: mod || undefined - } as GuildForumTagData + } return this.success((await forum.setAvailableTags([...forum.availableTags, tag]).catch(ctx.noop))?.availableTags.at(-1)?.id) }, diff --git a/src/native/channel/createInvite.ts b/src/native/channel/createInvite.ts index 2dff1b72cd..1e86683b9f 100644 --- a/src/native/channel/createInvite.ts +++ b/src/native/channel/createInvite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" @@ -20,7 +20,7 @@ export default new NativeFunction({ rest: false, required: true, type: ArgType.Channel, - check: (i: BaseChannel) => !i.isDMBased(), + check: (i: BaseChannel) => "createInvite" in i, }, { name: "max uses", diff --git a/src/native/channel/createStageInstance.ts b/src/native/channel/createStageInstance.ts index 468f8b7435..d9c473f929 100644 --- a/src/native/channel/createStageInstance.ts +++ b/src/native/channel/createStageInstance.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, StageChannel, StageInstancePrivacyLevel } from "discord.js" diff --git a/src/native/channel/createThread.ts b/src/native/channel/createThread.ts index 41c90871d5..eaf2ca099c 100644 --- a/src/native/channel/createThread.ts +++ b/src/native/channel/createThread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, TextChannel } from "discord.js" diff --git a/src/native/channel/deleteChannelPerms.ts b/src/native/channel/deleteChannelPerms.ts index 56551a36ba..cc06edf986 100644 --- a/src/native/channel/deleteChannelPerms.ts +++ b/src/native/channel/deleteChannelPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel, PermissionFlagsBits, PermissionsString } from "discord.js" diff --git a/src/native/channel/deleteChannels.ts b/src/native/channel/deleteChannels.ts index 69dd68861c..7fd402bdda 100644 --- a/src/native/channel/deleteChannels.ts +++ b/src/native/channel/deleteChannels.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/channel/deleteForumTags.ts b/src/native/channel/deleteForumTags.ts index 1a65818a83..3115d261d8 100644 --- a/src/native/channel/deleteForumTags.ts +++ b/src/native/channel/deleteForumTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/deleteStageInstance.ts b/src/native/channel/deleteStageInstance.ts index 3912a0e034..adc4649e48 100644 --- a/src/native/channel/deleteStageInstance.ts +++ b/src/native/channel/deleteStageInstance.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/deleteThread.ts b/src/native/channel/deleteThread.ts index 53350cc4dd..afaf1df298 100644 --- a/src/native/channel/deleteThread.ts +++ b/src/native/channel/deleteThread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/dmChannelID.ts b/src/native/channel/dmChannelID.ts index a85f8e18bf..3a1d24f684 100644 --- a/src/native/channel/dmChannelID.ts +++ b/src/native/channel/dmChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/editForumTag.ts b/src/native/channel/editForumTag.ts index b9ce644080..4f2b4465b6 100644 --- a/src/native/channel/editForumTag.ts +++ b/src/native/channel/editForumTag.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/editStageInstance.ts b/src/native/channel/editStageInstance.ts index e86a4d9cfa..ae96107252 100644 --- a/src/native/channel/editStageInstance.ts +++ b/src/native/channel/editStageInstance.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StageInstancePrivacyLevel } from "discord.js" diff --git a/src/native/channel/fetchChannels.ts b/src/native/channel/fetchChannels.ts index 9fe83a0f66..600e9467a7 100644 --- a/src/native/channel/fetchChannels.ts +++ b/src/native/channel/fetchChannels.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/fetchThreads.ts b/src/native/channel/fetchThreads.ts index 1a7ef9ad55..9abdd3f3c1 100644 --- a/src/native/channel/fetchThreads.ts +++ b/src/native/channel/fetchThreads.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadManager } from "discord.js" diff --git a/src/native/channel/firstMessageID.ts b/src/native/channel/firstMessageID.ts index da23991a3f..26d0fde959 100644 --- a/src/native/channel/firstMessageID.ts +++ b/src/native/channel/firstMessageID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextBasedChannel } from "discord.js" diff --git a/src/native/channel/followChannel.ts b/src/native/channel/followChannel.ts index ea62273ef9..7908e001f7 100644 --- a/src/native/channel/followChannel.ts +++ b/src/native/channel/followChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, Guild, NewsChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/forumDefaultLayout.ts b/src/native/channel/forumDefaultLayout.ts index 4f3d544084..24b878600c 100644 --- a/src/native/channel/forumDefaultLayout.ts +++ b/src/native/channel/forumDefaultLayout.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, ForumChannel, ForumLayoutType } from "discord.js" diff --git a/src/native/channel/forumDefaultReactionEmoji.ts b/src/native/channel/forumDefaultReactionEmoji.ts index 6322f8511f..6b0e02d89f 100644 --- a/src/native/channel/forumDefaultReactionEmoji.ts +++ b/src/native/channel/forumDefaultReactionEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/forumDefaultSortOrder.ts b/src/native/channel/forumDefaultSortOrder.ts index 4411cd9868..c66299df34 100644 --- a/src/native/channel/forumDefaultSortOrder.ts +++ b/src/native/channel/forumDefaultSortOrder.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, SortOrderType, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/forumDefaultThreadArchiveDuration.ts b/src/native/channel/forumDefaultThreadArchiveDuration.ts index d299190f63..a66d4d74dc 100644 --- a/src/native/channel/forumDefaultThreadArchiveDuration.ts +++ b/src/native/channel/forumDefaultThreadArchiveDuration.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadAutoArchiveDuration, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/forumDefaultThreadSlowmode.ts b/src/native/channel/forumDefaultThreadSlowmode.ts index ed022bb44f..ff164948c9 100644 --- a/src/native/channel/forumDefaultThreadSlowmode.ts +++ b/src/native/channel/forumDefaultThreadSlowmode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/forumTags.ts b/src/native/channel/forumTags.ts index ce6833b3ac..ba596b8dcd 100644 --- a/src/native/channel/forumTags.ts +++ b/src/native/channel/forumTags.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadOnlyChannel } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { ForumTagProperty, ForumTagProperties } from "../../properties/forumTag" import array from "../../functions/array" @@ -45,6 +45,8 @@ export default new NativeFunction({ const channel = ch as ThreadOnlyChannel | undefined const tags = channel?.availableTags - return this.successJSON(!prop ? tags : tags?.map(tag => ForumTagProperties[prop](tag)).join(sep ?? ", ")) + if (!tags) return this.success() + if (!prop) return this.successJSON(tags) + return this.success(tags.map(tag => ForumTagProperties[prop](tag)).join(sep ?? ", ")) }, }) \ No newline at end of file diff --git a/src/native/channel/getForumTag.ts b/src/native/channel/getForumTag.ts new file mode 100644 index 0000000000..c95c0d4470 --- /dev/null +++ b/src/native/channel/getForumTag.ts @@ -0,0 +1,49 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { BaseChannel } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" +import { ForumTagProperties, ForumTagProperty } from "../../properties/forumTag" + +export default new NativeFunction({ + name: "$getForumTag", + version: "2.7.0", + description: "Returns the tag of a forum", + unwrap: true, + brackets: true, + args: [ + { + name: "channel ID", + description: "The forum to pull tags from", + rest: false, + required: true, + type: ArgType.Channel, + check: (i: BaseChannel) => i.isThreadOnly(), + }, + { + name: "tag ID", + description: "The tag to retrieve", + rest: false, + required: true, + type: ArgType.ForumTag, + pointer: 0 + }, + { + name: "property", + description: "The property of the tag to return", + rest: false, + type: ArgType.Enum, + enum: ForumTagProperty + }, + ], + output: [ + ArgType.Json, + ArgType.Unknown + ], + execute(ctx, [, tag, prop]) { + if (prop) return this.success(ForumTagProperties[prop](tag)) + return this.successJSON(tag) + }, +}) \ No newline at end of file diff --git a/src/native/channel/getStageInstance.ts b/src/native/channel/getStageInstance.ts index b1dd041379..df54c8fd89 100644 --- a/src/native/channel/getStageInstance.ts +++ b/src/native/channel/getStageInstance.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StageProperties, StageProperty } from "../../properties/stage" diff --git a/src/native/channel/getThreadMembers.ts b/src/native/channel/getThreadMembers.ts index a59b7f7707..b777a0fcb4 100644 --- a/src/native/channel/getThreadMembers.ts +++ b/src/native/channel/getThreadMembers.ts @@ -1,18 +1,17 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import array from "../../functions/array" export default new NativeFunction({ name: "$getThreadMembers", version: "1.0.0", - description: "Gets thread members", + description: "Returns all members from a thread", brackets: true, - output: array(), unwrap: true, args: [ { @@ -30,6 +29,7 @@ export default new NativeFunction({ type: ArgType.String, }, ], + output: array(), async execute(ctx, [channel, sep]) { const thread = channel as ThreadChannel diff --git a/src/native/channel/guildChannelID.ts b/src/native/channel/guildChannelID.ts index 69e6c0fb12..2d857921d9 100644 --- a/src/native/channel/guildChannelID.ts +++ b/src/native/channel/guildChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Arg, ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/channel/lastMessageID.ts b/src/native/channel/lastMessageID.ts index c0b206c146..3106dfd190 100644 --- a/src/native/channel/lastMessageID.ts +++ b/src/native/channel/lastMessageID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextBasedChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/lastPinTimestamp.ts b/src/native/channel/lastPinTimestamp.ts index 8b2b2994ee..a668f89ca3 100644 --- a/src/native/channel/lastPinTimestamp.ts +++ b/src/native/channel/lastPinTimestamp.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/lockThread.ts b/src/native/channel/lockThread.ts index 0861c0796f..05149327c5 100644 --- a/src/native/channel/lockThread.ts +++ b/src/native/channel/lockThread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/modifyChannelPerms.ts b/src/native/channel/modifyChannelPerms.ts index d0853dc9c2..d9e7c65922 100644 --- a/src/native/channel/modifyChannelPerms.ts +++ b/src/native/channel/modifyChannelPerms.ts @@ -1,11 +1,11 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel, PermissionFlagsBits } from "discord.js" import { ArgType, NativeFunction } from "../../structures" -import overwritePermissionsArrayToObject from "../../functions/overwritePermissionsArrayToObject" +import { overwritePermissionsArrayToObject } from "../../functions/overwritePermissions" export default new NativeFunction({ name: "$modifyChannelPerms", @@ -42,14 +42,18 @@ export default new NativeFunction({ enum: PermissionFlagsBits } ], - async execute(ctx, [ channel, roleOrUser, raw ]) { + async execute(ctx, [channel, roleOrUser, raw]) { const ch = channel as GuildChannel const mapped = overwritePermissionsArrayToObject(raw) if (ch.permissionOverwrites.cache.has(roleOrUser.id)) { - return this.success(!!(await ch.permissionOverwrites.edit(roleOrUser, mapped, { reason: ctx.reason }).catch(ctx.noop))) + return this.success( + !!(await ch.permissionOverwrites.edit(roleOrUser, mapped, { reason: ctx.reason }).catch(ctx.noop)) + ) } else { - return this.success(!!(await ch.permissionOverwrites.create(roleOrUser, mapped, { reason: ctx.reason }).catch(ctx.noop))) + return this.success( + !!(await ch.permissionOverwrites.create(roleOrUser, mapped, { reason: ctx.reason }).catch(ctx.noop)) + ) } }, }) \ No newline at end of file diff --git a/src/native/channel/modifyPostTags.ts b/src/native/channel/modifyPostTags.ts index 305ada70cf..1acce149a3 100644 --- a/src/native/channel/modifyPostTags.ts +++ b/src/native/channel/modifyPostTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/randomChannelID.ts b/src/native/channel/randomChannelID.ts index 1b64ff1c51..6073a08749 100644 --- a/src/native/channel/randomChannelID.ts +++ b/src/native/channel/randomChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelType } from "discord.js" diff --git a/src/native/channel/randomGuildChannelID.ts b/src/native/channel/randomGuildChannelID.ts index 0f8d5ef75d..4770a9886e 100644 --- a/src/native/channel/randomGuildChannelID.ts +++ b/src/native/channel/randomGuildChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelType } from "discord.js" diff --git a/src/native/channel/removeChannelPerms.ts b/src/native/channel/removeChannelPerms.ts index 9c87827b40..6ec3eda51a 100644 --- a/src/native/channel/removeChannelPerms.ts +++ b/src/native/channel/removeChannelPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildChannel, PermissionFlagsBits, PermissionsString } from "discord.js" diff --git a/src/native/channel/removeThreadMember.ts b/src/native/channel/removeThreadMember.ts index 0b914e3f79..9e56766757 100644 --- a/src/native/channel/removeThreadMember.ts +++ b/src/native/channel/removeThreadMember.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/sendMessage.ts b/src/native/channel/sendMessage.ts index 53e9807674..557bdbc35b 100644 --- a/src/native/channel/sendMessage.ts +++ b/src/native/channel/sendMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, Message } from "discord.js" diff --git a/src/native/channel/setChannelArchiveDuration.ts b/src/native/channel/setChannelArchiveDuration.ts index e7683b9537..a4150880e5 100644 --- a/src/native/channel/setChannelArchiveDuration.ts +++ b/src/native/channel/setChannelArchiveDuration.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel, ThreadAutoArchiveDuration } from "discord.js" diff --git a/src/native/channel/setChannelCategory.ts b/src/native/channel/setChannelCategory.ts index 6e6378449e..e67e4ff904 100644 --- a/src/native/channel/setChannelCategory.ts +++ b/src/native/channel/setChannelCategory.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, CategoryChannel, ChannelType, TextChannel } from "discord.js" diff --git a/src/native/channel/setChannelNSFW.ts b/src/native/channel/setChannelNSFW.ts index c4b2456852..94346fb4a9 100644 --- a/src/native/channel/setChannelNSFW.ts +++ b/src/native/channel/setChannelNSFW.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/setChannelName.ts b/src/native/channel/setChannelName.ts index f5a33bde5a..9215ba6718 100644 --- a/src/native/channel/setChannelName.ts +++ b/src/native/channel/setChannelName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/setChannelSlowmode.ts b/src/native/channel/setChannelSlowmode.ts index 7e50c0b325..ab57736dc1 100644 --- a/src/native/channel/setChannelSlowmode.ts +++ b/src/native/channel/setChannelSlowmode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/setChannelTopic.ts b/src/native/channel/setChannelTopic.ts index f3f396af66..83a6bcf84d 100644 --- a/src/native/channel/setChannelTopic.ts +++ b/src/native/channel/setChannelTopic.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/setDefaultForumLayout.ts b/src/native/channel/setDefaultForumLayout.ts index 32cf831a40..a95dc12d29 100644 --- a/src/native/channel/setDefaultForumLayout.ts +++ b/src/native/channel/setDefaultForumLayout.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, ForumChannel, ForumLayoutType } from "discord.js" diff --git a/src/native/channel/setDefaultReactionEmoji.ts b/src/native/channel/setDefaultReactionEmoji.ts index 734ee13f82..ec5655b282 100644 --- a/src/native/channel/setDefaultReactionEmoji.ts +++ b/src/native/channel/setDefaultReactionEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, DefaultReactionEmoji, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/setDefaultSortOrder.ts b/src/native/channel/setDefaultSortOrder.ts index f61da74723..a8ebc84644 100644 --- a/src/native/channel/setDefaultSortOrder.ts +++ b/src/native/channel/setDefaultSortOrder.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, SortOrderType, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/setDefaultThreadArchiveDuration.ts b/src/native/channel/setDefaultThreadArchiveDuration.ts index 409f909483..c9318bc2de 100644 --- a/src/native/channel/setDefaultThreadArchiveDuration.ts +++ b/src/native/channel/setDefaultThreadArchiveDuration.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadAutoArchiveDuration, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/setDefaultThreadSlowmode.ts b/src/native/channel/setDefaultThreadSlowmode.ts index 33e1cee1d9..8674f3c249 100644 --- a/src/native/channel/setDefaultThreadSlowmode.ts +++ b/src/native/channel/setDefaultThreadSlowmode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadOnlyChannel } from "discord.js" diff --git a/src/native/channel/setPostTags.ts b/src/native/channel/setPostTags.ts index 6cb64e3638..7b562c5b69 100644 --- a/src/native/channel/setPostTags.ts +++ b/src/native/channel/setPostTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/setThreadArchiveDuration.ts b/src/native/channel/setThreadArchiveDuration.ts index 5a9a298b74..34d57db53d 100644 --- a/src/native/channel/setThreadArchiveDuration.ts +++ b/src/native/channel/setThreadArchiveDuration.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadAutoArchiveDuration, ThreadChannel } from "discord.js" diff --git a/src/native/channel/setVoiceBitrate.ts b/src/native/channel/setVoiceBitrate.ts index 921b6ed3d6..81f0af749f 100644 --- a/src/native/channel/setVoiceBitrate.ts +++ b/src/native/channel/setVoiceBitrate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/channel/setVoiceDeaf.ts b/src/native/channel/setVoiceDeaf.ts index 4d4baa77dd..655faa316f 100644 --- a/src/native/channel/setVoiceDeaf.ts +++ b/src/native/channel/setVoiceDeaf.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/channel/setVoiceMute.ts b/src/native/channel/setVoiceMute.ts index 8270cd34e5..88f10a3fe5 100644 --- a/src/native/channel/setVoiceMute.ts +++ b/src/native/channel/setVoiceMute.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/channel/setVoiceRegion.ts b/src/native/channel/setVoiceRegion.ts index 112543e688..5c851afbc9 100644 --- a/src/native/channel/setVoiceRegion.ts +++ b/src/native/channel/setVoiceRegion.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, VoiceChannel } from "discord.js" diff --git a/src/native/channel/setVoiceUndeaf.ts b/src/native/channel/setVoiceUndeaf.ts index b8702f64cf..4f773c2839 100644 --- a/src/native/channel/setVoiceUndeaf.ts +++ b/src/native/channel/setVoiceUndeaf.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/channel/setVoiceUnmute.ts b/src/native/channel/setVoiceUnmute.ts index 5075635d79..cb639d1fa7 100644 --- a/src/native/channel/setVoiceUnmute.ts +++ b/src/native/channel/setVoiceUnmute.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/channel/setVoiceUserLimit.ts b/src/native/channel/setVoiceUserLimit.ts index 61879ee2f5..142b1b64d5 100644 --- a/src/native/channel/setVoiceUserLimit.ts +++ b/src/native/channel/setVoiceUserLimit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/channel/setVoiceVideoQuality.ts b/src/native/channel/setVoiceVideoQuality.ts index ff48fc6e5f..30a72e0cac 100644 --- a/src/native/channel/setVoiceVideoQuality.ts +++ b/src/native/channel/setVoiceVideoQuality.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/channel/startTyping.ts b/src/native/channel/startTyping.ts index 2a8c56f900..dddbb2e161 100644 --- a/src/native/channel/startTyping.ts +++ b/src/native/channel/startTyping.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/channel/threadIsArchived.ts b/src/native/channel/threadIsArchived.ts index 5d5665d915..eda43ab8b6 100644 --- a/src/native/channel/threadIsArchived.ts +++ b/src/native/channel/threadIsArchived.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/threadIsLocked.ts b/src/native/channel/threadIsLocked.ts new file mode 100644 index 0000000000..6505bf7c85 --- /dev/null +++ b/src/native/channel/threadIsLocked.ts @@ -0,0 +1,34 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { BaseChannel, ThreadChannel } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$threadIsLocked", + version: "2.7.0", + aliases: [ + "$isLocked", + "$threadLocked" + ], + description: "Returns whether a thread is locked", + brackets: false, + unwrap: true, + args: [ + { + name: "channel ID", + description: "The thread to check if its locked", + rest: false, + required: true, + type: ArgType.Channel, + check: (i: BaseChannel) => i.isThread(), + } + ], + output: ArgType.Boolean, + async execute(ctx, [channel]) { + const thread = (channel ?? ctx.channel) as ThreadChannel + return this.success(!!thread?.locked) + }, +}) diff --git a/src/native/channel/threadOwnerID.ts b/src/native/channel/threadOwnerID.ts index d2c1fda773..fddfdbc5a2 100644 --- a/src/native/channel/threadOwnerID.ts +++ b/src/native/channel/threadOwnerID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/threadStarterMessageID.ts b/src/native/channel/threadStarterMessageID.ts index b2f0cdeb5f..6a240b96e0 100644 --- a/src/native/channel/threadStarterMessageID.ts +++ b/src/native/channel/threadStarterMessageID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, Message, ThreadChannel } from "discord.js" diff --git a/src/native/channel/threadTotalMessagesSent.ts b/src/native/channel/threadTotalMessagesSent.ts index 2284b2c1a6..03094634b2 100644 --- a/src/native/channel/threadTotalMessagesSent.ts +++ b/src/native/channel/threadTotalMessagesSent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/transcript.ts b/src/native/channel/transcript.ts index a4c7e5088c..3a97c4209e 100644 --- a/src/native/channel/transcript.ts +++ b/src/native/channel/transcript.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/channel/unarchiveThread.ts b/src/native/channel/unarchiveThread.ts index 13a8dbee05..f0658d1667 100644 --- a/src/native/channel/unarchiveThread.ts +++ b/src/native/channel/unarchiveThread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/channel/unlockThread.ts b/src/native/channel/unlockThread.ts index b76e57a860..82adeb4c68 100644 --- a/src/native/channel/unlockThread.ts +++ b/src/native/channel/unlockThread.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ThreadChannel } from "discord.js" diff --git a/src/native/command/commandCount.ts b/src/native/command/commandCount.ts index 09d0951093..353edfe5f3 100644 --- a/src/native/command/commandCount.ts +++ b/src/native/command/commandCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/command/commandInfo.ts b/src/native/command/commandInfo.ts index 12e767b943..e27f61e983 100644 --- a/src/native/command/commandInfo.ts +++ b/src/native/command/commandInfo.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ClientEvents, Events } from "discord.js" diff --git a/src/native/command/commandName.ts b/src/native/command/commandName.ts index fe765b2449..9948086a49 100644 --- a/src/native/command/commandName.ts +++ b/src/native/command/commandName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/command/commandNames.ts b/src/native/command/commandNames.ts index 6c82307b87..0b8afeb65b 100644 --- a/src/native/command/commandNames.ts +++ b/src/native/command/commandNames.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ClientEvents } from "discord.js" diff --git a/src/native/command/deleteCommand.ts b/src/native/command/deleteCommand.ts index 8c5bbd8c91..c7c646aca8 100644 --- a/src/native/command/deleteCommand.ts +++ b/src/native/command/deleteCommand.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/component/addActionRow.ts b/src/native/component/addActionRow.ts index 5cb56a759c..506265b2db 100644 --- a/src/native/component/addActionRow.ts +++ b/src/native/component/addActionRow.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder } from "discord.js" -import { NativeFunction, Return } from "../../structures" +import { NativeFunction } from "../../structures" import { addActionRow } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/addActionRowTo.ts b/src/native/component/addActionRowTo.ts index 968383fc04..4fb5927a9a 100644 --- a/src/native/component/addActionRowTo.ts +++ b/src/native/component/addActionRowTo.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, createComponentBuilder } from "discord.js" -import { ArgType, Container, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" +import { ArgType, Container, IExtendedCompiledFunctionField, NativeFunction } from "../../structures" import { addActionRow } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/addButton.ts b/src/native/component/addButton.ts index bba2bc97eb..02f4f55286 100644 --- a/src/native/component/addButton.ts +++ b/src/native/component/addButton.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ButtonBuilder, ButtonStyle, ComponentType } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { resolveNumericEnum } from "../../functions/enum" export default new NativeFunction({ diff --git a/src/native/component/addButtonTo.ts b/src/native/component/addButtonTo.ts index 8d7271cfd5..2d8b283c75 100644 --- a/src/native/component/addButtonTo.ts +++ b/src/native/component/addButtonTo.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ButtonBuilder, ButtonStyle, createComponentBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { resolveNumericEnum } from "../../functions/enum" export default new NativeFunction({ diff --git a/src/native/component/addChannelSelectMenu.ts b/src/native/component/addChannelSelectMenu.ts index c5da80fbe2..20a9114bed 100644 --- a/src/native/component/addChannelSelectMenu.ts +++ b/src/native/component/addChannelSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelSelectMenuBuilder, ComponentType } from "discord.js" @@ -45,17 +45,16 @@ export default new NativeFunction({ type: ArgType.Boolean }, { - name: "default channels", - rest: true, - type: ArgType.String, - description: "The default selected channels to use" - } + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: ArgType.Boolean, + }, ], - execute(ctx, [ id, placeholder, min, max, disabled, channels ]) { + execute(ctx, [ id, placeholder, min, max, disabled, required ]) { const menu = new ChannelSelectMenuBuilder() - .setDefaultChannels(channels) .setDisabled(disabled || false) - .setRequired(ctx.component.required) + .setRequired(required || false) .setCustomId(id) if (placeholder) menu.setPlaceholder(placeholder) diff --git a/src/native/component/addChannelSelectMenuTo.ts b/src/native/component/addChannelSelectMenuTo.ts index dbba390a2e..76dddb879d 100644 --- a/src/native/component/addChannelSelectMenuTo.ts +++ b/src/native/component/addChannelSelectMenuTo.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ChannelSelectMenuBuilder, createComponentBuilder } from "discord.js" diff --git a/src/native/component/addChannelType.ts b/src/native/component/addChannelType.ts index e17d7cf1cf..5eeb98487c 100644 --- a/src/native/component/addChannelType.ts +++ b/src/native/component/addChannelType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelSelectMenuBuilder, ChannelType } from "discord.js" diff --git a/src/native/component/addCheckbox.ts b/src/native/component/addCheckbox.ts new file mode 100644 index 0000000000..26555ecf41 --- /dev/null +++ b/src/native/component/addCheckbox.ts @@ -0,0 +1,38 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { CheckboxBuilder } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$addCheckbox", + version: "2.7.0", + description: "Adds a new checkbox component to the newest modal label", + unwrap: true, + brackets: true, + args: [ + { + name: "custom ID", + description: "The custom id for this field", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "default", + description: "Whether this field is checked by default", + rest: false, + type: ArgType.Boolean, + }, + ], + execute(ctx, [id, def]) { + const field = new CheckboxBuilder().setCustomId(id) + if (typeof def === "boolean") field.setDefault(def) + + ctx.component.label?.setCheckboxComponent(field) + + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/component/addCheckboxGroup.ts b/src/native/component/addCheckboxGroup.ts new file mode 100644 index 0000000000..69431348b7 --- /dev/null +++ b/src/native/component/addCheckboxGroup.ts @@ -0,0 +1,54 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { CheckboxGroupBuilder } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$addCheckboxGroup", + version: "2.7.0", + description: "Adds a new checkbox group component to the newest modal label", + unwrap: true, + brackets: true, + args: [ + { + name: "custom ID", + description: "The custom id for this field", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "min options", + description: "The min options that can be selected", + rest: false, + type: ArgType.Number, + }, + { + name: "max options", + description: "The max options that can be selected", + rest: false, + type: ArgType.Number, + }, + { + name: "required", + description: "Whether selecting an option is required", + rest: false, + type: ArgType.Boolean, + }, + ], + execute(ctx, [id, min, max, required]) { + const field = new CheckboxGroupBuilder() + .setCustomId(id) + .setRequired(required || false) + + if (min) field.setMinValues(min) + if (max) field.setMaxValues(max) + + ctx.component.label?.setCheckboxGroupComponent(field) + + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/component/addCheckboxOption.ts b/src/native/component/addCheckboxOption.ts new file mode 100644 index 0000000000..b29bd3675b --- /dev/null +++ b/src/native/component/addCheckboxOption.ts @@ -0,0 +1,57 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { CheckboxGroupBuilder, CheckboxGroupOptionBuilder } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" +import { getLastComponent } from "../../functions/components" + +export default new NativeFunction({ + name: "$addCheckboxOption", + version: "2.7.0", + description: "Adds a new option to the newest checkbox group component", + unwrap: true, + brackets: true, + args: [ + { + name: "name", + description: "The option name", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "value", + description: "The value to use for this option", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "description", + description: "The description for this option", + rest: false, + type: ArgType.String, + required: false, + }, + { + name: "default", + description: "Whether to set this option as default", + rest: false, + type: ArgType.Boolean, + }, + ], + execute(ctx, [name, value, desc, def]) { + const comp = getLastComponent(ctx) + const field = new CheckboxGroupOptionBuilder() + .setLabel(name) + .setValue(value) + .setDefault(def || false) + + if (desc) field.setDescription(desc) + if (comp instanceof CheckboxGroupBuilder) comp.addOptions(field) + + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/component/addChoice.ts b/src/native/component/addChoice.ts index 148544fd05..d1cb49b352 100644 --- a/src/native/component/addChoice.ts +++ b/src/native/component/addChoice.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addChoice", diff --git a/src/native/component/addContainer.ts b/src/native/component/addContainer.ts index a095c6d75e..2fdbdb1329 100644 --- a/src/native/component/addContainer.ts +++ b/src/native/component/addContainer.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, ContainerBuilder } from "discord.js" -import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" +import { ArgType, IExtendedCompiledFunctionField, NativeFunction } from "../../structures" import { addActionRow } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/addDefaultChannelOption.ts b/src/native/component/addDefaultChannelOption.ts index 4a9587b509..f75fbdc481 100644 --- a/src/native/component/addDefaultChannelOption.ts +++ b/src/native/component/addDefaultChannelOption.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelSelectMenuBuilder } from "discord.js" diff --git a/src/native/component/addDefaultRoleOption.ts b/src/native/component/addDefaultRoleOption.ts index fd73b870fb..1fe8060be0 100644 --- a/src/native/component/addDefaultRoleOption.ts +++ b/src/native/component/addDefaultRoleOption.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MentionableSelectMenuBuilder, RoleSelectMenuBuilder } from "discord.js" diff --git a/src/native/component/addDefaultUserOption.ts b/src/native/component/addDefaultUserOption.ts index e18857b917..291d236a7c 100644 --- a/src/native/component/addDefaultUserOption.ts +++ b/src/native/component/addDefaultUserOption.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MentionableSelectMenuBuilder, UserSelectMenuBuilder } from "discord.js" diff --git a/src/native/component/addFile.ts b/src/native/component/addFile.ts index 7738dc5b4b..9b49fe90a6 100644 --- a/src/native/component/addFile.ts +++ b/src/native/component/addFile.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, ContainerBuilder, FileBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { addActionRow } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/addFileUpload.ts b/src/native/component/addFileUpload.ts index 8a74788759..09cd3ce8b8 100644 --- a/src/native/component/addFileUpload.ts +++ b/src/native/component/addFileUpload.ts @@ -1,15 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { FileUploadBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addFileUpload", version: "2.6.0", - description: "Adds a new file upload component to the modal label", + description: "Adds a new file upload component to the newest modal label", unwrap: true, brackets: true, args: [ @@ -32,11 +32,17 @@ export default new NativeFunction({ rest: false, type: ArgType.Number, }, + { + name: "required", + description: "Whether this field is required", + rest: false, + type: ArgType.Boolean, + }, ], - execute(ctx, [id, min, max]) { + execute(ctx, [id, min, max, required]) { const field = new FileUploadBuilder() .setCustomId(id) - .setRequired(ctx.component.required) + .setRequired(required || false) if (min) field.setMinValues(min) if (max) field.setMaxValues(max) diff --git a/src/native/component/addLabel.ts b/src/native/component/addLabel.ts index e375bdcd69..e0f0f39901 100644 --- a/src/native/component/addLabel.ts +++ b/src/native/component/addLabel.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, LabelBuilder } from "discord.js" -import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" +import { ArgType, IExtendedCompiledFunctionField, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addLabel", @@ -20,13 +20,6 @@ export default new NativeFunction({ required: true, type: ArgType.String, }, - { - name: "component", - description: "The component to attach to the label", - rest: false, - required: true, - type: ArgType.String, - }, { name: "description", description: "The description for the label", @@ -34,27 +27,27 @@ export default new NativeFunction({ type: ArgType.String, }, { - name: "required", - description: "Whether this field is required", + name: "component", + description: "The component to attach to the label", rest: false, - type: ArgType.Boolean, + required: true, + type: ArgType.String, }, ], async execute(ctx) { if (!ctx.interaction) return this.success() ctx.container.inside.push(ComponentType.Label) - const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 2, 3) + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 0, 1) if (!this["isValidReturnType"](rt)) return rt - const [ name, desc, required ] = args + const [name, desc] = args const label = new LabelBuilder().setLabel(name) if (desc) label.setDescription(desc) ctx.component.label = label - ctx.component.required = required || false - const code = this.data.fields![1] as IExtendedCompiledFunctionField + const code = this.data.fields![2] as IExtendedCompiledFunctionField const resolved = await this["resolveCode"](ctx, code) if (!this["isValidReturnType"](resolved)) return resolved diff --git a/src/native/component/addMediaGallery.ts b/src/native/component/addMediaGallery.ts index 5e9405e1e2..d65e6379dc 100644 --- a/src/native/component/addMediaGallery.ts +++ b/src/native/component/addMediaGallery.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" +import { ArgType, IExtendedCompiledFunctionField, NativeFunction } from "../../structures" import { addActionRow } from "../../functions/components" import { ComponentType, ContainerBuilder, MediaGalleryBuilder } from "discord.js" diff --git a/src/native/component/addMediaItem.ts b/src/native/component/addMediaItem.ts index b36906895e..bd876eb4fa 100644 --- a/src/native/component/addMediaItem.ts +++ b/src/native/component/addMediaItem.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MediaGalleryItemBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addMediaItem", diff --git a/src/native/component/addMentionableSelectMenu.ts b/src/native/component/addMentionableSelectMenu.ts index ce23da681a..951c1b4e5b 100644 --- a/src/native/component/addMentionableSelectMenu.ts +++ b/src/native/component/addMentionableSelectMenu.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ComponentType, MentionableSelectMenuBuilder, SelectMenuDefaultValueType, User } from "discord.js" +import { ComponentType, MentionableSelectMenuBuilder } from "discord.js" import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ @@ -46,23 +46,17 @@ export default new NativeFunction({ type: ArgType.Boolean }, { - name: "default roles/users", - rest: true, - type: ArgType.RoleOrUser, - description: "The default selected roles or users to use", - } + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: ArgType.Boolean, + }, ], - execute(ctx, [ id, placeholder, min, max, disabled, defaults ]) { + execute(ctx, [ id, placeholder, min, max, disabled, required ]) { const menu = new MentionableSelectMenuBuilder() .setDisabled(disabled || false) - .setRequired(ctx.component.required) + .setRequired(required || false) .setCustomId(id) - .setDefaultValues(defaults.map(x => { - return { - id: x.id, - type: x instanceof User ? SelectMenuDefaultValueType.User : SelectMenuDefaultValueType.Role - } - })) if (placeholder) menu.setPlaceholder(placeholder) if (min) menu.setMinValues(min) diff --git a/src/native/component/addMentionableSelectMenuTo.ts b/src/native/component/addMentionableSelectMenuTo.ts index 43c74f8880..6d8096d0c2 100644 --- a/src/native/component/addMentionableSelectMenuTo.ts +++ b/src/native/component/addMentionableSelectMenuTo.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, createComponentBuilder, MentionableSelectMenuBuilder, SelectMenuDefaultValueType, User } from "discord.js" diff --git a/src/native/component/addOption.ts b/src/native/component/addOption.ts index fef9db41f7..71850b7c99 100644 --- a/src/native/component/addOption.ts +++ b/src/native/component/addOption.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APISelectMenuOption, BaseSelectMenuBuilder, parseEmoji } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { getLastComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/addRadioGroup.ts b/src/native/component/addRadioGroup.ts new file mode 100644 index 0000000000..7559ccc597 --- /dev/null +++ b/src/native/component/addRadioGroup.ts @@ -0,0 +1,39 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { RadioGroupBuilder } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$addRadioGroup", + version: "2.7.0", + description: "Adds a new radio group component to the newest modal label", + unwrap: true, + brackets: true, + args: [ + { + name: "custom ID", + description: "The custom id for this field", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "required", + description: "Whether selecting an option is required", + rest: false, + type: ArgType.Boolean, + }, + ], + execute(ctx, [id, required]) { + const field = new RadioGroupBuilder() + .setCustomId(id) + .setRequired(required || false) + + ctx.component.label?.setRadioGroupComponent(field) + + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/component/addRadioOption.ts b/src/native/component/addRadioOption.ts new file mode 100644 index 0000000000..59bfb247bb --- /dev/null +++ b/src/native/component/addRadioOption.ts @@ -0,0 +1,57 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { RadioGroupBuilder, RadioGroupOptionBuilder } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" +import { getLastComponent } from "../../functions/components" + +export default new NativeFunction({ + name: "$addRadioOption", + version: "2.7.0", + description: "Adds a new option to the newest radio group component", + unwrap: true, + brackets: true, + args: [ + { + name: "name", + description: "The option name", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "value", + description: "The value to use for this option", + rest: false, + required: true, + type: ArgType.String, + }, + { + name: "description", + description: "The description for this option", + rest: false, + type: ArgType.String, + required: false, + }, + { + name: "default", + description: "Whether to set this option as default", + rest: false, + type: ArgType.Boolean, + }, + ], + execute(ctx, [name, value, desc, def]) { + const comp = getLastComponent(ctx) + const field = new RadioGroupOptionBuilder() + .setLabel(name) + .setValue(value) + .setDefault(def || false) + + if (desc) field.setDescription(desc) + if (comp instanceof RadioGroupBuilder) comp.addOptions(field) + + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/component/addRoleSelectMenu.ts b/src/native/component/addRoleSelectMenu.ts index a9fefcff37..ba6e9cf738 100644 --- a/src/native/component/addRoleSelectMenu.ts +++ b/src/native/component/addRoleSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, RoleSelectMenuBuilder } from "discord.js" @@ -46,17 +46,16 @@ export default new NativeFunction({ type: ArgType.Boolean }, { - name: "default roles", - rest: true, - type: ArgType.String, - description: "The default selected roles to use", - } + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: ArgType.Boolean, + }, ], - execute(ctx, [ id, placeholder, min, max, disabled, roles ]) { + execute(ctx, [ id, placeholder, min, max, disabled, required ]) { const menu = new RoleSelectMenuBuilder() - .setDefaultRoles(roles) .setDisabled(disabled || false) - .setRequired(ctx.component.required) + .setRequired(required || false) .setCustomId(id) if (placeholder) menu.setPlaceholder(placeholder) diff --git a/src/native/component/addRoleSelectMenuTo.ts b/src/native/component/addRoleSelectMenuTo.ts index b0c32dc544..7bb620b2ea 100644 --- a/src/native/component/addRoleSelectMenuTo.ts +++ b/src/native/component/addRoleSelectMenuTo.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, createComponentBuilder, RoleSelectMenuBuilder } from "discord.js" diff --git a/src/native/component/addSection.ts b/src/native/component/addSection.ts index eaa54f7262..653787aa5b 100644 --- a/src/native/component/addSection.ts +++ b/src/native/component/addSection.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" +import { ArgType, IExtendedCompiledFunctionField, NativeFunction } from "../../structures" import { addActionRow } from "../../functions/components" import { ComponentType, ContainerBuilder, SectionBuilder } from "discord.js" diff --git a/src/native/component/addSeparator.ts b/src/native/component/addSeparator.ts index 1a7cf62a27..4fc1f4be67 100644 --- a/src/native/component/addSeparator.ts +++ b/src/native/component/addSeparator.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, ContainerBuilder, SeparatorBuilder, SeparatorSpacingSize } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { addActionRow } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/addStringSelectMenu.ts b/src/native/component/addStringSelectMenu.ts index f5ddf62ffb..4514c34c53 100644 --- a/src/native/component/addStringSelectMenu.ts +++ b/src/native/component/addStringSelectMenu.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, StringSelectMenuBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addStringSelectMenu", @@ -44,12 +44,18 @@ export default new NativeFunction({ rest: false, type: ArgType.Number, }, + { + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: ArgType.Boolean, + }, ], - execute(ctx, [id, placeholder, disabled, min, max]) { + execute(ctx, [id, placeholder, disabled, min, max, required]) { const menu = new StringSelectMenuBuilder() .setCustomId(id) .setDisabled(disabled || false) - .setRequired(ctx.component.required) + .setRequired(required || false) if (placeholder) menu.setPlaceholder(placeholder) if (min) menu.setMinValues(min) diff --git a/src/native/component/addStringSelectMenuTo.ts b/src/native/component/addStringSelectMenuTo.ts index 815bf0dcbd..299dece6d3 100644 --- a/src/native/component/addStringSelectMenuTo.ts +++ b/src/native/component/addStringSelectMenuTo.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, createComponentBuilder, StringSelectMenuBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addStringSelectMenuTo", diff --git a/src/native/component/addTextDisplay.ts b/src/native/component/addTextDisplay.ts index db8475b932..afc232833b 100644 --- a/src/native/component/addTextDisplay.ts +++ b/src/native/component/addTextDisplay.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, ContainerBuilder, TextDisplayBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { addActionRow } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/addTextInput.ts b/src/native/component/addTextInput.ts index c54ccee96f..ff61ef7714 100644 --- a/src/native/component/addTextInput.ts +++ b/src/native/component/addTextInput.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, LabelBuilder, TextInputBuilder, TextInputStyle } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addTextInput", @@ -69,7 +69,7 @@ export default new NativeFunction({ const field = new TextInputBuilder() .setCustomId(id) .setStyle(type || TextInputStyle.Paragraph) - .setRequired(ctx.component.required || required || false) + .setRequired(required || false) if (placeholder) field.setPlaceholder(placeholder) if (value) field.setValue(value) diff --git a/src/native/component/addThumbnail.ts b/src/native/component/addThumbnail.ts index 2c5ca83c21..ad65773087 100644 --- a/src/native/component/addThumbnail.ts +++ b/src/native/component/addThumbnail.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ThumbnailBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addThumbnail", diff --git a/src/native/component/addUserSelectMenu.ts b/src/native/component/addUserSelectMenu.ts index dc2ee319e8..8a333b66bb 100644 --- a/src/native/component/addUserSelectMenu.ts +++ b/src/native/component/addUserSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ComponentType, UserSelectMenuBuilder } from "discord.js" @@ -46,17 +46,16 @@ export default new NativeFunction({ type: ArgType.Boolean }, { - name: "default users", - rest: true, - type: ArgType.String, - description: "The default selected users to use", - } + name: "required", + description: "Whether this menu is required inside a modal", + rest: false, + type: ArgType.Boolean, + }, ], - execute(ctx, [ id, placeholder, min, max, disabled, users ]) { + execute(ctx, [ id, placeholder, min, max, disabled, required ]) { const menu = new UserSelectMenuBuilder() - .setDefaultUsers(users) .setDisabled(disabled || false) - .setRequired(ctx.component.required) + .setRequired(required || false) .setCustomId(id) if (placeholder) menu.setPlaceholder(placeholder) diff --git a/src/native/component/addUserSelectMenuTo.ts b/src/native/component/addUserSelectMenuTo.ts index 5617cb9be4..b38bac82c1 100644 --- a/src/native/component/addUserSelectMenuTo.ts +++ b/src/native/component/addUserSelectMenuTo.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, createComponentBuilder, UserSelectMenuBuilder } from "discord.js" diff --git a/src/native/component/deleteActionRow.ts b/src/native/component/deleteActionRow.ts index c17e75f502..55609ade48 100644 --- a/src/native/component/deleteActionRow.ts +++ b/src/native/component/deleteActionRow.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$deleteActionRow", diff --git a/src/native/component/deleteActionRowFrom.ts b/src/native/component/deleteActionRowFrom.ts index 6bcca9485e..1d0bddae42 100644 --- a/src/native/component/deleteActionRowFrom.ts +++ b/src/native/component/deleteActionRowFrom.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { createComponentBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$deleteActionRowFrom", diff --git a/src/native/component/deleteComponent.ts b/src/native/component/deleteComponent.ts index c2b1aaa754..1f0885d004 100644 --- a/src/native/component/deleteComponent.ts +++ b/src/native/component/deleteComponent.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$deleteComponent", diff --git a/src/native/component/deleteComponentFrom.ts b/src/native/component/deleteComponentFrom.ts index b1db464ec1..b4f3b73acd 100644 --- a/src/native/component/deleteComponentFrom.ts +++ b/src/native/component/deleteComponentFrom.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRow, ActionRowBuilder, ButtonBuilder, MessageActionRowComponent } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$deleteComponentFrom", diff --git a/src/native/component/disableButtons.ts b/src/native/component/disableButtons.ts index e9fa0f2bf6..1481e2a85f 100644 --- a/src/native/component/disableButtons.ts +++ b/src/native/component/disableButtons.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ButtonBuilder, ActionRowBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$disableButtons", diff --git a/src/native/component/disableButtonsOf.ts b/src/native/component/disableButtonsOf.ts index 06a3412053..96ccaca125 100644 --- a/src/native/component/disableButtonsOf.ts +++ b/src/native/component/disableButtonsOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ButtonBuilder, ActionRowBuilder, ActionRow, MessageActionRowComponent } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$disableButtonsOf", diff --git a/src/native/component/disableComponents.ts b/src/native/component/disableComponents.ts index 1b563894a1..6701fb0e4d 100644 --- a/src/native/component/disableComponents.ts +++ b/src/native/component/disableComponents.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { NativeFunction } from "../../structures" export default new NativeFunction({ name: "$disableComponents", diff --git a/src/native/component/disableComponentsOf.ts b/src/native/component/disableComponentsOf.ts index 42345208ee..522be3ae8c 100644 --- a/src/native/component/disableComponentsOf.ts +++ b/src/native/component/disableComponentsOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRow, ActionRowBuilder, MessageActionRowComponent, MessageActionRowComponentBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$disableComponentsOf", diff --git a/src/native/component/editButton.ts b/src/native/component/editButton.ts index 3e48f34034..b70773ae59 100644 --- a/src/native/component/editButton.ts +++ b/src/native/component/editButton.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ButtonBuilder, ButtonStyle, ContainerBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { resolveNumericEnum } from "../../functions/enum" export default new NativeFunction({ diff --git a/src/native/component/editButtonOf.ts b/src/native/component/editButtonOf.ts index 49a14a576d..050fa406ae 100644 --- a/src/native/component/editButtonOf.ts +++ b/src/native/component/editButtonOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRow, ActionRowBuilder, ButtonBuilder, ButtonStyle, MessageActionRowComponent } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { resolveNumericEnum } from "../../functions/enum" export default new NativeFunction({ diff --git a/src/native/component/editChannelSelectMenu.ts b/src/native/component/editChannelSelectMenu.ts index 855fb53ad2..127f3a7ce6 100644 --- a/src/native/component/editChannelSelectMenu.ts +++ b/src/native/component/editChannelSelectMenu.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ChannelSelectMenuBuilder, ContainerBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/editChannelSelectMenuOf.ts b/src/native/component/editChannelSelectMenuOf.ts index d4004a99d2..da465ac1b7 100644 --- a/src/native/component/editChannelSelectMenuOf.ts +++ b/src/native/component/editChannelSelectMenuOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ChannelSelectMenuBuilder, ContainerBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/editMentionableSelectMenu.ts b/src/native/component/editMentionableSelectMenu.ts index 65afb29195..5daba5e1fd 100644 --- a/src/native/component/editMentionableSelectMenu.ts +++ b/src/native/component/editMentionableSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, MentionableSelectMenuBuilder, SelectMenuDefaultValueType, User } from "discord.js" diff --git a/src/native/component/editMentionableSelectMenuOf.ts b/src/native/component/editMentionableSelectMenuOf.ts index 3eba6bc7f7..9f7cb30c45 100644 --- a/src/native/component/editMentionableSelectMenuOf.ts +++ b/src/native/component/editMentionableSelectMenuOf.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, MentionableSelectMenuBuilder, SelectMenuDefaultValueType, User } from "discord.js" diff --git a/src/native/component/editOption.ts b/src/native/component/editOption.ts index 5ef9c6968f..8b57553589 100644 --- a/src/native/component/editOption.ts +++ b/src/native/component/editOption.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, StringSelectMenuBuilder, parseEmoji } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/editRoleSelectMenu.ts b/src/native/component/editRoleSelectMenu.ts index 9e6104e069..491a55a3d3 100644 --- a/src/native/component/editRoleSelectMenu.ts +++ b/src/native/component/editRoleSelectMenu.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, RoleSelectMenuBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/editRoleSelectMenuOf.ts b/src/native/component/editRoleSelectMenuOf.ts index 5a1a7ef2bc..d20361ee6c 100644 --- a/src/native/component/editRoleSelectMenuOf.ts +++ b/src/native/component/editRoleSelectMenuOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, RoleSelectMenuBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/editStringSelectMenu.ts b/src/native/component/editStringSelectMenu.ts index d541e7cfe7..0f902c99b4 100644 --- a/src/native/component/editStringSelectMenu.ts +++ b/src/native/component/editStringSelectMenu.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, StringSelectMenuBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/editStringSelectMenuOf.ts b/src/native/component/editStringSelectMenuOf.ts index 907f201c8a..dd3eab9bab 100644 --- a/src/native/component/editStringSelectMenuOf.ts +++ b/src/native/component/editStringSelectMenuOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, StringSelectMenuBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/editUserSelectMenu.ts b/src/native/component/editUserSelectMenu.ts index 72f24f882e..07d21303eb 100644 --- a/src/native/component/editUserSelectMenu.ts +++ b/src/native/component/editUserSelectMenu.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, UserSelectMenuBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/editUserSelectMenuOf.ts b/src/native/component/editUserSelectMenuOf.ts index 59f8fe9f54..0660b1322c 100644 --- a/src/native/component/editUserSelectMenuOf.ts +++ b/src/native/component/editUserSelectMenuOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder, ContainerBuilder, UserSelectMenuBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { buildComponent } from "../../functions/components" export default new NativeFunction({ diff --git a/src/native/component/enableButtons.ts b/src/native/component/enableButtons.ts index 815a9c4b28..968dbb45b1 100644 --- a/src/native/component/enableButtons.ts +++ b/src/native/component/enableButtons.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ButtonBuilder, ActionRowBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$enableButtons", diff --git a/src/native/component/enableButtonsOf.ts b/src/native/component/enableButtonsOf.ts index 0006f0e9d9..1f90ec90af 100644 --- a/src/native/component/enableButtonsOf.ts +++ b/src/native/component/enableButtonsOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ButtonBuilder, ActionRowBuilder, ActionRow, MessageActionRowComponent } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$enableButtonsOf", diff --git a/src/native/component/enableComponents.ts b/src/native/component/enableComponents.ts index e69c272cd4..a2cd6b2d88 100644 --- a/src/native/component/enableComponents.ts +++ b/src/native/component/enableComponents.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRowBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { NativeFunction } from "../../structures" export default new NativeFunction({ name: "$enableComponents", diff --git a/src/native/component/enableComponentsOf.ts b/src/native/component/enableComponentsOf.ts index 12e49d0735..4e7fc3f909 100644 --- a/src/native/component/enableComponentsOf.ts +++ b/src/native/component/enableComponentsOf.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRow, ActionRowBuilder, MessageActionRowComponent, MessageActionRowComponentBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$enableComponentsOf", diff --git a/src/native/component/setChannelType.ts b/src/native/component/setChannelType.ts index bf4bcc5e57..c5bd91269e 100644 --- a/src/native/component/setChannelType.ts +++ b/src/native/component/setChannelType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelSelectMenuBuilder, ChannelType } from "discord.js" diff --git a/src/native/condition/and.ts b/src/native/condition/and.ts index 90caf4f1d8..0d834214f8 100644 --- a/src/native/condition/and.ts +++ b/src/native/condition/and.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionConditionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/condition/checkCondition.ts b/src/native/condition/checkCondition.ts index 8c00b5032e..161eaf45f8 100644 --- a/src/native/condition/checkCondition.ts +++ b/src/native/condition/checkCondition.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionConditionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/condition/isBoolean.ts b/src/native/condition/isBoolean.ts index 44b77491fc..7a6a0aba17 100644 --- a/src/native/condition/isBoolean.ts +++ b/src/native/condition/isBoolean.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/condition/isValidHex.ts b/src/native/condition/isValidHex.ts index 457aa7f881..0392999b16 100644 --- a/src/native/condition/isValidHex.ts +++ b/src/native/condition/isValidHex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/condition/isValidLink.ts b/src/native/condition/isValidLink.ts index 2eb44a8c0b..24674e0e5d 100644 --- a/src/native/condition/isValidLink.ts +++ b/src/native/condition/isValidLink.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/condition/or.ts b/src/native/condition/or.ts index 110ad2253d..c623db3272 100644 --- a/src/native/condition/or.ts +++ b/src/native/condition/or.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionConditionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/channelCooldown.ts b/src/native/cooldown/channelCooldown.ts index 00068db436..67241f08bf 100644 --- a/src/native/cooldown/channelCooldown.ts +++ b/src/native/cooldown/channelCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/cooldown.ts b/src/native/cooldown/cooldown.ts index 6837c6f2f2..fcee78fa5d 100644 --- a/src/native/cooldown/cooldown.ts +++ b/src/native/cooldown/cooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/deleteChannelCooldown.ts b/src/native/cooldown/deleteChannelCooldown.ts index 27d3c1e9a5..d02c15dcff 100644 --- a/src/native/cooldown/deleteChannelCooldown.ts +++ b/src/native/cooldown/deleteChannelCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/deleteCooldown.ts b/src/native/cooldown/deleteCooldown.ts index cac1fd1213..5f4b30e1b4 100644 --- a/src/native/cooldown/deleteCooldown.ts +++ b/src/native/cooldown/deleteCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/deleteGuildCooldown.ts b/src/native/cooldown/deleteGuildCooldown.ts index 0365e14968..308abfeeb9 100644 --- a/src/native/cooldown/deleteGuildCooldown.ts +++ b/src/native/cooldown/deleteGuildCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/deleteMemberCooldown.ts b/src/native/cooldown/deleteMemberCooldown.ts index aa4e9c8935..d6af321426 100644 --- a/src/native/cooldown/deleteMemberCooldown.ts +++ b/src/native/cooldown/deleteMemberCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/deleteUserCooldown.ts b/src/native/cooldown/deleteUserCooldown.ts index 546621bf03..82d037305f 100644 --- a/src/native/cooldown/deleteUserCooldown.ts +++ b/src/native/cooldown/deleteUserCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/getChannelCooldownTime.ts b/src/native/cooldown/getChannelCooldownTime.ts index 682ad7867b..3eacf21988 100644 --- a/src/native/cooldown/getChannelCooldownTime.ts +++ b/src/native/cooldown/getChannelCooldownTime.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/getCooldownTime.ts b/src/native/cooldown/getCooldownTime.ts index 386ee9814f..b7b9ab861c 100644 --- a/src/native/cooldown/getCooldownTime.ts +++ b/src/native/cooldown/getCooldownTime.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/getGuildCooldownTime.ts b/src/native/cooldown/getGuildCooldownTime.ts index b703c5fdd9..cadcc9f202 100644 --- a/src/native/cooldown/getGuildCooldownTime.ts +++ b/src/native/cooldown/getGuildCooldownTime.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/getMemberCooldownTime.ts b/src/native/cooldown/getMemberCooldownTime.ts index 2f08dffe2c..a038a54f3e 100644 --- a/src/native/cooldown/getMemberCooldownTime.ts +++ b/src/native/cooldown/getMemberCooldownTime.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/getUserCooldownTime.ts b/src/native/cooldown/getUserCooldownTime.ts index 869ba83e0f..206c508f63 100644 --- a/src/native/cooldown/getUserCooldownTime.ts +++ b/src/native/cooldown/getUserCooldownTime.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/guildCooldown.ts b/src/native/cooldown/guildCooldown.ts index e7333be825..aa1155bb81 100644 --- a/src/native/cooldown/guildCooldown.ts +++ b/src/native/cooldown/guildCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/memberCooldown.ts b/src/native/cooldown/memberCooldown.ts index ba3e54021b..4d3dd1f076 100644 --- a/src/native/cooldown/memberCooldown.ts +++ b/src/native/cooldown/memberCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/cooldown/userCooldown.ts b/src/native/cooldown/userCooldown.ts index 59c258c4c1..6150530b9a 100644 --- a/src/native/cooldown/userCooldown.ts +++ b/src/native/cooldown/userCooldown.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/crypto/createQueryParams.ts b/src/native/crypto/createQueryParams.ts index 08f4b76abb..3c24e9e81b 100644 --- a/src/native/crypto/createQueryParams.ts +++ b/src/native/crypto/createQueryParams.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/crypto/decodeURI.ts b/src/native/crypto/decodeURI.ts index 6f6f7d7f3f..4c6c207cae 100644 --- a/src/native/crypto/decodeURI.ts +++ b/src/native/crypto/decodeURI.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/crypto/decodeURIComponent.ts b/src/native/crypto/decodeURIComponent.ts index 9b30607c53..3938100459 100644 --- a/src/native/crypto/decodeURIComponent.ts +++ b/src/native/crypto/decodeURIComponent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/crypto/decrypt.ts b/src/native/crypto/decrypt.ts index b378bcee3e..11fc935ca8 100644 --- a/src/native/crypto/decrypt.ts +++ b/src/native/crypto/decrypt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { createDecipheriv } from "crypto" diff --git a/src/native/crypto/deflate.ts b/src/native/crypto/deflate.ts index 5ab7887341..a8e743cd92 100644 --- a/src/native/crypto/deflate.ts +++ b/src/native/crypto/deflate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { deflateSync, inflateSync } from "zlib" diff --git a/src/native/crypto/encodeURI.ts b/src/native/crypto/encodeURI.ts index 94c361a91f..6cbd2dd9a7 100644 --- a/src/native/crypto/encodeURI.ts +++ b/src/native/crypto/encodeURI.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/crypto/encodeURIComponent.ts b/src/native/crypto/encodeURIComponent.ts index 85f7fb1923..47f6612d9a 100644 --- a/src/native/crypto/encodeURIComponent.ts +++ b/src/native/crypto/encodeURIComponent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/crypto/encrypt.ts b/src/native/crypto/encrypt.ts index a71d11a2e2..c198cf7ffb 100644 --- a/src/native/crypto/encrypt.ts +++ b/src/native/crypto/encrypt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { createCipheriv, scryptSync } from "crypto" diff --git a/src/native/crypto/inflate.ts b/src/native/crypto/inflate.ts index fc56e2e4b0..99683aea00 100644 --- a/src/native/crypto/inflate.ts +++ b/src/native/crypto/inflate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { inflateSync } from "zlib" diff --git a/src/native/crypto/md5.ts b/src/native/crypto/md5.ts index 8080fe5caa..d307550260 100644 --- a/src/native/crypto/md5.ts +++ b/src/native/crypto/md5.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { createHash, randomUUID } from "crypto" diff --git a/src/native/crypto/randomBytes.ts b/src/native/crypto/randomBytes.ts index 084c173af7..3dd081e6e7 100644 --- a/src/native/crypto/randomBytes.ts +++ b/src/native/crypto/randomBytes.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { createCipheriv, createDecipheriv, randomBytes } from "crypto" diff --git a/src/native/crypto/sha256.ts b/src/native/crypto/sha256.ts index 57d7e00331..f94fc62b3a 100644 --- a/src/native/crypto/sha256.ts +++ b/src/native/crypto/sha256.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { createHash, randomUUID } from "crypto" diff --git a/src/native/crypto/sha512.ts b/src/native/crypto/sha512.ts index 17ed0ae126..b4bbd82de3 100644 --- a/src/native/crypto/sha512.ts +++ b/src/native/crypto/sha512.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { createHash, randomUUID } from "crypto" diff --git a/src/native/embed/addField.ts b/src/native/embed/addField.ts index b892e0daeb..d080417788 100644 --- a/src/native/embed/addField.ts +++ b/src/native/embed/addField.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EmbedField } from "discord.js" diff --git a/src/native/embed/author.ts b/src/native/embed/author.ts index 97f30c4371..6d7970cfed 100644 --- a/src/native/embed/author.ts +++ b/src/native/embed/author.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/embed/color.ts b/src/native/embed/color.ts index 9a1cacadb4..f9cfdd58ce 100644 --- a/src/native/embed/color.ts +++ b/src/native/embed/color.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ColorResolvable, Colors } from "discord.js" diff --git a/src/native/embed/deleteField.ts b/src/native/embed/deleteField.ts index d8155a4692..b2d000fe6a 100644 --- a/src/native/embed/deleteField.ts +++ b/src/native/embed/deleteField.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/embed/description.ts b/src/native/embed/description.ts index 6941382358..bdfe87d967 100644 --- a/src/native/embed/description.ts +++ b/src/native/embed/description.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/embed/editField.ts b/src/native/embed/editField.ts index 0dda176423..40dfbd69d9 100644 --- a/src/native/embed/editField.ts +++ b/src/native/embed/editField.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/embed/footer.ts b/src/native/embed/footer.ts index 8ddae5a838..2091c6df14 100644 --- a/src/native/embed/footer.ts +++ b/src/native/embed/footer.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/embed/image.ts b/src/native/embed/image.ts index 0724b86907..42e8116b5a 100644 --- a/src/native/embed/image.ts +++ b/src/native/embed/image.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/embed/thumbnail.ts b/src/native/embed/thumbnail.ts index cb1a2e86d9..8a76a9a63f 100644 --- a/src/native/embed/thumbnail.ts +++ b/src/native/embed/thumbnail.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/embed/timestamp.ts b/src/native/embed/timestamp.ts index 8fbfbb100d..5f2e2dccb7 100644 --- a/src/native/embed/timestamp.ts +++ b/src/native/embed/timestamp.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/embed/title.ts b/src/native/embed/title.ts index e5202c9d0c..363aa6e90d 100644 --- a/src/native/embed/title.ts +++ b/src/native/embed/title.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/addApplicationEmoji.ts b/src/native/emoji/addApplicationEmoji.ts index 6d00366384..d4724bd13a 100644 --- a/src/native/emoji/addApplicationEmoji.ts +++ b/src/native/emoji/addApplicationEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/addEmoji.ts b/src/native/emoji/addEmoji.ts index 0f7a3e8ad7..39b7e1dedb 100644 --- a/src/native/emoji/addEmoji.ts +++ b/src/native/emoji/addEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/deleteApplicationEmojis.ts b/src/native/emoji/deleteApplicationEmojis.ts index 7194bcb0a5..d0cfd6c82c 100644 --- a/src/native/emoji/deleteApplicationEmojis.ts +++ b/src/native/emoji/deleteApplicationEmojis.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/deleteEmojiMessageReactions.ts b/src/native/emoji/deleteEmojiMessageReactions.ts index 8b3b69abe5..7d4dc023ec 100644 --- a/src/native/emoji/deleteEmojiMessageReactions.ts +++ b/src/native/emoji/deleteEmojiMessageReactions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TextBasedChannel } from "discord.js" diff --git a/src/native/emoji/deleteEmojis.ts b/src/native/emoji/deleteEmojis.ts index e67046041d..515ee21796 100644 --- a/src/native/emoji/deleteEmojis.ts +++ b/src/native/emoji/deleteEmojis.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/editApplicationEmoji.ts b/src/native/emoji/editApplicationEmoji.ts index 6d31f48e45..9eec28ae65 100644 --- a/src/native/emoji/editApplicationEmoji.ts +++ b/src/native/emoji/editApplicationEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/editEmoji.ts b/src/native/emoji/editEmoji.ts index 02aabbe561..bef4bc2d6d 100644 --- a/src/native/emoji/editEmoji.ts +++ b/src/native/emoji/editEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emoji.ts b/src/native/emoji/emoji.ts index ea2e4a29ae..0be6d7490c 100644 --- a/src/native/emoji/emoji.ts +++ b/src/native/emoji/emoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiAnimated.ts b/src/native/emoji/emojiAnimated.ts index 314d542502..2a72636bba 100644 --- a/src/native/emoji/emojiAnimated.ts +++ b/src/native/emoji/emojiAnimated.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiAuthorID.ts b/src/native/emoji/emojiAuthorID.ts index fe6c1d72ee..bbd7d10989 100644 --- a/src/native/emoji/emojiAuthorID.ts +++ b/src/native/emoji/emojiAuthorID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { User } from "discord.js" diff --git a/src/native/emoji/emojiCount.ts b/src/native/emoji/emojiCount.ts index 92eead3280..a6ee6e6ff5 100644 --- a/src/native/emoji/emojiCount.ts +++ b/src/native/emoji/emojiCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiCreatedAt.ts b/src/native/emoji/emojiCreatedAt.ts index e54600cefd..20d9037504 100644 --- a/src/native/emoji/emojiCreatedAt.ts +++ b/src/native/emoji/emojiCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiExists.ts b/src/native/emoji/emojiExists.ts index 65d2ad47df..7fef05373f 100644 --- a/src/native/emoji/emojiExists.ts +++ b/src/native/emoji/emojiExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiGuildID.ts b/src/native/emoji/emojiGuildID.ts index 7a29c45b63..0ff6b86bc0 100644 --- a/src/native/emoji/emojiGuildID.ts +++ b/src/native/emoji/emojiGuildID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiID.ts b/src/native/emoji/emojiID.ts index 9ad7058588..9ce70383e3 100644 --- a/src/native/emoji/emojiID.ts +++ b/src/native/emoji/emojiID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiIDs.ts b/src/native/emoji/emojiIDs.ts index 73d973ef80..0d07d6a6ab 100644 --- a/src/native/emoji/emojiIDs.ts +++ b/src/native/emoji/emojiIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/emoji/emojiIdentifier.ts b/src/native/emoji/emojiIdentifier.ts index 74cf75c674..99a2b156ca 100644 --- a/src/native/emoji/emojiIdentifier.ts +++ b/src/native/emoji/emojiIdentifier.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiName.ts b/src/native/emoji/emojiName.ts index 0c58f13149..91930466a3 100644 --- a/src/native/emoji/emojiName.ts +++ b/src/native/emoji/emojiName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiNames.ts b/src/native/emoji/emojiNames.ts index 9b9bcc86be..3a191fa772 100644 --- a/src/native/emoji/emojiNames.ts +++ b/src/native/emoji/emojiNames.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/emoji/emojiRawData.ts b/src/native/emoji/emojiRawData.ts index e3610e5b85..3c0a074a6f 100644 --- a/src/native/emoji/emojiRawData.ts +++ b/src/native/emoji/emojiRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiRequiresColons.ts b/src/native/emoji/emojiRequiresColons.ts index 40dfee233f..0e3c806f70 100644 --- a/src/native/emoji/emojiRequiresColons.ts +++ b/src/native/emoji/emojiRequiresColons.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/emojiRoles.ts b/src/native/emoji/emojiRoles.ts index 3ea65183a3..536b6b2c87 100644 --- a/src/native/emoji/emojiRoles.ts +++ b/src/native/emoji/emojiRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/emoji/emojiURL.ts b/src/native/emoji/emojiURL.ts index aa2d11e25e..5469784dd0 100644 --- a/src/native/emoji/emojiURL.ts +++ b/src/native/emoji/emojiURL.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/fetchApplicationEmojis.ts b/src/native/emoji/fetchApplicationEmojis.ts index d9a69b1b48..e79103a05e 100644 --- a/src/native/emoji/fetchApplicationEmojis.ts +++ b/src/native/emoji/fetchApplicationEmojis.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/getApplicationEmojis.ts b/src/native/emoji/getApplicationEmojis.ts index 39884eb949..b4f0b50c6d 100644 --- a/src/native/emoji/getApplicationEmojis.ts +++ b/src/native/emoji/getApplicationEmojis.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/emoji/randomApplicationEmojiID.ts b/src/native/emoji/randomApplicationEmojiID.ts index 434de47521..e2af5700ff 100644 --- a/src/native/emoji/randomApplicationEmojiID.ts +++ b/src/native/emoji/randomApplicationEmojiID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/randomEmojiID.ts b/src/native/emoji/randomEmojiID.ts index 48b6e030fe..7eeeac4f75 100644 --- a/src/native/emoji/randomEmojiID.ts +++ b/src/native/emoji/randomEmojiID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/emoji/randomGuildEmojiID.ts b/src/native/emoji/randomGuildEmojiID.ts index e07ecf2c61..82c8ebea62 100644 --- a/src/native/emoji/randomGuildEmojiID.ts +++ b/src/native/emoji/randomGuildEmojiID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/entitlement/entitlementConsume.ts b/src/native/entitlement/entitlementConsume.ts index 70bf9b2836..a9eab688b1 100644 --- a/src/native/entitlement/entitlementConsume.ts +++ b/src/native/entitlement/entitlementConsume.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementEndTimestamp.ts b/src/native/entitlement/entitlementEndTimestamp.ts index 27e9e5225f..7331610cb5 100644 --- a/src/native/entitlement/entitlementEndTimestamp.ts +++ b/src/native/entitlement/entitlementEndTimestamp.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementGuildID.ts b/src/native/entitlement/entitlementGuildID.ts index 669f33c7b1..3391ca612b 100644 --- a/src/native/entitlement/entitlementGuildID.ts +++ b/src/native/entitlement/entitlementGuildID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementID.ts b/src/native/entitlement/entitlementID.ts index 3afc5163e2..be2081d0e6 100644 --- a/src/native/entitlement/entitlementID.ts +++ b/src/native/entitlement/entitlementID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementIsActive.ts b/src/native/entitlement/entitlementIsActive.ts index bbb9e28dc4..ef46e13441 100644 --- a/src/native/entitlement/entitlementIsActive.ts +++ b/src/native/entitlement/entitlementIsActive.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementIsConsumed.ts b/src/native/entitlement/entitlementIsConsumed.ts index 35fd90bb96..5a75fadc60 100644 --- a/src/native/entitlement/entitlementIsConsumed.ts +++ b/src/native/entitlement/entitlementIsConsumed.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementIsDeleted.ts b/src/native/entitlement/entitlementIsDeleted.ts index a14860293c..393b11db54 100644 --- a/src/native/entitlement/entitlementIsDeleted.ts +++ b/src/native/entitlement/entitlementIsDeleted.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementIsGuildSubscription.ts b/src/native/entitlement/entitlementIsGuildSubscription.ts index ee83fcabfb..d9d5ce395a 100644 --- a/src/native/entitlement/entitlementIsGuildSubscription.ts +++ b/src/native/entitlement/entitlementIsGuildSubscription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementIsUserSubscription.ts b/src/native/entitlement/entitlementIsUserSubscription.ts index 89489c9a5b..def760b999 100644 --- a/src/native/entitlement/entitlementIsUserSubscription.ts +++ b/src/native/entitlement/entitlementIsUserSubscription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementSkuID.ts b/src/native/entitlement/entitlementSkuID.ts index 787d6dafa8..d4ba9bc544 100644 --- a/src/native/entitlement/entitlementSkuID.ts +++ b/src/native/entitlement/entitlementSkuID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementStartTimestamp.ts b/src/native/entitlement/entitlementStartTimestamp.ts index 2aee02750e..fdddf3fd12 100644 --- a/src/native/entitlement/entitlementStartTimestamp.ts +++ b/src/native/entitlement/entitlementStartTimestamp.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/entitlementType.ts b/src/native/entitlement/entitlementType.ts index 7f10f872be..84c268c103 100644 --- a/src/native/entitlement/entitlementType.ts +++ b/src/native/entitlement/entitlementType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EntitlementType } from "discord.js" diff --git a/src/native/entitlement/entitlementUserID.ts b/src/native/entitlement/entitlementUserID.ts index 93b19c64df..d2a778c75b 100644 --- a/src/native/entitlement/entitlementUserID.ts +++ b/src/native/entitlement/entitlementUserID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/hasAllEntitlements.ts b/src/native/entitlement/hasAllEntitlements.ts index a9cc74cd69..cc2b8ba102 100644 --- a/src/native/entitlement/hasAllEntitlements.ts +++ b/src/native/entitlement/hasAllEntitlements.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/hasAnyEntitlement.ts b/src/native/entitlement/hasAnyEntitlement.ts index a972592783..5a89e91f83 100644 --- a/src/native/entitlement/hasAnyEntitlement.ts +++ b/src/native/entitlement/hasAnyEntitlement.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/entitlement/hasEntitlement.ts b/src/native/entitlement/hasEntitlement.ts index f383df94a6..0c2175532d 100644 --- a/src/native/entitlement/hasEntitlement.ts +++ b/src/native/entitlement/hasEntitlement.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/event/createScheduledEvent.ts b/src/native/event/createScheduledEvent.ts index a77fbca638..951a9f7d39 100644 --- a/src/native/event/createScheduledEvent.ts +++ b/src/native/event/createScheduledEvent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildScheduledEventEntityType, GuildScheduledEventPrivacyLevel, GuildScheduledEventRecurrenceRuleOptions } from "discord.js" diff --git a/src/native/event/deleteScheduledEvent.ts b/src/native/event/deleteScheduledEvent.ts index dcd9064750..a0513cac9b 100644 --- a/src/native/event/deleteScheduledEvent.ts +++ b/src/native/event/deleteScheduledEvent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/event/editScheduledEvent.ts b/src/native/event/editScheduledEvent.ts index f72d50f55d..e94d71175f 100644 --- a/src/native/event/editScheduledEvent.ts +++ b/src/native/event/editScheduledEvent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildScheduledEventEntityType } from "discord.js" diff --git a/src/native/event/getScheduledEvent.ts b/src/native/event/getScheduledEvent.ts index ccf4940bd3..12b18af788 100644 --- a/src/native/event/getScheduledEvent.ts +++ b/src/native/event/getScheduledEvent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/event/setScheduledEventChannel.ts b/src/native/event/setScheduledEventChannel.ts index 4116165902..3c9c8c993a 100644 --- a/src/native/event/setScheduledEventChannel.ts +++ b/src/native/event/setScheduledEventChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, VoiceBasedChannel } from "discord.js" diff --git a/src/native/event/setScheduledEventLocation.ts b/src/native/event/setScheduledEventLocation.ts index 8fd4dbb774..d049fcb2b6 100644 --- a/src/native/event/setScheduledEventLocation.ts +++ b/src/native/event/setScheduledEventLocation.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/file/appendFile.ts b/src/native/file/appendFile.ts index 8fb78fd67f..6e2b338dc1 100644 --- a/src/native/file/appendFile.ts +++ b/src/native/file/appendFile.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { appendFileSync } from "fs" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$appendFile", @@ -35,9 +35,7 @@ export default new NativeFunction({ }, ], execute(ctx, [path, data, encoding]) { - // eslint-disable-next-line no-undef appendFileSync(path, data, { encoding: (encoding as BufferEncoding) || "utf-8" }) - return this.success() }, }) diff --git a/src/native/file/copyFile.ts b/src/native/file/copyFile.ts index fd33d6227c..b5b93c4949 100644 --- a/src/native/file/copyFile.ts +++ b/src/native/file/copyFile.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { copyFileSync, cpSync, statSync } from "fs" diff --git a/src/native/file/deleteFile.ts b/src/native/file/deleteFile.ts index 35a935a785..f7936f47cc 100644 --- a/src/native/file/deleteFile.ts +++ b/src/native/file/deleteFile.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { rmSync } from "fs" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$deleteFile", @@ -22,9 +22,7 @@ export default new NativeFunction({ }, ], execute(ctx, [path]) { - // eslint-disable-next-line no-undef rmSync(path, { recursive: true }) - return this.success() }, }) diff --git a/src/native/file/fileAccessedAt.ts b/src/native/file/fileAccessedAt.ts index 743cace165..5831002db6 100644 --- a/src/native/file/fileAccessedAt.ts +++ b/src/native/file/fileAccessedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" diff --git a/src/native/file/fileBlockCount.ts b/src/native/file/fileBlockCount.ts index 352196bd5f..409d9d4218 100644 --- a/src/native/file/fileBlockCount.ts +++ b/src/native/file/fileBlockCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" diff --git a/src/native/file/fileBlockSize.ts b/src/native/file/fileBlockSize.ts index 989fd05825..11ff9a3a1d 100644 --- a/src/native/file/fileBlockSize.ts +++ b/src/native/file/fileBlockSize.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" diff --git a/src/native/file/fileChangedAt.ts b/src/native/file/fileChangedAt.ts index 100e7ac17a..df56cfeb43 100644 --- a/src/native/file/fileChangedAt.ts +++ b/src/native/file/fileChangedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" diff --git a/src/native/file/fileCreatedAt.ts b/src/native/file/fileCreatedAt.ts index f1dab047b3..bb4fd5a90c 100644 --- a/src/native/file/fileCreatedAt.ts +++ b/src/native/file/fileCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" diff --git a/src/native/file/fileExists.ts b/src/native/file/fileExists.ts index 65fb00bc7a..7fbe41c29e 100644 --- a/src/native/file/fileExists.ts +++ b/src/native/file/fileExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { existsSync } from "fs" diff --git a/src/native/file/fileModifiedAt.ts b/src/native/file/fileModifiedAt.ts index 6392455a79..137b97d413 100644 --- a/src/native/file/fileModifiedAt.ts +++ b/src/native/file/fileModifiedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" diff --git a/src/native/file/fileSize.ts b/src/native/file/fileSize.ts index df069bcfd0..181092030d 100644 --- a/src/native/file/fileSize.ts +++ b/src/native/file/fileSize.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" diff --git a/src/native/file/isDirectory.ts b/src/native/file/isDirectory.ts index 127aa0a66b..562b10f731 100644 --- a/src/native/file/isDirectory.ts +++ b/src/native/file/isDirectory.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isDirectory", @@ -23,6 +23,10 @@ export default new NativeFunction({ }, ], execute(ctx, [path]) { - return this.success(statSync(path).isDirectory()) + try { + return this.success(statSync(path).isDirectory()) + } catch { + return this.success(false) + } }, }) \ No newline at end of file diff --git a/src/native/file/isFile.ts b/src/native/file/isFile.ts index 4ea5df1752..d2251825cb 100644 --- a/src/native/file/isFile.ts +++ b/src/native/file/isFile.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isFile", @@ -23,6 +23,10 @@ export default new NativeFunction({ }, ], execute(ctx, [path]) { - return this.success(statSync(path).isFile()) + try { + return this.success(statSync(path).isFile()) + } catch { + return this.success(false) + } }, }) \ No newline at end of file diff --git a/src/native/file/isSymbolicLink.ts b/src/native/file/isSymbolicLink.ts index 8d216c2993..68e9caa824 100644 --- a/src/native/file/isSymbolicLink.ts +++ b/src/native/file/isSymbolicLink.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { statSync } from "fs" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isSymbolicLink", @@ -23,6 +23,10 @@ export default new NativeFunction({ }, ], execute(ctx, [path]) { - return this.success(statSync(path).isSymbolicLink()) + try { + return this.success(statSync(path).isSymbolicLink()) + } catch { + return this.success(false) + } }, }) \ No newline at end of file diff --git a/src/native/file/mkdir.ts b/src/native/file/mkdir.ts index dce53ea37d..fe85665631 100644 --- a/src/native/file/mkdir.ts +++ b/src/native/file/mkdir.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { mkdirSync } from "fs" diff --git a/src/native/file/mktdir.ts b/src/native/file/mktdir.ts index d171a13804..e49692a9bc 100644 --- a/src/native/file/mktdir.ts +++ b/src/native/file/mktdir.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { mkdtempSync } from "fs" diff --git a/src/native/file/moveFile.ts b/src/native/file/moveFile.ts index 152e634756..afc2576b6e 100644 --- a/src/native/file/moveFile.ts +++ b/src/native/file/moveFile.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { copyFileSync, cpSync, rmSync, statSync } from "fs" diff --git a/src/native/file/pathExtensionName.ts b/src/native/file/pathExtensionName.ts new file mode 100644 index 0000000000..d027f94fda --- /dev/null +++ b/src/native/file/pathExtensionName.ts @@ -0,0 +1,29 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { extname } from "path" +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$pathExtensionName", + version: "2.7.0", + description: "Returns the extension name of a path", + aliases: ["$pathExtName"], + unwrap: true, + brackets: true, + args: [ + { + name: "path", + description: "The path to get extension name from", + rest: false, + required: true, + type: ArgType.String, + }, + ], + output: ArgType.String, + execute(ctx, [p]) { + return this.success(extname(p)) + }, +}) \ No newline at end of file diff --git a/src/native/file/pathJoin.ts b/src/native/file/pathJoin.ts index 9f9cf0a44e..8b4748b396 100644 --- a/src/native/file/pathJoin.ts +++ b/src/native/file/pathJoin.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import path from "path" -import { ArgType, NativeFunction, Return } from "../../structures" +import { join } from "path" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$pathJoin", @@ -23,6 +23,6 @@ export default new NativeFunction({ }, ], execute(ctx, [paths]) { - return this.success(path.join(...paths)) + return this.success(join(...paths)) }, }) \ No newline at end of file diff --git a/src/native/file/pathResolve.ts b/src/native/file/pathResolve.ts index 932e39981a..2bb2deb965 100644 --- a/src/native/file/pathResolve.ts +++ b/src/native/file/pathResolve.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import path from "path" -import { ArgType, NativeFunction, Return } from "../../structures" +import { resolve } from "path" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$pathResolve", @@ -23,6 +23,6 @@ export default new NativeFunction({ }, ], execute(ctx, [paths]) { - return this.success(path.resolve(...paths)) + return this.success(resolve(...paths)) }, }) \ No newline at end of file diff --git a/src/native/file/readDir.ts b/src/native/file/readDir.ts index a90491bedd..125ef4fd54 100644 --- a/src/native/file/readDir.ts +++ b/src/native/file/readDir.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { readdirSync } from "fs" diff --git a/src/native/file/readFile.ts b/src/native/file/readFile.ts index 7e909aafa0..f259589380 100644 --- a/src/native/file/readFile.ts +++ b/src/native/file/readFile.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { readFileSync } from "fs" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$readFile", @@ -29,9 +29,7 @@ export default new NativeFunction({ }, ], execute(ctx, [path, encoding]) { - // eslint-disable-next-line no-undef const txt = readFileSync(path, { encoding: (encoding as BufferEncoding) || "utf-8" }) - return this.success(txt) }, }) diff --git a/src/native/file/renameFile.ts b/src/native/file/renameFile.ts index 604485bc41..8591848480 100644 --- a/src/native/file/renameFile.ts +++ b/src/native/file/renameFile.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { renameSync } from "fs" diff --git a/src/native/file/symlink.ts b/src/native/file/symlink.ts index 7bcd13bdb1..c1efeb6d26 100644 --- a/src/native/file/symlink.ts +++ b/src/native/file/symlink.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { symlinkSync } from "fs" diff --git a/src/native/file/truncateFile.ts b/src/native/file/truncateFile.ts index 424a68185d..c6a856af4e 100644 --- a/src/native/file/truncateFile.ts +++ b/src/native/file/truncateFile.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { truncateSync } from "fs" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$truncateFile", @@ -29,9 +29,7 @@ export default new NativeFunction({ }, ], execute(ctx, [path, data]) { - // eslint-disable-next-line no-undef truncateSync(path, data) - return this.success() }, }) diff --git a/src/native/file/writeFile.ts b/src/native/file/writeFile.ts index 8c16d29071..925ba25d68 100644 --- a/src/native/file/writeFile.ts +++ b/src/native/file/writeFile.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { writeFileSync } from "fs" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$writeFile", @@ -35,9 +35,7 @@ export default new NativeFunction({ }, ], execute(ctx, [path, data, encoding]) { - // eslint-disable-next-line no-undef writeFileSync(path, data, { encoding: (encoding as BufferEncoding) || "utf-8" }) - return this.success() }, }) diff --git a/src/native/formatting/bold.ts b/src/native/formatting/bold.ts index a29bf58462..34e262e984 100644 --- a/src/native/formatting/bold.ts +++ b/src/native/formatting/bold.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { bold } from "discord.js" diff --git a/src/native/formatting/codeBlock.ts b/src/native/formatting/codeBlock.ts index b44fa287f0..d586861010 100644 --- a/src/native/formatting/codeBlock.ts +++ b/src/native/formatting/codeBlock.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { bold, codeBlock } from "discord.js" diff --git a/src/native/formatting/hyperlink.ts b/src/native/formatting/hyperlink.ts index 72b74ff854..11ce7e884b 100644 --- a/src/native/formatting/hyperlink.ts +++ b/src/native/formatting/hyperlink.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { bold } from "discord.js" diff --git a/src/native/formatting/inlineCode.ts b/src/native/formatting/inlineCode.ts index 5db0e88459..f2a470a4e5 100644 --- a/src/native/formatting/inlineCode.ts +++ b/src/native/formatting/inlineCode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { bold } from "discord.js" diff --git a/src/native/formatting/italic.ts b/src/native/formatting/italic.ts index 60480053b9..228acf34f0 100644 --- a/src/native/formatting/italic.ts +++ b/src/native/formatting/italic.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { italic } from "discord.js" diff --git a/src/native/formatting/spoiler.ts b/src/native/formatting/spoiler.ts index caee9ccf6d..706cdfb17e 100644 --- a/src/native/formatting/spoiler.ts +++ b/src/native/formatting/spoiler.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { bold, spoiler } from "discord.js" diff --git a/src/native/formatting/strikethrough.ts b/src/native/formatting/strikethrough.ts index 5cf92d76a1..b1ee87ea79 100644 --- a/src/native/formatting/strikethrough.ts +++ b/src/native/formatting/strikethrough.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { bold, strikethrough } from "discord.js" diff --git a/src/native/formatting/subtext.ts b/src/native/formatting/subtext.ts index 4fed4e2d8c..57cd71ca18 100644 --- a/src/native/formatting/subtext.ts +++ b/src/native/formatting/subtext.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { subtext } from "discord.js" diff --git a/src/native/formatting/underline.ts b/src/native/formatting/underline.ts index 3c0227b84e..74c4253121 100644 --- a/src/native/formatting/underline.ts +++ b/src/native/formatting/underline.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { underline } from "discord.js" diff --git a/src/native/guild/createGuild.ts b/src/native/guild/createGuild.ts index 263600acd5..8973e75aa4 100644 --- a/src/native/guild/createGuild.ts +++ b/src/native/guild/createGuild.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/createGuildTemplate.ts b/src/native/guild/createGuildTemplate.ts index 2914ca49ed..4e22b0c386 100644 --- a/src/native/guild/createGuildTemplate.ts +++ b/src/native/guild/createGuildTemplate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/deleteGuild.ts b/src/native/guild/deleteGuild.ts index 134ca634e9..8c9d559a87 100644 --- a/src/native/guild/deleteGuild.ts +++ b/src/native/guild/deleteGuild.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/deleteGuildApplicationCommands.ts b/src/native/guild/deleteGuildApplicationCommands.ts index 79be6ebce2..d8f7976c35 100644 --- a/src/native/guild/deleteGuildApplicationCommands.ts +++ b/src/native/guild/deleteGuildApplicationCommands.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Arg, ArgType, NativeFunction } from "../../structures" diff --git a/src/native/guild/deleteGuildTemplate.ts b/src/native/guild/deleteGuildTemplate.ts index 56ee9723c7..b74e6d4b76 100644 --- a/src/native/guild/deleteGuildTemplate.ts +++ b/src/native/guild/deleteGuildTemplate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/editGuildTemplate.ts b/src/native/guild/editGuildTemplate.ts index 7ef1fcf426..f44923a6dc 100644 --- a/src/native/guild/editGuildTemplate.ts +++ b/src/native/guild/editGuildTemplate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/getGuildInvite.ts b/src/native/guild/getGuildInvite.ts index 997904e1ec..5fd1dad963 100644 --- a/src/native/guild/getGuildInvite.ts +++ b/src/native/guild/getGuildInvite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/getGuildPreview.ts b/src/native/guild/getGuildPreview.ts index 20da1eb9bd..8d59912c08 100644 --- a/src/native/guild/getGuildPreview.ts +++ b/src/native/guild/getGuildPreview.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildPreviewProperties, GuildPreviewProperty } from "../../properties/guild" diff --git a/src/native/guild/getGuildTemplate.ts b/src/native/guild/getGuildTemplate.ts index 1d11a30fa7..cb895fdef0 100644 --- a/src/native/guild/getGuildTemplate.ts +++ b/src/native/guild/getGuildTemplate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildAfkChannelID.ts b/src/native/guild/guildAfkChannelID.ts index 9c30870b69..76fe838fb8 100644 --- a/src/native/guild/guildAfkChannelID.ts +++ b/src/native/guild/guildAfkChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildAfkTimeout.ts b/src/native/guild/guildAfkTimeout.ts index 433f91d93e..5833bef60f 100644 --- a/src/native/guild/guildAfkTimeout.ts +++ b/src/native/guild/guildAfkTimeout.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildApproximateMemberCount.ts b/src/native/guild/guildApproximateMemberCount.ts index e9280544a7..2bd23ca08a 100644 --- a/src/native/guild/guildApproximateMemberCount.ts +++ b/src/native/guild/guildApproximateMemberCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildApproximatePresenceCount.ts b/src/native/guild/guildApproximatePresenceCount.ts index 709cd210aa..5444ac31b9 100644 --- a/src/native/guild/guildApproximatePresenceCount.ts +++ b/src/native/guild/guildApproximatePresenceCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildAutomodRules.ts b/src/native/guild/guildAutomodRules.ts index 2f7007cf91..221e6f1520 100644 --- a/src/native/guild/guildAutomodRules.ts +++ b/src/native/guild/guildAutomodRules.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildAvailable.ts b/src/native/guild/guildAvailable.ts index bd0621873c..35ef3fad81 100644 --- a/src/native/guild/guildAvailable.ts +++ b/src/native/guild/guildAvailable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildBanReason.ts b/src/native/guild/guildBanReason.ts index aa9acb1774..9b2d7bf6f2 100644 --- a/src/native/guild/guildBanReason.ts +++ b/src/native/guild/guildBanReason.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/guild/guildBannedMembers.ts b/src/native/guild/guildBannedMembers.ts index 1be5174617..9c14e8f140 100644 --- a/src/native/guild/guildBannedMembers.ts +++ b/src/native/guild/guildBannedMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildBanner.ts b/src/native/guild/guildBanner.ts index 09157f489a..e3fd8d7ecc 100644 --- a/src/native/guild/guildBanner.ts +++ b/src/native/guild/guildBanner.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" diff --git a/src/native/guild/guildBoostCount.ts b/src/native/guild/guildBoostCount.ts index 069867aa13..da0e00bb8d 100644 --- a/src/native/guild/guildBoostCount.ts +++ b/src/native/guild/guildBoostCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildBoostLevel.ts b/src/native/guild/guildBoostLevel.ts index 86b5746dea..6b2280e2ea 100644 --- a/src/native/guild/guildBoostLevel.ts +++ b/src/native/guild/guildBoostLevel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildBoostProgressBarEnabled.ts b/src/native/guild/guildBoostProgressBarEnabled.ts index 4d7d6faaf2..2c0b2aae68 100644 --- a/src/native/guild/guildBoostProgressBarEnabled.ts +++ b/src/native/guild/guildBoostProgressBarEnabled.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildBoostRoleID.ts b/src/native/guild/guildBoostRoleID.ts index 3aae25b07b..7839630f3a 100644 --- a/src/native/guild/guildBoostRoleID.ts +++ b/src/native/guild/guildBoostRoleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildBoosterIDs.ts b/src/native/guild/guildBoosterIDs.ts index 54b4dfb4d2..8a812f68ed 100644 --- a/src/native/guild/guildBoosterIDs.ts +++ b/src/native/guild/guildBoosterIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildBotCount.ts b/src/native/guild/guildBotCount.ts index 5e8bc9a5cf..c37efe5ed1 100644 --- a/src/native/guild/guildBotCount.ts +++ b/src/native/guild/guildBotCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildChannelCount.ts b/src/native/guild/guildChannelCount.ts index 120161f987..2ec9ba26dd 100644 --- a/src/native/guild/guildChannelCount.ts +++ b/src/native/guild/guildChannelCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelType } from "discord.js" diff --git a/src/native/guild/guildChannelExists.ts b/src/native/guild/guildChannelExists.ts index 432efd8bda..c4d619608b 100644 --- a/src/native/guild/guildChannelExists.ts +++ b/src/native/guild/guildChannelExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildChannelIDs.ts b/src/native/guild/guildChannelIDs.ts index afa3beb10b..4ca3368986 100644 --- a/src/native/guild/guildChannelIDs.ts +++ b/src/native/guild/guildChannelIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildCount.ts b/src/native/guild/guildCount.ts index 16ce821e37..d1cb6c0c2c 100644 --- a/src/native/guild/guildCount.ts +++ b/src/native/guild/guildCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildCreatedAt.ts b/src/native/guild/guildCreatedAt.ts index 045c382be8..4f957493b9 100644 --- a/src/native/guild/guildCreatedAt.ts +++ b/src/native/guild/guildCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildDefaultMessageNotifications.ts b/src/native/guild/guildDefaultMessageNotifications.ts index 16dcb31115..fc3470c80b 100644 --- a/src/native/guild/guildDefaultMessageNotifications.ts +++ b/src/native/guild/guildDefaultMessageNotifications.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildDefaultMessageNotifications } from "discord.js" diff --git a/src/native/guild/guildDescription.ts b/src/native/guild/guildDescription.ts index 2dc2d43c83..f41d3911d4 100644 --- a/src/native/guild/guildDescription.ts +++ b/src/native/guild/guildDescription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildDiscoverySplash.ts b/src/native/guild/guildDiscoverySplash.ts index 567f8a2ffe..d3547541c6 100644 --- a/src/native/guild/guildDiscoverySplash.ts +++ b/src/native/guild/guildDiscoverySplash.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" diff --git a/src/native/guild/guildDmSpamDetectedAt.ts b/src/native/guild/guildDmSpamDetectedAt.ts index e154460f07..d2721f6352 100644 --- a/src/native/guild/guildDmSpamDetectedAt.ts +++ b/src/native/guild/guildDmSpamDetectedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildDmsDisabledUntil.ts b/src/native/guild/guildDmsDisabledUntil.ts index 6e60bd3589..9a64c4e387 100644 --- a/src/native/guild/guildDmsDisabledUntil.ts +++ b/src/native/guild/guildDmsDisabledUntil.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildEmojiCount.ts b/src/native/guild/guildEmojiCount.ts index dd30e69957..f9dc551cc2 100644 --- a/src/native/guild/guildEmojiCount.ts +++ b/src/native/guild/guildEmojiCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildEmojiExists.ts b/src/native/guild/guildEmojiExists.ts index ef97e1ac9e..9d0719b468 100644 --- a/src/native/guild/guildEmojiExists.ts +++ b/src/native/guild/guildEmojiExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildEmojiIDs.ts b/src/native/guild/guildEmojiIDs.ts index cd8c17b268..d728b15846 100644 --- a/src/native/guild/guildEmojiIDs.ts +++ b/src/native/guild/guildEmojiIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildEmojiLimit.ts b/src/native/guild/guildEmojiLimit.ts index c449d3d3c3..e0027b342e 100644 --- a/src/native/guild/guildEmojiLimit.ts +++ b/src/native/guild/guildEmojiLimit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildEmojis.ts b/src/native/guild/guildEmojis.ts index 6606527876..bb2440dbc4 100644 --- a/src/native/guild/guildEmojis.ts +++ b/src/native/guild/guildEmojis.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildExists.ts b/src/native/guild/guildExists.ts index 9fe984c707..8573d268f8 100644 --- a/src/native/guild/guildExists.ts +++ b/src/native/guild/guildExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildExplicitContentFilter.ts b/src/native/guild/guildExplicitContentFilter.ts index fa6d33c133..22edb26a4f 100644 --- a/src/native/guild/guildExplicitContentFilter.ts +++ b/src/native/guild/guildExplicitContentFilter.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildDefaultMessageNotifications, GuildExplicitContentFilter } from "discord.js" diff --git a/src/native/guild/guildFeatures.ts b/src/native/guild/guildFeatures.ts index f87c164bda..0089a6984b 100644 --- a/src/native/guild/guildFeatures.ts +++ b/src/native/guild/guildFeatures.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildFeature } from "discord.js" diff --git a/src/native/guild/guildHasAnyFeatures.ts b/src/native/guild/guildHasAnyFeatures.ts index 6bf26731d3..ffd67a4114 100644 --- a/src/native/guild/guildHasAnyFeatures.ts +++ b/src/native/guild/guildHasAnyFeatures.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildFeature } from "discord.js" diff --git a/src/native/guild/guildHasFeatures.ts b/src/native/guild/guildHasFeatures.ts index 7b41bbd24f..5bf0e8dd2d 100644 --- a/src/native/guild/guildHasFeatures.ts +++ b/src/native/guild/guildHasFeatures.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildFeature } from "discord.js" diff --git a/src/native/guild/guildHasTemplate.ts b/src/native/guild/guildHasTemplate.ts index 0884b125f3..57dba1bda9 100644 --- a/src/native/guild/guildHasTemplate.ts +++ b/src/native/guild/guildHasTemplate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/guild/guildHighestRoleID.ts b/src/native/guild/guildHighestRoleID.ts index ff34060aa8..609334fef5 100644 --- a/src/native/guild/guildHighestRoleID.ts +++ b/src/native/guild/guildHighestRoleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildID.ts b/src/native/guild/guildID.ts index befe89e586..612904216a 100644 --- a/src/native/guild/guildID.ts +++ b/src/native/guild/guildID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildIDs.ts b/src/native/guild/guildIDs.ts index 622bf4ba84..d1d3f1de5a 100644 --- a/src/native/guild/guildIDs.ts +++ b/src/native/guild/guildIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildIcon.ts b/src/native/guild/guildIcon.ts index c887e60d32..024ba583e6 100644 --- a/src/native/guild/guildIcon.ts +++ b/src/native/guild/guildIcon.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" diff --git a/src/native/guild/guildInviteExists.ts b/src/native/guild/guildInviteExists.ts index c78b242329..950196664a 100644 --- a/src/native/guild/guildInviteExists.ts +++ b/src/native/guild/guildInviteExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildInvites.ts b/src/native/guild/guildInvites.ts index 30013b75da..97d9ecb9c6 100644 --- a/src/native/guild/guildInvites.ts +++ b/src/native/guild/guildInvites.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { InviteProperties, InviteProperty } from "../../properties/invite" diff --git a/src/native/guild/guildInvitesDisabledUntil.ts b/src/native/guild/guildInvitesDisabledUntil.ts index 52bd9997f0..6059d21be5 100644 --- a/src/native/guild/guildInvitesDisabledUntil.ts +++ b/src/native/guild/guildInvitesDisabledUntil.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildLarge.ts b/src/native/guild/guildLarge.ts index d59ceb4ffb..0870d64aba 100644 --- a/src/native/guild/guildLarge.ts +++ b/src/native/guild/guildLarge.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildLeave.ts b/src/native/guild/guildLeave.ts index 7371a9a016..b30a8e9a7e 100644 --- a/src/native/guild/guildLeave.ts +++ b/src/native/guild/guildLeave.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/guild/guildLowestRoleID.ts b/src/native/guild/guildLowestRoleID.ts index d245f7162c..e10407a92b 100644 --- a/src/native/guild/guildLowestRoleID.ts +++ b/src/native/guild/guildLowestRoleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildMFALevel.ts b/src/native/guild/guildMFALevel.ts index e05929f86f..240b7624de 100644 --- a/src/native/guild/guildMFALevel.ts +++ b/src/native/guild/guildMFALevel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel } from "discord.js" diff --git a/src/native/guild/guildMaxStageVideoChannelUsers.ts b/src/native/guild/guildMaxStageVideoChannelUsers.ts index 2285d4f05a..dfdfb74bb6 100644 --- a/src/native/guild/guildMaxStageVideoChannelUsers.ts +++ b/src/native/guild/guildMaxStageVideoChannelUsers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildMaxVideoChannelUsers.ts b/src/native/guild/guildMaxVideoChannelUsers.ts index 92bec842ad..ea57fd84de 100644 --- a/src/native/guild/guildMaxVideoChannelUsers.ts +++ b/src/native/guild/guildMaxVideoChannelUsers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildMaximumBitrate.ts b/src/native/guild/guildMaximumBitrate.ts index d145c3edae..bbf4652f4e 100644 --- a/src/native/guild/guildMaximumBitrate.ts +++ b/src/native/guild/guildMaximumBitrate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildMaximumMembers.ts b/src/native/guild/guildMaximumMembers.ts index 0fbab567dc..f10eeeb492 100644 --- a/src/native/guild/guildMaximumMembers.ts +++ b/src/native/guild/guildMaximumMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildMaximumPresences.ts b/src/native/guild/guildMaximumPresences.ts index ebe1f247d7..4d68010fb3 100644 --- a/src/native/guild/guildMaximumPresences.ts +++ b/src/native/guild/guildMaximumPresences.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildMaximumStageBitrate.ts b/src/native/guild/guildMaximumStageBitrate.ts new file mode 100644 index 0000000000..6ee6d17346 --- /dev/null +++ b/src/native/guild/guildMaximumStageBitrate.ts @@ -0,0 +1,30 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$guildMaximumStageBitrate", + version: "2.7.0", + description: "Returns the maximum bitrate for stage channels of this guild", + aliases: [ + "$serverMaximumStageBitrate" + ], + unwrap: true, + brackets: false, + args: [ + { + name: "guild ID", + description: "The guild to retrieve the data", + rest: false, + required: true, + type: ArgType.Guild, + }, + ], + output: ArgType.Number, + execute(ctx, [guild]) { + return this.success((guild ?? ctx.guild)?.maximumStageBitrate) + }, +}) diff --git a/src/native/guild/guildMemberCount.ts b/src/native/guild/guildMemberCount.ts index 0c2f5880f0..408007f399 100644 --- a/src/native/guild/guildMemberCount.ts +++ b/src/native/guild/guildMemberCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildMemberIDs.ts b/src/native/guild/guildMemberIDs.ts index a5a039c157..0462a09bb8 100644 --- a/src/native/guild/guildMemberIDs.ts +++ b/src/native/guild/guildMemberIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildNSFWLevel.ts b/src/native/guild/guildNSFWLevel.ts index 68e4a673ac..55007a0128 100644 --- a/src/native/guild/guildNSFWLevel.ts +++ b/src/native/guild/guildNSFWLevel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, GuildNSFWLevel } from "discord.js" diff --git a/src/native/guild/guildName.ts b/src/native/guild/guildName.ts index 522cb5bae3..44653c16d4 100644 --- a/src/native/guild/guildName.ts +++ b/src/native/guild/guildName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildNameAcronym.ts b/src/native/guild/guildNameAcronym.ts index 7f8f2fa415..a0a82c54da 100644 --- a/src/native/guild/guildNameAcronym.ts +++ b/src/native/guild/guildNameAcronym.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildNames.ts b/src/native/guild/guildNames.ts index 2272eb52ba..bb43f511c4 100644 --- a/src/native/guild/guildNames.ts +++ b/src/native/guild/guildNames.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildOwnerID.ts b/src/native/guild/guildOwnerID.ts index c5904c206d..bb7fb5998c 100644 --- a/src/native/guild/guildOwnerID.ts +++ b/src/native/guild/guildOwnerID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildPartnered.ts b/src/native/guild/guildPartnered.ts index 3be4860184..64dcf6be14 100644 --- a/src/native/guild/guildPartnered.ts +++ b/src/native/guild/guildPartnered.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildPreferredLocale.ts b/src/native/guild/guildPreferredLocale.ts index 76fb1cf763..2ed02cda37 100644 --- a/src/native/guild/guildPreferredLocale.ts +++ b/src/native/guild/guildPreferredLocale.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Locale } from "discord.js" diff --git a/src/native/guild/guildPublicUpdatesChannelID.ts b/src/native/guild/guildPublicUpdatesChannelID.ts index e2d2f27ec8..885d2cf850 100644 --- a/src/native/guild/guildPublicUpdatesChannelID.ts +++ b/src/native/guild/guildPublicUpdatesChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildRaidDetectedAt.ts b/src/native/guild/guildRaidDetectedAt.ts index a93ce546b6..71991a34e7 100644 --- a/src/native/guild/guildRaidDetectedAt.ts +++ b/src/native/guild/guildRaidDetectedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildRawData.ts b/src/native/guild/guildRawData.ts index 6377f7f7b5..15b988c920 100644 --- a/src/native/guild/guildRawData.ts +++ b/src/native/guild/guildRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildRoleCount.ts b/src/native/guild/guildRoleCount.ts index 463cb4c709..8c6c192d61 100644 --- a/src/native/guild/guildRoleCount.ts +++ b/src/native/guild/guildRoleCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildRoleIDs.ts b/src/native/guild/guildRoleIDs.ts index 38b845c785..9174edc8f5 100644 --- a/src/native/guild/guildRoleIDs.ts +++ b/src/native/guild/guildRoleIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildRulesChannelID.ts b/src/native/guild/guildRulesChannelID.ts index 4abbcd3d52..5f4da4565d 100644 --- a/src/native/guild/guildRulesChannelID.ts +++ b/src/native/guild/guildRulesChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildSafetyAlertsChannelID.ts b/src/native/guild/guildSafetyAlertsChannelID.ts index f30adcc228..093a3311ba 100644 --- a/src/native/guild/guildSafetyAlertsChannelID.ts +++ b/src/native/guild/guildSafetyAlertsChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildScheduledEvents.ts b/src/native/guild/guildScheduledEvents.ts index adbce5ae4f..8e66ddcc3a 100644 --- a/src/native/guild/guildScheduledEvents.ts +++ b/src/native/guild/guildScheduledEvents.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildShardID.ts b/src/native/guild/guildShardID.ts index 4538ce1224..4249a7a133 100644 --- a/src/native/guild/guildShardID.ts +++ b/src/native/guild/guildShardID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildSoundboardLimit.ts b/src/native/guild/guildSoundboardLimit.ts index 8a4251d5d1..558c0767f7 100644 --- a/src/native/guild/guildSoundboardLimit.ts +++ b/src/native/guild/guildSoundboardLimit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildSoundboardSounds.ts b/src/native/guild/guildSoundboardSounds.ts index add575d9cd..1f29edc341 100644 --- a/src/native/guild/guildSoundboardSounds.ts +++ b/src/native/guild/guildSoundboardSounds.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildSplashURL.ts b/src/native/guild/guildSplashURL.ts index aaa0ec7179..56bc559fec 100644 --- a/src/native/guild/guildSplashURL.ts +++ b/src/native/guild/guildSplashURL.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" diff --git a/src/native/guild/guildStageInstances.ts b/src/native/guild/guildStageInstances.ts index f452706439..4c545191bf 100644 --- a/src/native/guild/guildStageInstances.ts +++ b/src/native/guild/guildStageInstances.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildStickerExists.ts b/src/native/guild/guildStickerExists.ts index c4921790eb..387473d58f 100644 --- a/src/native/guild/guildStickerExists.ts +++ b/src/native/guild/guildStickerExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildStickerIDs.ts b/src/native/guild/guildStickerIDs.ts index d9f1f514c2..aded0a82ba 100644 --- a/src/native/guild/guildStickerIDs.ts +++ b/src/native/guild/guildStickerIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildStickerLimit.ts b/src/native/guild/guildStickerLimit.ts index 85cfb08bc9..ddf2746e94 100644 --- a/src/native/guild/guildStickerLimit.ts +++ b/src/native/guild/guildStickerLimit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildSystemChannelFlags.ts b/src/native/guild/guildSystemChannelFlags.ts new file mode 100644 index 0000000000..8d4681474a --- /dev/null +++ b/src/native/guild/guildSystemChannelFlags.ts @@ -0,0 +1,38 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { GuildSystemChannelFlags } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" +import array from "../../functions/array" + +export default new NativeFunction({ + name: "$guildSystemChannelFlags", + version: "2.7.0", + description: "Returns the system channel flags of a guild", + aliases: [ + "$serverSystemChannelFlags" + ], + unwrap: true, + brackets: false, + args: [ + { + name: "guild ID", + description: "The guild to retrieve the data", + type: ArgType.Guild, + required: true, + rest: false, + }, + { + name: "separator", + description: "The separator to use for every flag", + type: ArgType.String, + rest: false, + }, + ], + output: array(GuildSystemChannelFlags), + execute(ctx, [guild, sep]) { + return this.success((guild ?? ctx.guild)?.systemChannelFlags.toArray().join(sep ?? ", ")) + }, +}) diff --git a/src/native/guild/guildSystemChannelID.ts b/src/native/guild/guildSystemChannelID.ts index 5b89772385..7990cfcce8 100644 --- a/src/native/guild/guildSystemChannelID.ts +++ b/src/native/guild/guildSystemChannelID.ts @@ -1,19 +1,19 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$guildSystemChannelID", version: "1.0.0", - description: "Returns the server's system channel ID", - brackets: false, + description: "Returns the system channel ID of a guild", aliases: [ "$serverSystemChannelID" ], - output: ArgType.Channel, + brackets: false, + unwrap: true, args: [ { name: "guild ID", @@ -23,7 +23,7 @@ export default new NativeFunction({ type: ArgType.Guild, }, ], - unwrap: true, + output: ArgType.Channel, execute(ctx, [guild]) { return this.success((guild ?? ctx.guild)?.systemChannelId) }, diff --git a/src/native/guild/guildTemplateCode.ts b/src/native/guild/guildTemplateCode.ts index 7fa4b783ad..e55f1c59e4 100644 --- a/src/native/guild/guildTemplateCode.ts +++ b/src/native/guild/guildTemplateCode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/guild/guildTimedOutMembers.ts b/src/native/guild/guildTimedOutMembers.ts index 526680df41..5ac1d8c53f 100644 --- a/src/native/guild/guildTimedOutMembers.ts +++ b/src/native/guild/guildTimedOutMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/guild/guildVanityCode.ts b/src/native/guild/guildVanityCode.ts index d28b87fa06..931ad38e51 100644 --- a/src/native/guild/guildVanityCode.ts +++ b/src/native/guild/guildVanityCode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildVanityUses.ts b/src/native/guild/guildVanityUses.ts index 300433de81..cd5a36d219 100644 --- a/src/native/guild/guildVanityUses.ts +++ b/src/native/guild/guildVanityUses.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildVerificationLevel.ts b/src/native/guild/guildVerificationLevel.ts index f3e103f484..fd29d9b27b 100644 --- a/src/native/guild/guildVerificationLevel.ts +++ b/src/native/guild/guildVerificationLevel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildVerificationLevel } from "discord.js" diff --git a/src/native/guild/guildVerified.ts b/src/native/guild/guildVerified.ts index c2e793c703..c0c4a29982 100644 --- a/src/native/guild/guildVerified.ts +++ b/src/native/guild/guildVerified.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildWebhooks.ts b/src/native/guild/guildWebhooks.ts index c4c126db55..10dbd46e8e 100644 --- a/src/native/guild/guildWebhooks.ts +++ b/src/native/guild/guildWebhooks.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/guildWidgetChannelEnabled.ts b/src/native/guild/guildWidgetChannelEnabled.ts index 9564f3338f..7623374ed2 100644 --- a/src/native/guild/guildWidgetChannelEnabled.ts +++ b/src/native/guild/guildWidgetChannelEnabled.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildDefaultMessageNotifications, GuildExplicitContentFilter } from "discord.js" diff --git a/src/native/guild/guildWidgetChannelID.ts b/src/native/guild/guildWidgetChannelID.ts index 25c6a60353..ac0ecdeb0b 100644 --- a/src/native/guild/guildWidgetChannelID.ts +++ b/src/native/guild/guildWidgetChannelID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildDefaultMessageNotifications, GuildExplicitContentFilter } from "discord.js" diff --git a/src/native/guild/randomGuildID.ts b/src/native/guild/randomGuildID.ts index 30d04f4a01..2a2c5ea1bc 100644 --- a/src/native/guild/randomGuildID.ts +++ b/src/native/guild/randomGuildID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/registerGuildApplicationCommands.ts b/src/native/guild/registerGuildApplicationCommands.ts index 64d26a8201..c2ac1ef9b0 100644 --- a/src/native/guild/registerGuildApplicationCommands.ts +++ b/src/native/guild/registerGuildApplicationCommands.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Arg, ArgType, NativeFunction } from "../../structures" diff --git a/src/native/guild/setGuildAFKChannel.ts b/src/native/guild/setGuildAFKChannel.ts index 3c334cd5d5..2414735660 100644 --- a/src/native/guild/setGuildAFKChannel.ts +++ b/src/native/guild/setGuildAFKChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, VoiceChannel } from "discord.js" diff --git a/src/native/guild/setGuildAFKTimeout.ts b/src/native/guild/setGuildAFKTimeout.ts index 9bf5bc7ba3..a60b9cf645 100644 --- a/src/native/guild/setGuildAFKTimeout.ts +++ b/src/native/guild/setGuildAFKTimeout.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildBanner.ts b/src/native/guild/setGuildBanner.ts index 038c9e61b1..b100e5a9e3 100644 --- a/src/native/guild/setGuildBanner.ts +++ b/src/native/guild/setGuildBanner.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildBoostProgressBar.ts b/src/native/guild/setGuildBoostProgressBar.ts index eab46e52f3..3bca1e7154 100644 --- a/src/native/guild/setGuildBoostProgressBar.ts +++ b/src/native/guild/setGuildBoostProgressBar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildDefaultMessageNotifications.ts b/src/native/guild/setGuildDefaultMessageNotifications.ts index 37c84cfe57..e4ea442ff0 100644 --- a/src/native/guild/setGuildDefaultMessageNotifications.ts +++ b/src/native/guild/setGuildDefaultMessageNotifications.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildDefaultMessageNotifications } from "discord.js" diff --git a/src/native/guild/setGuildDiscoverySplash.ts b/src/native/guild/setGuildDiscoverySplash.ts index cef67c8e11..12922a2c48 100644 --- a/src/native/guild/setGuildDiscoverySplash.ts +++ b/src/native/guild/setGuildDiscoverySplash.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildDmsDisabled.ts b/src/native/guild/setGuildDmsDisabled.ts index d9af679473..ceca3a3139 100644 --- a/src/native/guild/setGuildDmsDisabled.ts +++ b/src/native/guild/setGuildDmsDisabled.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildExplicitContentFilter.ts b/src/native/guild/setGuildExplicitContentFilter.ts index 10269b6da0..8752faa465 100644 --- a/src/native/guild/setGuildExplicitContentFilter.ts +++ b/src/native/guild/setGuildExplicitContentFilter.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildExplicitContentFilter } from "discord.js" diff --git a/src/native/guild/setGuildIcon.ts b/src/native/guild/setGuildIcon.ts index d13663ea0e..2538813659 100644 --- a/src/native/guild/setGuildIcon.ts +++ b/src/native/guild/setGuildIcon.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildInvitesDisabled.ts b/src/native/guild/setGuildInvitesDisabled.ts index 0c08ed2fc9..ef6e95d6fe 100644 --- a/src/native/guild/setGuildInvitesDisabled.ts +++ b/src/native/guild/setGuildInvitesDisabled.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildMFALevel.ts b/src/native/guild/setGuildMFALevel.ts index 99201f9f75..dc9f2cab1e 100644 --- a/src/native/guild/setGuildMFALevel.ts +++ b/src/native/guild/setGuildMFALevel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildMFALevel } from "discord.js" diff --git a/src/native/guild/setGuildName.ts b/src/native/guild/setGuildName.ts index e6db07e653..ef9c8c2473 100644 --- a/src/native/guild/setGuildName.ts +++ b/src/native/guild/setGuildName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildOwner.ts b/src/native/guild/setGuildOwner.ts index 3e14c60f20..8401d055e8 100644 --- a/src/native/guild/setGuildOwner.ts +++ b/src/native/guild/setGuildOwner.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildPausedInvites.ts b/src/native/guild/setGuildPausedInvites.ts index 2cf70e7356..9006d4a604 100644 --- a/src/native/guild/setGuildPausedInvites.ts +++ b/src/native/guild/setGuildPausedInvites.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildPreferredLocale.ts b/src/native/guild/setGuildPreferredLocale.ts index 460ddcea01..e4371ead2f 100644 --- a/src/native/guild/setGuildPreferredLocale.ts +++ b/src/native/guild/setGuildPreferredLocale.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Locale } from "discord.js" diff --git a/src/native/guild/setGuildPublicUpdatesChannel.ts b/src/native/guild/setGuildPublicUpdatesChannel.ts index d2943ec383..0073627c3d 100644 --- a/src/native/guild/setGuildPublicUpdatesChannel.ts +++ b/src/native/guild/setGuildPublicUpdatesChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, TextChannel } from "discord.js" diff --git a/src/native/guild/setGuildRulesChannel.ts b/src/native/guild/setGuildRulesChannel.ts index 5072a302f6..0f44e24252 100644 --- a/src/native/guild/setGuildRulesChannel.ts +++ b/src/native/guild/setGuildRulesChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, TextChannel } from "discord.js" diff --git a/src/native/guild/setGuildSafetyAlertsChannel.ts b/src/native/guild/setGuildSafetyAlertsChannel.ts index 6c5577428e..e195592be9 100644 --- a/src/native/guild/setGuildSafetyAlertsChannel.ts +++ b/src/native/guild/setGuildSafetyAlertsChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, TextChannel } from "discord.js" diff --git a/src/native/guild/setGuildSplash.ts b/src/native/guild/setGuildSplash.ts index db3f4d283c..3c1314bf4b 100644 --- a/src/native/guild/setGuildSplash.ts +++ b/src/native/guild/setGuildSplash.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/guild/setGuildSystemChannel.ts b/src/native/guild/setGuildSystemChannel.ts index 096e6d27d6..74a71e566b 100644 --- a/src/native/guild/setGuildSystemChannel.ts +++ b/src/native/guild/setGuildSystemChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, TextChannel } from "discord.js" diff --git a/src/native/guild/setGuildVerificationLevel.ts b/src/native/guild/setGuildVerificationLevel.ts index d01a1c8d4a..29b2b8ba78 100644 --- a/src/native/guild/setGuildVerificationLevel.ts +++ b/src/native/guild/setGuildVerificationLevel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildVerificationLevel } from "discord.js" diff --git a/src/native/guild/setGuildWidgetSettings.ts b/src/native/guild/setGuildWidgetSettings.ts index d7cdb6c4cb..7bbeecce6f 100644 --- a/src/native/guild/setGuildWidgetSettings.ts +++ b/src/native/guild/setGuildWidgetSettings.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, CategoryChannel, ForumChannel, GuildChannel, MediaChannel, NewsChannel, StageChannel, TextChannel, VoiceBasedChannel } from "discord.js" diff --git a/src/native/guild/syncGuildTemplate.ts b/src/native/guild/syncGuildTemplate.ts index a409b0b80f..d98a62b68a 100644 --- a/src/native/guild/syncGuildTemplate.ts +++ b/src/native/guild/syncGuildTemplate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/http/httpAddForm.ts b/src/native/http/httpAddForm.ts index 5e9db32768..f0c8cc3a6a 100644 --- a/src/native/http/httpAddForm.ts +++ b/src/native/http/httpAddForm.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { FormData } from "undici" diff --git a/src/native/http/httpAddHeader.ts b/src/native/http/httpAddHeader.ts index 6165ba08a2..01131a5ff6 100644 --- a/src/native/http/httpAddHeader.ts +++ b/src/native/http/httpAddHeader.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/http/httpAppendFile.ts b/src/native/http/httpAppendFile.ts index 773fc2468d..58dd8e4a30 100644 --- a/src/native/http/httpAppendFile.ts +++ b/src/native/http/httpAppendFile.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/http/httpAppendValue.ts b/src/native/http/httpAppendValue.ts index 00bff3705d..440d4fee67 100644 --- a/src/native/http/httpAppendValue.ts +++ b/src/native/http/httpAppendValue.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/http/httpGetHeader.ts b/src/native/http/httpGetHeader.ts index 32e583be17..c7ed24e372 100644 --- a/src/native/http/httpGetHeader.ts +++ b/src/native/http/httpGetHeader.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/http/httpPing.ts b/src/native/http/httpPing.ts index f6640b57b2..a18b997b56 100644 --- a/src/native/http/httpPing.ts +++ b/src/native/http/httpPing.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/http/httpRemoveHeader.ts b/src/native/http/httpRemoveHeader.ts index 83496ce248..c81239e106 100644 --- a/src/native/http/httpRemoveHeader.ts +++ b/src/native/http/httpRemoveHeader.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/http/httpRequest.ts b/src/native/http/httpRequest.ts index e8d21641a1..e6067a2518 100644 --- a/src/native/http/httpRequest.ts +++ b/src/native/http/httpRequest.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/http/httpResult.ts b/src/native/http/httpResult.ts index 954591c777..f09a71b4bb 100644 --- a/src/native/http/httpResult.ts +++ b/src/native/http/httpResult.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/http/httpSetBody.ts b/src/native/http/httpSetBody.ts index a0c6ea8709..e72c8e3c2d 100644 --- a/src/native/http/httpSetBody.ts +++ b/src/native/http/httpSetBody.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/http/httpSetContentType.ts b/src/native/http/httpSetContentType.ts index e803bc6d2e..ae0572493d 100644 --- a/src/native/http/httpSetContentType.ts +++ b/src/native/http/httpSetContentType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { HTTPContentType } from "../../structures" diff --git a/src/native/interaction/applicationCommandDescription.ts b/src/native/interaction/applicationCommandDescription.ts index 12373d84e7..4b03510a12 100644 --- a/src/native/interaction/applicationCommandDescription.ts +++ b/src/native/interaction/applicationCommandDescription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/interaction/applicationCommandDisplay.ts b/src/native/interaction/applicationCommandDisplay.ts index 40fdaa335e..544fcdb17c 100644 --- a/src/native/interaction/applicationCommandDisplay.ts +++ b/src/native/interaction/applicationCommandDisplay.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/interaction/applicationCommandID.ts b/src/native/interaction/applicationCommandID.ts index d47081adbc..ae4ef5d005 100644 --- a/src/native/interaction/applicationCommandID.ts +++ b/src/native/interaction/applicationCommandID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/interaction/applicationCommandName.ts b/src/native/interaction/applicationCommandName.ts index 4ff6479a7e..f8afacbb6e 100644 --- a/src/native/interaction/applicationCommandName.ts +++ b/src/native/interaction/applicationCommandName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/interaction/applicationCommandOptions.ts b/src/native/interaction/applicationCommandOptions.ts index 7014ddb29e..de7075a28d 100644 --- a/src/native/interaction/applicationCommandOptions.ts +++ b/src/native/interaction/applicationCommandOptions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/interaction/applicationSubCommandGroupName.ts b/src/native/interaction/applicationSubCommandGroupName.ts index cd3b9fb8b6..acaf554247 100644 --- a/src/native/interaction/applicationSubCommandGroupName.ts +++ b/src/native/interaction/applicationSubCommandGroupName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/interaction/applicationSubCommandName.ts b/src/native/interaction/applicationSubCommandName.ts index 8eb22cbe76..6de57c9467 100644 --- a/src/native/interaction/applicationSubCommandName.ts +++ b/src/native/interaction/applicationSubCommandName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/interaction/authorizingIntegrationOwners.ts b/src/native/interaction/authorizingIntegrationOwners.ts index f06d1d7590..ea5d2edb2a 100644 --- a/src/native/interaction/authorizingIntegrationOwners.ts +++ b/src/native/interaction/authorizingIntegrationOwners.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/autocomplete.ts b/src/native/interaction/autocomplete.ts index 9f1b59905f..e4d2698a52 100644 --- a/src/native/interaction/autocomplete.ts +++ b/src/native/interaction/autocomplete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/context.ts b/src/native/interaction/context.ts index 93c3479f1e..bdfee1f05f 100644 --- a/src/native/interaction/context.ts +++ b/src/native/interaction/context.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { InteractionContextType } from "discord.js" diff --git a/src/native/interaction/customID.ts b/src/native/interaction/customID.ts index c1244c6705..8060a47f86 100644 --- a/src/native/interaction/customID.ts +++ b/src/native/interaction/customID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/interaction/defer.ts b/src/native/interaction/defer.ts index fb7dc91979..33e0f6981a 100644 --- a/src/native/interaction/defer.ts +++ b/src/native/interaction/defer.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageFlags } from "discord.js" diff --git a/src/native/interaction/deferUpdate.ts b/src/native/interaction/deferUpdate.ts index 18754be1e2..050d30beda 100644 --- a/src/native/interaction/deferUpdate.ts +++ b/src/native/interaction/deferUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/ephemeral.ts b/src/native/interaction/ephemeral.ts index 21068ef6a9..7c69735a40 100644 --- a/src/native/interaction/ephemeral.ts +++ b/src/native/interaction/ephemeral.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/focusedOptionName.ts b/src/native/interaction/focusedOptionName.ts index 56eaf8d974..d96d362d1c 100644 --- a/src/native/interaction/focusedOptionName.ts +++ b/src/native/interaction/focusedOptionName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/focusedOptionValue.ts b/src/native/interaction/focusedOptionValue.ts index 730a8867a9..8d3877e239 100644 --- a/src/native/interaction/focusedOptionValue.ts +++ b/src/native/interaction/focusedOptionValue.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/input.ts b/src/native/interaction/input.ts index 082a86693f..78bc30c2a1 100644 --- a/src/native/interaction/input.ts +++ b/src/native/interaction/input.ts @@ -1,9 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ComponentType } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$input", @@ -34,7 +35,7 @@ export default new NativeFunction({ return this.success( "value" in field ? field.value - : "attachments" in field + : ("attachments" in field && field.type === ComponentType.FileUpload) ? field.attachments.map((x) => x.url).join(sep ?? ", ") : field.values.join(sep ?? ", ") ) diff --git a/src/native/interaction/interactionDelete.ts b/src/native/interaction/interactionDelete.ts index 86934107b6..cb861bb603 100644 --- a/src/native/interaction/interactionDelete.ts +++ b/src/native/interaction/interactionDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/interaction/interactionFollowUp.ts b/src/native/interaction/interactionFollowUp.ts index 4626beda6f..47927b5d21 100644 --- a/src/native/interaction/interactionFollowUp.ts +++ b/src/native/interaction/interactionFollowUp.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Message } from "discord.js" diff --git a/src/native/interaction/interactionRawData.ts b/src/native/interaction/interactionRawData.ts index d7259f746c..ed3948505d 100644 --- a/src/native/interaction/interactionRawData.ts +++ b/src/native/interaction/interactionRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/interactionReply.ts b/src/native/interaction/interactionReply.ts index 072cbcdfbc..2a57191fb4 100644 --- a/src/native/interaction/interactionReply.ts +++ b/src/native/interaction/interactionReply.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Message } from "discord.js" diff --git a/src/native/interaction/interactionRequirePremium.ts b/src/native/interaction/interactionRequirePremium.ts index 986e895478..4ef571f6c8 100644 --- a/src/native/interaction/interactionRequirePremium.ts +++ b/src/native/interaction/interactionRequirePremium.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Logger, NativeFunction } from "../../structures" diff --git a/src/native/interaction/interactionUpdate.ts b/src/native/interaction/interactionUpdate.ts index c89c996f51..0c143889d9 100644 --- a/src/native/interaction/interactionUpdate.ts +++ b/src/native/interaction/interactionUpdate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Message } from "discord.js" diff --git a/src/native/interaction/isActivityCommand.ts b/src/native/interaction/isActivityCommand.ts index 747646121d..f7a511cef5 100644 --- a/src/native/interaction/isActivityCommand.ts +++ b/src/native/interaction/isActivityCommand.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isAnySelectMenu.ts b/src/native/interaction/isAnySelectMenu.ts index 29ce5dd441..17eaba1222 100644 --- a/src/native/interaction/isAnySelectMenu.ts +++ b/src/native/interaction/isAnySelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isAutocomplete.ts b/src/native/interaction/isAutocomplete.ts index 8ab70e32b4..42c4d74b2b 100644 --- a/src/native/interaction/isAutocomplete.ts +++ b/src/native/interaction/isAutocomplete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isButton.ts b/src/native/interaction/isButton.ts index bc0b458876..e2f12ad59d 100644 --- a/src/native/interaction/isButton.ts +++ b/src/native/interaction/isButton.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isChannelSelectMenu.ts b/src/native/interaction/isChannelSelectMenu.ts index a3acddb746..a921dfce43 100644 --- a/src/native/interaction/isChannelSelectMenu.ts +++ b/src/native/interaction/isChannelSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isCommand.ts b/src/native/interaction/isCommand.ts index 543c129f80..5802847c27 100644 --- a/src/native/interaction/isCommand.ts +++ b/src/native/interaction/isCommand.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isContextMenu.ts b/src/native/interaction/isContextMenu.ts index ddc651fcf1..518100ad0b 100644 --- a/src/native/interaction/isContextMenu.ts +++ b/src/native/interaction/isContextMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isMentionableSelectMenu.ts b/src/native/interaction/isMentionableSelectMenu.ts index d2b78a1fa5..852718b02c 100644 --- a/src/native/interaction/isMentionableSelectMenu.ts +++ b/src/native/interaction/isMentionableSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isMessageComponent.ts b/src/native/interaction/isMessageComponent.ts new file mode 100644 index 0000000000..a13fd309ac --- /dev/null +++ b/src/native/interaction/isMessageComponent.ts @@ -0,0 +1,17 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$isMessageComponent", + version: "2.7.0", + description: "Returns whether the interaction is a message component", + unwrap: false, + output: ArgType.Boolean, + execute(ctx) { + return this.success(Boolean(ctx.interaction?.isMessageComponent())) + }, +}) diff --git a/src/native/interaction/isMessageContextMenu.ts b/src/native/interaction/isMessageContextMenu.ts new file mode 100644 index 0000000000..67534cea6c --- /dev/null +++ b/src/native/interaction/isMessageContextMenu.ts @@ -0,0 +1,17 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$isMessageContextMenu", + version: "2.7.0", + description: "Returns whether the interaction is a message context menu", + unwrap: false, + output: ArgType.Boolean, + execute(ctx) { + return this.success(Boolean(ctx.interaction?.isMessageContextMenuCommand())) + }, +}) diff --git a/src/native/interaction/isModal.ts b/src/native/interaction/isModal.ts index c920a268fb..1e449ab7af 100644 --- a/src/native/interaction/isModal.ts +++ b/src/native/interaction/isModal.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isRepliable.ts b/src/native/interaction/isRepliable.ts index 4f26b5f050..173109ed55 100644 --- a/src/native/interaction/isRepliable.ts +++ b/src/native/interaction/isRepliable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isRoleSelectMenu.ts b/src/native/interaction/isRoleSelectMenu.ts index c316429d9e..c2562200f5 100644 --- a/src/native/interaction/isRoleSelectMenu.ts +++ b/src/native/interaction/isRoleSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isSlashCommand.ts b/src/native/interaction/isSlashCommand.ts index ce9ab42c99..ee7bb416be 100644 --- a/src/native/interaction/isSlashCommand.ts +++ b/src/native/interaction/isSlashCommand.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isStringSelectMenu.ts b/src/native/interaction/isStringSelectMenu.ts index e0e48950af..9aeef8ccf5 100644 --- a/src/native/interaction/isStringSelectMenu.ts +++ b/src/native/interaction/isStringSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/isUserContextMenu.ts b/src/native/interaction/isUserContextMenu.ts new file mode 100644 index 0000000000..366b5f1807 --- /dev/null +++ b/src/native/interaction/isUserContextMenu.ts @@ -0,0 +1,17 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$isUserContextMenu", + version: "2.7.0", + description: "Returns whether the interaction is a user context menu", + unwrap: false, + output: ArgType.Boolean, + execute(ctx) { + return this.success(Boolean(ctx.interaction?.isUserContextMenuCommand())) + }, +}) diff --git a/src/native/interaction/isUserSelectMenu.ts b/src/native/interaction/isUserSelectMenu.ts index 00e6a1fb3f..5143c650ab 100644 --- a/src/native/interaction/isUserSelectMenu.ts +++ b/src/native/interaction/isUserSelectMenu.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/launchActivity.ts b/src/native/interaction/launchActivity.ts index 28d1c0c7de..b618476fd6 100644 --- a/src/native/interaction/launchActivity.ts +++ b/src/native/interaction/launchActivity.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/locale.ts b/src/native/interaction/locale.ts index 5ed53c267c..dc1930398a 100644 --- a/src/native/interaction/locale.ts +++ b/src/native/interaction/locale.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Locale } from "discord.js" diff --git a/src/native/interaction/modal.ts b/src/native/interaction/modal.ts index c626f67ccc..e89de90354 100644 --- a/src/native/interaction/modal.ts +++ b/src/native/interaction/modal.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ModalBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$modal", diff --git a/src/native/interaction/option.ts b/src/native/interaction/option.ts index 2177d541b0..33cfe37577 100644 --- a/src/native/interaction/option.ts +++ b/src/native/interaction/option.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/selectMenuValues.ts b/src/native/interaction/selectMenuValues.ts index 30bbf1270d..d094f95591 100644 --- a/src/native/interaction/selectMenuValues.ts +++ b/src/native/interaction/selectMenuValues.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/interaction/showModal.ts b/src/native/interaction/showModal.ts index 3c079cd80d..b61acd5782 100644 --- a/src/native/interaction/showModal.ts +++ b/src/native/interaction/showModal.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/interaction/targetMember.ts b/src/native/interaction/targetMember.ts index d7a530c792..ad37872f42 100644 --- a/src/native/interaction/targetMember.ts +++ b/src/native/interaction/targetMember.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/targetMessage.ts b/src/native/interaction/targetMessage.ts index a871be6c02..cf79a82c68 100644 --- a/src/native/interaction/targetMessage.ts +++ b/src/native/interaction/targetMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/interaction/targetMessageEmbeds.ts b/src/native/interaction/targetMessageEmbeds.ts index f01d08b935..abc277e108 100644 --- a/src/native/interaction/targetMessageEmbeds.ts +++ b/src/native/interaction/targetMessageEmbeds.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Embed, EmbedBuilder } from "discord.js" diff --git a/src/native/invite/deleteInvite.ts b/src/native/invite/deleteInvite.ts index 95f60530f1..005576f028 100644 --- a/src/native/invite/deleteInvite.ts +++ b/src/native/invite/deleteInvite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/invite/getInvite.ts b/src/native/invite/getInvite.ts index 284e067afd..4e2375e1e3 100644 --- a/src/native/invite/getInvite.ts +++ b/src/native/invite/getInvite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/invite/inviteExists.ts b/src/native/invite/inviteExists.ts index a28d73b65e..f97d070023 100644 --- a/src/native/invite/inviteExists.ts +++ b/src/native/invite/inviteExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/invite/inviterCode.ts b/src/native/invite/inviterCode.ts index dfd2267aa2..2a64643c1a 100644 --- a/src/native/invite/inviterCode.ts +++ b/src/native/invite/inviterCode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/invite/inviterID.ts b/src/native/invite/inviterID.ts index ed3eae2528..e4a9483b52 100644 --- a/src/native/invite/inviterID.ts +++ b/src/native/invite/inviterID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/json/isJSON.ts b/src/native/json/isJSON.ts index cfc36fcaee..5e6df56957 100644 --- a/src/native/json/isJSON.ts +++ b/src/native/json/isJSON.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/json/jsonAssign.ts b/src/native/json/jsonAssign.ts index f8b4d8d60e..8a5ff1d273 100644 --- a/src/native/json/jsonAssign.ts +++ b/src/native/json/jsonAssign.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/json/jsonDelete.ts b/src/native/json/jsonDelete.ts index ba8a9596c6..75f68dbda2 100644 --- a/src/native/json/jsonDelete.ts +++ b/src/native/json/jsonDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/json/jsonEntries.ts b/src/native/json/jsonEntries.ts index 94c2024d5b..fe151d3b67 100644 --- a/src/native/json/jsonEntries.ts +++ b/src/native/json/jsonEntries.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$jsonEntries", diff --git a/src/native/json/jsonFromEntries.ts b/src/native/json/jsonFromEntries.ts new file mode 100644 index 0000000000..ee959a23d8 --- /dev/null +++ b/src/native/json/jsonFromEntries.ts @@ -0,0 +1,35 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$jsonFromEntries", + version: "2.7.0", + description: "Converts an array of entries into an object", + aliases: ["$fromEntries"], + unwrap: true, + brackets: true, + args: [ + { + name: "variable", + description: "The variable to get entries from", + rest: false, + type: ArgType.String, + required: true, + } + ], + output: ArgType.Json, + execute(ctx, [name]) { + const arr = ctx.getEnvironmentKey(name) + if (!Array.isArray(arr)) return this.success() + + try { + return this.successJSON(Object.fromEntries(arr)) + } catch { + return this.success() + } + }, +}) \ No newline at end of file diff --git a/src/native/json/jsonHas.ts b/src/native/json/jsonHas.ts index fb5167b877..afcb4f54f9 100644 --- a/src/native/json/jsonHas.ts +++ b/src/native/json/jsonHas.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/json/jsonKeys.ts b/src/native/json/jsonKeys.ts index 35931b7e07..7422a9911b 100644 --- a/src/native/json/jsonKeys.ts +++ b/src/native/json/jsonKeys.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$jsonKeys", diff --git a/src/native/json/jsonLoad.ts b/src/native/json/jsonLoad.ts index ce48f79b30..f897e6951c 100644 --- a/src/native/json/jsonLoad.ts +++ b/src/native/json/jsonLoad.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$jsonLoad", diff --git a/src/native/json/jsonSet.ts b/src/native/json/jsonSet.ts index 42a71a7963..5cfbab9420 100644 --- a/src/native/json/jsonSet.ts +++ b/src/native/json/jsonSet.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import parseJSON from "../../functions/parseJSON" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$jsonSet", diff --git a/src/native/json/jsonStringify.ts b/src/native/json/jsonStringify.ts index 6b10071076..ad7930159f 100644 --- a/src/native/json/jsonStringify.ts +++ b/src/native/json/jsonStringify.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/json/jsonValues.ts b/src/native/json/jsonValues.ts index 45f59a8811..cba9011767 100644 --- a/src/native/json/jsonValues.ts +++ b/src/native/json/jsonValues.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$jsonValues", @@ -34,6 +34,6 @@ export default new NativeFunction({ execute(ctx, [name, sep]) { const json = ctx.getEnvironmentKey(name) if (!json) return this.success() - return this.successJSON(Object.values(json).join(sep ?? ", ")) + return this.successJSON(Object.values(json).map((v) => (typeof v === "string" ? v : JSON.stringify(v))).join(sep ?? ", ")) }, }) \ No newline at end of file diff --git a/src/native/limiter/onlyForCategories.ts b/src/native/limiter/onlyForCategories.ts index 29aec598cc..0811b62ceb 100644 --- a/src/native/limiter/onlyForCategories.ts +++ b/src/native/limiter/onlyForCategories.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, CategoryChannel, ChannelType } from "discord.js" diff --git a/src/native/limiter/onlyForChannels.ts b/src/native/limiter/onlyForChannels.ts index d585267cdc..a0396aa9e3 100644 --- a/src/native/limiter/onlyForChannels.ts +++ b/src/native/limiter/onlyForChannels.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/limiter/onlyForGuilds.ts b/src/native/limiter/onlyForGuilds.ts index d1760fb117..4ba28780b1 100644 --- a/src/native/limiter/onlyForGuilds.ts +++ b/src/native/limiter/onlyForGuilds.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/limiter/onlyForRoles.ts b/src/native/limiter/onlyForRoles.ts index f74f62b1c4..2e56b6e606 100644 --- a/src/native/limiter/onlyForRoles.ts +++ b/src/native/limiter/onlyForRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/limiter/onlyForUsers.ts b/src/native/limiter/onlyForUsers.ts index 7fb9b691d1..688d7d8516 100644 --- a/src/native/limiter/onlyForUsers.ts +++ b/src/native/limiter/onlyForUsers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/limiter/onlyIf.ts b/src/native/limiter/onlyIf.ts index f710ae5c90..ce9dfe1dc8 100644 --- a/src/native/limiter/onlyIf.ts +++ b/src/native/limiter/onlyIf.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { diff --git a/src/native/limiter/stop.ts b/src/native/limiter/stop.ts index 2109fcd395..d01ec0390a 100644 --- a/src/native/limiter/stop.ts +++ b/src/native/limiter/stop.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/logging/chalkLog.ts b/src/native/logging/chalkLog.ts index 6057acdbcf..067542a0e7 100644 --- a/src/native/logging/chalkLog.ts +++ b/src/native/logging/chalkLog.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/logging/log.ts b/src/native/logging/log.ts index 79172ff097..09ecc5bd8a 100644 --- a/src/native/logging/log.ts +++ b/src/native/logging/log.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/logging/logger.ts b/src/native/logging/logger.ts index 940180d66a..16f3681562 100644 --- a/src/native/logging/logger.ts +++ b/src/native/logging/logger.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/lookup/findApplicationEmoji.ts b/src/native/lookup/findApplicationEmoji.ts index d90043e584..de96fe1d79 100644 --- a/src/native/lookup/findApplicationEmoji.ts +++ b/src/native/lookup/findApplicationEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/lookup/findChannel.ts b/src/native/lookup/findChannel.ts index 8e47fb6298..73fe1453a5 100644 --- a/src/native/lookup/findChannel.ts +++ b/src/native/lookup/findChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/lookup/findChannels.ts b/src/native/lookup/findChannels.ts index ae08acbdcd..312465fc07 100644 --- a/src/native/lookup/findChannels.ts +++ b/src/native/lookup/findChannels.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/lookup/findEmoji.ts b/src/native/lookup/findEmoji.ts index f9f5c66e7a..645557f663 100644 --- a/src/native/lookup/findEmoji.ts +++ b/src/native/lookup/findEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { parseEmoji } from "discord.js" diff --git a/src/native/lookup/findGuild.ts b/src/native/lookup/findGuild.ts index 02b5452fed..69526e4590 100644 --- a/src/native/lookup/findGuild.ts +++ b/src/native/lookup/findGuild.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/lookup/findGuildChannel.ts b/src/native/lookup/findGuildChannel.ts index d97d9bbb8a..8465525640 100644 --- a/src/native/lookup/findGuildChannel.ts +++ b/src/native/lookup/findGuildChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/lookup/findGuildEmoji.ts b/src/native/lookup/findGuildEmoji.ts index 1d4780d2f7..fee5527b10 100644 --- a/src/native/lookup/findGuildEmoji.ts +++ b/src/native/lookup/findGuildEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/lookup/findMember.ts b/src/native/lookup/findMember.ts index 479220e2b6..3bef6e67e4 100644 --- a/src/native/lookup/findMember.ts +++ b/src/native/lookup/findMember.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/lookup/findMembers.ts b/src/native/lookup/findMembers.ts index 6c243a716d..77c1d25bae 100644 --- a/src/native/lookup/findMembers.ts +++ b/src/native/lookup/findMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/lookup/findRole.ts b/src/native/lookup/findRole.ts index 5af003be46..499890a693 100644 --- a/src/native/lookup/findRole.ts +++ b/src/native/lookup/findRole.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/lookup/findRoles.ts b/src/native/lookup/findRoles.ts index c44e76bd5a..c9156ac8e0 100644 --- a/src/native/lookup/findRoles.ts +++ b/src/native/lookup/findRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/lookup/findUser.ts b/src/native/lookup/findUser.ts index 4e3a723be9..e13957d751 100644 --- a/src/native/lookup/findUser.ts +++ b/src/native/lookup/findUser.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import noop from "../../functions/noop" diff --git a/src/native/math/abs.ts b/src/native/math/abs.ts index f950a2ad98..85c403bc76 100644 --- a/src/native/math/abs.ts +++ b/src/native/math/abs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/base.ts b/src/native/math/base.ts index 7b81db59e3..d63cfea5e0 100644 --- a/src/native/math/base.ts +++ b/src/native/math/base.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/bigintDivide.ts b/src/native/math/bigintDivide.ts index 60a9b19df9..2166fdc8bb 100644 --- a/src/native/math/bigintDivide.ts +++ b/src/native/math/bigintDivide.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/bigintMulti.ts b/src/native/math/bigintMulti.ts index 8fc9576e06..44cae79315 100644 --- a/src/native/math/bigintMulti.ts +++ b/src/native/math/bigintMulti.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/bigintSub.ts b/src/native/math/bigintSub.ts index 303a2a17dd..7638216b57 100644 --- a/src/native/math/bigintSub.ts +++ b/src/native/math/bigintSub.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/bigintSum.ts b/src/native/math/bigintSum.ts index ba446dab22..cdd6b09ac5 100644 --- a/src/native/math/bigintSum.ts +++ b/src/native/math/bigintSum.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/ceil.ts b/src/native/math/ceil.ts index 3632ca6a19..184831af1c 100644 --- a/src/native/math/ceil.ts +++ b/src/native/math/ceil.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/divide.ts b/src/native/math/divide.ts index ce64480c26..ad11788a91 100644 --- a/src/native/math/divide.ts +++ b/src/native/math/divide.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/floor.ts b/src/native/math/floor.ts index b7c62f18b6..7ce44ed040 100644 --- a/src/native/math/floor.ts +++ b/src/native/math/floor.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/logn.ts b/src/native/math/logn.ts index ac99d3615f..14be6cb08b 100644 --- a/src/native/math/logn.ts +++ b/src/native/math/logn.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/math.ts b/src/native/math/math.ts index eadf8fcabd..6acfc108b2 100644 --- a/src/native/math/math.ts +++ b/src/native/math/math.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/max.ts b/src/native/math/max.ts index 72d59a8225..f30a277437 100644 --- a/src/native/math/max.ts +++ b/src/native/math/max.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/min.ts b/src/native/math/min.ts index fee5c40e84..fc8289c880 100644 --- a/src/native/math/min.ts +++ b/src/native/math/min.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/modulo.ts b/src/native/math/modulo.ts index 1d9a8a8be8..b28a9fe312 100644 --- a/src/native/math/modulo.ts +++ b/src/native/math/modulo.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/multi.ts b/src/native/math/multi.ts index 5761ff9f99..22203f993a 100644 --- a/src/native/math/multi.ts +++ b/src/native/math/multi.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/pi.ts b/src/native/math/pi.ts index 4642a9e8f3..cc069a1060 100644 --- a/src/native/math/pi.ts +++ b/src/native/math/pi.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/pow.ts b/src/native/math/pow.ts index 711e7a28a9..01ce4031bf 100644 --- a/src/native/math/pow.ts +++ b/src/native/math/pow.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/round.ts b/src/native/math/round.ts index ecf2a0bd4f..a0f05fe5b2 100644 --- a/src/native/math/round.ts +++ b/src/native/math/round.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/sign.ts b/src/native/math/sign.ts index 6a5f0be84b..5b0d4658b7 100644 --- a/src/native/math/sign.ts +++ b/src/native/math/sign.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/sqrt.ts b/src/native/math/sqrt.ts index aafeed6b2f..8e4ee4fc8e 100644 --- a/src/native/math/sqrt.ts +++ b/src/native/math/sqrt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/sub.ts b/src/native/math/sub.ts index b8a265d862..3f827f1e73 100644 --- a/src/native/math/sub.ts +++ b/src/native/math/sub.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/sum.ts b/src/native/math/sum.ts index 9a5bb89712..87c0a861ae 100644 --- a/src/native/math/sum.ts +++ b/src/native/math/sum.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/math/trunc.ts b/src/native/math/trunc.ts index 74aa705535..c24449d905 100644 --- a/src/native/math/trunc.ts +++ b/src/native/math/trunc.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/ban.ts b/src/native/member/ban.ts index f1c228b3e2..3c3f6f0540 100644 --- a/src/native/member/ban.ts +++ b/src/native/member/ban.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/fetchMembers.ts b/src/native/member/fetchMembers.ts index 6b65b8565e..72c4839e76 100644 --- a/src/native/member/fetchMembers.ts +++ b/src/native/member/fetchMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/hasAnyPerms.ts b/src/native/member/hasAnyPerms.ts index 28db84c8a4..3bb97db80c 100644 --- a/src/native/member/hasAnyPerms.ts +++ b/src/native/member/hasAnyPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PermissionFlagsBits, PermissionsString } from "discord.js" diff --git a/src/native/member/hasAnyRole.ts b/src/native/member/hasAnyRole.ts index 29d7a65a4e..717ca159fe 100644 --- a/src/native/member/hasAnyRole.ts +++ b/src/native/member/hasAnyRole.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PermissionsString } from "discord.js" diff --git a/src/native/member/hasPerms.ts b/src/native/member/hasPerms.ts index eb2ed6c8e6..652344a56b 100644 --- a/src/native/member/hasPerms.ts +++ b/src/native/member/hasPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PermissionFlagsBits, PermissionsString } from "discord.js" diff --git a/src/native/member/hasRoles.ts b/src/native/member/hasRoles.ts index 8de7ed3a50..407e416ca1 100644 --- a/src/native/member/hasRoles.ts +++ b/src/native/member/hasRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PermissionsString } from "discord.js" diff --git a/src/native/member/isBannable.ts b/src/native/member/isBannable.ts new file mode 100644 index 0000000000..32a6cf85c2 --- /dev/null +++ b/src/native/member/isBannable.ts @@ -0,0 +1,37 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$isBannable", + version: "2.7.0", + aliases: ["$memberIsBannable"], + description: "Returns whether a member is bannable", + brackets: false, + unwrap: true, + args: [ + { + name: "guild ID", + description: "The guild to pull the member from", + rest: false, + type: ArgType.Guild, + required: true, + }, + { + name: "user ID", + description: "The member to check for", + rest: false, + type: ArgType.Member, + pointer: 0, + required: true, + }, + ], + output: ArgType.Boolean, + execute(ctx, [, member]) { + member ??= ctx.member! + return this.success(member?.bannable ?? false) + }, +}) \ No newline at end of file diff --git a/src/native/member/isBanned.ts b/src/native/member/isBanned.ts index 54ffacfdf5..9f6e4ee299 100644 --- a/src/native/member/isBanned.ts +++ b/src/native/member/isBanned.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isBanned", @@ -25,7 +25,7 @@ export default new NativeFunction({ }, { name: "user ID", - description: "The user to check ban", + description: "The user to check ban status for", rest: false, type: ArgType.User, required: true, diff --git a/src/native/member/isBoosting.ts b/src/native/member/isBoosting.ts index 341acb0a31..045b0b469c 100644 --- a/src/native/member/isBoosting.ts +++ b/src/native/member/isBoosting.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" diff --git a/src/native/member/isDeaf.ts b/src/native/member/isDeaf.ts index 72d5fb7999..acc9794d5b 100644 --- a/src/native/member/isDeaf.ts +++ b/src/native/member/isDeaf.ts @@ -1,15 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isDeaf", version: "1.0.0", - description: "Whether a member is deafened", + description: "Returns whether a member is deafened", brackets: false, unwrap: true, aliases: [ diff --git a/src/native/member/isGuildDeaf.ts b/src/native/member/isGuildDeaf.ts index 793093659a..fb679f9144 100644 --- a/src/native/member/isGuildDeaf.ts +++ b/src/native/member/isGuildDeaf.ts @@ -1,14 +1,14 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isGuildDeaf", version: "1.0.0", - description: "Whether a member is server deafened", + description: "Returns whether a member is server deafened", brackets: false, aliases: [ "$memberIsGuildDeaf" diff --git a/src/native/member/isGuildMuted.ts b/src/native/member/isGuildMuted.ts index 3a07b3a9bc..d4220831f5 100644 --- a/src/native/member/isGuildMuted.ts +++ b/src/native/member/isGuildMuted.ts @@ -1,14 +1,14 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isGuildMuted", version: "1.0.0", - description: "Whether a member is server muted", + description: "Returns whether a member is server muted", brackets: false, aliases: [ "$memberIsGuildMuted" diff --git a/src/native/member/isKickable.ts b/src/native/member/isKickable.ts new file mode 100644 index 0000000000..11815f8878 --- /dev/null +++ b/src/native/member/isKickable.ts @@ -0,0 +1,37 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$isKickable", + version: "2.7.0", + aliases: ["$memberIsKickable"], + description: "Returns whether a member is kickable", + brackets: false, + unwrap: true, + args: [ + { + name: "guild ID", + description: "The guild to pull the member from", + rest: false, + type: ArgType.Guild, + required: true, + }, + { + name: "user ID", + description: "The member to check for", + rest: false, + type: ArgType.Member, + pointer: 0, + required: true, + }, + ], + output: ArgType.Boolean, + execute(ctx, [, member]) { + member ??= ctx.member! + return this.success(member?.kickable ?? false) + }, +}) \ No newline at end of file diff --git a/src/native/member/isManageable.ts b/src/native/member/isManageable.ts new file mode 100644 index 0000000000..9de0ab8f8c --- /dev/null +++ b/src/native/member/isManageable.ts @@ -0,0 +1,37 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$isManageable", + version: "2.7.0", + aliases: ["$memberIsManageable"], + description: "Returns whether a member is manageable", + brackets: false, + unwrap: true, + args: [ + { + name: "guild ID", + description: "The guild to pull the member from", + rest: false, + type: ArgType.Guild, + required: true, + }, + { + name: "user ID", + description: "The member to check for", + rest: false, + type: ArgType.Member, + pointer: 0, + required: true, + }, + ], + output: ArgType.Boolean, + execute(ctx, [, member]) { + member ??= ctx.member! + return this.success(member?.manageable ?? false) + }, +}) \ No newline at end of file diff --git a/src/native/member/isModeratable.ts b/src/native/member/isModeratable.ts new file mode 100644 index 0000000000..badc7adb5b --- /dev/null +++ b/src/native/member/isModeratable.ts @@ -0,0 +1,37 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$isModeratable", + version: "2.7.0", + aliases: ["$memberIsModeratable"], + description: "Returns whether a member is moderatable", + brackets: false, + unwrap: true, + args: [ + { + name: "guild ID", + description: "The guild to pull the member from", + rest: false, + type: ArgType.Guild, + required: true, + }, + { + name: "user ID", + description: "The member to check for", + rest: false, + type: ArgType.Member, + pointer: 0, + required: true, + }, + ], + output: ArgType.Boolean, + execute(ctx, [, member]) { + member ??= ctx.member! + return this.success(member?.moderatable ?? false) + }, +}) \ No newline at end of file diff --git a/src/native/member/isMuted.ts b/src/native/member/isMuted.ts index 212a75f4f8..861242d9ef 100644 --- a/src/native/member/isMuted.ts +++ b/src/native/member/isMuted.ts @@ -1,15 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isMuted", version: "1.0.0", - description: "Whether a member is muted", + description: "Returns whether a member is muted", brackets: false, unwrap: true, aliases: [ diff --git a/src/native/member/isSelfDeaf.ts b/src/native/member/isSelfDeaf.ts index 088220bcee..b80974d433 100644 --- a/src/native/member/isSelfDeaf.ts +++ b/src/native/member/isSelfDeaf.ts @@ -1,14 +1,14 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isSelfDeaf", version: "1.0.0", - description: "Whether a member is self deafened", + description: "Returns whether a member is self deafened", brackets: false, unwrap: true, aliases: [ diff --git a/src/native/member/isSelfMuted.ts b/src/native/member/isSelfMuted.ts index aa14b59ca9..bbf7e1ef9f 100644 --- a/src/native/member/isSelfMuted.ts +++ b/src/native/member/isSelfMuted.ts @@ -1,14 +1,14 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isSelfMuted", version: "1.0.0", - description: "Whether a member is self muted", + description: "Returns whether a member is self muted", brackets: false, unwrap: true, aliases: [ diff --git a/src/native/member/isTimedOut.ts b/src/native/member/isTimedOut.ts index 1283371ace..c05f45c4fd 100644 --- a/src/native/member/isTimedOut.ts +++ b/src/native/member/isTimedOut.ts @@ -1,15 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isTimedOut", version: "1.0.0", - description: "Whether an member is timed out", + description: "Returns whether a member is timed out", unwrap: true, brackets: false, aliases: [ diff --git a/src/native/member/isVerified.ts b/src/native/member/isVerified.ts index 8cd5cfe3e0..ac1877f97e 100644 --- a/src/native/member/isVerified.ts +++ b/src/native/member/isVerified.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isVerified", @@ -11,7 +11,7 @@ export default new NativeFunction({ aliases: [ "$memberIsVerified" ], - description: "Whether a member is verified", + description: "Returns whether a member is verified", brackets: false, unwrap: true, output: ArgType.Boolean, @@ -25,7 +25,7 @@ export default new NativeFunction({ }, { name: "user ID", - description: "The member to get its voice state", + description: "The member to get its verified status", rest: false, type: ArgType.Member, pointer: 0, diff --git a/src/native/member/kickMember.ts b/src/native/member/kick.ts similarity index 85% rename from src/native/member/kickMember.ts rename to src/native/member/kick.ts index 2e6c9eeea4..862c456b23 100644 --- a/src/native/member/kickMember.ts +++ b/src/native/member/kick.ts @@ -1,18 +1,19 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ - name: "$kickMember", + name: "$kick", version: "1.0.0", description: "Kicks a member from the guild, returns true or false depending on whether the action was successfully performed", unwrap: true, brackets: true, aliases: [ + "$kickMember", "$memberKick" ], output: ArgType.Boolean, diff --git a/src/native/member/memberActivity.ts b/src/native/member/memberActivity.ts index 2fa9c3b818..a6113dbc39 100644 --- a/src/native/member/memberActivity.ts +++ b/src/native/member/memberActivity.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberAddRoles.ts b/src/native/member/memberAddRoles.ts index 55fe12564e..b0a3da19e1 100644 --- a/src/native/member/memberAddRoles.ts +++ b/src/native/member/memberAddRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberAvatar.ts b/src/native/member/memberAvatar.ts index 57a4fc0cc7..8da8fafa1c 100644 --- a/src/native/member/memberAvatar.ts +++ b/src/native/member/memberAvatar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { CDN, GuildMember, ImageExtension, ImageSize } from "discord.js" diff --git a/src/native/member/memberAvatarDecoration.ts b/src/native/member/memberAvatarDecoration.ts index 375ce76248..1c532efb7a 100644 --- a/src/native/member/memberAvatarDecoration.ts +++ b/src/native/member/memberAvatarDecoration.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, CDN, GuildMember } from "discord.js" diff --git a/src/native/member/memberBanner.ts b/src/native/member/memberBanner.ts index de34d1e08f..ce7146056e 100644 --- a/src/native/member/memberBanner.ts +++ b/src/native/member/memberBanner.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { CDN, GuildMember, ImageExtension, ImageSize } from "discord.js" diff --git a/src/native/member/memberBoostingSince.ts b/src/native/member/memberBoostingSince.ts index 6704bc31c3..95be517730 100644 --- a/src/native/member/memberBoostingSince.ts +++ b/src/native/member/memberBoostingSince.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" diff --git a/src/native/member/memberBotRoleID.ts b/src/native/member/memberBotRoleID.ts index d6848a8026..417f626e45 100644 --- a/src/native/member/memberBotRoleID.ts +++ b/src/native/member/memberBotRoleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberCustomStatus.ts b/src/native/member/memberCustomStatus.ts index 7a81b2038c..78519c3b1f 100644 --- a/src/native/member/memberCustomStatus.ts +++ b/src/native/member/memberCustomStatus.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActivityType } from "discord.js" diff --git a/src/native/member/memberDisplayColor.ts b/src/native/member/memberDisplayColor.ts index e0d18358bd..ef29fffcb2 100644 --- a/src/native/member/memberDisplayColor.ts +++ b/src/native/member/memberDisplayColor.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberDisplayName.ts b/src/native/member/memberDisplayName.ts index d3727fe5af..289a3bc999 100644 --- a/src/native/member/memberDisplayName.ts +++ b/src/native/member/memberDisplayName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberExists.ts b/src/native/member/memberExists.ts index 4089f52943..429cec0e1b 100644 --- a/src/native/member/memberExists.ts +++ b/src/native/member/memberExists.ts @@ -1,14 +1,14 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" +import { ArgType, CompiledFunction, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$memberExists", version: "1.0.0", - description: "Returns whether an member id exists", + description: "Returns whether a member id exists on a guild", unwrap: true, brackets: true, output: ArgType.Boolean, diff --git a/src/native/member/memberFlags.ts b/src/native/member/memberFlags.ts index e1106c6b9c..b18f5ac529 100644 --- a/src/native/member/memberFlags.ts +++ b/src/native/member/memberFlags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildMemberFlags, GuildMemberFlagsBitField } from "discord.js" diff --git a/src/native/member/memberHighestRoleID.ts b/src/native/member/memberHighestRoleID.ts index 0258b3532d..669b801ccc 100644 --- a/src/native/member/memberHighestRoleID.ts +++ b/src/native/member/memberHighestRoleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberJoinPosition.ts b/src/native/member/memberJoinPosition.ts index a6e7969bcb..2553bb993e 100644 --- a/src/native/member/memberJoinPosition.ts +++ b/src/native/member/memberJoinPosition.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Guild, GuildMember } from "discord.js" diff --git a/src/native/member/memberJoinedAt.ts b/src/native/member/memberJoinedAt.ts index 6ab5212c21..7a23c21862 100644 --- a/src/native/member/memberJoinedAt.ts +++ b/src/native/member/memberJoinedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" diff --git a/src/native/member/memberLowestRoleID.ts b/src/native/member/memberLowestRoleID.ts index dc76af4a52..beb22bf829 100644 --- a/src/native/member/memberLowestRoleID.ts +++ b/src/native/member/memberLowestRoleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberPerms.ts b/src/native/member/memberPerms.ts index f057b354cf..c0561c3890 100644 --- a/src/native/member/memberPerms.ts +++ b/src/native/member/memberPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PermissionFlagsBits, PermissionsBitField } from "discord.js" diff --git a/src/native/member/memberRawData.ts b/src/native/member/memberRawData.ts index 1423516f67..871716ad62 100644 --- a/src/native/member/memberRawData.ts +++ b/src/native/member/memberRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberRemoveRoles.ts b/src/native/member/memberRemoveRoles.ts index 2799805045..f9b6673590 100644 --- a/src/native/member/memberRemoveRoles.ts +++ b/src/native/member/memberRemoveRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberRoles.ts b/src/native/member/memberRoles.ts index 8ec21a9b4c..39c64ffe1d 100644 --- a/src/native/member/memberRoles.ts +++ b/src/native/member/memberRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" diff --git a/src/native/member/memberSetNickname.ts b/src/native/member/memberSetNickname.ts index 5c673e441a..7685b33c8c 100644 --- a/src/native/member/memberSetNickname.ts +++ b/src/native/member/memberSetNickname.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberSetRoles.ts b/src/native/member/memberSetRoles.ts index 4e39e93fde..b39b8e28cc 100644 --- a/src/native/member/memberSetRoles.ts +++ b/src/native/member/memberSetRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/memberTimeoutDuration.ts b/src/native/member/memberTimeoutDuration.ts index 8bdcf3d43f..33680110d8 100644 --- a/src/native/member/memberTimeoutDuration.ts +++ b/src/native/member/memberTimeoutDuration.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" diff --git a/src/native/member/nickname.ts b/src/native/member/nickname.ts index 5a356ece66..d723f3ccfe 100644 --- a/src/native/member/nickname.ts +++ b/src/native/member/nickname.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, GuildMember } from "discord.js" diff --git a/src/native/member/platform.ts b/src/native/member/platform.ts index 829161616c..683429f8f3 100644 --- a/src/native/member/platform.ts +++ b/src/native/member/platform.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/member/pruneMembers.ts b/src/native/member/pruneMembers.ts index af4b5cdcef..4707e47b43 100644 --- a/src/native/member/pruneMembers.ts +++ b/src/native/member/pruneMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/randomMemberID.ts b/src/native/member/randomMemberID.ts index 7dc974c2fa..05cf8368af 100644 --- a/src/native/member/randomMemberID.ts +++ b/src/native/member/randomMemberID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/status.ts b/src/native/member/status.ts index 181e073f8e..3d93a49fbb 100644 --- a/src/native/member/status.ts +++ b/src/native/member/status.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/timeout.ts b/src/native/member/timeout.ts index ed94eb82b1..d8fba96278 100644 --- a/src/native/member/timeout.ts +++ b/src/native/member/timeout.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/unban.ts b/src/native/member/unban.ts index 1c9982fc8f..951e84110d 100644 --- a/src/native/member/unban.ts +++ b/src/native/member/unban.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/voiceID.ts b/src/native/member/voiceID.ts index 856bd1dea0..667ef64ad6 100644 --- a/src/native/member/voiceID.ts +++ b/src/native/member/voiceID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/member/voiceKick.ts b/src/native/member/voiceKick.ts index 90c7be9cfc..013cc2a5c4 100644 --- a/src/native/member/voiceKick.ts +++ b/src/native/member/voiceKick.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/member/voiceMove.ts b/src/native/member/voiceMove.ts index f7a1fdba3b..b6a5083737 100644 --- a/src/native/member/voiceMove.ts +++ b/src/native/member/voiceMove.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, GuildVoiceChannelResolvable } from "discord.js" diff --git a/src/native/mention/disableAllMentions.ts b/src/native/mention/disableAllMentions.ts index a3c2583a15..a875cf33ad 100644 --- a/src/native/mention/disableAllMentions.ts +++ b/src/native/mention/disableAllMentions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/mention/disableEveryoneMention.ts b/src/native/mention/disableEveryoneMention.ts index 892632f449..8a9e158462 100644 --- a/src/native/mention/disableEveryoneMention.ts +++ b/src/native/mention/disableEveryoneMention.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/mention/disableRoleMentions.ts b/src/native/mention/disableRoleMentions.ts index 5d1da94e4f..e7e56d1720 100644 --- a/src/native/mention/disableRoleMentions.ts +++ b/src/native/mention/disableRoleMentions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/mention/disableUserMentions.ts b/src/native/mention/disableUserMentions.ts index 68162baef8..dc3c024253 100644 --- a/src/native/mention/disableUserMentions.ts +++ b/src/native/mention/disableUserMentions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/mention/enableAllMentions.ts b/src/native/mention/enableAllMentions.ts index 72b8e225ac..dc902b4be0 100644 --- a/src/native/mention/enableAllMentions.ts +++ b/src/native/mention/enableAllMentions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/mention/enableRoleMentions.ts b/src/native/mention/enableRoleMentions.ts index 2ffb531418..14495d5667 100644 --- a/src/native/mention/enableRoleMentions.ts +++ b/src/native/mention/enableRoleMentions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/mention/enableUserMentions.ts b/src/native/mention/enableUserMentions.ts index b2eb5f1ef4..1e80db1ac1 100644 --- a/src/native/mention/enableUserMentions.ts +++ b/src/native/mention/enableUserMentions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/mention/isChannelMentioned.ts b/src/native/mention/isChannelMentioned.ts index 0822495e44..faac48054d 100644 --- a/src/native/mention/isChannelMentioned.ts +++ b/src/native/mention/isChannelMentioned.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/mention/isRoleMentioned.ts b/src/native/mention/isRoleMentioned.ts index be2a98d2cc..c2cdf8d81a 100644 --- a/src/native/mention/isRoleMentioned.ts +++ b/src/native/mention/isRoleMentioned.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/mention/isUserMentioned.ts b/src/native/mention/isUserMentioned.ts index 3a45d58b96..fba6a463ef 100644 --- a/src/native/mention/isUserMentioned.ts +++ b/src/native/mention/isUserMentioned.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/mention/mentioned.ts b/src/native/mention/mentioned.ts index e7b9dc3cc5..6a806ca23e 100644 --- a/src/native/mention/mentioned.ts +++ b/src/native/mention/mentioned.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/mention/mentionedChannelCount.ts b/src/native/mention/mentionedChannelCount.ts index 29f78f2a7d..fa1c827aab 100644 --- a/src/native/mention/mentionedChannelCount.ts +++ b/src/native/mention/mentionedChannelCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/mention/mentionedChannels.ts b/src/native/mention/mentionedChannels.ts index dad2544036..51379f5321 100644 --- a/src/native/mention/mentionedChannels.ts +++ b/src/native/mention/mentionedChannels.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/mention/mentionedRoleCount.ts b/src/native/mention/mentionedRoleCount.ts index d23c41d2e0..09d5a70dfe 100644 --- a/src/native/mention/mentionedRoleCount.ts +++ b/src/native/mention/mentionedRoleCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/mention/mentionedRoles.ts b/src/native/mention/mentionedRoles.ts index 47cf21f48b..b16b5ae935 100644 --- a/src/native/mention/mentionedRoles.ts +++ b/src/native/mention/mentionedRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/mention/mentionedUserCount.ts b/src/native/mention/mentionedUserCount.ts index 3bb7bbf9d8..067dcd7148 100644 --- a/src/native/mention/mentionedUserCount.ts +++ b/src/native/mention/mentionedUserCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/mention/nomention.ts b/src/native/mention/nomention.ts index 2d2d7432a0..fecc4afb6c 100644 --- a/src/native/mention/nomention.ts +++ b/src/native/mention/nomention.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/message/addMessageReactions.ts b/src/native/message/addMessageReactions.ts index 4cb1614ced..d86209b046 100644 --- a/src/native/message/addMessageReactions.ts +++ b/src/native/message/addMessageReactions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TextBasedChannel } from "discord.js" diff --git a/src/native/message/attachment.ts b/src/native/message/attachment.ts index 8aa903682e..1c57c5f5fe 100644 --- a/src/native/message/attachment.ts +++ b/src/native/message/attachment.ts @@ -1,20 +1,18 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AttachmentBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$attachment", version: "1.0.0", - brackets: true, description: "Adds an attachment to the response", + aliases: ["$addAttachment"], unwrap: true, - aliases: [ - "$addAttachment" - ], + brackets: true, args: [ { name: "path", @@ -47,11 +45,18 @@ export default new NativeFunction({ description: "The description for this attachment", rest: false, type: ArgType.String + }, + { + name: "title", + description: "The title for this attachment", + rest: false, + type: ArgType.String } ], - execute(ctx, [url, name, asText, enc, desc]) { + execute(ctx, [url, name, asText, enc, desc, title]) { const attachment = new AttachmentBuilder(asText ? Buffer.from(url, enc as BufferEncoding ?? "utf-8") : url, { name, + title: title || undefined, description: desc || undefined }) diff --git a/src/native/message/deleteAllMessageReactions.ts b/src/native/message/deleteAllMessageReactions.ts index aecdab1e0a..52c9fec1df 100644 --- a/src/native/message/deleteAllMessageReactions.ts +++ b/src/native/message/deleteAllMessageReactions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TextBasedChannel } from "discord.js" diff --git a/src/native/message/deleteIn.ts b/src/native/message/deleteIn.ts index c423c29fbf..e2b65621f5 100644 --- a/src/native/message/deleteIn.ts +++ b/src/native/message/deleteIn.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/message/deleteMessage.ts b/src/native/message/deleteMessage.ts index 7e63719286..5d1b2c6691 100644 --- a/src/native/message/deleteMessage.ts +++ b/src/native/message/deleteMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/message/deleteUserMessageReaction.ts b/src/native/message/deleteUserMessageReaction.ts index 57fc488981..3a86d7194d 100644 --- a/src/native/message/deleteUserMessageReaction.ts +++ b/src/native/message/deleteUserMessageReaction.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TextBasedChannel } from "discord.js" diff --git a/src/native/message/editMessage.ts b/src/native/message/editMessage.ts index ead028a9de..60a0fa2949 100644 --- a/src/native/message/editMessage.ts +++ b/src/native/message/editMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, Message } from "discord.js" diff --git a/src/native/message/fetchComponents.ts b/src/native/message/fetchComponents.ts index 53fdb1ffc0..2018aa8c01 100644 --- a/src/native/message/fetchComponents.ts +++ b/src/native/message/fetchComponents.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/message/fetchEmbeds.ts b/src/native/message/fetchEmbeds.ts index 8e8a572b00..0fbf4cb3c4 100644 --- a/src/native/message/fetchEmbeds.ts +++ b/src/native/message/fetchEmbeds.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, EmbedBuilder } from "discord.js" diff --git a/src/native/message/fetchMessage.ts b/src/native/message/fetchMessage.ts index 0f2b815fea..db82dc80db 100644 --- a/src/native/message/fetchMessage.ts +++ b/src/native/message/fetchMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/message/fetchResponse.ts b/src/native/message/fetchResponse.ts index 9bfed6aafd..4f2f219b24 100644 --- a/src/native/message/fetchResponse.ts +++ b/src/native/message/fetchResponse.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AttachmentBuilder, EmbedBuilder } from "discord.js" @@ -12,7 +12,7 @@ export default new NativeFunction({ version: "1.4.0", brackets: false, unwrap: true, - description: "Fetches all data from the message and loads it to response, this includes: embeds, components, attachments, stickers", + description: "Fetches all data from the message and loads it to the next response, this includes: embeds, components, attachments, stickers", args: [ { name: "channel ID", diff --git a/src/native/message/fetchSnapshot.ts b/src/native/message/fetchSnapshot.ts new file mode 100644 index 0000000000..817ac0d02c --- /dev/null +++ b/src/native/message/fetchSnapshot.ts @@ -0,0 +1,50 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { AttachmentBuilder, EmbedBuilder } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" +import { buildComponent } from "../../functions/components" + +export default new NativeFunction({ + name: "$fetchSnapshot", + version: "2.7.0", + brackets: false, + unwrap: true, + description: "Fetches all data from a message snapshot and loads it to the next response", + args: [ + { + name: "channel ID", + description: "The channel to pull message from", + rest: false, + required: true, + type: ArgType.TextChannel, + }, + { + name: "message ID", + description: "The message to fetch its data", + rest: false, + required: true, + pointer: 0, + type: ArgType.Message, + }, + { + name: "index", + description: "The index of the snapshot to fetch, defaults to 0", + rest: false, + type: ArgType.Number, + }, + ], + execute(ctx, [, message, index]) { + const snapshot = (message ?? ctx.message)?.messageSnapshots.at(index || 0) + if (snapshot) { + ctx.container.content = snapshot.content + ctx.container.embeds.push(...snapshot.embeds.map(x => EmbedBuilder.from(x))) + ctx.container.components.push(...snapshot.components.map(x => buildComponent(x, ctx))) + ctx.container.files.push(...snapshot.attachments.map(x => new AttachmentBuilder(x.url, { name: x.name }))) + ctx.container.stickers.push(...snapshot.stickers.map(x => x.id)) + } + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/message/forwardMessage.ts b/src/native/message/forwardMessage.ts index 925d7ebdd7..52566098a0 100644 --- a/src/native/message/forwardMessage.ts +++ b/src/native/message/forwardMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, ChannelType, PartialGroupDMChannel, TextBasedChannel } from "discord.js" diff --git a/src/native/message/getComponents.ts b/src/native/message/getComponents.ts index 4cb0d95ed4..80780844f2 100644 --- a/src/native/message/getComponents.ts +++ b/src/native/message/getComponents.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ActionRow, BaseChannel, MessageActionRowComponent } from "discord.js" diff --git a/src/native/message/getEmbeds.ts b/src/native/message/getEmbeds.ts index 225f58806e..9e61df6440 100644 --- a/src/native/message/getEmbeds.ts +++ b/src/native/message/getEmbeds.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, Embed, EmbedBuilder } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { EmbedProperties, EmbedProperty } from "../../properties/embed" export default new NativeFunction({ @@ -12,7 +12,6 @@ export default new NativeFunction({ version: "1.0.3", description: "Retrieves data of an embed, not providing any property returns embed json", unwrap: true, - output: ArgType.Unknown, brackets: false, aliases: [ "$getEmbed" @@ -51,20 +50,19 @@ export default new NativeFunction({ }, { name: "field index", - description: "Index of field to get", + description: "The index of field to get", rest: false, type: ArgType.Number }, ], + output: ArgType.Unknown, execute(ctx, [, m, index, prop, fieldIndex]) { if (typeof index !== "number") { return this.successJSON((m ?? ctx.message)?.embeds.map(x => x.data)) } const embed = m.embeds[index] as Embed | undefined - if (prop === null) { - return this.successJSON(embed) - } + if (!prop) return this.successJSON(embed) return this.success(EmbedProperties[prop](embed ? EmbedBuilder.from(embed) : undefined, undefined, fieldIndex)) }, diff --git a/src/native/message/getMessage.ts b/src/native/message/getMessage.ts index e313e80561..ebaa378824 100644 --- a/src/native/message/getMessage.ts +++ b/src/native/message/getMessage.ts @@ -1,18 +1,17 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { MessageProperties, MessageProperty } from "../../properties/message" export default new NativeFunction({ name: "$getMessage", version: "1.0.3", - description: "Retrieves data of a message", + description: "Retrieves data of a message, not providing any property returns message json", unwrap: true, - output: ArgType.Unknown, brackets: true, args: [ { @@ -37,16 +36,17 @@ export default new NativeFunction({ rest: false, type: ArgType.Enum, enum: MessageProperty, - required: true, }, { name: "separator", - description: "Separator to use in case of array", + description: "The separator to use in case of array", rest: false, type: ArgType.String, }, ], + output: ArgType.Unknown, execute(ctx, [, m, prop, sep]) { + if (!prop) return this.successJSON(m) return this.success(MessageProperties[prop](m, sep || ", ")) }, }) diff --git a/src/native/message/getMessageClientTheme.ts b/src/native/message/getMessageClientTheme.ts new file mode 100644 index 0000000000..7d7bcba882 --- /dev/null +++ b/src/native/message/getMessageClientTheme.ts @@ -0,0 +1,53 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { BaseChannel } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" +import { ClientThemeProperties, ClientThemeProperty } from "../../properties/clientTheme" + +export default new NativeFunction({ + name: "$getMessageClientTheme", + version: "2.7.0", + description: "Retrieves the shared client theme sent with a message", + unwrap: true, + brackets: true, + args: [ + { + name: "channel ID", + rest: false, + required: true, + description: "The channel to get the message from", + type: ArgType.Channel, + check: (i: BaseChannel) => i.isTextBased(), + }, + { + name: "message ID", + description: "The message to get its client theme", + rest: false, + type: ArgType.Message, + pointer: 0, + required: true, + }, + { + name: "property", + description: "The property to pull", + rest: false, + required: true, + type: ArgType.Enum, + enum: ClientThemeProperty, + }, + { + name: "separator", + description: "The separator to use in case of array", + rest: false, + type: ArgType.String, + }, + ], + output: ArgType.Unknown, + execute(ctx, [, message, prop, sep]) { + const theme = (message ?? ctx.message)?.sharedClientTheme + return this.success(ClientThemeProperties[prop](theme, sep)) + }, +}) diff --git a/src/native/message/getMessageReactionCount.ts b/src/native/message/getMessageReactionCount.ts index 07b6771dc7..c226193cd1 100644 --- a/src/native/message/getMessageReactionCount.ts +++ b/src/native/message/getMessageReactionCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TextBasedChannel } from "discord.js" diff --git a/src/native/message/getMessageReactionUsers.ts b/src/native/message/getMessageReactionUsers.ts index 44c72772e6..5bb2a87043 100644 --- a/src/native/message/getMessageReactionUsers.ts +++ b/src/native/message/getMessageReactionUsers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TextBasedChannel } from "discord.js" diff --git a/src/native/message/getMessageReactions.ts b/src/native/message/getMessageReactions.ts index c02c00dc55..7f45b79e24 100644 --- a/src/native/message/getMessageReactions.ts +++ b/src/native/message/getMessageReactions.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/message/getPoll.ts b/src/native/message/getPoll.ts index 442689bd9c..bb6e45d5e3 100644 --- a/src/native/message/getPoll.ts +++ b/src/native/message/getPoll.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/getSnapshots.ts b/src/native/message/getSnapshots.ts index 0fcc9b6d5b..42283a2cf7 100644 --- a/src/native/message/getSnapshots.ts +++ b/src/native/message/getSnapshots.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" import { MessageProperties, MessageProperty } from "../../properties/message" import array from "../../functions/array" @@ -60,7 +60,7 @@ export default new NativeFunction({ const snapshots = (m ?? ctx.message)?.messageSnapshots.toJSON() if (typeof index !== "number") return this.successJSON(snapshots) - if (prop === null) return this.successJSON(snapshots[index]) + if (!prop) return this.successJSON(snapshots[index]) return this.success(MessageProperties[prop](snapshots[index], sep ?? ", ")) }, }) \ No newline at end of file diff --git a/src/native/message/hasComponents.ts b/src/native/message/hasComponents.ts index 834c344697..8cfb6b1061 100644 --- a/src/native/message/hasComponents.ts +++ b/src/native/message/hasComponents.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$hasComponents", @@ -23,11 +23,11 @@ export default new NativeFunction({ }, { name: "message ID", - pointer: 0, + description: "The message to check for components", rest: false, required: true, type: ArgType.Message, - description: "The message to check for components" + pointer: 0, } ], output: ArgType.Boolean, diff --git a/src/native/message/hasEmbeds.ts b/src/native/message/hasEmbeds.ts index 12d2dbfd60..708a17774d 100644 --- a/src/native/message/hasEmbeds.ts +++ b/src/native/message/hasEmbeds.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$hasEmbeds", @@ -24,16 +24,14 @@ export default new NativeFunction({ }, { name: "message ID", - pointer: 0, + description: "The message to check for embeds", rest: false, required: true, type: ArgType.Message, - description: "The message to check for embeds" + pointer: 0, } ], execute(ctx, [, msg]) { - return this.success( - !!(msg ?? ctx.message)?.embeds.length - ) + return this.success(!!(msg ?? ctx.message)?.embeds.length) }, }) \ No newline at end of file diff --git a/src/native/message/hasSnapshots.ts b/src/native/message/hasSnapshots.ts new file mode 100644 index 0000000000..e29cbc5fba --- /dev/null +++ b/src/native/message/hasSnapshots.ts @@ -0,0 +1,37 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { BaseChannel } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$hasSnapshots", + version: "2.7.0", + description: "Checks whether given message has snapshots", + brackets: false, + unwrap: true, + args: [ + { + name: "channel ID", + description: "The channel to get message from", + type: ArgType.Channel, + rest: false, + required: true, + check: (i: BaseChannel) => "messages" in i + }, + { + name: "message ID", + description: "The message to check for snapshots", + rest: false, + required: true, + type: ArgType.Message, + pointer: 0, + } + ], + output: ArgType.Boolean, + execute(ctx, [, msg]) { + return this.success(!!(msg ?? ctx.message)?.messageSnapshots.size) + }, +}) \ No newline at end of file diff --git a/src/native/message/isPinned.ts b/src/native/message/isPinned.ts index 974ae9f924..241c942ada 100644 --- a/src/native/message/isPinned.ts +++ b/src/native/message/isPinned.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/loadComponents.ts b/src/native/message/loadComponents.ts index e2a04167ec..71d8799ad0 100644 --- a/src/native/message/loadComponents.ts +++ b/src/native/message/loadComponents.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/message/loadEmbeds.ts b/src/native/message/loadEmbeds.ts index 8907c25d8a..7ac28b61bc 100644 --- a/src/native/message/loadEmbeds.ts +++ b/src/native/message/loadEmbeds.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIEmbed, EmbedBuilder } from "discord.js" diff --git a/src/native/message/message.ts b/src/native/message/message.ts index b2c9169737..cdbe1ceebd 100644 --- a/src/native/message/message.ts +++ b/src/native/message/message.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/message/messageAttachment.ts b/src/native/message/messageAttachment.ts index 92bc33f8a3..030ae1804a 100644 --- a/src/native/message/messageAttachment.ts +++ b/src/native/message/messageAttachment.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageAttachmentCount.ts b/src/native/message/messageAttachmentCount.ts index 047ca2c624..a98080d3fa 100644 --- a/src/native/message/messageAttachmentCount.ts +++ b/src/native/message/messageAttachmentCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageAttachmentFlags.ts b/src/native/message/messageAttachmentFlags.ts index 6af9ccd66a..52452a4f49 100644 --- a/src/native/message/messageAttachmentFlags.ts +++ b/src/native/message/messageAttachmentFlags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AttachmentFlags, BaseChannel } from "discord.js" diff --git a/src/native/message/messageAttachments.ts b/src/native/message/messageAttachments.ts index 37e60bd97c..45bb5e8953 100644 --- a/src/native/message/messageAttachments.ts +++ b/src/native/message/messageAttachments.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageContent.ts b/src/native/message/messageContent.ts index 4367a6981e..9cc296edf0 100644 --- a/src/native/message/messageContent.ts +++ b/src/native/message/messageContent.ts @@ -1,18 +1,37 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ +import { BaseChannel } from "discord.js" import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" -import { Return } from "../../structures/@internal/Return" export default new NativeFunction({ name: "$messageContent", version: "1.4.0", + description: "Retrieves the content of a message", + unwrap: true, + brackets: false, + args: [ + { + name: "channel ID", + rest: false, + required: true, + description: "The channel to get the message from", + type: ArgType.Channel, + check: (i: BaseChannel) => i.isTextBased(), + }, + { + name: "message ID", + description: "The message to get its content", + rest: false, + type: ArgType.Message, + pointer: 0, + required: true, + }, + ], output: ArgType.String, - description: "Retrieves the content of the message", - unwrap: false, - execute(ctx) { - return this.success(ctx.message?.content) + execute(ctx, [, message]) { + return this.success((message ?? ctx.message)?.content) }, }) diff --git a/src/native/message/messageCreatedAt.ts b/src/native/message/messageCreatedAt.ts index 349f81c07e..fe752a08c6 100644 --- a/src/native/message/messageCreatedAt.ts +++ b/src/native/message/messageCreatedAt.ts @@ -1,16 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { BaseChannel, MessageType } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { BaseChannel } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$messageCreatedAt", version: "1.0.2", - output: ArgType.Number, - description: "Returns the timestamp of the message", + description: "Returns the timestamp of a message", unwrap: true, brackets: false, args: [ @@ -31,7 +30,8 @@ export default new NativeFunction({ required: true, }, ], + output: ArgType.Number, execute(ctx, [, message]) { - return this.success((message ?? ctx.message)?.createdTimestamp!) + return this.success((message ?? ctx.message)?.createdTimestamp) }, }) diff --git a/src/native/message/messageEditedAt.ts b/src/native/message/messageEditedAt.ts index cb75689126..888e0b57f8 100644 --- a/src/native/message/messageEditedAt.ts +++ b/src/native/message/messageEditedAt.ts @@ -1,16 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { BaseChannel, MessageType } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { BaseChannel } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$messageEditedAt", version: "1.5.0", - output: ArgType.Number, - description: "Returns the edited timestamp of the message", + description: "Returns the edited timestamp of a message", unwrap: true, brackets: false, args: [ @@ -31,6 +30,7 @@ export default new NativeFunction({ required: true, }, ], + output: ArgType.Number, execute(ctx, [, message]) { return this.success((message ?? ctx.message)?.editedTimestamp) }, diff --git a/src/native/message/messageEmojis.ts b/src/native/message/messageEmojis.ts index d3032536a6..3ad738f84a 100644 --- a/src/native/message/messageEmojis.ts +++ b/src/native/message/messageEmojis.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageExists.ts b/src/native/message/messageExists.ts index 2d8ede6638..6969986094 100644 --- a/src/native/message/messageExists.ts +++ b/src/native/message/messageExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/message/messageFlags.ts b/src/native/message/messageFlags.ts index aaf0ab0961..b79e7ed13d 100644 --- a/src/native/message/messageFlags.ts +++ b/src/native/message/messageFlags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageFlags } from "discord.js" diff --git a/src/native/message/messageID.ts b/src/native/message/messageID.ts index 127e6f7f5e..9624808e40 100644 --- a/src/native/message/messageID.ts +++ b/src/native/message/messageID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/message/messageLink.ts b/src/native/message/messageLink.ts index 902d264582..f97a449d81 100644 --- a/src/native/message/messageLink.ts +++ b/src/native/message/messageLink.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageRawData.ts b/src/native/message/messageRawData.ts index 1863298d83..9772f2d579 100644 --- a/src/native/message/messageRawData.ts +++ b/src/native/message/messageRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/message/messageReferenceID.ts b/src/native/message/messageReferenceID.ts index a959085e97..c4393d5cc4 100644 --- a/src/native/message/messageReferenceID.ts +++ b/src/native/message/messageReferenceID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageSlice.ts b/src/native/message/messageSlice.ts index 56a0f79b51..4cba343a7f 100644 --- a/src/native/message/messageSlice.ts +++ b/src/native/message/messageSlice.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/message/messageSticker.ts b/src/native/message/messageSticker.ts index 17e64498e9..6b0f1a37c5 100644 --- a/src/native/message/messageSticker.ts +++ b/src/native/message/messageSticker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageStickerCount.ts b/src/native/message/messageStickerCount.ts index 566f8d2ac3..1f5d5130ba 100644 --- a/src/native/message/messageStickerCount.ts +++ b/src/native/message/messageStickerCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageStickers.ts b/src/native/message/messageStickers.ts index acb4e09430..da2441ffe3 100644 --- a/src/native/message/messageStickers.ts +++ b/src/native/message/messageStickers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/messageType.ts b/src/native/message/messageType.ts index 800b5ee6ae..a3451e3159 100644 --- a/src/native/message/messageType.ts +++ b/src/native/message/messageType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, MessageType } from "discord.js" diff --git a/src/native/message/messageWebhookID.ts b/src/native/message/messageWebhookID.ts index 546abdbd09..f9a1f58dde 100644 --- a/src/native/message/messageWebhookID.ts +++ b/src/native/message/messageWebhookID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/message/noMentionMessage.ts b/src/native/message/noMentionMessage.ts index b177f6aeb1..4f5732b4f7 100644 --- a/src/native/message/noMentionMessage.ts +++ b/src/native/message/noMentionMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/message/pinMessage.ts b/src/native/message/pinMessage.ts index 1f086ae9d7..7c5cfd0b26 100644 --- a/src/native/message/pinMessage.ts +++ b/src/native/message/pinMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/publishMessage.ts b/src/native/message/publishMessage.ts index b0369bb3e4..223a5a465b 100644 --- a/src/native/message/publishMessage.ts +++ b/src/native/message/publishMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/removeAttachments.ts b/src/native/message/removeAttachments.ts new file mode 100644 index 0000000000..5f70daf93f --- /dev/null +++ b/src/native/message/removeAttachments.ts @@ -0,0 +1,37 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { TextBasedChannel } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$removeAttachments", + version: "2.7.0", + description: "Removes all attachments from a message, returns bool", + unwrap: true, + brackets: false, + args: [ + { + name: "channel ID", + description: "The channel to pull message from", + rest: false, + required: true, + type: ArgType.Channel, + check: (i: TextBasedChannel) => i.isTextBased(), + }, + { + name: "message ID", + description: "The message to remove attachments from", + rest: false, + type: ArgType.Message, + pointer: 0, + required: true, + }, + ], + output: ArgType.Boolean, + async execute(ctx, [, message]) { + return this.success(!!(await (message ?? ctx.message)?.removeAttachments().catch(ctx.noop))) + }, +}) diff --git a/src/native/message/reply.ts b/src/native/message/reply.ts index ecec373d32..012cdcc3d0 100644 --- a/src/native/message/reply.ts +++ b/src/native/message/reply.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/message/silent.ts b/src/native/message/silent.ts index 900607c469..59d3bebdbc 100644 --- a/src/native/message/silent.ts +++ b/src/native/message/silent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/message/sticker.ts b/src/native/message/sticker.ts index 606d48149a..45d889618b 100644 --- a/src/native/message/sticker.ts +++ b/src/native/message/sticker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/suppressEmbeds.ts b/src/native/message/suppressEmbeds.ts index 3aea13c669..c1c01b8a0b 100644 --- a/src/native/message/suppressEmbeds.ts +++ b/src/native/message/suppressEmbeds.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/tts.ts b/src/native/message/tts.ts index e08e11c7bc..5264387175 100644 --- a/src/native/message/tts.ts +++ b/src/native/message/tts.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/message/unpinMessage.ts b/src/native/message/unpinMessage.ts index 00751e5afe..1147c1b092 100644 --- a/src/native/message/unpinMessage.ts +++ b/src/native/message/unpinMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/message/unsuppressEmbeds.ts b/src/native/message/unsuppressEmbeds.ts index edcd020fea..7eb4617462 100644 --- a/src/native/message/unsuppressEmbeds.ts +++ b/src/native/message/unsuppressEmbeds.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel } from "discord.js" diff --git a/src/native/number/abbreviateNumber.ts b/src/native/number/abbreviateNumber.ts index 14ea4c5502..89eb6092d1 100644 --- a/src/native/number/abbreviateNumber.ts +++ b/src/native/number/abbreviateNumber.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/average.ts b/src/native/number/average.ts index 916f76f6a3..c4898e15fe 100644 --- a/src/native/number/average.ts +++ b/src/native/number/average.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/number/hexToInt.ts b/src/native/number/hexToInt.ts index 28654595b4..43b5620bd7 100644 --- a/src/native/number/hexToInt.ts +++ b/src/native/number/hexToInt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { hex2int } from "../../functions/hex" diff --git a/src/native/number/inRange.ts b/src/native/number/inRange.ts index eba89ba184..0bda903a96 100644 --- a/src/native/number/inRange.ts +++ b/src/native/number/inRange.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/intToHex.ts b/src/native/number/intToHex.ts index 86a812c778..5076e3c4d8 100644 --- a/src/native/number/intToHex.ts +++ b/src/native/number/intToHex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { hex2int, int2hex } from "../../functions/hex" diff --git a/src/native/number/isFloat.ts b/src/native/number/isFloat.ts index 91cf80ca8c..ef8c58b4d0 100644 --- a/src/native/number/isFloat.ts +++ b/src/native/number/isFloat.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/isInteger.ts b/src/native/number/isInteger.ts index cba5925e8b..92c40c08ed 100644 --- a/src/native/number/isInteger.ts +++ b/src/native/number/isInteger.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { isInteger } from "lodash" diff --git a/src/native/number/isNumber.ts b/src/native/number/isNumber.ts index 186a94f6f5..ae841cf0c6 100644 --- a/src/native/number/isNumber.ts +++ b/src/native/number/isNumber.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/maxSafeInteger.ts b/src/native/number/maxSafeInteger.ts index 28e6c0d0b9..9328d922fc 100644 --- a/src/native/number/maxSafeInteger.ts +++ b/src/native/number/maxSafeInteger.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/minSafeInteger.ts b/src/native/number/minSafeInteger.ts index 732ddd02ec..a7825b2ba2 100644 --- a/src/native/number/minSafeInteger.ts +++ b/src/native/number/minSafeInteger.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/ordinal.ts b/src/native/number/ordinal.ts index 70d850efe4..fafccc3fb9 100644 --- a/src/native/number/ordinal.ts +++ b/src/native/number/ordinal.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ordinal } from "../../functions/ordinal" diff --git a/src/native/number/parseInt.ts b/src/native/number/parseInt.ts index f92adf8d81..8785836d6e 100644 --- a/src/native/number/parseInt.ts +++ b/src/native/number/parseInt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/randomNumber.ts b/src/native/number/randomNumber.ts index fe7883a016..d259efecc8 100644 --- a/src/native/number/randomNumber.ts +++ b/src/native/number/randomNumber.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/separateBigint.ts b/src/native/number/separateBigint.ts index 2b01f627ae..f7fbda49eb 100644 --- a/src/native/number/separateBigint.ts +++ b/src/native/number/separateBigint.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/number/separateNumber.ts b/src/native/number/separateNumber.ts index b7ac50c864..89f85162af 100644 --- a/src/native/number/separateNumber.ts +++ b/src/native/number/separateNumber.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/other/advancedBar.ts b/src/native/other/advancedBar.ts index 66e6ed4a45..bdeec7198a 100644 --- a/src/native/other/advancedBar.ts +++ b/src/native/other/advancedBar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { generateAdvancedBar, generateBar } from "../../functions/generateBar" diff --git a/src/native/other/awaitComponent.ts b/src/native/other/awaitComponent.ts index cd9717cece..6aa72c35e9 100644 --- a/src/native/other/awaitComponent.ts +++ b/src/native/other/awaitComponent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextBasedChannel } from "discord.js" diff --git a/src/native/other/awaitMessage.ts b/src/native/other/awaitMessage.ts index 76ded33ecd..3a97371c52 100644 --- a/src/native/other/awaitMessage.ts +++ b/src/native/other/awaitMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextBasedChannel, TextChannel } from "discord.js" diff --git a/src/native/other/awaitModalSubmit.ts b/src/native/other/awaitModalSubmit.ts index 0aed25f25e..4cea645655 100644 --- a/src/native/other/awaitModalSubmit.ts +++ b/src/native/other/awaitModalSubmit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextBasedChannel } from "discord.js" diff --git a/src/native/other/bar.ts b/src/native/other/bar.ts index f5cf6b93c8..aa72a2e6a9 100644 --- a/src/native/other/bar.ts +++ b/src/native/other/bar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { generateBar } from "../../functions/generateBar" diff --git a/src/native/other/c.ts b/src/native/other/c.ts index 13d34567b7..e7ddec9607 100644 --- a/src/native/other/c.ts +++ b/src/native/other/c.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/other/callFunction.ts b/src/native/other/callFunction.ts index 3ccdde8161..45641966af 100644 --- a/src/native/other/callFunction.ts +++ b/src/native/other/callFunction.ts @@ -1,11 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ErrorType } from "../../structures/forge/ForgeError" import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" -import { Return } from "../../structures/@internal/Return" export default new NativeFunction({ name: "$callFunction", @@ -33,6 +32,6 @@ export default new NativeFunction({ const fn = ctx.client.functions.get(name) if (!fn) return this.error(ErrorType.UnknownXName, "function", name) - return fn.call(ctx, args) + return fn.call(ctx, this, args) }, }) \ No newline at end of file diff --git a/src/native/other/callLocalFunction.ts b/src/native/other/callLocalFunction.ts index 25fecb76ee..abfa022f77 100644 --- a/src/native/other/callLocalFunction.ts +++ b/src/native/other/callLocalFunction.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ErrorType } from "../../structures" diff --git a/src/native/other/debug.ts b/src/native/other/debug.ts index 8e8002f6f4..c054840cf2 100644 --- a/src/native/other/debug.ts +++ b/src/native/other/debug.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/other/disableConsoleErrors.ts b/src/native/other/disableConsoleErrors.ts index f9dd5d7793..43b72e6191 100644 --- a/src/native/other/disableConsoleErrors.ts +++ b/src/native/other/disableConsoleErrors.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/other/djsVersion.ts b/src/native/other/djsVersion.ts index d1b28fb2d0..3a448f4e8c 100644 --- a/src/native/other/djsVersion.ts +++ b/src/native/other/djsVersion.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { version } from "discord.js" diff --git a/src/native/other/enableConsoleErrors.ts b/src/native/other/enableConsoleErrors.ts index 5432558878..f64f85a0f5 100644 --- a/src/native/other/enableConsoleErrors.ts +++ b/src/native/other/enableConsoleErrors.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction } from "../../structures" diff --git a/src/native/other/error.ts b/src/native/other/error.ts index 5c3366f45d..4e13269138 100644 --- a/src/native/other/error.ts +++ b/src/native/other/error.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/other/escapeCode.ts b/src/native/other/escapeCode.ts index 7440bc26c9..ab3bcd03e3 100644 --- a/src/native/other/escapeCode.ts +++ b/src/native/other/escapeCode.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction } from "../../structures" +import { ArgType, IExtendedCompiledFunctionField, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$escapeCode", @@ -17,14 +17,15 @@ export default new NativeFunction({ args: [ { name: "code", - type: ArgType.String, description: "The code to ignore", + type: ArgType.String, required: true, rest: false } ], output: ArgType.String, execute(ctx) { - return this.success(this.displayField(0)) + const code = this.data.fields![0] as IExtendedCompiledFunctionField + return this.success(code.rawValue) }, }) \ No newline at end of file diff --git a/src/native/other/localFunction.ts b/src/native/other/localFunction.ts index ed4ffc53b2..5b57b843a0 100644 --- a/src/native/other/localFunction.ts +++ b/src/native/other/localFunction.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { IExtendedCompiledFunctionField } from "../../structures" diff --git a/src/native/other/typeof.ts b/src/native/other/typeof.ts index 3d79521c89..ef591af426 100644 --- a/src/native/other/typeof.ts +++ b/src/native/other/typeof.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export const BigIntFormatRegex = /^\d+n$/ @@ -29,7 +29,7 @@ export default new NativeFunction({ if (arg === "undefined") type = "undefined" else if (arg === "true" || arg === "false") type = "boolean" else if (BigIntFormatRegex.test(arg)) type = "bigint" - else if (!!arg.trim() && !isNaN(Number(arg))) type = "number" + else if (arg === "NaN" || (!!arg.trim() && !isNaN(Number(arg)))) type = "number" else { try { JSON.parse(arg) diff --git a/src/native/poll/poll.ts b/src/native/poll/poll.ts index ba6b390eb2..72792cf285 100644 --- a/src/native/poll/poll.ts +++ b/src/native/poll/poll.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PollLayoutType } from "discord.js" diff --git a/src/native/poll/pollAnswer.ts b/src/native/poll/pollAnswer.ts index 0b3444c40c..7c6e46c0f4 100644 --- a/src/native/poll/pollAnswer.ts +++ b/src/native/poll/pollAnswer.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PollAnswerData } from "discord.js" diff --git a/src/native/poll/pollAnswerEmoji.ts b/src/native/poll/pollAnswerEmoji.ts index 6f2b86b242..4def066661 100644 --- a/src/native/poll/pollAnswerEmoji.ts +++ b/src/native/poll/pollAnswerEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/poll/pollAnswerID.ts b/src/native/poll/pollAnswerID.ts index ffc08f9e8b..600fd96b33 100644 --- a/src/native/poll/pollAnswerID.ts +++ b/src/native/poll/pollAnswerID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/poll/pollAnswerMessageID.ts b/src/native/poll/pollAnswerMessageID.ts index 9e2100dbea..e1589579bc 100644 --- a/src/native/poll/pollAnswerMessageID.ts +++ b/src/native/poll/pollAnswerMessageID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/poll/pollAnswerText.ts b/src/native/poll/pollAnswerText.ts index 974717aee3..b0ce86c49f 100644 --- a/src/native/poll/pollAnswerText.ts +++ b/src/native/poll/pollAnswerText.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/poll/pollAnswerVoteCount.ts b/src/native/poll/pollAnswerVoteCount.ts index 6af8b59799..6ed8615f1b 100644 --- a/src/native/poll/pollAnswerVoteCount.ts +++ b/src/native/poll/pollAnswerVoteCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/poll/pollAnswerVoterIDs.ts b/src/native/poll/pollAnswerVoterIDs.ts index fd1ade0016..d8ebc78e21 100644 --- a/src/native/poll/pollAnswerVoterIDs.ts +++ b/src/native/poll/pollAnswerVoterIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/poll/pollAnswers.ts b/src/native/poll/pollAnswers.ts index 07fd761aaf..84b7d7c864 100644 --- a/src/native/poll/pollAnswers.ts +++ b/src/native/poll/pollAnswers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PollAnswerData } from "discord.js" diff --git a/src/native/poll/pollEnd.ts b/src/native/poll/pollEnd.ts index 33dba1435e..49da126eda 100644 --- a/src/native/poll/pollEnd.ts +++ b/src/native/poll/pollEnd.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Arg, ArgType, NativeFunction } from "../../structures" diff --git a/src/native/reaction/reactionAuthorID.ts b/src/native/reaction/reactionAuthorID.ts index cf5c35f619..501e80ce7f 100644 --- a/src/native/reaction/reactionAuthorID.ts +++ b/src/native/reaction/reactionAuthorID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/reaction/reactionCount.ts b/src/native/reaction/reactionCount.ts index ed5bdbecb5..0343b49075 100644 --- a/src/native/reaction/reactionCount.ts +++ b/src/native/reaction/reactionCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/reaction/reactionEmoji.ts b/src/native/reaction/reactionEmoji.ts index 751ce0f741..8cdb0ab39b 100644 --- a/src/native/reaction/reactionEmoji.ts +++ b/src/native/reaction/reactionEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/reaction/reactionEmojiID.ts b/src/native/reaction/reactionEmojiID.ts index ba90944921..138c81d171 100644 --- a/src/native/reaction/reactionEmojiID.ts +++ b/src/native/reaction/reactionEmojiID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/reaction/reactionMessageID.ts b/src/native/reaction/reactionMessageID.ts index 2b4b0b9c09..cb1a66e001 100644 --- a/src/native/reaction/reactionMessageID.ts +++ b/src/native/reaction/reactionMessageID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/addRole.ts b/src/native/role/addRole.ts index f6494b2f5b..78b46a097e 100644 --- a/src/native/role/addRole.ts +++ b/src/native/role/addRole.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ColorResolvable, PermissionFlagsBits, PermissionsString } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { PermissionFlagsBits, PermissionsString } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$addRole", @@ -32,7 +32,7 @@ export default new NativeFunction({ name: "color", description: "The role color", rest: false, - type: ArgType.String, + type: ArgType.Color, }, { name: "icon", @@ -69,7 +69,7 @@ export default new NativeFunction({ async execute(ctx, [guild, name, color, icon, hoist, mentionable, pos, perms]) { const created = await guild.roles .create({ - colors: !color ? undefined : { primaryColor: color as ColorResolvable }, + colors: !color ? undefined : { primaryColor: color }, icon: icon || undefined, hoist: hoist || false, mentionable: mentionable || false, diff --git a/src/native/role/cloneRole.ts b/src/native/role/cloneRole.ts index 8095bd7b7d..640f6578f9 100644 --- a/src/native/role/cloneRole.ts +++ b/src/native/role/cloneRole.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { RoleColorsResolvable } from "discord.js" diff --git a/src/native/role/deleteRoles.ts b/src/native/role/deleteRoles.ts index d4e1f4957f..cf0edde6a7 100644 --- a/src/native/role/deleteRoles.ts +++ b/src/native/role/deleteRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/editRole.ts b/src/native/role/editRole.ts index 0ee3b2ac4a..1203767bb4 100644 --- a/src/native/role/editRole.ts +++ b/src/native/role/editRole.ts @@ -1,17 +1,16 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" -import { ColorResolvable } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$editRole", version: "1.0.7", description: "Edits a role on a guild, returns boolean", unwrap: true, - output: ArgType.Boolean, + brackets: true, args: [ { name: "guild ID", @@ -38,7 +37,7 @@ export default new NativeFunction({ name: "color", description: "The new role color, leave empty to not modify", rest: false, - type: ArgType.String, + type: ArgType.Color, }, { name: "icon", @@ -65,15 +64,15 @@ export default new NativeFunction({ type: ArgType.Permission, }, ], - brackets: true, + output: ArgType.Boolean, async execute(ctx, [, role, name, color, icon, hoist, mentionable, perms]) { const edit = await role.edit({ - colors: !color ? undefined : { primaryColor: color as ColorResolvable }, - hoist: hoist || undefined, - icon: icon || undefined, - mentionable: mentionable || undefined, + colors: !color ? undefined : { primaryColor: color }, + mentionable: typeof(mentionable) === "boolean" ? mentionable : undefined, + hoist: typeof(hoist) === "boolean" ? hoist : undefined, name: name || undefined, - permissions: perms || undefined, + icon: icon || undefined, + permissions: perms?.length ? perms : undefined, reason: ctx.reason }).catch(ctx.noop) diff --git a/src/native/role/editRoleColors.ts b/src/native/role/editRoleColors.ts index d40d756097..76ec338cfe 100644 --- a/src/native/role/editRoleColors.ts +++ b/src/native/role/editRoleColors.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/editRoleIcon.ts b/src/native/role/editRoleIcon.ts index 1a765f50e5..2210ebc7ca 100644 --- a/src/native/role/editRoleIcon.ts +++ b/src/native/role/editRoleIcon.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/editRoleName.ts b/src/native/role/editRoleName.ts index 39c49f91cc..c305455c62 100644 --- a/src/native/role/editRoleName.ts +++ b/src/native/role/editRoleName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/editRolePerms.ts b/src/native/role/editRolePerms.ts index ae550dd546..d8d0cf6e91 100644 --- a/src/native/role/editRolePerms.ts +++ b/src/native/role/editRolePerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/editRolePosition.ts b/src/native/role/editRolePosition.ts index 8d76cbb9f2..d22d91eb70 100644 --- a/src/native/role/editRolePosition.ts +++ b/src/native/role/editRolePosition.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/editRoleUnicodeEmoji.ts b/src/native/role/editRoleUnicodeEmoji.ts index 9d2928a715..8349a0b74b 100644 --- a/src/native/role/editRoleUnicodeEmoji.ts +++ b/src/native/role/editRoleUnicodeEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/fetchRoles.ts b/src/native/role/fetchRoles.ts index de6cc1b962..f99ccbc1df 100644 --- a/src/native/role/fetchRoles.ts +++ b/src/native/role/fetchRoles.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/randomRoleID.ts b/src/native/role/randomRoleID.ts index b9d7305a2b..874344691c 100644 --- a/src/native/role/randomRoleID.ts +++ b/src/native/role/randomRoleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleColor.ts b/src/native/role/roleColor.ts index 6bc102f95f..59b5af4c28 100644 --- a/src/native/role/roleColor.ts +++ b/src/native/role/roleColor.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { int2hex } from "../../functions/hex" diff --git a/src/native/role/roleCount.ts b/src/native/role/roleCount.ts index 051727ac9d..71f3770f2c 100644 --- a/src/native/role/roleCount.ts +++ b/src/native/role/roleCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleCreatedAt.ts b/src/native/role/roleCreatedAt.ts index 62763a009e..02ebfb7c41 100644 --- a/src/native/role/roleCreatedAt.ts +++ b/src/native/role/roleCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleEditable.ts b/src/native/role/roleEditable.ts index b841253515..27bf3f8f95 100644 --- a/src/native/role/roleEditable.ts +++ b/src/native/role/roleEditable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleExists.ts b/src/native/role/roleExists.ts index 564c5370a2..ff96fd4552 100644 --- a/src/native/role/roleExists.ts +++ b/src/native/role/roleExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleFlags.ts b/src/native/role/roleFlags.ts index 8069fc5361..1a9b7c0fd6 100644 --- a/src/native/role/roleFlags.ts +++ b/src/native/role/roleFlags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { RoleFlags } from "discord.js" diff --git a/src/native/role/roleHasAnyPerms.ts b/src/native/role/roleHasAnyPerms.ts index b6ff783d5e..76d786a6fc 100644 --- a/src/native/role/roleHasAnyPerms.ts +++ b/src/native/role/roleHasAnyPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PermissionFlagsBits } from "discord.js" diff --git a/src/native/role/roleHasPerms.ts b/src/native/role/roleHasPerms.ts index 9c7f63fd7f..bbc4413de1 100644 --- a/src/native/role/roleHasPerms.ts +++ b/src/native/role/roleHasPerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PermissionFlagsBits } from "discord.js" diff --git a/src/native/role/roleHoisted.ts b/src/native/role/roleHoisted.ts index a66552d35f..8966c5fcb4 100644 --- a/src/native/role/roleHoisted.ts +++ b/src/native/role/roleHoisted.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleID.ts b/src/native/role/roleID.ts index dd174ac3ed..05b61e4d81 100644 --- a/src/native/role/roleID.ts +++ b/src/native/role/roleID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleIcon.ts b/src/native/role/roleIcon.ts index f61705b282..6790e3742f 100644 --- a/src/native/role/roleIcon.ts +++ b/src/native/role/roleIcon.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" diff --git a/src/native/role/roleIntColor.ts b/src/native/role/roleIntColor.ts index 184f125d93..589a00c22e 100644 --- a/src/native/role/roleIntColor.ts +++ b/src/native/role/roleIntColor.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleManageable.ts b/src/native/role/roleManageable.ts index 2aa06a0b91..5b404e4b09 100644 --- a/src/native/role/roleManageable.ts +++ b/src/native/role/roleManageable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleMembers.ts b/src/native/role/roleMembers.ts index ebc53ff876..c1fa670e40 100644 --- a/src/native/role/roleMembers.ts +++ b/src/native/role/roleMembers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/role/roleMentionable.ts b/src/native/role/roleMentionable.ts index f2ff80a1d7..a905913b26 100644 --- a/src/native/role/roleMentionable.ts +++ b/src/native/role/roleMentionable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleName.ts b/src/native/role/roleName.ts index 9ac8b98369..ef562b5665 100644 --- a/src/native/role/roleName.ts +++ b/src/native/role/roleName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleNames.ts b/src/native/role/roleNames.ts index be7ad9a079..9ecd7ada48 100644 --- a/src/native/role/roleNames.ts +++ b/src/native/role/roleNames.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/role/rolePerms.ts b/src/native/role/rolePerms.ts index aa68c031cc..7e76dc4f05 100644 --- a/src/native/role/rolePerms.ts +++ b/src/native/role/rolePerms.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PermissionFlagsBits } from "discord.js" diff --git a/src/native/role/rolePosition.ts b/src/native/role/rolePosition.ts index d86f5d4c12..35328ddba7 100644 --- a/src/native/role/rolePosition.ts +++ b/src/native/role/rolePosition.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleRawData.ts b/src/native/role/roleRawData.ts index 64cf31cf82..ca9e4e3564 100644 --- a/src/native/role/roleRawData.ts +++ b/src/native/role/roleRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleRawPosition.ts b/src/native/role/roleRawPosition.ts index a14e177c19..20db8e6053 100644 --- a/src/native/role/roleRawPosition.ts +++ b/src/native/role/roleRawPosition.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/role/roleTags.ts b/src/native/role/roleTags.ts index d28219ac4d..af22091370 100644 --- a/src/native/role/roleTags.ts +++ b/src/native/role/roleTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/role/roleUnicodeEmoji.ts b/src/native/role/roleUnicodeEmoji.ts index 7b8ccf860c..cfbd055de4 100644 --- a/src/native/role/roleUnicodeEmoji.ts +++ b/src/native/role/roleUnicodeEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/createSoundboardSound.ts b/src/native/soundboard/createSoundboardSound.ts index 034e85108b..d8f75be36f 100644 --- a/src/native/soundboard/createSoundboardSound.ts +++ b/src/native/soundboard/createSoundboardSound.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/deleteSoundboardSounds.ts b/src/native/soundboard/deleteSoundboardSounds.ts index 82770ae287..f15a99b615 100644 --- a/src/native/soundboard/deleteSoundboardSounds.ts +++ b/src/native/soundboard/deleteSoundboardSounds.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/editSoundboardSound.ts b/src/native/soundboard/editSoundboardSound.ts index 363d12cbf1..63a7c65739 100644 --- a/src/native/soundboard/editSoundboardSound.ts +++ b/src/native/soundboard/editSoundboardSound.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/getSoundboardSound.ts b/src/native/soundboard/getSoundboardSound.ts index 4d14f3df39..7b79178cd4 100644 --- a/src/native/soundboard/getSoundboardSound.ts +++ b/src/native/soundboard/getSoundboardSound.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundAvailable.ts b/src/native/soundboard/soundAvailable.ts index 0c24aa16bc..9ca217594c 100644 --- a/src/native/soundboard/soundAvailable.ts +++ b/src/native/soundboard/soundAvailable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundCreatedAt.ts b/src/native/soundboard/soundCreatedAt.ts index 97436e10dc..1513cc2da8 100644 --- a/src/native/soundboard/soundCreatedAt.ts +++ b/src/native/soundboard/soundCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundEmoji.ts b/src/native/soundboard/soundEmoji.ts index f3680a7a13..828f72b097 100644 --- a/src/native/soundboard/soundEmoji.ts +++ b/src/native/soundboard/soundEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundGuildID.ts b/src/native/soundboard/soundGuildID.ts index ac84eeafc0..8e32d82c8a 100644 --- a/src/native/soundboard/soundGuildID.ts +++ b/src/native/soundboard/soundGuildID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundID.ts b/src/native/soundboard/soundID.ts index 3b6edd307b..8d3ba2b525 100644 --- a/src/native/soundboard/soundID.ts +++ b/src/native/soundboard/soundID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundName.ts b/src/native/soundboard/soundName.ts index d126e056ba..0e5c76c2c1 100644 --- a/src/native/soundboard/soundName.ts +++ b/src/native/soundboard/soundName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundURL.ts b/src/native/soundboard/soundURL.ts index 93f3785292..bef5caf94b 100644 --- a/src/native/soundboard/soundURL.ts +++ b/src/native/soundboard/soundURL.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundUserID.ts b/src/native/soundboard/soundUserID.ts index b8ddae6d90..e748236694 100644 --- a/src/native/soundboard/soundUserID.ts +++ b/src/native/soundboard/soundUserID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/soundboard/soundVolume.ts b/src/native/soundboard/soundVolume.ts index 586caaa103..77abbdb65a 100644 --- a/src/native/soundboard/soundVolume.ts +++ b/src/native/soundboard/soundVolume.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/state/auditLog.ts b/src/native/state/auditLog.ts index f2167ec255..88e750da08 100644 --- a/src/native/state/auditLog.ts +++ b/src/native/state/auditLog.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AuditProperties, AuditProperty } from "../../properties/audit" diff --git a/src/native/state/bulk.ts b/src/native/state/bulk.ts index e886df5c7b..948334ba74 100644 --- a/src/native/state/bulk.ts +++ b/src/native/state/bulk.ts @@ -1,18 +1,17 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BulkProperties, BulkProperty } from "../../properties/bulk" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$bulk", version: "1.4.0", description: "Retrieves data from an event whose context was a bulk delete event", - brackets: true, + brackets: false, unwrap: true, - output: ArgType.Unknown, args: [ { name: "property", @@ -29,7 +28,13 @@ export default new NativeFunction({ type: ArgType.String, }, ], + output: [ + ArgType.Unknown, + ArgType.Json + ], execute(ctx, [prop, sep]) { - return this.success(BulkProperties[prop](ctx.states?.bulk?.new, sep)) + const bulk = ctx.states?.bulk?.new + if (this.hasFields) return this.success(BulkProperties[prop](bulk, sep)) + return this.successJSON(bulk) }, }) diff --git a/src/native/state/effect.ts b/src/native/state/effect.ts index 318bf8ebfe..a72bdce8c1 100644 --- a/src/native/state/effect.ts +++ b/src/native/state/effect.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { VoiceEffectProperties, VoiceEffectProperty } from "../../properties/voiceEffect" diff --git a/src/native/state/newAutomodRule.ts b/src/native/state/newAutomodRule.ts index d1096c2150..cf4d8f2c0b 100644 --- a/src/native/state/newAutomodRule.ts +++ b/src/native/state/newAutomodRule.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AutomodRuleProperties, AutomodRuleProperty } from "../../properties/automodRule" diff --git a/src/native/state/newChannel.ts b/src/native/state/newChannel.ts index c3edddaccf..bb69266f16 100644 --- a/src/native/state/newChannel.ts +++ b/src/native/state/newChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelProperties, ChannelProperty } from "../../properties/channel" diff --git a/src/native/state/newEmoji.ts b/src/native/state/newEmoji.ts index f14695eda7..9104285840 100644 --- a/src/native/state/newEmoji.ts +++ b/src/native/state/newEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EmojiProperties, EmojiProperty } from "../../properties/emoji" diff --git a/src/native/state/newEntitlement.ts b/src/native/state/newEntitlement.ts index 59b381912a..c218c5e20b 100644 --- a/src/native/state/newEntitlement.ts +++ b/src/native/state/newEntitlement.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EntitlementProperties, EntitlementProperty } from "../../properties/entitlement" diff --git a/src/native/state/newGuild.ts b/src/native/state/newGuild.ts index 5ae13865d1..e36028e405 100644 --- a/src/native/state/newGuild.ts +++ b/src/native/state/newGuild.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildProperties, GuildProperty } from "../../properties/guild" diff --git a/src/native/state/newInvite.ts b/src/native/state/newInvite.ts index 53408e1916..6723e8f83c 100644 --- a/src/native/state/newInvite.ts +++ b/src/native/state/newInvite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { InviteProperties, InviteProperty } from "../../properties/invite" diff --git a/src/native/state/newMember.ts b/src/native/state/newMember.ts index 041a469414..a2f136efdc 100644 --- a/src/native/state/newMember.ts +++ b/src/native/state/newMember.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MemberProperties, MemberProperty } from "../../properties/member" diff --git a/src/native/state/newMessage.ts b/src/native/state/newMessage.ts index 2a3db92240..0baccb776e 100644 --- a/src/native/state/newMessage.ts +++ b/src/native/state/newMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageProperties, MessageProperty } from "../../properties/message" diff --git a/src/native/state/newPresence.ts b/src/native/state/newPresence.ts index 6b7149e67f..1ef29254bd 100644 --- a/src/native/state/newPresence.ts +++ b/src/native/state/newPresence.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PresenceProperties, PresenceProperty } from "../../properties/presence" diff --git a/src/native/state/newRole.ts b/src/native/state/newRole.ts index 3e8d31944d..498012160f 100644 --- a/src/native/state/newRole.ts +++ b/src/native/state/newRole.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { RoleProperties, RoleProperty } from "../../properties/role" diff --git a/src/native/state/newScheduledEvent.ts b/src/native/state/newScheduledEvent.ts index 9514d5dca8..76ada0dd37 100644 --- a/src/native/state/newScheduledEvent.ts +++ b/src/native/state/newScheduledEvent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ScheduledEventProperties, ScheduledEventProperty } from "../../properties/scheduledEvent" diff --git a/src/native/state/newSound.ts b/src/native/state/newSound.ts index a7c7883967..b7f9d5de4f 100644 --- a/src/native/state/newSound.ts +++ b/src/native/state/newSound.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { SoundboardSoundProperties, SoundboardSoundProperty } from "../../properties/sound" diff --git a/src/native/state/newStage.ts b/src/native/state/newStage.ts index b87ab137c1..bf8c55b198 100644 --- a/src/native/state/newStage.ts +++ b/src/native/state/newStage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StageProperties, StageProperty } from "../../properties/stage" diff --git a/src/native/state/newState.ts b/src/native/state/newState.ts index 841ca40965..af73de99ce 100644 --- a/src/native/state/newState.ts +++ b/src/native/state/newState.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { VoiceStateProperties, VoiceStateProperty } from "../../properties/voiceState" diff --git a/src/native/state/newSticker.ts b/src/native/state/newSticker.ts index d92621194a..34d873a1e3 100644 --- a/src/native/state/newSticker.ts +++ b/src/native/state/newSticker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StickerProperties, StickerProperty } from "../../properties/sticker" diff --git a/src/native/state/newSubscription.ts b/src/native/state/newSubscription.ts index 59e41e968e..0d96bfb4bd 100644 --- a/src/native/state/newSubscription.ts +++ b/src/native/state/newSubscription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { SubscriptionProperties, SubscriptionProperty } from "../../properties/subscription" diff --git a/src/native/state/newUser.ts b/src/native/state/newUser.ts index 0df9b79bd5..24a2951351 100644 --- a/src/native/state/newUser.ts +++ b/src/native/state/newUser.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { UserProperties, UserProperty } from "../../properties/user" diff --git a/src/native/state/oldAutomodRule.ts b/src/native/state/oldAutomodRule.ts index b57d99b269..b8e724ad34 100644 --- a/src/native/state/oldAutomodRule.ts +++ b/src/native/state/oldAutomodRule.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AutomodRuleProperties, AutomodRuleProperty } from "../../properties/automodRule" diff --git a/src/native/state/oldChannel.ts b/src/native/state/oldChannel.ts index f56a7958c8..a3704cd830 100644 --- a/src/native/state/oldChannel.ts +++ b/src/native/state/oldChannel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ChannelProperties, ChannelProperty } from "../../properties/channel" diff --git a/src/native/state/oldEmoji.ts b/src/native/state/oldEmoji.ts index 11184bbb71..e8dd50ad08 100644 --- a/src/native/state/oldEmoji.ts +++ b/src/native/state/oldEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EmojiProperties, EmojiProperty } from "../../properties/emoji" diff --git a/src/native/state/oldEntitlement.ts b/src/native/state/oldEntitlement.ts index 910769df51..1dde299b8c 100644 --- a/src/native/state/oldEntitlement.ts +++ b/src/native/state/oldEntitlement.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EntitlementProperties, EntitlementProperty } from "../../properties/entitlement" diff --git a/src/native/state/oldGuild.ts b/src/native/state/oldGuild.ts index 2056b296ee..296020de15 100644 --- a/src/native/state/oldGuild.ts +++ b/src/native/state/oldGuild.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildProperties, GuildProperty } from "../../properties/guild" diff --git a/src/native/state/oldInvite.ts b/src/native/state/oldInvite.ts index 6e36c06453..cbd2aa32b7 100644 --- a/src/native/state/oldInvite.ts +++ b/src/native/state/oldInvite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { InviteProperties, InviteProperty } from "../../properties/invite" diff --git a/src/native/state/oldMember.ts b/src/native/state/oldMember.ts index 1756f844b6..e841d84eca 100644 --- a/src/native/state/oldMember.ts +++ b/src/native/state/oldMember.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MemberProperties, MemberProperty } from "../../properties/member" diff --git a/src/native/state/oldMessage.ts b/src/native/state/oldMessage.ts index c9e56d2128..4ede03abe0 100644 --- a/src/native/state/oldMessage.ts +++ b/src/native/state/oldMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageProperties, MessageProperty } from "../../properties/message" diff --git a/src/native/state/oldPresence.ts b/src/native/state/oldPresence.ts index 8889120548..10704ff056 100644 --- a/src/native/state/oldPresence.ts +++ b/src/native/state/oldPresence.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { PresenceProperties, PresenceProperty } from "../../properties/presence" diff --git a/src/native/state/oldRole.ts b/src/native/state/oldRole.ts index 0747ae6a59..c55839798f 100644 --- a/src/native/state/oldRole.ts +++ b/src/native/state/oldRole.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { RoleProperties, RoleProperty } from "../../properties/role" diff --git a/src/native/state/oldScheduledEvent.ts b/src/native/state/oldScheduledEvent.ts index 9aa9825a21..21ccf1a145 100644 --- a/src/native/state/oldScheduledEvent.ts +++ b/src/native/state/oldScheduledEvent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ScheduledEventProperties, ScheduledEventProperty } from "../../properties/scheduledEvent" diff --git a/src/native/state/oldSound.ts b/src/native/state/oldSound.ts index 73b96f9096..eeb7ae900e 100644 --- a/src/native/state/oldSound.ts +++ b/src/native/state/oldSound.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { SoundboardSoundProperties, SoundboardSoundProperty } from "../../properties/sound" diff --git a/src/native/state/oldStage.ts b/src/native/state/oldStage.ts index 005dd9d14d..68949d6edb 100644 --- a/src/native/state/oldStage.ts +++ b/src/native/state/oldStage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StageProperties, StageProperty } from "../../properties/stage" diff --git a/src/native/state/oldState.ts b/src/native/state/oldState.ts index 659b359484..6ad12fe78b 100644 --- a/src/native/state/oldState.ts +++ b/src/native/state/oldState.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { VoiceStateProperties, VoiceStateProperty } from "../../properties/voiceState" diff --git a/src/native/state/oldSticker.ts b/src/native/state/oldSticker.ts index 99a41a6936..39ea0a8fe0 100644 --- a/src/native/state/oldSticker.ts +++ b/src/native/state/oldSticker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StickerProperties, StickerProperty } from "../../properties/sticker" diff --git a/src/native/state/oldSubscription.ts b/src/native/state/oldSubscription.ts index d800230fd9..c31d6c3c4a 100644 --- a/src/native/state/oldSubscription.ts +++ b/src/native/state/oldSubscription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { SubscriptionProperties, SubscriptionProperty } from "../../properties/subscription" diff --git a/src/native/state/oldUser.ts b/src/native/state/oldUser.ts index d73d78d8b4..55dd360ea6 100644 --- a/src/native/state/oldUser.ts +++ b/src/native/state/oldUser.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { UserProperties, UserProperty } from "../../properties/user" diff --git a/src/native/state/voiceServer.ts b/src/native/state/voiceServer.ts new file mode 100644 index 0000000000..102db2618e --- /dev/null +++ b/src/native/state/voiceServer.ts @@ -0,0 +1,29 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { VoiceServerProperties, VoiceServerProperty } from "../../properties/voiceServer" +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$voiceServer", + version: "2.7.0", + description: "Retrieves data from an event whose context was a voice server update event", + brackets: true, + unwrap: true, + output: ArgType.Unknown, + args: [ + { + name: "property", + description: "The property to pull", + rest: false, + type: ArgType.Enum, + enum: VoiceServerProperty, + required: true, + }, + ], + execute(ctx, [prop]) { + return this.success(VoiceServerProperties[prop](ctx.states?.voiceServer?.new)) + }, +}) \ No newline at end of file diff --git a/src/native/statement/async.ts b/src/native/statement/async.ts index f9e4c531b5..62f82b9edb 100644 --- a/src/native/statement/async.ts +++ b/src/native/statement/async.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/break.ts b/src/native/statement/break.ts index 1595f07857..2bb7a07ddf 100644 --- a/src/native/statement/break.ts +++ b/src/native/statement/break.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/case.ts b/src/native/statement/case.ts index 2b33b5aadf..3d0726c2f3 100644 --- a/src/native/statement/case.ts +++ b/src/native/statement/case.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/continue.ts b/src/native/statement/continue.ts index ee00dc7fb7..e282048247 100644 --- a/src/native/statement/continue.ts +++ b/src/native/statement/continue.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/default.ts b/src/native/statement/default.ts index 4e358df86b..ca4b4c5757 100644 --- a/src/native/statement/default.ts +++ b/src/native/statement/default.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/else.ts b/src/native/statement/else.ts index 1bdeab19fd..77fd5054c1 100644 --- a/src/native/statement/else.ts +++ b/src/native/statement/else.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { diff --git a/src/native/statement/elseif.ts b/src/native/statement/elseif.ts index 9c206508b0..84c3fc607e 100644 --- a/src/native/statement/elseif.ts +++ b/src/native/statement/elseif.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { diff --git a/src/native/statement/if.ts b/src/native/statement/if.ts index 35c74c45c6..49b25c3dc0 100644 --- a/src/native/statement/if.ts +++ b/src/native/statement/if.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { diff --git a/src/native/statement/ifx.ts b/src/native/statement/ifx.ts index c7649d245d..d10d7d95dc 100644 --- a/src/native/statement/ifx.ts +++ b/src/native/statement/ifx.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/loop.ts b/src/native/statement/loop.ts index 735cf32f40..9db12dcdd5 100644 --- a/src/native/statement/loop.ts +++ b/src/native/statement/loop.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/return.ts b/src/native/statement/return.ts index 0fff1f7095..189b9382f3 100644 --- a/src/native/statement/return.ts +++ b/src/native/statement/return.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/statement/scope.ts b/src/native/statement/scope.ts index 276f882dfa..a785ee415d 100644 --- a/src/native/statement/scope.ts +++ b/src/native/statement/scope.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction } from "../../structures" diff --git a/src/native/statement/switch.ts b/src/native/statement/switch.ts index b6d2951410..b985b63c23 100644 --- a/src/native/statement/switch.ts +++ b/src/native/statement/switch.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/try.ts b/src/native/statement/try.ts index 063a6386ac..df27aa7d00 100644 --- a/src/native/statement/try.ts +++ b/src/native/statement/try.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, ForgeError, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" diff --git a/src/native/statement/while.ts b/src/native/statement/while.ts index 66f7fef14a..c55e4523cc 100644 --- a/src/native/statement/while.ts +++ b/src/native/statement/while.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { diff --git a/src/native/sticker/addSticker.ts b/src/native/sticker/addSticker.ts index 5e880dd94c..20475b0f62 100644 --- a/src/native/sticker/addSticker.ts +++ b/src/native/sticker/addSticker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/sticker/deleteStickers.ts b/src/native/sticker/deleteStickers.ts index 4ec2dd6fc2..5a654c8029 100644 --- a/src/native/sticker/deleteStickers.ts +++ b/src/native/sticker/deleteStickers.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/sticker/editSticker.ts b/src/native/sticker/editSticker.ts index a7aa2ab93e..969532664a 100644 --- a/src/native/sticker/editSticker.ts +++ b/src/native/sticker/editSticker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/setStickerDescription.ts b/src/native/sticker/setStickerDescription.ts index b638408090..b9d0bfa3fa 100644 --- a/src/native/sticker/setStickerDescription.ts +++ b/src/native/sticker/setStickerDescription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/setStickerName.ts b/src/native/sticker/setStickerName.ts index 78e7701c34..30d958be66 100644 --- a/src/native/sticker/setStickerName.ts +++ b/src/native/sticker/setStickerName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/setStickerTags.ts b/src/native/sticker/setStickerTags.ts index 623dd740ec..76d73abbe4 100644 --- a/src/native/sticker/setStickerTags.ts +++ b/src/native/sticker/setStickerTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerAvailable.ts b/src/native/sticker/stickerAvailable.ts index 3999761b8a..103f292a5d 100644 --- a/src/native/sticker/stickerAvailable.ts +++ b/src/native/sticker/stickerAvailable.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerCreatedAt.ts b/src/native/sticker/stickerCreatedAt.ts index 442f38ca96..3a379d56c8 100644 --- a/src/native/sticker/stickerCreatedAt.ts +++ b/src/native/sticker/stickerCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerDescription.ts b/src/native/sticker/stickerDescription.ts index 628a2b2425..bb98986e1b 100644 --- a/src/native/sticker/stickerDescription.ts +++ b/src/native/sticker/stickerDescription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerFormat.ts b/src/native/sticker/stickerFormat.ts index dccf3578aa..415b435c37 100644 --- a/src/native/sticker/stickerFormat.ts +++ b/src/native/sticker/stickerFormat.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StickerFormatType } from "discord.js" diff --git a/src/native/sticker/stickerGuildID.ts b/src/native/sticker/stickerGuildID.ts index eaad5ca39b..b8637e990f 100644 --- a/src/native/sticker/stickerGuildID.ts +++ b/src/native/sticker/stickerGuildID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerID.ts b/src/native/sticker/stickerID.ts index 904eff53aa..98a6674d0b 100644 --- a/src/native/sticker/stickerID.ts +++ b/src/native/sticker/stickerID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerName.ts b/src/native/sticker/stickerName.ts index b4c5d83c10..8fb3c40f5e 100644 --- a/src/native/sticker/stickerName.ts +++ b/src/native/sticker/stickerName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerOwnerID.ts b/src/native/sticker/stickerOwnerID.ts index 0f11442559..f1af177f97 100644 --- a/src/native/sticker/stickerOwnerID.ts +++ b/src/native/sticker/stickerOwnerID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerPackID.ts b/src/native/sticker/stickerPackID.ts index 1d854b372f..3a3c1e20a1 100644 --- a/src/native/sticker/stickerPackID.ts +++ b/src/native/sticker/stickerPackID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerRawData.ts b/src/native/sticker/stickerRawData.ts index 0702af04ab..3976ae50ed 100644 --- a/src/native/sticker/stickerRawData.ts +++ b/src/native/sticker/stickerRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/sticker/stickerSortValue.ts b/src/native/sticker/stickerSortValue.ts index 5267fff9ae..097f379641 100644 --- a/src/native/sticker/stickerSortValue.ts +++ b/src/native/sticker/stickerSortValue.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerTags.ts b/src/native/sticker/stickerTags.ts index 7fda7a01e5..664af422af 100644 --- a/src/native/sticker/stickerTags.ts +++ b/src/native/sticker/stickerTags.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/sticker/stickerType.ts b/src/native/sticker/stickerType.ts index 2f6406f556..1f06da35d3 100644 --- a/src/native/sticker/stickerType.ts +++ b/src/native/sticker/stickerType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StickerType } from "discord.js" diff --git a/src/native/sticker/stickerURL.ts b/src/native/sticker/stickerURL.ts index 8d4cc89b54..5333f0d377 100644 --- a/src/native/sticker/stickerURL.ts +++ b/src/native/sticker/stickerURL.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/string/advancedReplace.ts b/src/native/string/advancedReplace.ts index 4f47b363ac..3d914a2907 100644 --- a/src/native/string/advancedReplace.ts +++ b/src/native/string/advancedReplace.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/argCount.ts b/src/native/string/argCount.ts index 2695edf69c..8d8e89225c 100644 --- a/src/native/string/argCount.ts +++ b/src/native/string/argCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/charCodeAt.ts b/src/native/string/charCodeAt.ts index a4524c7f29..f43f2f6b1f 100644 --- a/src/native/string/charCodeAt.ts +++ b/src/native/string/charCodeAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/charCount.ts b/src/native/string/charCount.ts index 4dfa831998..9fb498cbb0 100644 --- a/src/native/string/charCount.ts +++ b/src/native/string/charCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/checkContains.ts b/src/native/string/checkContains.ts index 8d461f6867..5361f5156e 100644 --- a/src/native/string/checkContains.ts +++ b/src/native/string/checkContains.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" @@ -12,7 +12,7 @@ export default new NativeFunction({ "$includes" ], output: ArgType.Boolean, - description: "Checks whether a string contains a set of other trings", + description: "Checks whether a string contains a set of other strings", unwrap: true, args: [ { diff --git a/src/native/string/cropArgs.ts b/src/native/string/cropArgs.ts index 2f9dfcf9e2..8ec03a9c11 100644 --- a/src/native/string/cropArgs.ts +++ b/src/native/string/cropArgs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/cropText.ts b/src/native/string/cropText.ts index 013108b5cb..cd025b8f73 100644 --- a/src/native/string/cropText.ts +++ b/src/native/string/cropText.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/endsWith.ts b/src/native/string/endsWith.ts index 92f29dd4b7..7d930790ef 100644 --- a/src/native/string/endsWith.ts +++ b/src/native/string/endsWith.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/fromCharCode.ts b/src/native/string/fromCharCode.ts index 244c87b4f0..3d66c9ab23 100644 --- a/src/native/string/fromCharCode.ts +++ b/src/native/string/fromCharCode.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/localeCompare.ts b/src/native/string/localeCompare.ts new file mode 100644 index 0000000000..532576148b --- /dev/null +++ b/src/native/string/localeCompare.ts @@ -0,0 +1,34 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$localeCompare", + version: "2.7.0", + description: "Compares two strings, returns their relative order", + unwrap: true, + brackets: true, + args: [ + { + name: "first", + description: "The first string to compare", + type: ArgType.String, + rest: false, + required: true, + }, + { + name: "second", + description: "The second string to compare against first string", + required: true, + rest: false, + type: ArgType.String, + }, + ], + output: ArgType.Number, + execute(ctx, [a, b]) { + return this.success(a.localeCompare(b)) + }, +}) \ No newline at end of file diff --git a/src/native/string/padEnd.ts b/src/native/string/padEnd.ts index abb8c40076..4ce1483f82 100644 --- a/src/native/string/padEnd.ts +++ b/src/native/string/padEnd.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/padStart.ts b/src/native/string/padStart.ts index 71becc91bf..41c69ed4ed 100644 --- a/src/native/string/padStart.ts +++ b/src/native/string/padStart.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/randomString.ts b/src/native/string/randomString.ts index d81f2a4c5d..3473c07bef 100644 --- a/src/native/string/randomString.ts +++ b/src/native/string/randomString.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/randomText.ts b/src/native/string/randomText.ts index 75a0bc5ad7..1d3dbf1449 100644 --- a/src/native/string/randomText.ts +++ b/src/native/string/randomText.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/randomUUID.ts b/src/native/string/randomUUID.ts index 22751a2777..d34f770001 100644 --- a/src/native/string/randomUUID.ts +++ b/src/native/string/randomUUID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { randomUUID } from "crypto" diff --git a/src/native/string/repeat.ts b/src/native/string/repeat.ts index 69b7136c3f..d174ae9fbe 100644 --- a/src/native/string/repeat.ts +++ b/src/native/string/repeat.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/replace.ts b/src/native/string/replace.ts index edd36a080a..97ffcb7192 100644 --- a/src/native/string/replace.ts +++ b/src/native/string/replace.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/replaceRegex.ts b/src/native/string/replaceRegex.ts index ebe0089a3b..a54ecfe013 100644 --- a/src/native/string/replaceRegex.ts +++ b/src/native/string/replaceRegex.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/reverseText.ts b/src/native/string/reverseText.ts index 887925a68b..7f8a089f27 100644 --- a/src/native/string/reverseText.ts +++ b/src/native/string/reverseText.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Arg, ArgType, NativeFunction } from "../../structures" diff --git a/src/native/string/sliceText.ts b/src/native/string/sliceText.ts index 7d15954be2..fcb8e4acf8 100644 --- a/src/native/string/sliceText.ts +++ b/src/native/string/sliceText.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/string/snowflake.ts b/src/native/string/snowflake.ts index e5e0e3414c..71a09c107e 100644 --- a/src/native/string/snowflake.ts +++ b/src/native/string/snowflake.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { SnowflakeUtil } from "discord.js" diff --git a/src/native/string/startsWith.ts b/src/native/string/startsWith.ts index fceed0d392..245877aca8 100644 --- a/src/native/string/startsWith.ts +++ b/src/native/string/startsWith.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { startsWith } from "lodash" diff --git a/src/native/string/toCamelCase.ts b/src/native/string/toCamelCase.ts index a7450ac2c6..90a672c1a7 100644 --- a/src/native/string/toCamelCase.ts +++ b/src/native/string/toCamelCase.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/toKebabCase.ts b/src/native/string/toKebabCase.ts index efa17dc76d..b5fc6ad0fa 100644 --- a/src/native/string/toKebabCase.ts +++ b/src/native/string/toKebabCase.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/toLowerCase.ts b/src/native/string/toLowerCase.ts index a59269d1fc..e12216332f 100644 --- a/src/native/string/toLowerCase.ts +++ b/src/native/string/toLowerCase.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/toSnakeCase.ts b/src/native/string/toSnakeCase.ts index c1ce4991fb..0258b4edb5 100644 --- a/src/native/string/toSnakeCase.ts +++ b/src/native/string/toSnakeCase.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/toTitleCase.ts b/src/native/string/toTitleCase.ts index f165ebb411..49c2b53491 100644 --- a/src/native/string/toTitleCase.ts +++ b/src/native/string/toTitleCase.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/toUpperCase.ts b/src/native/string/toUpperCase.ts index 12fa49282d..70d07211d8 100644 --- a/src/native/string/toUpperCase.ts +++ b/src/native/string/toUpperCase.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/trim.ts b/src/native/string/trim.ts index 35ca840d0d..43ebb04b6b 100644 --- a/src/native/string/trim.ts +++ b/src/native/string/trim.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/trimEnd.ts b/src/native/string/trimEnd.ts index 485adbf91e..7175e85e01 100644 --- a/src/native/string/trimEnd.ts +++ b/src/native/string/trimEnd.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/trimLines.ts b/src/native/string/trimLines.ts index 459cef0a91..d8c87c79aa 100644 --- a/src/native/string/trimLines.ts +++ b/src/native/string/trimLines.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/string/trimStart.ts b/src/native/string/trimStart.ts index 591e0b7047..e09a962841 100644 --- a/src/native/string/trimStart.ts +++ b/src/native/string/trimStart.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/system/cpu.ts b/src/native/system/cpu.ts index 807600cf78..0ba9696756 100644 --- a/src/native/system/cpu.ts +++ b/src/native/system/cpu.ts @@ -1,11 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -/* eslint-disable no-undef */ -import { cpus, loadavg } from "os" -import { ArgType, NativeFunction, Return } from "../../structures" +import { loadavg } from "os" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$cpu", diff --git a/src/native/system/cpuArch.ts b/src/native/system/cpuArch.ts index d511632da0..3cb44e761d 100644 --- a/src/native/system/cpuArch.ts +++ b/src/native/system/cpuArch.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/system/cpuCores.ts b/src/native/system/cpuCores.ts index 9203a6fdaf..e2671883cf 100644 --- a/src/native/system/cpuCores.ts +++ b/src/native/system/cpuCores.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/system/cpuModel.ts b/src/native/system/cpuModel.ts index 4c2b83aacf..8b4354de73 100644 --- a/src/native/system/cpuModel.ts +++ b/src/native/system/cpuModel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/system/cpuSpeed.ts b/src/native/system/cpuSpeed.ts index 1c290bb702..34feeeb1d3 100644 --- a/src/native/system/cpuSpeed.ts +++ b/src/native/system/cpuSpeed.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/system/networkCardIPs.ts b/src/native/system/networkCardIPs.ts index 408a0a2710..4e6a1db145 100644 --- a/src/native/system/networkCardIPs.ts +++ b/src/native/system/networkCardIPs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { networkInterfaces } from "os" diff --git a/src/native/system/networkCardNames.ts b/src/native/system/networkCardNames.ts index 518bce2afd..6efe1667c4 100644 --- a/src/native/system/networkCardNames.ts +++ b/src/native/system/networkCardNames.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { networkInterfaces } from "os" diff --git a/src/native/system/nodeVersion.ts b/src/native/system/nodeVersion.ts index cfcb61680b..e3ec01baa2 100644 --- a/src/native/system/nodeVersion.ts +++ b/src/native/system/nodeVersion.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$nodeVersion", @@ -12,7 +12,6 @@ export default new NativeFunction({ unwrap: false, output: ArgType.String, execute(ctx) { - // eslint-disable-next-line no-undef return this.success(process.version) }, }) diff --git a/src/native/system/os.ts b/src/native/system/os.ts index a1d8e4a29f..9fe9ad5a00 100644 --- a/src/native/system/os.ts +++ b/src/native/system/os.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/system/osUptime.ts b/src/native/system/osUptime.ts index fa50122a02..a676b91f05 100644 --- a/src/native/system/osUptime.ts +++ b/src/native/system/osUptime.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/system/ram.ts b/src/native/system/ram.ts index 757976900c..36535c67eb 100644 --- a/src/native/system/ram.ts +++ b/src/native/system/ram.ts @@ -1,10 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -/* eslint-disable no-undef */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$ram", diff --git a/src/native/system/ramTotal.ts b/src/native/system/ramTotal.ts index 301c8e15a1..4139ac5263 100644 --- a/src/native/system/ramTotal.ts +++ b/src/native/system/ramTotal.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/calendarDay.ts b/src/native/time/calendarDay.ts index 6f063ccb78..489f23f40f 100644 --- a/src/native/time/calendarDay.ts +++ b/src/native/time/calendarDay.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/calendarWeek.ts b/src/native/time/calendarWeek.ts index b777b4e746..6a06c1ea04 100644 --- a/src/native/time/calendarWeek.ts +++ b/src/native/time/calendarWeek.ts @@ -1,15 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" - -function getWeekOfYear(date: Date) { - const start = new Date(date.getFullYear(), 0, 1) - const days = (date.getTime() - start.getTime()) / 86400000 - return Math.ceil((days + start.getDay() + 1) / 7) -} +import { ArgType, NativeFunction, CalendarType } from "../../structures" export default new NativeFunction({ name: "$calendarWeek", @@ -17,7 +11,25 @@ export default new NativeFunction({ description: "Returns the calendar week", unwrap: true, output: ArgType.Number, - execute: async function(ctx) { - return this.success(getWeekOfYear(new Date(new Date().toLocaleString("en-US", { timeZone: ctx.timezone, calendar: ctx.calendar })))) + execute: async function (ctx) { + const date = new Date(new Date().toLocaleString("en-US", { timeZone: ctx.timezone, calendar: ctx.calendar })) + + if (ctx.calendar === CalendarType.Iso8601) { + const target = new Date(date.valueOf()) + const dayNr = (date.getDay() + 6) % 7 + target.setDate(target.getDate() - dayNr + 3) + const firstThursday = target.valueOf() + target.setMonth(0, 1) + if (target.getDay() !== 4) { + target.setMonth(0, 1 + ((4 - target.getDay() + 7) % 7)) + } + return this.success(1 + Math.ceil((firstThursday - target.valueOf()) / 604800000)) + } + + const start = new Date(date.getFullYear(), 0, 1) + const days = (date.getTime() - start.getTime()) / 86400000 + const week = Math.ceil((days + start.getDay() + 1) / 7) + + return this.success(week) } -}) \ No newline at end of file +}) diff --git a/src/native/time/clearInterval.ts b/src/native/time/clearInterval.ts index 3a5ac75de7..a244f5755f 100644 --- a/src/native/time/clearInterval.ts +++ b/src/native/time/clearInterval.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Arg, ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/clearTimeout.ts b/src/native/time/clearTimeout.ts index a3ed501dbb..d622e3eb65 100644 --- a/src/native/time/clearTimeout.ts +++ b/src/native/time/clearTimeout.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/day.ts b/src/native/time/day.ts index 69f57b1fa3..bd7b78c23f 100644 --- a/src/native/time/day.ts +++ b/src/native/time/day.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/discordTimestamp.ts b/src/native/time/discordTimestamp.ts index b5818d8cd6..af2e873776 100644 --- a/src/native/time/discordTimestamp.ts +++ b/src/native/time/discordTimestamp.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TimestampStyles, time } from "discord.js" diff --git a/src/native/time/executionTime.ts b/src/native/time/executionTime.ts index aa1ab6ce71..253fcb13a5 100644 --- a/src/native/time/executionTime.ts +++ b/src/native/time/executionTime.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/getTimestamp.ts b/src/native/time/getTimestamp.ts index 1aac860b0d..82a7ed6161 100644 --- a/src/native/time/getTimestamp.ts +++ b/src/native/time/getTimestamp.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/hour.ts b/src/native/time/hour.ts index 27f80cc85c..9357c4a258 100644 --- a/src/native/time/hour.ts +++ b/src/native/time/hour.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/minute.ts b/src/native/time/minute.ts index 33eb1ae2c7..4fe541f46b 100644 --- a/src/native/time/minute.ts +++ b/src/native/time/minute.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/month.ts b/src/native/time/month.ts index e56b708e34..004dce1927 100644 --- a/src/native/time/month.ts +++ b/src/native/time/month.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/parseDate.ts b/src/native/time/parseDate.ts index 134d21a3fc..ca36eb2c3d 100644 --- a/src/native/time/parseDate.ts +++ b/src/native/time/parseDate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/parseDigital.ts b/src/native/time/parseDigital.ts index ba92e858cc..74ff7e9b8b 100644 --- a/src/native/time/parseDigital.ts +++ b/src/native/time/parseDigital.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { parseDigital } from "../../functions/digital" diff --git a/src/native/time/parseMS.ts b/src/native/time/parseMS.ts index 1edcb660f7..2cd709aaad 100644 --- a/src/native/time/parseMS.ts +++ b/src/native/time/parseMS.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TimeParser } from "../../constants" diff --git a/src/native/time/parseString.ts b/src/native/time/parseString.ts index eb4cc2d520..9200fd1050 100644 --- a/src/native/time/parseString.ts +++ b/src/native/time/parseString.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TimeParser } from "../../constants" diff --git a/src/native/time/second.ts b/src/native/time/second.ts index 3ad0677f32..418e22aa96 100644 --- a/src/native/time/second.ts +++ b/src/native/time/second.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/setCalendar.ts b/src/native/time/setCalendar.ts index 4017cc2a10..0fe64bcb62 100644 --- a/src/native/time/setCalendar.ts +++ b/src/native/time/setCalendar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { CalendarType } from "../../structures" diff --git a/src/native/time/setInterval.ts b/src/native/time/setInterval.ts index 492005c8fe..982ff30c3e 100644 --- a/src/native/time/setInterval.ts +++ b/src/native/time/setInterval.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" @@ -35,18 +35,16 @@ export default new NativeFunction({ async execute(ctx) { const code = this.data.fields![0] as IExtendedCompiledFunctionField - const time: Return = await this["resolveUnhandledArg"](ctx, 1) - if (!this["isValidReturnType"](time)) return time - - const name: Return = await this["resolveUnhandledArg"](ctx, 2) - if (!this["isValidReturnType"](name)) return name + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 1, 2) + if (!this["isValidReturnType"](rt)) return rt + const [ time, name ] = args const c = ctx.clone(ctx.cloneRuntime()) const data = setInterval(async () => { - await this["resolveCode"](c, code) - }, time.value as number) + await this["resolveCode"](c, code).catch(ctx.noop) + }, time || undefined) - if (name.value) ctx.client.intervals.set(name.value as string, data) + if (name) ctx.client.intervals.set(name, data) return this.success() }, diff --git a/src/native/time/setTimeout.ts b/src/native/time/setTimeout.ts index 24b5435635..cd0a138a67 100644 --- a/src/native/time/setTimeout.ts +++ b/src/native/time/setTimeout.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction, Return } from "../../structures" @@ -35,19 +35,17 @@ export default new NativeFunction({ async execute(ctx) { const code = this.data.fields![0] as IExtendedCompiledFunctionField - const time: Return = await this["resolveUnhandledArg"](ctx, 1) - if (!this["isValidReturnType"](time)) return time - - const name: Return = await this["resolveUnhandledArg"](ctx, 2) - if (!this["isValidReturnType"](name)) return name + const { args, return: rt } = await this["resolveMultipleArgs"](ctx, 1, 2) + if (!this["isValidReturnType"](rt)) return rt + const [ time, name ] = args const c = ctx.clone(ctx.cloneRuntime()) const data = setTimeout(async () => { - await this["resolveCode"](c, code) - if (name.value) ctx.client.timeouts.delete(name.value as string) - }, time.value as number) + await this["resolveCode"](c, code).catch(ctx.noop) + if (name) ctx.client.timeouts.delete(name) + }, time || undefined) - if (name.value) ctx.client.timeouts.set(name.value as string, data) + if (name) ctx.client.timeouts.set(name, data) return this.success() }, diff --git a/src/native/time/setTimezone.ts b/src/native/time/setTimezone.ts index bb8c877fe9..91f4dd4c95 100644 --- a/src/native/time/setTimezone.ts +++ b/src/native/time/setTimezone.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/unparseDate.ts b/src/native/time/unparseDate.ts index 3a481bc35b..53ab81dd45 100644 --- a/src/native/time/unparseDate.ts +++ b/src/native/time/unparseDate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/unparseDigital.ts b/src/native/time/unparseDigital.ts index 129cdb032e..1d9237d912 100644 --- a/src/native/time/unparseDigital.ts +++ b/src/native/time/unparseDigital.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { unparseDigital } from "../../functions/digital" diff --git a/src/native/time/wait.ts b/src/native/time/wait.ts index 6fe9f92147..6accbd15bc 100644 --- a/src/native/time/wait.ts +++ b/src/native/time/wait.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { setTimeout } from "timers/promises" diff --git a/src/native/time/week.ts b/src/native/time/week.ts index c82115ee60..87a86e4e56 100644 --- a/src/native/time/week.ts +++ b/src/native/time/week.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/weekday.ts b/src/native/time/weekday.ts index ccb8736301..0d1a59b9b2 100644 --- a/src/native/time/weekday.ts +++ b/src/native/time/weekday.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/time/year.ts b/src/native/time/year.ts index 7d1b640522..4039d6c016 100644 --- a/src/native/time/year.ts +++ b/src/native/time/year.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/unsafe/api.ts b/src/native/unsafe/api.ts index ef2d5ca9c0..2e59615d13 100644 --- a/src/native/unsafe/api.ts +++ b/src/native/unsafe/api.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Routes } from "discord.js" diff --git a/src/native/unsafe/coroutine.ts b/src/native/unsafe/coroutine.ts index b1e4bb34d6..8e381aef4c 100644 --- a/src/native/unsafe/coroutine.ts +++ b/src/native/unsafe/coroutine.ts @@ -1,10 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -/* eslint-disable no-undef */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$coroutine", diff --git a/src/native/unsafe/djsEval.ts b/src/native/unsafe/djsEval.ts index dffbba9339..f11adb3a2f 100644 --- a/src/native/unsafe/djsEval.ts +++ b/src/native/unsafe/djsEval.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { inspect } from "util" diff --git a/src/native/unsafe/eval.ts b/src/native/unsafe/eval.ts index 2fae2d7038..87200083ce 100644 --- a/src/native/unsafe/eval.ts +++ b/src/native/unsafe/eval.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Interpreter, Compiler } from "../../core" diff --git a/src/native/unsafe/exec.ts b/src/native/unsafe/exec.ts index ccce28aab2..35509b43a9 100644 --- a/src/native/unsafe/exec.ts +++ b/src/native/unsafe/exec.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { execSync } from "child_process" diff --git a/src/native/unsafe/function.ts b/src/native/unsafe/function.ts index f75b826faa..0d48866036 100644 --- a/src/native/unsafe/function.ts +++ b/src/native/unsafe/function.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/unsafe/gc.ts b/src/native/unsafe/gc.ts index 35d47a7408..431f19d5e4 100644 --- a/src/native/unsafe/gc.ts +++ b/src/native/unsafe/gc.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { execArgv } from "process" @@ -13,11 +13,6 @@ export default new NativeFunction({ unwrap: false, output: ArgType.Boolean, execute(ctx) { - return this.success( - execArgv.includes("--expose-gc") ? - // eslint-disable-next-line no-undef - (gc!(), true) : - false - ) + return this.success(execArgv.includes("--expose-gc") ? (gc!(), true) : false) }, }) \ No newline at end of file diff --git a/src/native/unsafe/instanceName.ts b/src/native/unsafe/instanceName.ts index 54d167c9c3..f568825998 100644 --- a/src/native/unsafe/instanceName.ts +++ b/src/native/unsafe/instanceName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/unsafe/loadChannelContext.ts b/src/native/unsafe/loadChannelContext.ts index df29d73672..2fe849835c 100644 --- a/src/native/unsafe/loadChannelContext.ts +++ b/src/native/unsafe/loadChannelContext.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -13,7 +13,7 @@ export default new NativeFunction({ "$asChannelContext" ], brackets: true, - description: "Loads a channel instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a channel instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, args: [ { diff --git a/src/native/unsafe/loadEmojiContext.ts b/src/native/unsafe/loadEmojiContext.ts new file mode 100644 index 0000000000..58d08a26c7 --- /dev/null +++ b/src/native/unsafe/loadEmojiContext.ts @@ -0,0 +1,31 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$loadEmojiContext", + version: "2.7.0", + description: "Loads an emoji instance to the current context, this is not reversible and is adviced to use with $scope", + aliases: [ + "$useEmojiContext", + "$asEmojiContext" + ], + brackets: true, + unwrap: true, + args: [ + { + name: "emoji ID", + description: "The emoji to adapt context with", + rest: false, + required: true, + type: ArgType.Emoji + } + ], + execute(ctx, [ e ]) { + ctx.obj = e + return this.success() + }, +}) \ No newline at end of file diff --git a/src/native/unsafe/loadGuildContext.ts b/src/native/unsafe/loadGuildContext.ts index 5d7ca2e881..130891bf14 100644 --- a/src/native/unsafe/loadGuildContext.ts +++ b/src/native/unsafe/loadGuildContext.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -13,7 +13,7 @@ export default new NativeFunction({ "$asGuildContext" ], brackets: true, - description: "Loads a guild instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a guild instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, args: [ { diff --git a/src/native/unsafe/loadMemberContext.ts b/src/native/unsafe/loadMemberContext.ts index 3619cd89ec..fd2f6e70ac 100644 --- a/src/native/unsafe/loadMemberContext.ts +++ b/src/native/unsafe/loadMemberContext.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -12,7 +12,7 @@ export default new NativeFunction({ "$useMemberContext", "$asMemberContext" ], - description: "Loads a member instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a member instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, brackets: true, args: [ diff --git a/src/native/unsafe/loadMessageContext.ts b/src/native/unsafe/loadMessageContext.ts index f13e97e7a4..7591482ed1 100644 --- a/src/native/unsafe/loadMessageContext.ts +++ b/src/native/unsafe/loadMessageContext.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -12,7 +12,7 @@ export default new NativeFunction({ "$useMessageContext", "$asMessageContext" ], - description: "Loads a message instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a message instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, brackets: true, args: [ diff --git a/src/native/unsafe/loadRoleContext.ts b/src/native/unsafe/loadRoleContext.ts index 6b1d793265..109125d102 100644 --- a/src/native/unsafe/loadRoleContext.ts +++ b/src/native/unsafe/loadRoleContext.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -12,7 +12,7 @@ export default new NativeFunction({ "$useRoleContext", "$asRoleContext" ], - description: "Loads a role instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a role instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, brackets: true, args: [ diff --git a/src/native/unsafe/loadStickerContext.ts b/src/native/unsafe/loadStickerContext.ts index f6cf5b01b7..2954eb6ab9 100644 --- a/src/native/unsafe/loadStickerContext.ts +++ b/src/native/unsafe/loadStickerContext.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -13,7 +13,7 @@ export default new NativeFunction({ "$asStickerContext" ], brackets: true, - description: "Loads a sticker instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a sticker instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, args: [ { diff --git a/src/native/unsafe/loadUserContext.ts b/src/native/unsafe/loadUserContext.ts index ee426b594a..294b6558b1 100644 --- a/src/native/unsafe/loadUserContext.ts +++ b/src/native/unsafe/loadUserContext.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -13,7 +13,7 @@ export default new NativeFunction({ "$asUserContext" ], brackets: true, - description: "Loads a user instance to the current context, this is not reversible and is adviced to use with $scope.", + description: "Loads a user instance to the current context, this is not reversible and is adviced to use with $scope", unwrap: true, args: [ { diff --git a/src/native/user/authorID.ts b/src/native/user/authorID.ts index 51566b6cb6..12f955e241 100644 --- a/src/native/user/authorID.ts +++ b/src/native/user/authorID.ts @@ -1,10 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" -import { Return } from "../../structures/@internal/Return" export default new NativeFunction({ name: "$authorID", diff --git a/src/native/user/deleteDM.ts b/src/native/user/deleteDM.ts new file mode 100644 index 0000000000..712c1356b0 --- /dev/null +++ b/src/native/user/deleteDM.ts @@ -0,0 +1,27 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$deleteDM", + version: "2.7.0", + description: "Deletes the DM channel between the client and a user", + unwrap: true, + brackets: true, + args: [ + { + name: "user ID", + description: "The user whose DM channel should be deleted", + rest: false, + type: ArgType.User, + required: true, + }, + ], + output: ArgType.Boolean, + async execute(ctx, [user]) { + return this.success(!!(await user.deleteDM().catch(ctx.noop))) + }, +}) diff --git a/src/native/user/discriminator.ts b/src/native/user/discriminator.ts index 0319d7734a..92aa264b9d 100644 --- a/src/native/user/discriminator.ts +++ b/src/native/user/discriminator.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -8,7 +8,7 @@ import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$discriminator", version: "1.4.0", - description: "Returns the user discriminator", + description: "Returns the discriminator of a user", brackets: false, unwrap: true, args: [ @@ -21,7 +21,7 @@ export default new NativeFunction({ } ], output: ArgType.String, - execute(ctx, [ u ]) { - return this.success((u ?? ctx.user)?.discriminator) + execute(ctx, [user]) { + return this.success((user ?? ctx.user)?.discriminator) }, }) \ No newline at end of file diff --git a/src/native/user/isBot.ts b/src/native/user/isBot.ts index df06b3d609..bcb85e65f5 100644 --- a/src/native/user/isBot.ts +++ b/src/native/user/isBot.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" @@ -8,7 +8,7 @@ import { ArgType, NativeFunction, Return } from "../../structures" export default new NativeFunction({ name: "$isBot", version: "1.0.0", - description: "Whether the user is a bot", + description: "Returns whether the user is a bot", unwrap: true, output: ArgType.Boolean, args: [ diff --git a/src/native/user/isBotVerified.ts b/src/native/user/isBotVerified.ts index b68796b310..b9fa28869e 100644 --- a/src/native/user/isBotVerified.ts +++ b/src/native/user/isBotVerified.ts @@ -1,14 +1,14 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isBotVerified", version: "1.0.0", - description: "Whether the bot is verified", + description: "Returns whether the bot is verified", unwrap: true, output: ArgType.Boolean, args: [ diff --git a/src/native/user/isUserDMEnabled.ts b/src/native/user/isUserDMEnabled.ts index 4f3141051f..80bd33eabb 100644 --- a/src/native/user/isUserDMEnabled.ts +++ b/src/native/user/isUserDMEnabled.ts @@ -1,10 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { DiscordAPIError } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$isUserDMEnabled", @@ -24,16 +24,8 @@ export default new NativeFunction({ ], async execute(ctx, [user]) { user ??= ctx.user! - - try { - await user.send("") - return this.success(true) - } catch (error) { - if (error instanceof DiscordAPIError) { - if (error.code === 50007) return this.success(false) // DM disabled - if (error.code === 50006) return this.success(true) // Empty message (aka DM enabled) - } - throw error - } + return this.success( + !!(await user?.send("").catch((err) => (err instanceof DiscordAPIError && Number(err.code) === 50006))) + ) }, }) diff --git a/src/native/user/randomUserID.ts b/src/native/user/randomUserID.ts index 684eb32b29..cd788fd548 100644 --- a/src/native/user/randomUserID.ts +++ b/src/native/user/randomUserID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/sendDM.ts b/src/native/user/sendDM.ts index 181fad197f..91c4f004df 100644 --- a/src/native/user/sendDM.ts +++ b/src/native/user/sendDM.ts @@ -1,22 +1,22 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Message } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$sendDM", version: "1.0.0", - description: "Sends a dm to the user", + description: "Sends a DM to the user", unwrap: true, brackets: true, output: ArgType.Message, args: [ { name: "user ID", - description: "The user to dm", + description: "The user to direct message", rest: false, type: ArgType.User, required: true, @@ -29,7 +29,7 @@ export default new NativeFunction({ }, { name: "return message ID", - description: "Returns the message id of the newly created message", + description: "Whether to return the id of the newly created message", rest: false, type: ArgType.Boolean, }, diff --git a/src/native/user/userAccentColor.ts b/src/native/user/userAccentColor.ts index b41cf83ff8..e96f584f08 100644 --- a/src/native/user/userAccentColor.ts +++ b/src/native/user/userAccentColor.ts @@ -1,14 +1,14 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$userAccentColor", version: "1.0.0", - description: "Returns the user accent color", + description: "Returns the accent color of a user", brackets: false, output: ArgType.Color, args: [ diff --git a/src/native/user/userAvatar.ts b/src/native/user/userAvatar.ts index b4ce0b1004..2a5a888806 100644 --- a/src/native/user/userAvatar.ts +++ b/src/native/user/userAvatar.ts @@ -1,15 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$userAvatar", version: "1.0.0", - description: "Returns the user avatar", + description: "Returns the avatar of a user", brackets: false, output: ArgType.URL, args: [ diff --git a/src/native/user/userAvatarDecoration.ts b/src/native/user/userAvatarDecoration.ts index b7b62f2c0f..5b84bb8166 100644 --- a/src/native/user/userAvatarDecoration.ts +++ b/src/native/user/userAvatarDecoration.ts @@ -1,15 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$userAvatarDecoration", version: "1.0.0", - description: "Returns the user decoration", + description: "Returns the avatar decoration of a user", brackets: false, output: ArgType.URL, args: [ diff --git a/src/native/user/userBadges.ts b/src/native/user/userBadges.ts index 80989dde43..160b97d0d3 100644 --- a/src/native/user/userBadges.ts +++ b/src/native/user/userBadges.ts @@ -1,12 +1,11 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { UserFlags } from "discord.js" +import { ArgType, NativeFunction } from "../../structures" import array from "../../functions/array" -import noop from "../../functions/noop" -import { ArgType, NativeFunction, Return } from "../../structures" export default new NativeFunction({ name: "$userBadges", diff --git a/src/native/user/userBanner.ts b/src/native/user/userBanner.ts index c483b1aa04..835a76dcb0 100644 --- a/src/native/user/userBanner.ts +++ b/src/native/user/userBanner.ts @@ -1,15 +1,15 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" -import { ArgType, NativeFunction, Return } from "../../structures" +import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$userBanner", version: "1.0.0", - description: "Returns the user banner", + description: "Returns the banner of a user", brackets: false, output: ArgType.URL, args: [ diff --git a/src/native/user/userCount.ts b/src/native/user/userCount.ts index 97f5457d72..8df8ec1495 100644 --- a/src/native/user/userCount.ts +++ b/src/native/user/userCount.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userCreatedAt.ts b/src/native/user/userCreatedAt.ts index c199aebaed..f99e1ba4cf 100644 --- a/src/native/user/userCreatedAt.ts +++ b/src/native/user/userCreatedAt.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userDefaultAvatar.ts b/src/native/user/userDefaultAvatar.ts index 716af0cbf5..c9b9fae6dc 100644 --- a/src/native/user/userDefaultAvatar.ts +++ b/src/native/user/userDefaultAvatar.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userDisplayName.ts b/src/native/user/userDisplayName.ts index 1b1a5f5d2c..e5013a441f 100644 --- a/src/native/user/userDisplayName.ts +++ b/src/native/user/userDisplayName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userExists.ts b/src/native/user/userExists.ts index 16549c88b9..22c83c1271 100644 --- a/src/native/user/userExists.ts +++ b/src/native/user/userExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userGlobalName.ts b/src/native/user/userGlobalName.ts index 64924f166f..e1da910c63 100644 --- a/src/native/user/userGlobalName.ts +++ b/src/native/user/userGlobalName.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userGuildBadge.ts b/src/native/user/userGuildBadge.ts index df4e936555..540ad9bda7 100644 --- a/src/native/user/userGuildBadge.ts +++ b/src/native/user/userGuildBadge.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ImageExtension, ImageSize } from "discord.js" diff --git a/src/native/user/userGuildEnabled.ts b/src/native/user/userGuildEnabled.ts index 2dbe78578b..84db5fc684 100644 --- a/src/native/user/userGuildEnabled.ts +++ b/src/native/user/userGuildEnabled.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userGuildID.ts b/src/native/user/userGuildID.ts index e1e48b7867..bfde763842 100644 --- a/src/native/user/userGuildID.ts +++ b/src/native/user/userGuildID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userGuildTag.ts b/src/native/user/userGuildTag.ts index da1e3adb47..a929ad7854 100644 --- a/src/native/user/userGuildTag.ts +++ b/src/native/user/userGuildTag.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userIDs.ts b/src/native/user/userIDs.ts index 7205af873d..7ff9b38a8a 100644 --- a/src/native/user/userIDs.ts +++ b/src/native/user/userIDs.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import array from "../../functions/array" diff --git a/src/native/user/userRawData.ts b/src/native/user/userRawData.ts index bb9574d079..f3c7753568 100644 --- a/src/native/user/userRawData.ts +++ b/src/native/user/userRawData.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/user/userReferenceID.ts b/src/native/user/userReferenceID.ts index 4397100fd0..39d1555c8c 100644 --- a/src/native/user/userReferenceID.ts +++ b/src/native/user/userReferenceID.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, MessageResolvable, TextBasedChannel } from "discord.js" diff --git a/src/native/user/userTag.ts b/src/native/user/userTag.ts index c0b3169d07..cd318bb017 100644 --- a/src/native/user/userTag.ts +++ b/src/native/user/userTag.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" @@ -8,7 +8,7 @@ import { ArgType, NativeFunction } from "../../structures" export default new NativeFunction({ name: "$userTag", version: "1.4.0", - description: "Returns the user tag", + description: "Returns the legacy tag of a user", brackets: false, unwrap: true, args: [ diff --git a/src/native/user/userURL.ts b/src/native/user/userURL.ts new file mode 100644 index 0000000000..5a23739101 --- /dev/null +++ b/src/native/user/userURL.ts @@ -0,0 +1,28 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { ArgType, NativeFunction } from "../../structures" + +export default new NativeFunction({ + name: "$userURL", + version: "2.7.0", + description: "Returns the url of a user", + brackets: false, + unwrap: true, + args: [ + { + name: "user ID", + description: "The user to get its url", + rest: false, + type: ArgType.User, + required: true, + }, + ], + output: ArgType.URL, + execute(ctx, [user]) { + const id = (user ?? ctx.user)?.id + return this.success(id ? `https://discord.com/users/${id}` : null) + }, +}) \ No newline at end of file diff --git a/src/native/user/username.ts b/src/native/user/username.ts index 186000f657..c91ce1fb38 100644 --- a/src/native/user/username.ts +++ b/src/native/user/username.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" @@ -8,7 +8,7 @@ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFuncti export default new NativeFunction({ name: "$username", version: "1.0.0", - description: "Retrieves a user's username", + description: "Returns the username of a user", brackets: false, output: ArgType.String, args: [ diff --git a/src/native/variable/delete.ts b/src/native/variable/delete.ts index 951e95a312..450b1dbd0c 100644 --- a/src/native/variable/delete.ts +++ b/src/native/variable/delete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/variable/env.ts b/src/native/variable/env.ts index d8495cb1b0..a01fd3fda2 100644 --- a/src/native/variable/env.ts +++ b/src/native/variable/env.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/variable/get.ts b/src/native/variable/get.ts index e243767cd5..9daf71c88b 100644 --- a/src/native/variable/get.ts +++ b/src/native/variable/get.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/variable/has.ts b/src/native/variable/has.ts index 3446c14a8f..3e90492c35 100644 --- a/src/native/variable/has.ts +++ b/src/native/variable/has.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/variable/let.ts b/src/native/variable/let.ts index 81955b88f9..5fefd07e1d 100644 --- a/src/native/variable/let.ts +++ b/src/native/variable/let.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures/@internal/NativeFunction" diff --git a/src/native/variable/letDivide.ts b/src/native/variable/letDivide.ts index 97102677ca..a6e8d96e53 100644 --- a/src/native/variable/letDivide.ts +++ b/src/native/variable/letDivide.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/variable/letMulti.ts b/src/native/variable/letMulti.ts index 8f74c39d5b..5b786899b7 100644 --- a/src/native/variable/letMulti.ts +++ b/src/native/variable/letMulti.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/variable/letSub.ts b/src/native/variable/letSub.ts index 3554ac1af7..10ea2a0bc2 100644 --- a/src/native/variable/letSub.ts +++ b/src/native/variable/letSub.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/variable/letSum.ts b/src/native/variable/letSum.ts index f68549a8ed..8fb70fc0cb 100644 --- a/src/native/variable/letSum.ts +++ b/src/native/variable/letSum.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/webhook/getWebhook.ts b/src/native/webhook/getWebhook.ts index 3f175ad3e8..99a4225795 100644 --- a/src/native/webhook/getWebhook.ts +++ b/src/native/webhook/getWebhook.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { WebhookProperties, WebhookProperty } from "../../properties/webhook" diff --git a/src/native/webhook/webhookCreate.ts b/src/native/webhook/webhookCreate.ts index 92e0e1cc5d..28c25ea309 100644 --- a/src/native/webhook/webhookCreate.ts +++ b/src/native/webhook/webhookCreate.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, TextChannel } from "discord.js" diff --git a/src/native/webhook/webhookDelete.ts b/src/native/webhook/webhookDelete.ts index e93c9cafd7..1eb553981b 100644 --- a/src/native/webhook/webhookDelete.ts +++ b/src/native/webhook/webhookDelete.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/webhook/webhookEdit.ts b/src/native/webhook/webhookEdit.ts index cfd3b8dd6d..6c4f33dc9e 100644 --- a/src/native/webhook/webhookEdit.ts +++ b/src/native/webhook/webhookEdit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/webhook/webhookEditMessage.ts b/src/native/webhook/webhookEditMessage.ts index 6a37d67c2d..83e5b1b232 100644 --- a/src/native/webhook/webhookEditMessage.ts +++ b/src/native/webhook/webhookEditMessage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, Message, WebhookClient } from "discord.js" diff --git a/src/native/webhook/webhookExists.ts b/src/native/webhook/webhookExists.ts index dab9b45e84..0b7df48740 100644 --- a/src/native/webhook/webhookExists.ts +++ b/src/native/webhook/webhookExists.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, CompiledFunction, NativeFunction, Return } from "../../structures" diff --git a/src/native/webhook/webhookIsUserCreated.ts b/src/native/webhook/webhookIsUserCreated.ts index c2d06fd719..328e94a264 100644 --- a/src/native/webhook/webhookIsUserCreated.ts +++ b/src/native/webhook/webhookIsUserCreated.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/webhook/webhookSend.ts b/src/native/webhook/webhookSend.ts index cd264dae55..e750a00741 100644 --- a/src/native/webhook/webhookSend.ts +++ b/src/native/webhook/webhookSend.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { BaseChannel, Message, WebhookClient } from "discord.js" diff --git a/src/native/webhook/webhookToken.ts b/src/native/webhook/webhookToken.ts index 4b798d9bea..3ad8fc68ed 100644 --- a/src/native/webhook/webhookToken.ts +++ b/src/native/webhook/webhookToken.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/webhook/webhookType.ts b/src/native/webhook/webhookType.ts index 76197292c7..9d09258e6a 100644 --- a/src/native/webhook/webhookType.ts +++ b/src/native/webhook/webhookType.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { WebhookType } from "discord.js" diff --git a/src/native/webhook/webhookURL.ts b/src/native/webhook/webhookURL.ts index 8268ef7274..f2b2e13c09 100644 --- a/src/native/webhook/webhookURL.ts +++ b/src/native/webhook/webhookURL.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction, Return } from "../../structures" diff --git a/src/native/websocket/ws.ts b/src/native/websocket/ws.ts index 1993e5be0c..e1bcccd182 100644 --- a/src/native/websocket/ws.ts +++ b/src/native/websocket/ws.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/websocket/wsClose.ts b/src/native/websocket/wsClose.ts index c961caaeef..3ac2655364 100644 --- a/src/native/websocket/wsClose.ts +++ b/src/native/websocket/wsClose.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, NativeFunction } from "../../structures" diff --git a/src/native/websocket/wsOn.ts b/src/native/websocket/wsOn.ts index 50c08cbacd..bf3150475a 100644 --- a/src/native/websocket/wsOn.ts +++ b/src/native/websocket/wsOn.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import parseJSON from "../../functions/parseJSON" diff --git a/src/native/websocket/wsSend.ts b/src/native/websocket/wsSend.ts index e426a389dd..2688890ffe 100644 --- a/src/native/websocket/wsSend.ts +++ b/src/native/websocket/wsSend.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, IExtendedCompiledFunctionField, NativeFunction } from "../../structures" diff --git a/src/native/websocket/wsState.ts b/src/native/websocket/wsState.ts index 6757a9ccdf..7337c03f72 100644 --- a/src/native/websocket/wsState.ts +++ b/src/native/websocket/wsState.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import ws from "ws" diff --git a/src/properties/activity.ts b/src/properties/activity.ts index a782f4c12a..2beb0eb3b0 100644 --- a/src/properties/activity.ts +++ b/src/properties/activity.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Activity, ActivityType } from "discord.js" diff --git a/src/properties/applicationEmoji.ts b/src/properties/applicationEmoji.ts index b0ccc1cada..7e46ed113e 100644 --- a/src/properties/applicationEmoji.ts +++ b/src/properties/applicationEmoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ApplicationEmoji } from "discord.js" diff --git a/src/properties/audit.ts b/src/properties/audit.ts index 8bdb008425..605174298e 100644 --- a/src/properties/audit.ts +++ b/src/properties/audit.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AuditLogEvent, GuildAuditLogsEntry } from "discord.js" diff --git a/src/properties/automodRule.ts b/src/properties/automodRule.ts index d70920c716..1c567584a5 100644 --- a/src/properties/automodRule.ts +++ b/src/properties/automodRule.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { AutoModerationAction, AutoModerationActionType, AutoModerationRule, AutoModerationRuleEventType, AutoModerationRuleKeywordPresetType, AutoModerationRuleTriggerType } from "discord.js" diff --git a/src/properties/bulk.ts b/src/properties/bulk.ts index 7f4bfe5c0d..220a583afd 100644 --- a/src/properties/bulk.ts +++ b/src/properties/bulk.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import defineProperties from "../functions/defineProperties" diff --git a/src/properties/channel.ts b/src/properties/channel.ts index 9b5681b40a..55d018ed39 100644 --- a/src/properties/channel.ts +++ b/src/properties/channel.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Channel, ChannelType, Collection, GuildMember } from "discord.js" @@ -14,6 +14,7 @@ export enum ChannelProperty { bitrate = "bitrate", members = "members", timestamp = "timestamp", + url = "url", nsfw = "nsfw", flags = "flags", parentID = "parentID", @@ -24,21 +25,26 @@ export enum ChannelProperty { availableTags = "availableTags", archived = "archived", locked = "locked", + deletable = "deletable", + manageable = "manageable", + lastMessageID = "lastMessageID", + lastPinTimestamp = "lastPinTimestamp", } export const ChannelProperties = defineProperties({ - bitrate: (i) => (i?.isVoiceBased() ? i.bitrate : undefined), id: (i) => i?.id, - timestamp: (i) => i?.createdTimestamp, name: (i) => (i && "name" in i ? i.name : undefined), + type: (i) => ChannelType[i?.type!], + topic: (i) => (i && "topic" in i ? i.topic : undefined), + bitrate: (i) => (i?.isVoiceBased() ? i.bitrate : undefined), members: (i, sep) => i && "members" in i ? ((i.members instanceof Collection ? i.members : i.members.cache) as Collection) .map((x) => x.id) .join(sep ?? ", ") : undefined, - topic: (i) => (i && "topic" in i ? i.topic : undefined), - type: (i) => ChannelType[i?.type!], + timestamp: (i) => i?.createdTimestamp, + url: (i) => i?.url, nsfw: (i) => (i && "nsfw" in i ? i.nsfw : undefined), flags: (i, sep) => i?.flags?.toArray().join(sep ?? ", "), parentID: (i) => (i && "parentId" in i ? i.parentId : undefined), @@ -49,4 +55,8 @@ export const ChannelProperties = defineProperties (i && "availableTags" in i ? i.availableTags.join(sep ?? ", ") : undefined), archived: (i) => (i && "archived" in i ? i.archived : undefined), locked: (i) => (i && "locked" in i ? i.locked : undefined), + deletable: (i) => (i && "deletable" in i ? i.deletable : undefined), + manageable: (i) => (i && "manageable" in i ? i.manageable : undefined), + lastMessageID: (i) => (i && "lastMessageId" in i ? i.lastMessageId : undefined), + lastPinTimestamp: (i) => (i && "lastPinTimestamp" in i ? i.lastPinTimestamp : undefined), }) \ No newline at end of file diff --git a/src/properties/clientTheme.ts b/src/properties/clientTheme.ts new file mode 100644 index 0000000000..3c746d67d7 --- /dev/null +++ b/src/properties/clientTheme.ts @@ -0,0 +1,21 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import defineProperties from "../functions/defineProperties" +import { BaseThemeType, SharedClientTheme } from "discord.js" + +export enum ClientThemeProperty { + baseMix = "baseMix", + baseTheme = "baseTheme", + gradientAngle = "gradientAngle", + colors = "colors" +} + +export const ClientThemeProperties = defineProperties({ + baseMix: (i) => i?.baseMix, + baseTheme: (i) => i?.baseTheme ? BaseThemeType[i?.baseTheme] : null, + gradientAngle: (i) => i?.gradientAngle, + colors: (i, sep) => i?.colors.join(sep ?? ", "), +}) \ No newline at end of file diff --git a/src/properties/component.ts b/src/properties/component.ts index b857160be7..e7853695d0 100644 --- a/src/properties/component.ts +++ b/src/properties/component.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { diff --git a/src/properties/embed.ts b/src/properties/embed.ts index 184a229921..f13404fe16 100644 --- a/src/properties/embed.ts +++ b/src/properties/embed.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EmbedBuilder } from "@discordjs/builders" diff --git a/src/properties/emoji.ts b/src/properties/emoji.ts index 7b32e00831..bec56014cb 100644 --- a/src/properties/emoji.ts +++ b/src/properties/emoji.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildEmoji } from "discord.js" diff --git a/src/properties/entitlement.ts b/src/properties/entitlement.ts index d6573bb0b9..bdc87ea5cb 100644 --- a/src/properties/entitlement.ts +++ b/src/properties/entitlement.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { EntitlementType } from "discord.js" diff --git a/src/properties/forumTag.ts b/src/properties/forumTag.ts index 9e51910f43..b3b0e0e2f5 100644 --- a/src/properties/forumTag.ts +++ b/src/properties/forumTag.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildForumTag } from "discord.js" diff --git a/src/properties/guild.ts b/src/properties/guild.ts index 0f313f9da5..2e0ba8ac80 100644 --- a/src/properties/guild.ts +++ b/src/properties/guild.ts @@ -1,59 +1,97 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { Guild, GuildPreview } from "discord.js" +import { Guild, GuildMFALevel, GuildNSFWLevel, GuildPreview, GuildVerificationLevel } from "discord.js" import defineProperties from "../functions/defineProperties" export enum GuildProperty { id = "id", ownerID = "ownerID", name = "name", + nameAcronym = "nameAcronym", description = "description", - features = "features", - afkChannelID = "afkChannelID", - maximumMembers = "maximumMembers", - systemChannelID = "systemChannelID", - afkTimeout = "afkTimeout", - memberCount = "memberCount", - boostCount = "boostCount", timestamp = "timestamp", + features = "features", icon = "icon", - splash = "splash", banner = "banner", + splash = "splash", + discoverySplash = "discoverySplash", + afkTimeout = "afkTimeout", + afkChannelID = "afkChannelID", + systemChannelID = "systemChannelID", + systemChannelFlags = "systemChannelFlags", + publicUpdatesChannelID = "publicUpdatesChannelID", + safetyAlertsChannelID = "safetyAlertsChannelID", + rulesChannelID = "rulesChannelID", + widgetChannelID = "widgetChannelID", + widgetEnabled = "widgetEnabled", + bans = "bans", roles = "roles", emojis = "emojis", stickers = "stickers", + channels = "channels", + soundboardSounds = "soundboardSounds", + autoModerationRules = "autoModerationRules", + memberCount = "memberCount", + boostCount = "boostCount", boostLevel = "boostLevel", - discoverySplash = "discoverySplash", + mfaLevel = "mfaLevel", + nsfwLevel = "nsfwLevel", + verificationLevel = "verificationLevel", + preferredLocale = "preferredLocale", + large = "large", + verified = "verified", + partnered = "partnered", + maximumMembers = "maximumMembers", + maximumStageBitrate = "maximumStageBitrate", approximateMemberCount = "approximateMemberCount", approximatePresenceCount = "approximatePresenceCount", } export const GuildProperties = defineProperties({ - description: (i) => i?.description, - features: (i, sep) => i?.features.join(sep || ", "), id: (i) => i?.id, + ownerID: (i) => i?.ownerId, name: (i) => i?.name, - banner: (i) => i?.bannerURL(), + nameAcronym: (i) => i?.nameAcronym, + description: (i) => i?.description, + timestamp: (i) => i?.createdTimestamp, + features: (i, sep) => i?.features.join(sep ?? ", "), icon: (i) => i?.iconURL(), + banner: (i) => i?.bannerURL(), splash: (i) => i?.splashURL(), - emojis: (i, sep) => i?.emojis.cache.map((x) => x.id).join(sep || ", "), - roles: (i, sep) => i?.roles.cache.map((x) => x.id).join(sep || ", "), - stickers: (i, sep) => i?.stickers.cache.map((x) => x.id).join(sep || ", "), - ownerID: (i) => i?.ownerId, + discoverySplash: (i) => i?.discoverySplashURL(), + afkTimeout: (i) => i?.afkTimeout, afkChannelID: (i) => i?.afkChannelId, systemChannelID: (i) => i?.systemChannelId, - timestamp: (i) => i?.createdTimestamp, + systemChannelFlags: (i, sep) => i?.systemChannelFlags.toArray().join(sep ?? ", "), + publicUpdatesChannelID: (i) => i?.publicUpdatesChannelId, + safetyAlertsChannelID: (i) => i?.safetyAlertsChannelId, + rulesChannelID: (i) => i?.rulesChannelId, + widgetChannelID: (i) => i?.widgetChannelId, + widgetEnabled: (i) => i?.widgetEnabled, + bans: (i, sep) => i?.bans.cache.map((x) => x.user.id).join(sep ?? ", "), + roles: (i, sep) => i?.roles.cache.map((x) => x.id).join(sep ?? ", "), + emojis: (i, sep) => i?.emojis.cache.map((x) => x.id).join(sep ?? ", "), + stickers: (i, sep) => i?.stickers.cache.map((x) => x.id).join(sep ?? ", "), + channels: (i, sep) => i?.channels.cache.map((x) => x.id).join(sep ?? ", "), + soundboardSounds: (i, sep) => i?.soundboardSounds.cache.map((x) => x.soundId).join(sep ?? ", "), + autoModerationRules: (i, sep) => i?.autoModerationRules.cache.map((x) => x.id).join(sep ?? ", "), + memberCount: (i) => i?.memberCount, boostCount: (i) => i?.premiumSubscriptionCount, boostLevel: (i) => i?.premiumTier, - afkTimeout: (i) => i?.afkTimeout, - approximateMemberCount: (i) => i?.approximateMemberCount, - memberCount: (i) => i?.memberCount, + mfaLevel: (i) => i?.nsfwLevel ? GuildMFALevel[i.mfaLevel] : null, + nsfwLevel: (i) => i?.nsfwLevel ? GuildNSFWLevel[i.nsfwLevel] : null, + verificationLevel: (i) => i?.verificationLevel ? GuildVerificationLevel[i.verificationLevel] : null, + preferredLocale: (i) => i?.preferredLocale, + large: (i) => i?.large, + verified: (i) => i?.verified, + partnered: (i) => i?.partnered, maximumMembers: (i) => i?.maximumMembers, + maximumStageBitrate: (i) => i?.maximumStageBitrate, + approximateMemberCount: (i) => i?.approximateMemberCount, approximatePresenceCount: (i) => i?.approximatePresenceCount, - discoverySplash: (i) => i?.discoverySplashURL(), }) export enum GuildPreviewProperty { @@ -72,16 +110,16 @@ export enum GuildPreviewProperty { } export const GuildPreviewProperties = defineProperties({ - description: (i) => i?.description, - features: (i, sep) => i?.features.join(sep || ", "), id: (i) => i?.id, name: (i) => i?.name, + description: (i) => i?.description, + features: (i, sep) => i?.features.join(sep || ", "), + timestamp: (i) => i?.createdTimestamp, icon: (i) => i?.iconURL(), splash: (i) => i?.splashURL(), emojis: (i, sep) => i?.emojis.map((x) => x.id).join(sep || ", "), stickers: (i, sep) => i?.stickers.map((x) => x.id).join(sep || ", "), - timestamp: (i) => i?.createdTimestamp, + discoverySplash: (i) => i?.discoverySplashURL(), approximateMemberCount: (i) => i?.approximateMemberCount, approximatePresenceCount: (i) => i?.approximatePresenceCount, - discoverySplash: (i) => i?.discoverySplashURL(), }) \ No newline at end of file diff --git a/src/properties/invite.ts b/src/properties/invite.ts index 4a0f0c1020..ebb9887851 100644 --- a/src/properties/invite.ts +++ b/src/properties/invite.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Invite, InviteTargetType, InviteType } from "discord.js" diff --git a/src/properties/member.ts b/src/properties/member.ts index 3b316c2d2c..fcc4f4b327 100644 --- a/src/properties/member.ts +++ b/src/properties/member.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { APIInteractionGuildMember, CDN, GuildMember, GuildMemberFlagsBitField, PermissionsBitField, userMention } from "discord.js" @@ -20,6 +20,7 @@ export enum MemberProperty { guildID = "guildID", id = "id", manageable = "manageable", + moderatable = "moderatable", timeout = "timeout", timedOutUntil = "timedOutUntil", status = "status", @@ -67,6 +68,7 @@ export const MemberProperties = defineProperties (i as GuildMember)?.bannable ?? false, kickable: (i) => (i as GuildMember)?.kickable ?? false, manageable: (i) => (i as GuildMember)?.manageable ?? false, + moderatable: (i) => (i as GuildMember)?.moderatable ?? false, id: (i) => i?.user?.id, guildID: (i) => (i as GuildMember)?.guild?.id, timedOutUntil: (i) => i instanceof GuildMember ? (i?.isCommunicationDisabled() ? i.communicationDisabledUntil.getTime() : 0) : (i?.communication_disabled_until ? new Date(i.communication_disabled_until).getTime() : 0), diff --git a/src/properties/message.ts b/src/properties/message.ts index 03f9e19bf0..3c42da23cd 100644 --- a/src/properties/message.ts +++ b/src/properties/message.ts @@ -1,45 +1,69 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { Message, MessageSnapshot, MessageType } from "discord.js" +import { InteractionType, Message, MessageSnapshot, MessageType } from "discord.js" import defineProperties from "../functions/defineProperties" export enum MessageProperty { id = "id", content = "content", + type = "type", flags = "flags", username = "username", - type = "type", + authorID = "authorID", channelID = "channelID", + threadID = "threadID", guildID = "guildID", - authorID = "authorID", + webhookID = "webhookID", + interactionID = "interactionID", + interactionType = "interactionType", timestamp = "timestamp", editTimestamp = "editTimestamp", + hasSnapshots = "hasSnapshots", + hasThread = "hasThread", hasPoll = "hasPoll", system = "system", pinned = "pinned", + tts = "tts", url = "url", attachments = "attachments", stickers = "stickers", + embeds = "embeds", + crosspostable = "crosspostable", + deletable = "deletable", + editable = "editable", + pinnable = "pinnable", } export const MessageProperties = defineProperties({ - content: (m) => m?.content, id: (m) => m?.id, - flags: (m, sep) => m?.flags.toArray().join(sep ?? ", "), - channelID: (m) => m?.channelId, - guildID: (m) => m?.guildId, + content: (m) => m?.content, type: (m) => (m ? MessageType[m.type] : undefined), + flags: (m, sep) => m?.flags.toArray().join(sep ?? ", "), username: (m) => m?.author?.username, authorID: (m) => m?.author?.id, + channelID: (m) => m?.channelId, + threadID: (m) => m?.thread?.id, + guildID: (m) => m?.guildId, + webhookID: (m) => m?.webhookId, + interactionID: (m) => m?.interactionMetadata?.id, + interactionType: (m) => (m?.interactionMetadata ? InteractionType[m.interactionMetadata.type] : null), timestamp: (m) => m?.createdTimestamp, editTimestamp: (m) => m?.editedTimestamp, + hasSnapshots: (m) => !!m?.messageSnapshots?.size, + hasThread: (m) => m?.hasThread, hasPoll: (m) => !!m?.poll, system: (m) => m?.system, pinned: (m) => m?.pinned, + tts: (m) => m?.tts, url: (m) => m?.url, attachments: (m, sep) => m?.attachments.map(x => x.url).join(sep ?? ", "), stickers: (m, sep) => m?.stickers.map(x => x.url).join(sep ?? ", "), + embeds: (m) => (m && "embeds" in m ? JSON.stringify(m.embeds, undefined, 4) : null), + crosspostable: (m) => m?.crosspostable, + deletable: (m) => m?.deletable, + editable: (m) => m?.editable, + pinnable: (m) => m?.pinnable, }) \ No newline at end of file diff --git a/src/properties/permissionOverwrites.ts b/src/properties/permissionOverwrites.ts index d422cec462..136cfab728 100644 --- a/src/properties/permissionOverwrites.ts +++ b/src/properties/permissionOverwrites.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { OverwriteType, PermissionOverwrites } from "discord.js" diff --git a/src/properties/poll.ts b/src/properties/poll.ts index 8649726e30..0f50d6f6e8 100644 --- a/src/properties/poll.ts +++ b/src/properties/poll.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Poll, PollAnswer, PollLayoutType } from "discord.js" diff --git a/src/properties/presence.ts b/src/properties/presence.ts index bcaeaa84e1..ede59f52ca 100644 --- a/src/properties/presence.ts +++ b/src/properties/presence.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Presence } from "discord.js" diff --git a/src/properties/reaction.ts b/src/properties/reaction.ts index aa67cf85f5..c9380b8ec0 100644 --- a/src/properties/reaction.ts +++ b/src/properties/reaction.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { MessageReaction } from "discord.js" diff --git a/src/properties/role.ts b/src/properties/role.ts index 2e468e2eb6..c367e65f33 100644 --- a/src/properties/role.ts +++ b/src/properties/role.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Role } from "discord.js" diff --git a/src/properties/scheduledEvent.ts b/src/properties/scheduledEvent.ts index 0755cd62b2..34cb06f496 100644 --- a/src/properties/scheduledEvent.ts +++ b/src/properties/scheduledEvent.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildScheduledEvent, GuildScheduledEventEntityType, GuildScheduledEventPrivacyLevel, GuildScheduledEventStatus } from "discord.js" diff --git a/src/properties/sound.ts b/src/properties/sound.ts index 7bdd5dbf19..a4c1e7a098 100644 --- a/src/properties/sound.ts +++ b/src/properties/sound.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { GuildSoundboardSound, PartialSoundboardSound, SoundboardSound } from "discord.js" diff --git a/src/properties/stage.ts b/src/properties/stage.ts index 50836ceeed..805baade0f 100644 --- a/src/properties/stage.ts +++ b/src/properties/stage.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { StageInstance, StageInstancePrivacyLevel } from "discord.js" diff --git a/src/properties/sticker.ts b/src/properties/sticker.ts index 7bcf5889bd..c518e3a630 100644 --- a/src/properties/sticker.ts +++ b/src/properties/sticker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Sticker, StickerFormatType } from "discord.js" diff --git a/src/properties/subscription.ts b/src/properties/subscription.ts index 4999552ceb..597679fc03 100644 --- a/src/properties/subscription.ts +++ b/src/properties/subscription.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Subscription, SubscriptionStatus } from "discord.js" diff --git a/src/properties/teamMember.ts b/src/properties/teamMember.ts index 4da2897a34..994d2f8f7f 100644 --- a/src/properties/teamMember.ts +++ b/src/properties/teamMember.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { TeamMember, TeamMemberMembershipState, TeamMemberRole } from "discord.js" diff --git a/src/properties/user.ts b/src/properties/user.ts index 8720e3ea81..2f0238e682 100644 --- a/src/properties/user.ts +++ b/src/properties/user.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { User } from "discord.js" @@ -8,16 +8,20 @@ import defineProperties from "../functions/defineProperties" export enum UserProperty { id = "id", + tag = "tag", username = "username", displayName = "displayName", globalName = "globalName", + discriminator = "discriminator", + timestamp = "timestamp", + bot = "bot", badges = "badges", + banner = "banner", avatar = "avatar", + avatarDecoration = "avatarDecoration", + defaultAvatar = "defaultAvatar", accentColor = "accentColor", - banner = "banner", - timestamp = "timestamp", dmChannelID = "dmChannelID", - avatarDecoration = "avatarDecoration", primaryGuildTag = "primaryGuildTag", primaryGuildBadge = "primaryGuildBadge", primaryGuildEnabled = "primaryGuildEnabled", @@ -26,18 +30,22 @@ export enum UserProperty { export const UserProperties = defineProperties({ id: (i) => i?.id, - avatar: (i) => i?.displayAvatarURL(), - badges: (i, sep) => i?.flags?.toArray().join(sep || ", "), + tag: (i) => i?.tag, + username: (i) => i?.username, displayName: (i) => i?.displayName, globalName: (i) => i?.globalName, - username: (i) => i?.username, + discriminator: (i) => i?.discriminator, + timestamp: (i) => i?.createdTimestamp, + bot: (i) => i?.bot, + badges: (i, sep) => i?.flags?.toArray().join(sep ?? ", "), banner: (i) => i?.bannerURL(), + avatar: (i) => i?.displayAvatarURL(), + avatarDecoration: (i) => i?.avatarDecorationURL(), + defaultAvatar: (i) => i?.defaultAvatarURL, accentColor: (i) => i?.hexAccentColor, - timestamp: (i) => i?.createdTimestamp, dmChannelID: (i) => i?.dmChannel?.id, - avatarDecoration: (i) => i?.avatarDecorationURL(), primaryGuildTag: (i) => i?.primaryGuild?.tag, primaryGuildBadge: (i) => i?.guildTagBadgeURL(), primaryGuildEnabled: (i) => i?.primaryGuild?.identityEnabled, - primaryGuildID: (i) => i?.primaryGuild?.identityGuildId + primaryGuildID: (i) => i?.primaryGuild?.identityGuildId, }) \ No newline at end of file diff --git a/src/properties/voiceEffect.ts b/src/properties/voiceEffect.ts index 4fe83f5371..e486c0ce24 100644 --- a/src/properties/voiceEffect.ts +++ b/src/properties/voiceEffect.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { VoiceChannelEffect, VoiceChannelEffectSendAnimationType } from "discord.js" diff --git a/src/properties/voiceServer.ts b/src/properties/voiceServer.ts new file mode 100644 index 0000000000..93cc3c83c7 --- /dev/null +++ b/src/properties/voiceServer.ts @@ -0,0 +1,19 @@ +/* +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge +*/ + +import { VoiceServerUpdateData } from "discord.js" +import defineProperties from "../functions/defineProperties" + +export enum VoiceServerProperty { + guildID = "guildID", + endpoint = "endpoint", + token = "token" +} + +export const VoiceServerProperties = defineProperties({ + guildID: (i) => i?.guildId, + endpoint: (i) => i?.endpoint, + token: (i) => i?.token +}) \ No newline at end of file diff --git a/src/properties/voiceState.ts b/src/properties/voiceState.ts index f71170c2ae..a340f85956 100644 --- a/src/properties/voiceState.ts +++ b/src/properties/voiceState.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { VoiceState } from "discord.js" diff --git a/src/properties/webhook.ts b/src/properties/webhook.ts index e3fa8cdfe8..6b4d6de51f 100644 --- a/src/properties/webhook.ts +++ b/src/properties/webhook.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { Webhook, WebhookType } from "discord.js" diff --git a/src/structures/@internal/Arg.ts b/src/structures/@internal/Arg.ts index a1363311cf..532cccb4e7 100644 --- a/src/structures/@internal/Arg.ts +++ b/src/structures/@internal/Arg.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ArgType, EnumLike, IArg, NativeFunction } from "./NativeFunction" diff --git a/src/structures/@internal/CompiledFunction.ts b/src/structures/@internal/CompiledFunction.ts index f04bce3cc7..8d4fa5dc7f 100644 --- a/src/structures/@internal/CompiledFunction.ts +++ b/src/structures/@internal/CompiledFunction.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { @@ -17,14 +17,13 @@ import { existsSync } from "fs" import { inspect } from "util" import { TimeParser } from "../../constants" import { ICompiledFunctionConditionField, ICompiledFunctionField, ICompiledFunction } from "../../core" -import parseJSON from "../../functions/parseJSON" import { FunctionManager } from "../../managers" import { ErrorType, GetErrorArgs, ForgeError } from "../forge/ForgeError" import { Context } from "./Context" import { IArg, UnwrapArgs, NativeFunction, ArgType, OverwritePermission } from "./NativeFunction" import { Return, ReturnType, ReturnValue } from "./Return" import { resolveColor } from "../../functions/hex" -import noop from "../../functions/noop" +import parseJSON from "../../functions/parseJSON" export interface IExtendedCompiledFunctionConditionField extends Omit { lhs: IExtendedCompiledFunctionField @@ -118,8 +117,6 @@ export class CompiledFunction { const args = new Array(this.fn.data.args?.length ?? 0) as UnwrapArgs @@ -161,9 +158,6 @@ export class CompiledFunction { const arg = this.fn.data.args![i] @@ -305,7 +299,7 @@ export class CompiledFunction) { - return parseJSON(str) + return parseJSON(str, false) } private resolveUser(ctx: Context, arg: IArg, str: string, ref: Array) { @@ -523,14 +517,12 @@ export class CompiledFunction { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore if (!this.fn.data.unwrap) return this.fn.data.execute.call(this, ctx) const args = await this.resolveArgs(ctx) if (!this.isValidReturnType(args)) return args - // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore return this.fn.data.execute.call(this, ctx, args.value ?? []) } @@ -595,6 +587,6 @@ export class CompiledFunction = null) { - return new Return(ReturnType.Success, this.data.negated ? null : this.data.count !== null && typeof(value) === "string" ? (value !== "" ? value.split(this.data.count).length : 0) : value) + return new Return(ReturnType.Success, this.data.negated ? null : this.data.count !== null && typeof value === "string" ? (value !== "" ? value.split(this.data.count).length : 0) : value) } } \ No newline at end of file diff --git a/src/structures/@internal/Container.ts b/src/structures/@internal/Container.ts index a2e380c574..b33eae2559 100644 --- a/src/structures/@internal/Container.ts +++ b/src/structures/@internal/Container.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ /* eslint-disable indent */ diff --git a/src/structures/@internal/Context.ts b/src/structures/@internal/Context.ts index 3013667a1f..8aab97ec95 100644 --- a/src/structures/@internal/Context.ts +++ b/src/structures/@internal/Context.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { @@ -22,6 +22,7 @@ import { MediaGalleryBuilder, Message, MessageReaction, + OverwriteResolvable, Role, SectionBuilder, SoundboardSound, @@ -82,7 +83,6 @@ export interface IComponentOptions { section: SectionBuilder gallery: MediaGalleryBuilder label: LabelBuilder - required?: boolean } export enum CalendarType { @@ -132,7 +132,6 @@ export interface IContextCache { export class Context { #cache: Partial = {}; - // eslint-disable-next-line no-undef [props: PropertyKey]: unknown executionTimestamp!: number @@ -143,6 +142,8 @@ export class Context { timezone: string = "UTC" calendar?: CalendarType + permissionOverwrites?: OverwriteResolvable[] + #keywords: Record = {} #environment: Record = {} #localFunctions: Record = {} @@ -151,7 +152,6 @@ export class Context { public container: Container - // eslint-disable-next-line no-unused-vars public constructor(public readonly runtime: IRunnable) { if (runtime.environment) this.#environment = runtime.environment if (runtime.keywords) this.#keywords = runtime.keywords diff --git a/src/structures/@internal/Logger.ts b/src/structures/@internal/Logger.ts index 4af23e67af..0f6232af2e 100644 --- a/src/structures/@internal/Logger.ts +++ b/src/structures/@internal/Logger.ts @@ -1,9 +1,9 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import clc, { Chalk } from "chalk" +import clc, { ChalkInstance } from "chalk" import { stdout } from "process" import { inspect } from "util" @@ -50,7 +50,7 @@ export class Logger { [LogType.Warn]: clc.yellow.bold, [LogType.Deprecated]: clc.magenta.bold, [LogType.Info]: clc.cyan.bold - } satisfies Record + } satisfies Record public static readonly DateColor = clc.green.bold private static log(priority: LogPriority, type: LogType, ...args: unknown[]) { diff --git a/src/structures/@internal/NativeFunction.ts b/src/structures/@internal/NativeFunction.ts index 0ba45ffa01..ffe99a8ad3 100644 --- a/src/structures/@internal/NativeFunction.ts +++ b/src/structures/@internal/NativeFunction.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { diff --git a/src/structures/@internal/Output.ts b/src/structures/@internal/Output.ts index ef2ea4b837..29ba138461 100644 --- a/src/structures/@internal/Output.ts +++ b/src/structures/@internal/Output.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ReturnType } from "./Return" diff --git a/src/structures/@internal/Return.ts b/src/structures/@internal/Return.ts index 0edf478097..b21b8dad9e 100644 --- a/src/structures/@internal/Return.ts +++ b/src/structures/@internal/Return.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { inspect } from "util" diff --git a/src/structures/base/ApplicationCommand.ts b/src/structures/base/ApplicationCommand.ts index fa28138b44..7f5a7a0cf0 100644 --- a/src/structures/base/ApplicationCommand.ts +++ b/src/structures/base/ApplicationCommand.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { RESTPostAPIApplicationCommandsJSONBody } from "discord.js" diff --git a/src/structures/base/BaseCommand.ts b/src/structures/base/BaseCommand.ts index d07b728eb5..ea00094ec7 100644 --- a/src/structures/base/BaseCommand.ts +++ b/src/structures/base/BaseCommand.ts @@ -1,46 +1,126 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ClientEvents, Interaction } from "discord.js" -import { Context } from ".." import { IExtendedCompilationResult, Compiler, ForgeClient } from "../../core" import { ForgeError, ErrorType } from "../forge/ForgeError" +import { Context } from ".." export type CommandType = keyof ClientEvents export type RawExecutableCode = (ctx: Context) => Promise -export type CommandInteractionTypes = - "button" | - "modal" | - "slashCommand" | - "autocomplete" | - "contextMenu" | - "selectMenu" | - "activityCommand" +export type CommandInteractionTypes = + | "button" + | "modal" + | "slashCommand" + | "autocomplete" + | "contextMenu" + | "userContextMenu" + | "messageContextMenu" + | "selectMenu" + | "userSelectMenu" + | "roleSelectMenu" + | "channelSelectMenu" + | "mentionableSelectMenu" + | "activityCommand" + | "messageComponent" + +export enum PrefixMode { + /** + * The command requires a prefix to be executed. This is the default mode. + */ + Required, + /** + * The command can be executed with or without a prefix. + */ + Optional, + /** + * The command requires no prefix to be executed (unprefixed). + */ + None, +} export interface IBaseCommand { + /** + * The name for this command. Used as custom ID filter for `interactionCreate` events. + */ name?: string + + /** + * The event type the bot will listen to. + */ type: T + + /** + * The code to run when the event fired. + */ code: string + + /** + * Whether this command can only be executed on guilds. + * + * @default false + */ guildOnly?: boolean + + /** + * The prefix mode to use for this command. + * + * @default PrefixMode.Required + */ + prefixMode?: PrefixMode + + /** + * Whether the command can be executed without a prefix. + * + * @deprecated This property is considered legacy, {@link prefixMode} is preferred instead. + * @default false + */ unprefixed?: boolean + + /** + * The aliases for this command. + */ aliases?: string[] + + /** + * The interaction types to restrict execution of the `interactionCreate` event to. + */ allowedInteractionTypes?: CommandInteractionTypes[] + + /** + * Allows the bot to execute this event triggered by other bots (and itself). + * + * @default false + */ allowBots?: boolean + + /** + * Whether to disable all possible console errors for this command. + * + * @default false + */ disableConsoleErrors?: boolean - [x: PropertyKey]: unknown /** - * @private Do not define + * Whether the command name and aliases should be case-insensitive, this only affects letters. + * + * @default true + */ + nameCaseInsensitive?: boolean + + /** + * @private Do not define. */ path?: string /** - * @private Do not define + * @private Do not define. */ unloadable?: boolean + [x: PropertyKey]: unknown } export interface ICompiledCommand { @@ -93,22 +173,29 @@ export class BaseCommand { return ( !this.data.name || ( - "customId" in i && + "customId" in i && this.data.name === i.customId ) ) && ( - !this.data.allowedInteractionTypes?.length || ( - this.data.allowedInteractionTypes.some( - type => - (type === "slashCommand" && i.isChatInputCommand()) || - (type === "button" && i.isButton()) || - (type === "selectMenu" && i.isAnySelectMenu()) || - (type === "modal" && i.isModalSubmit()) || - (type === "autocomplete" && i.isAutocomplete()) || - (type === "contextMenu" && i.isContextMenuCommand()) || - (type === "activityCommand" && i.isPrimaryEntryPointCommand()) + !this.data.allowedInteractionTypes?.length || ( + this.data.allowedInteractionTypes.some( + type => + (type === "button" && i.isButton()) || + (type === "modal" && i.isModalSubmit()) || + (type === "slashCommand" && i.isChatInputCommand()) || + (type === "autocomplete" && i.isAutocomplete()) || + (type === "selectMenu" && i.isAnySelectMenu()) || + (type === "userSelectMenu" && i.isUserSelectMenu()) || + (type === "roleSelectMenu" && i.isRoleSelectMenu()) || + (type === "channelSelectMenu" && i.isChannelSelectMenu()) || + (type === "mentionableSelectMenu" && i.isMentionableSelectMenu()) || + (type === "contextMenu" && i.isContextMenuCommand()) || + (type === "userContextMenu" && i.isUserContextMenuCommand()) || + (type === "messageContextMenu" && i.isMessageContextMenuCommand()) || + (type === "activityCommand" && i.isPrimaryEntryPointCommand()) || + (type === "messageComponent" && i.isMessageComponent()) + ) ) ) - ) } } diff --git a/src/structures/base/BaseEventHandler.ts b/src/structures/base/BaseEventHandler.ts index 78e700418a..de2ca808dd 100644 --- a/src/structures/base/BaseEventHandler.ts +++ b/src/structures/base/BaseEventHandler.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ClientEvents, GatewayIntentsString } from "discord.js" diff --git a/src/structures/extended/DiscordEventHandler.ts b/src/structures/extended/DiscordEventHandler.ts index 00e3ab15e7..ede0f4ebca 100644 --- a/src/structures/extended/DiscordEventHandler.ts +++ b/src/structures/extended/DiscordEventHandler.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { type ClientEvents, GatewayIntentsString } from "discord.js" diff --git a/src/structures/forge/ForgeError.ts b/src/structures/forge/ForgeError.ts index d80efa0fde..51ab79c4f1 100644 --- a/src/structures/forge/ForgeError.ts +++ b/src/structures/forge/ForgeError.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { CompiledFunction } from "../@internal/CompiledFunction" diff --git a/src/structures/forge/ForgeExtension.ts b/src/structures/forge/ForgeExtension.ts index 8b75a9f04d..6d8e49200d 100644 --- a/src/structures/forge/ForgeExtension.ts +++ b/src/structures/forge/ForgeExtension.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ForgeClient } from "../../core" diff --git a/src/structures/forge/ForgeFunction.ts b/src/structures/forge/ForgeFunction.ts index a5209189ad..73ca8e6cc1 100644 --- a/src/structures/forge/ForgeFunction.ts +++ b/src/structures/forge/ForgeFunction.ts @@ -1,11 +1,10 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ -import { ArgType, Context, IArg, IExtendedCompiledFunctionConditionField, NativeFunction } from ".." +import { ArgType, CompiledFunction, Context, IArg, IExtendedCompiledFunctionConditionField, NativeFunction } from ".." import { IExtendedCompilationResult, Compiler, Interpreter } from "../../core" -import isTrue from "../../functions/isTrue" import { FunctionManager } from "../../managers" import { Return, ReturnType } from "../@internal/Return" import { ForgeError, ErrorType } from "./ForgeError" @@ -15,12 +14,14 @@ export interface IForgeFunctionParam { type?: ArgType | keyof typeof ArgType required?: boolean rest?: boolean + [x: PropertyKey]: unknown } export interface IForgeFunction { name: string params?: Array firstParamCondition?: boolean + [x: PropertyKey]: unknown brackets?: boolean code: string path?: string @@ -33,7 +34,7 @@ export class ForgeFunction { if (!Array.isArray(data.params)) data.params = [] } - + public populate() { FunctionManager.add(this.asNative()) } @@ -55,26 +56,23 @@ export class ForgeFunction { async execute(ctx, args: string[]) { if (!this.fn.data.unwrap) { if (!this.data.fields || this.data.fields.length === 0) { - return outer.call(ctx, args ?? []) + return outer.call(ctx, this, args ?? []) } const condition = await this["resolveCondition"](ctx, this.data.fields[0] as IExtendedCompiledFunctionConditionField) if (!this["isValidReturnType"](condition)) return condition - else if (!isTrue(condition)) - return this.stop() - // eslint-disable-next-line no-unsafe-optional-chaining const params = await this["resolveMultipleArgs"](ctx, ...this.data.fields.slice(1).map((_, i) => i + 1)) if (!this["isValidReturnType"](params.return)) return params.return - return outer.call(ctx, params.args) + return outer.call(ctx, this, [condition.value as string, ...params.args]) } else { - return outer.call(ctx, args ?? []) + return outer.call(ctx, this, args ?? []) } } }) } - async call(ctx: Context, args: string[]) { + async call(ctx: Context, fn: CompiledFunction, args: string[]) { this.compiled ??= Compiler.compile(this.data.code, this.data.path) const params = Array.isArray(this.data.params) ? this.data.params : [] @@ -90,18 +88,21 @@ export class ForgeFunction { ) ) + const functionCtx = ctx.clone({ + doNotSend: true, + allowTopLevelReturn: true, + data: this.compiled + }) + for (let i = 0, len = params.length; i < len; i++) { const param = params[i] const name = typeof param === "string" ? param : param.name - ctx.setEnvironmentKey(name, args[i]) + + functionCtx.setEnvironmentKey(name, args[i]) } - const result = await Interpreter.run(ctx.clone({ - doNotSend: true, - allowTopLevelReturn: true, - data: this.compiled - })) + const result = await Interpreter.run(functionCtx) - return new Return(result === null ? ReturnType.Stop : ReturnType.Success, result) + return result === null ? fn.stop() : fn.success(result) } } \ No newline at end of file diff --git a/src/structures/index.ts b/src/structures/index.ts index 2d0eff746a..5486d2b0dd 100644 --- a/src/structures/index.ts +++ b/src/structures/index.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ export * from "./base/BaseCommand" diff --git a/src/structures/trackers/InviteTracker.ts b/src/structures/trackers/InviteTracker.ts index 06a5e773ac..07c7cdffc2 100644 --- a/src/structures/trackers/InviteTracker.ts +++ b/src/structures/trackers/InviteTracker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { diff --git a/src/structures/trackers/VoiceTracker.ts b/src/structures/trackers/VoiceTracker.ts index 7e6d24bec1..40a9058797 100644 --- a/src/structures/trackers/VoiceTracker.ts +++ b/src/structures/trackers/VoiceTracker.ts @@ -1,6 +1,6 @@ /* -* SPDX-License-Identifier: GPL-3.0-or-later -* Copyright © 2025 BotForge +* SPDX-License-Identifier: LGPL-3.0-or-later +* Copyright © 2026 BotForge */ import { ForgeClient } from "../../core" diff --git a/tsconfig.build.json b/tsconfig.build.json index 40f3b80388..fa270e82bc 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -12,7 +12,8 @@ "resolveJsonModule": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, - "skipLibCheck": true + "skipLibCheck": true, + "types": ["node"] }, "include": ["./src/@build"] } \ No newline at end of file