From e722b41e5bfc64fd78439b5e898429989112e26e Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Wed, 31 Aug 2022 11:10:14 +0700 Subject: [PATCH] chore(release): v2.6.11 --- package.json | 2 +- src/managers/GuildMemberManager.js | 71 +++++++++++++++++++++++++++++- typings/index.d.ts | 2 +- 3 files changed, 72 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 78c2905..62d2761 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord.js-selfbot-v13", - "version": "2.6.10", + "version": "2.6.11", "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]", "main": "./src/index.js", "types": "./typings/index.d.ts", diff --git a/src/managers/GuildMemberManager.js b/src/managers/GuildMemberManager.js index 0880fef..b7dd7f1 100644 --- a/src/managers/GuildMemberManager.js +++ b/src/managers/GuildMemberManager.js @@ -442,7 +442,76 @@ class GuildMemberManager extends CachedManager { */ fetchBruteforce(options) { // eslint-disable-next-line - let dictionary = [' ', '!', '"', '#', '$', '%', '&', "'", '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '@', '[', ']', '^', '_', '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{', '|', '}', '~']; + let dictionary = [ + ' ', + '!', + '"', + '#', + '$', + '%', + '&', + "'", + '(', + ')', + '*', + '+', + ',', + '-', + '.', + '/', + '0', + '1', + '2', + '3', + '4', + '5', + '6', + '7', + '8', + '9', + ':', + ';', + '<', + '=', + '>', + '?', + '@', + '[', + ']', + '^', + '_', + '`', + 'a', + 'b', + 'c', + 'd', + 'e', + 'f', + 'g', + 'h', + 'i', + 'j', + 'k', + 'l', + 'm', + 'n', + 'o', + 'p', + 'q', + 'r', + 's', + 't', + 'u', + 'v', + 'w', + 'x', + 'y', + 'z', + '{', + '|', + '}', + '~', + ]; let limit = 100; let delay = 500; if (options.dictionary) dictionary = options.dictionary; diff --git a/typings/index.d.ts b/typings/index.d.ts index b154ffd..5d3b19f 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -3771,7 +3771,7 @@ export class GuildMemberManager extends CachedManager>; - public fetchBruteforce(options?: BruteforceOptions): Promise> + public fetchBruteforce(options?: BruteforceOptions): Promise>; public kick(user: UserResolvable, reason?: string): Promise; public list(options?: GuildListMembersOptions): Promise>; public prune(options: GuildPruneMembersOptions & { dry?: false; count: false }): Promise;