/Discord-user-bots

Working discord user bots library.

Primary LanguageJavaScriptMIT LicenseMIT

Discord User Bots

Logo

GitHub license GitHub stars Discord Open issues
Useful links
DUB Discord Server
DUB NPM Package
DUB Client Documentation
DUB Examples

Installing

npm i discord-user-bots

What is this library?

Discord-User-Bots is a library that allows for complete access & control over user accounts

This library supports account features that are exclusive to user accounts or hidden by the Discord documentation. Data-mining Discord was used to find the vulnerabilities and hidden endpoints that allow this library to function.

What can this do?

Some use-cases for this library are:

  • Creating accounts (EXPERIMENTAL)
  • Sending unrestricted friend requests to other users
  • Joining guilds without triggering Discord's trust system
  • Email and phone verifying accounts
  • Accessing user notes, friend counts, interacting with the default Discord tutorial, and every other property associated with a Discord account
  • Remotely controlling accounts without authenticating with Discord for distributed account control
  • Common functions real accounts use
  • And many more...

Getting started

Controlling an account

For comments: https://github.com/Sopur/Discord-user-bots/blob/main/examples/basic.js

// For comments and more detail: https://github.com/Sopur/Discord-user-bots/blob/main/examples/basic.js
const Discord = require("discord-user-bots");
const client = new Discord.Client();

client.on("ready", () => {
    console.log("Client online!");
});
client.on("message", (message) => {
    console.log(message);
});

client.login("token goes here.");

Controlling an account without logging in

For comments: https://github.com/Sopur/Discord-user-bots/blob/main/examples/basic-headless.js > WARNING: if there isn't another live instance of the account running while you make a request with a headless client, the account with be disabled and flagged.

// For comments and more detail: https://github.com/Sopur/Discord-user-bots/blob/main/examples/basic-headless.js
const Discord = require("discord-user-bots");
const client = new Discord.Client({
    headless: true,
    proxy: "http://xxx.xxx.xxx.xxx:xxxx",
});
client.login("Token goes here."); // ONLY sets the token (doesn't follow the full login process)

client.send("1234567890", {
    content: "This message was sent without logging in",
});

Practical examples

See all examples: https://github.com/Sopur/Discord-user-bots/tree/main/examples

Message logger

Logs all messages sent in all the servers the client is in.
https://github.com/Sopur/Discord-user-bots/blob/main/examples/log.js

Create an account (EXPERIMENTAL)

Creates an account using the captcha.guru captcha solver.
https://github.com/Sopur/Discord-user-bots/blob/main/examples/chat-bot.js

Un-sendable channel

Deletes every message that is sent on channels of your choice while avoiding message delete rate limits.
https://github.com/Sopur/Discord-user-bots/blob/main/examples/unsendable-channel.js

ChatGPT chat-bot

Uses OpenAI's ChatGPT as a chat bot.
https://github.com/Sopur/Discord-user-bots/blob/main/examples/chat-bot.js

Documentation

Discord.Client

Methods

https://github.com/Sopur/Discord-user-bots/blob/main/doc/client.js

This library contains most functions required to do anything a normal client can do. See the client.js file in the doc/ folder for documentation on every Discord.Client method.

Event listeners

https://github.com/Sopur/Discord-user-bots/blob/main/doc/eventlisteners.js

This library has every known event listener. See the eventlisteners.js file in the doc/ folder to see every one.

What's new in 2.0.0

General

  1. Added the ability to create accounts
  2. Pretty much made DUB undetectable and 100% anonymous
  3. Added headless clients (accounts that don't login or interact with Discord's gateway)
  4. Added enum properties for every Discord enum
  5. No methods restrict your account anymore
  6. Added support for EVERY event (even undocumented ones)
  7. Added more methods to the testing script

Methods

  1. .login just like Discord.js
  2. .is_restricted
  3. Fixed .join_guild
  4. .send_single_type_notification
  5. Fixed .type to support multiple channels
  6. send_friend_request
  7. .set_profile
  8. .set_avatar
  9. .request_verify_email & .verify_email
  10. .request_verify_phone & .verify_phone

Want something?

Contact me on Discord at .sopur or Telegram at @soopur

You may also find something of interest on the DUB Discord Server.

DISCLAIMER

WHATEVER HAPPENS TO YOUR ACCOUNT AS A RESULT OF THIS LIBRARY IS WITHIN YOUR OWN LIABILITY. THIS LIBRARY IS MADE PURELY FOR EXPERIMENTAL AND ENTERTAINMENT PURPOSES. USE AT YOUR OWN RISK.