Update Readme

This commit is contained in:
March 7th 2022-03-19 17:52:50 +07:00
parent ac49705f3e
commit 89ed7a92d7
4 changed files with 73 additions and 174 deletions

View File

@ -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/

113
.gitignore vendored
View File

@ -5,87 +5,40 @@ npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
lerna-debug.log* lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html) # Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Packages
node_modules/
djs/
# Log files
logs/
*.log
npm-debug.log*
# Runtime data # Runtime data
pids pids
*.pid *.pid
*.seed *.seed
*.pid.lock *.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover # Env
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 test/auth.json
.env.test.local test/auth.js
.env.production.local docs/deploy/deploy_key
.env.local docs/deploy/deploy_key.pub
deploy/deploy_key
deploy/deploy_key.pub
# parcel-bundler cache (https://parceljs.org/) # Dist
.cache dist/
.parcel-cache docs/docs.json
# Next.js build output # Next.js build output
.next .next
out
# Nuxt.js build / generate output # Nuxt.js build / generate output
.nuxt .nuxt
@ -93,17 +46,13 @@ dist
# Gatsby files # Gatsby files
.cache/ .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 # https://nextjs.org/blog/next-9-1#public-directory-support
# public # public
# vuepress build output # vuepress build output
.vuepress/dist .vuepress/dist
# vuepress v2.x temp and cache directory
.temp
.cache
# Serverless directories # Serverless directories
.serverless/ .serverless/
@ -116,12 +65,18 @@ dist
# TernJS port file # TernJS port file
.tern-port .tern-port
# Stores VSCode versions used for testing VSCode extensions # Env
.vscode-test .env
test/
docs/deploy/deploy_key
docs/deploy/deploy_key.pub
deploy/deploy_key
deploy/deploy_key.pub
# yarn v2 # Miscellaneous
.yarn/cache .tmp/
.yarn/unplugged .idea/
.yarn/build-state.yml .DS_Store
.yarn/install-state.gz
.pnp.* # Custom
data/

View File

@ -5,31 +5,34 @@
</p> </p>
<br /> <br />
<p> <p>
<a href="https://discord.gg/3makcFd2m4"><img src="https://img.shields.io/discord/936023564254056479?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a> <a href="https://discord.gg/djs"><img src="https://img.shields.io/discord/222078108977594368?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a>
<a href="https://www.npmjs.com/package/dsb.js"><img src="https://img.shields.io/npm/v/dsb.js?style=flat-square" alt="npm version" /></a> <a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/v/discord.js.svg?maxAge=3600" alt="npm version" /></a>
<a href="https://www.npmjs.com/package/dsb.js"><img src="https://img.shields.io/npm/dt/dsb.js?style=flat-square" alt="npm downloads" /></a> <a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/dt/discord.js.svg?maxAge=3600" alt="npm downloads" /></a>
<a href="https://github.com/discordjs/discord.js/actions"><img src="https://github.com/discordjs/discord.js/actions/workflows/test.yml/badge.svg" alt="Tests status" /></a>
</p> </p>
</div> </div>
## About ## 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.
<strong>I am in no way responsible for what happens to your account. What you do is on you!</strong> ### <strong>I don't take any responsibility for blocked Discord accounts that used this module.</strong>
### <strong>Using this on a user account is prohibited by the [Discord TOS](https://discord.com/terms) and can lead to the account block.</strong>
## Installation ## Installation
**Node.js 16.9.0 or newer is required** **Node.js 16.9.0 or newer is required**
```sh-session ```sh-session
npm install dsb.js npm install discord.js-selfbot-v13
``` ```
## Example ## Example
```js ```js
const { Client } = require('dsb.js'); 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 const client = new Client(); // Intents and Partials are already set so you don't have to define them
client.on('ready', async () => { client.on('ready', async () => {
console.log(`${client.user.username} >> [${client.guilds.cache.size}] guilds || [${client.friends.cache.size}] friends`); 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'); client.login('token');
``` ```
## Links ## Selfbot feature ?
- [Documentation](https://discord.js.org/#/docs/discord.js/stable/general/welcome) - Friends and Block Members
- [GitHub](https://github.com/TheDevYellowy/discordjs-selfbot) - Discord Apps Setting [Theme, Language, ...]
- [Discord](https://discord.gg/3makcFd2m4) - 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)

View File

@ -1,6 +1,6 @@
{ {
"name": "discord.js-selfbot-v13", "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]", "description": "A unofficial discord.js fork for creating selfbots [Based on discord.js v13]",
"main": "./src/index.js", "main": "./src/index.js",
"types": "./typings/index.d.ts", "types": "./typings/index.d.ts",
@ -18,7 +18,9 @@
}, },
"keywords": [ "keywords": [
"discord.js", "discord.js",
"discord.js v13",
"selfbot", "selfbot",
"selfbot v13",
"djs", "djs",
"api", "api",
"bot", "bot",