Skip to content

soilSpoon/Discord-user-bots

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Sopur's user bot library

Hello! This is a user bot library that allows for complete control over user accounts.
Some examples of extreme examples are the ability to access user notes, friend counts, and the default Discord tutorial.
This library is still being worked on more functions will be added soon.

Installing

npm i discord-user-bots

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("Token goes here.");

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

client.on.message_create = function (message) {
    console.log(message);
};

Practical 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

Mailing list

Pings other users when a victim of your choice sends a message.
https://github.com/Sopur/Discord-user-bots/blob/main/examples/mailinglist.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

Delete all incriminating messages

Deletes all incriminating messages in a channel automatically.
https://github.com/Sopur/Discord-user-bots/blob/main/examples/clean-up.js.js

GPT-3 chatbot

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

Documentation

Discord.Client

Functions

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 function.

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

Event listeners

This library has every known event listener. See the eventlisteners.js file in the doc/ folder for documentation on every event.

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

Properties

This library focuses on allowing you to access absolutely everything a normal Discord client can. See the properties.js file in the doc/ folder for documentation on every event.

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

What's new in 1.6.0

  • Added accept_friend_request function (Thanks lf94)
  • Added relationship_add event listener (Thanks lf94)
  • Added relationship_remove event listener (Thanks lf94)
  • Added proxy option to client class
  • Added reconnect event listener
  • Added reconnect function
  • Added autoReconnect option to config
  • Added examples create-account.js, clean-up.js, chat-bot.js, and log.js
  • Added science/experiment tracking logic
  • Added cookie logic
  • Added uuid logic
  • Added xtrack logic
  • Fixed disconnection problem (Thanks lf94)
  • Fixed group function
  • Fixed examples
  • Fixed README

Special Thanks To

Github user Luthfi GearIntellix

  • Added attachments to the send function
  • Added the remove_reaction function

Github user Imraj

  • Added close function
  • Added terminate function

Github user lf94

  • Added accept_friend_request function
  • Fixed heartbeat bug

WARN

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

About

Working discord user bots library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%