Androz2091 / discord-data-package-explorer

🌀 What's really in your Discord Data package?
https://ddpe.androz2091.fr
GNU General Public License v3.0
822 stars 77 forks source link

:bug: Fix "Data is Missing in your Package" #37

Closed ktwrd closed 3 years ago

ktwrd commented 3 years ago

When extractor.js is retrieving message/channel data it only check directories that have the prefix of c before the Channel ID. Added an extra array and moved the Promise containing the actual function to check the message/channel data into a separate function.

If there are directories that have the prefix of c and don't have the prefix of c in package.zip/messages/ it will prefer directories that have the prefix of c.

Tested with my own Discord Data from 31st August 2020. This is the reason why I've made this PR because it didn't work with my data but it does now.