doparata is a NodeJS script to get the list of mutual members in a list of a server as per the client.
Features in this program include:-
- Can return member information verbosely.
- Configuration and server list files in JSON.
- Compatible for use as both bot client and user client. (See further below).
- Pretty print (Indented+Non-JSON) or print out as JSON.
- Clone this repository:
git clone https://github.com/MajorGamerJay/doparata.git doparata-discord
- Install NPM Packages
cd doparata-discord
npm install
- Setup configuration:
Edit config/config.json
and fill the empty values
- Add server list:
Edit config/server_list.json
and add servers to the array
Using it with user account requires modification of the discord.js source code. Just follow the instructions given below. :D
-
Open
node_modules/discord.js/src/client/Client.js
with your favorite text editor. -
Replace
'BOT'
with''
-
Make sure it looks like this:
- Run
make
Alternatively, you can do:
node src/index.js
Pull requests are welcome and if you want to make a major contribution, better to open an issue and discuss about it first.
This program is created under MIT License 2.0