Git Product home page Git Product logo

discord-global-mutual's Introduction

discord-global-mutual

Important

Recent changes to the discord api essentially rendered this tool incapable of fetching needed data, hence the reason for archiving the repo.

Description

Get the list of people that you have shared servers with. And it works for all users, not just friends.

Note: It's not a nodejs module, as you might expect, it's just a set of few scripts. However if you want to make it a module, please do, any contributions are welcomed!

Repo consists of 3 different scripts.

  1. export - lists and exports all people from all guilds/servers you are joined to, in the json format
  2. compare - compares people across all servers, and reduces list to people that have one than more shared server with you, saves in the json format
  3. print - prints list in the console sorted by amount of shared servers (from biggest to lowest)

Installation

  1. Clone/download repository
  2. Get in the downloaded directory: $ cd discord-global-mutual
  3. While in the folder, run $ npm install
  4. Run each of the scripts like shown below

Usage

$ node export.js [YOUR_DISCORD_USER_AUTH_TOKEN]
$ node compare.js
$ node print.js > output.txt

Getting Token

To get Discord user auth token, you can just get the one, that is used in your browser/discord client. Open Chrome Dev Tools -> Network tab, find any Discord API request, click on it, scroll to Request Headers, and there it is, the "authorization" header. Just copy the value and use it ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.