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.
When
extractor.js
is retrieving message/channel data it only check directories that have the prefix ofc
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 ofc
inpackage.zip/messages/
it will prefer directories that have the prefix ofc
.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.