chore: v2.10.2

This commit is contained in:
Elysia 2023-02-09 19:39:31 +07:00
parent 756a241051
commit 6ca0eb088a
4 changed files with 9 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "discord.js-selfbot-v13",
"version": "2.10.1",
"version": "2.10.2",
"description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
"main": "./src/index.js",
"types": "./typings/index.d.ts",
@ -79,7 +79,7 @@
"@commitlint/config-angular": "^16.0.0",
"@discordjs/docgen": "^0.11.1",
"@favware/npm-deprecate": "^1.0.7",
"@types/node": "^16.11.12",
"@types/node": "^18.13.0",
"conventional-changelog-cli": "^2.2.2",
"dtslint": "^4.2.1",
"eslint": "^8.33.0",

View File

@ -619,7 +619,9 @@ class Client extends BaseClient {
/**
* Join this Guild using this invite (Use with caution)
* @param {InviteResolvable} invite Invite code or URL
* @returns {Promise<undefined>}
* @returns {Promise<void>}
* @example
* await client.acceptInvite('https://discord.gg/genshinimpact')
*/
async acceptInvite(invite) {
const code = DataResolver.resolveInviteCode(invite);

View File

@ -33,7 +33,9 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"ESNext"
"ESNext",
"ES2021",
"DOM"
],
"target": "ES2020",
"useDefineForClassFields": true,