at Function.resolveFile (C:\Users\ACER PREDATOR 300\Desktop\MathBot\node_modules\discord.js\src\util\\discord.js\src\structures\MessagePayload.js:257:41)
at C:\Users\ACER PREDATOR 300\Desktop\MathBot\node_modules\discord.js\src\struc
我有一个模块,用户可以在该模块中获取图片(这将转换为base64 string,然后转换为file),我需要将文件上传到服务器,但在将base64转换为file object并将其附加到formData-- some other input information -->js ...var formData = new FormData($(this)[0]);