diff --git a/ - Copy.gitignore b/ - Copy.gitignore deleted file mode 100644 index e9eb19e..00000000 --- a/ - Copy.gitignore +++ /dev/null @@ -1,82 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Packages -node_modules/ -djs/ - -# Log files -logs/ -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Env -.env -test/auth.json -test/auth.js -docs/deploy/deploy_key -docs/deploy/deploy_key.pub -deploy/deploy_key -deploy/deploy_key.pub - -# Dist -dist/ -docs/docs.json - -# Next.js build output -.next - -# Nuxt.js build / generate output -.nuxt -dist - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and *not* Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port - -# Env -.env -test/ -docs/deploy/deploy_key -docs/deploy/deploy_key.pub -deploy/deploy_key -deploy/deploy_key.pub - -# Miscellaneous -.tmp/ -.idea/ -.DS_Store - -# Custom -data/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 20b0c92..e9eb19e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,87 +5,40 @@ npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* -.pnpm-debug.log* # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json +# Packages +node_modules/ +djs/ + +# Log files +logs/ +*.log +npm-debug.log* + # Runtime data pids *.pid *.seed *.pid.lock -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# Snowpack dependency directory (https://snowpack.dev/) -web_modules/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional stylelint cache -.stylelintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variable files +# Env .env -.env.development.local -.env.test.local -.env.production.local -.env.local +test/auth.json +test/auth.js +docs/deploy/deploy_key +docs/deploy/deploy_key.pub +deploy/deploy_key +deploy/deploy_key.pub -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache +# Dist +dist/ +docs/docs.json # Next.js build output .next -out # Nuxt.js build / generate output .nuxt @@ -93,17 +46,13 @@ dist # Gatsby files .cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js +# Comment in the public line in if your project uses Gatsby and *not* Next.js # https://nextjs.org/blog/next-9-1#public-directory-support # public # vuepress build output .vuepress/dist -# vuepress v2.x temp and cache directory -.temp -.cache - # Serverless directories .serverless/ @@ -116,12 +65,18 @@ dist # TernJS port file .tern-port -# Stores VSCode versions used for testing VSCode extensions -.vscode-test +# Env +.env +test/ +docs/deploy/deploy_key +docs/deploy/deploy_key.pub +deploy/deploy_key +deploy/deploy_key.pub -# yarn v2 -.yarn/cache -.yarn/unplugged -.yarn/build-state.yml -.yarn/install-state.gz -.pnp.* +# Miscellaneous +.tmp/ +.idea/ +.DS_Store + +# Custom +data/ \ No newline at end of file diff --git a/README.md b/README.md index 59fb366..13e086e 100644 --- a/README.md +++ b/README.md @@ -5,31 +5,34 @@


- Discord server - npm version - npm downloads + Discord server + npm version + npm downloads + Tests status

## About -dsb is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the discord api +- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts (and bot .-.) to interact with the Discord API v9. +- Fork from [this](https://github.com/TheDevYellowy/dsb.js) module. -I am in no way responsible for what happens to your account. What you do is on you! +### 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** ```sh-session -npm install dsb.js +npm install discord.js-selfbot-v13 ``` ## Example ```js -const { Client } = require('dsb.js'); -const client = new Client(); // intents and partials are already set so you don't have to define them +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`); @@ -38,7 +41,28 @@ client.on('ready', async () => { client.login('token'); ``` -## Links -- [Documentation](https://discord.js.org/#/docs/discord.js/stable/general/welcome) -- [GitHub](https://github.com/TheDevYellowy/discordjs-selfbot) -- [Discord](https://discord.gg/3makcFd2m4) +## Selfbot feature ? +- Friends and Block Members +- Discord Apps Setting [Theme, Language, ...] +- You can request more features for my module by placing an issue! + +## Links [Discord.js] + +- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website)) +- [Documentation](https://discord.js.org/#/docs) +- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide)) + See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library. +- [discord.js Discord server](https://discord.gg/djs) +- [Discord API Discord server](https://discord.gg/discord-api) +- [GitHub](https://github.com/discordjs/discord.js) +- [npm](https://www.npmjs.com/package/discord.js) +- [Related libraries](https://discord.com/developers/docs/topics/community-resources#libraries) + +## Contributing + +Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the +[documentation](https://discord.js.org/#/docs). +See [the contribution guide](https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md) if you'd like to submit a PR. + +## Need help? +Contact me in Discord [Shiraori#1782] (UserID: 721746046543331449) \ No newline at end of file diff --git a/package.json b/package.json index 90101ce..1481733 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord.js-selfbot-v13", - "version": "1.1.3", + "version": "0.0.1", "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]", "main": "./src/index.js", "types": "./typings/index.d.ts", @@ -18,7 +18,9 @@ }, "keywords": [ "discord.js", + "discord.js v13", "selfbot", + "selfbot v13", "djs", "api", "bot",