When running node export.js [token] it returns an error.
[ user@local ] discord-global-mutual $ node export.js [token]
[info] requesting users for guild: xxxxxxxxxxxxxxxxxxx
[info] requesting users for guild: xxxxxxxxxxxxxxxxxxx
[info] requesting users for guild: xxxxxxxxxxxxxxxxxxx
TypeError: results.map is not a function
at getMembers (/home/user/documents/discord/discord-global-mutual/export.js:12:34)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /home/user/documents/discord/discord-global-mutual/export.js:39:47
at async Promise.all (index 2)
at async main (/home/user/documents/discord/discord-global-mutual/export.js:40:22)
TypeError: results.map is not a function
at getMembers (/home/user/documents/discord/discord-global-mutual/export.js:12:34)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /home/user/documents/discord/discord-global-mutual/export.js:39:47
at async Promise.all (index 1)
at async main (/home/user/documents/discord/discord-global-mutual/export.js:40:22)
TypeError: results.map is not a function
at getMembers (/home/user/documents/discord/discord-global-mutual/export.js:12:34)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /home/user/documents/discord/discord-global-mutual/export.js:39:47
at async Promise.all (index 0)
at async main (/home/user/documents/discord/discord-global-mutual/export.js:40:22)
When running node export.js [token] it returns an error.