1.0.0 • Published 3 years ago
discord-images-sad v1.0.0
Installation
npm
npm i discord-images-sad
github
git clone https://github.com/XDumpy/discord-images-sad
Usage
//Requirement Importer
const Discord_Images_SAD = require("discord-images-sad")
//Variables
const Discord_Token = "" //*Your discord token.
const Server_ID = 0 //*Server ID to scrape members picture & download.
//Main
Discord_Images_SAD.execute(Discord_Token, "./imagebase", Server_ID, 1, function(callback){
console.log(callback)
})
API
execute(discord_token, directory, server_id, amount, callback)
Module executer.
discord_token
Discord token to login to.
directory
Directory path on where to save downloaded images.
server_id
Server Id of the server that will be scraped & downloaded.
amount
The amount of images to be downloaded.
callback
returns module callback
Note
You don't need any permission in the server in order to do this except seeing other members. Make sure to install discord in version 11, because in version 12 you can no longer use discord to login in a account as a bot.
License
MIT © XDumpy
1.0.0
3 years ago