Skip to content

LockBlock-dev/discord-exporters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Exporter

Powerful NodeJS scripts to easily export your Discord data.

axios

GitHub stars

This tool can be use alongside with DiscordChatExporter.

Disclaimer

• This repository is an unofficial use of the Discord's API. Bugs can occur.

• You must also use your token in the process, something prohibited by Discord : "Automating normal user accounts [...] can result in an account termination". I can not be held responsible for the use of this script, nor any ban of your account.

Modules

Name Description Ban risk level Reason
Emotes Export your emotes Low Emotes are downloaded from the CDN
Friends-List Export your friends Low Only 1 request is made
Guilds Export your guilds Medium A lot of requests are made (with invites)
Token Get your token None Discord is closed during this process

How to use

• Download NodeJS and NPM

• Download the project or clone it

• Go to the Discord-Exporters folder and do npm install

• Edit the config :

token: "",
//your Discord token
debug: false,
//debug logs
pathToDiscordDB: "",
//path to Discord leveldb
//for Windows it is: C:/Users/USERNAME/AppData/Roaming/discord/Local Storage/leveldb
//used only in the Token getter

• Run it : with the starter / by doing node index.js / by doing npm start

• Find the results in the results folder

• These are in 3 formats :

JSON :

[
    {
        "property1": "property1",
        "property2": "property2"
    }
]

TEXT :

PROPERTY1 : PROPERTY2

IMAGES : emotes/GUILD_NAME/EMOTE_NAME.FILE_EXTENSION

Credits

Original leveldb-reader I used to make my own.

Copyright

Discord Inc.

See the license.