You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding files as an array to the createMessage function, files do not display correctly as they contain errors. This happens even though each item in the array is a correct file object that works if sent individually.
I was able to find a quick fix that allows both images to be sent. This is by adding the previous lines into the files /src/sharding/clustermanager.js and /src/structures/SyncedRequestHandler.js after,
The Problem
When adding files as an array to the createMessage function, files do not display correctly as they contain errors. This happens even though each item in the array is a correct file object that works if sent individually.
Example
Running this function:
Returns this:

If these files are attempted to be downloaded, a webpage displays, "The image cannot be displayed because it contains errors."
Fix
I was able to find a quick fix that allows both images to be sent. This is by adding the previous lines into the files
/src/sharding/clustermanager.js
and/src/structures/SyncedRequestHandler.js
after,and
respectively.
The text was updated successfully, but these errors were encountered: