From 8d29c63cb651552cfde96a3f2575800820ff0dbf Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sat, 26 Mar 2022 19:01:36 +0700 Subject: [PATCH] Update #2 - Auto verify member - Update Document --- DOCUMENT.md | 4 +++- README.md | 24 ++++++++++++++++-------- src/structures/Invite.js | 17 ++++++++++++++--- typings/index.d.ts | 2 +- 4 files changed, 34 insertions(+), 13 deletions(-) diff --git a/DOCUMENT.md b/DOCUMENT.md index acff78b..8153bad 100644 --- a/DOCUMENT.md +++ b/DOCUMENT.md @@ -299,9 +299,11 @@ await client.user.setHypeSquad('HOUSE_BALANCE'); ```js await client.fetchInvite('code').then(async invite => { - await invite.acceptInvite(); + await invite.acceptInvite(true); }); ``` +`invite.acceptInvite(true);` => Auto skip verify screen + ## More features diff --git a/README.md b/README.md index e04be07..1854409 100644 --- a/README.md +++ b/README.md @@ -16,18 +16,26 @@ - discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v10. + +
+ ### I don't take any responsibility for blocked Discord accounts that used this module. ### Using this on a user account is prohibited by the [Discord TOS](https://discord.com/terms) and can lead to the account block. ## Installation -**Node.js 16.9.0 or newer is required** +**Node.js 16.6.0 or newer is required** ```sh-session -npm install discord.js-selfbot-v13 +npm install discord.js-selfbot-v13@latest ``` ## Patched -Click [here](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/DOCUMENT.md) to see the patched functions +Click [here](https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/DOCUMENT.md) to see the patched functions ## Example ```js @@ -35,7 +43,7 @@ const { Client } = require('discord.js-selfbot-v13'); const client = new Client(); // Intents and Partials are already set so you don't have to define them client.on('ready', async () => { - console.log(`${client.user.username} >> [${client.guilds.cache.size}] guilds || [${client.friends.cache.size}] friends`); + console.log(`${client.user.username} is ready!`); }) client.login('token'); @@ -53,11 +61,11 @@ window.webpackChunkdiscord_app.push([[Math.random()], {}, (req) => {for (const m ## Selfbot feature ? - Friends and Block Members -- Discord Apps Setting [Theme, Language, ...] -- Get Profile GuildMember [Nitro Time, Boost Time, Connected Account, Bio, ...] +- Discord Apps Setting [Theme, Language, HypeSquad, etc.] +- Get Profile GuildMember [Nitro Time, Boost Time, Connected Account, Bio, etc.] - Setting Position Guild and Folder - Custom Status and RPC (without button, because it's not working) -- Interaction [Button, MessageSelectMenu, ...] +- Interaction [Button, MessageSelectMenu, Slash, ContextMenu] - You can request more features for my module by placing an issue! ## Links [Discord.js] @@ -72,7 +80,7 @@ window.webpackChunkdiscord_app.push([[Math.random()], {}, (req) => {for (const m - [npm](https://www.npmjs.com/package/discord.js) - [Related libraries](https://discord.com/developers/docs/topics/community-resources#libraries) -## Contributing +## Contributing [Discord.js] - Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the [documentation](https://discord.js.org/#/docs). diff --git a/src/structures/Invite.js b/src/structures/Invite.js index 061ac6b..c341c9c 100644 --- a/src/structures/Invite.js +++ b/src/structures/Invite.js @@ -316,14 +316,25 @@ class Invite extends Base { /** * Join this Guild using this invite. - * @returns {Promise