,机器人会直接向命令的编写者发送一条消息,以回答一系列问题,这是我尝试的代码:node_modules/discord.js/src/rest/RequestHandler.js:350
throw new DiscordAPIError(data, res.statusDiscordAPIError: Cannot send an empty
在尝试使用此代码时,我得到了以下错误:let name = part + num + ".gif";
embed.setImage('attachment://' + name);
TypeError: embed.attachFiles is not a function
如果删除embed.attach
当我运行help命令时,它是DiscordAPIError: Cannot send an empty message if (message.author.bot) return; //if a bot return
let prefix = await db.get(`prefix_${message.guild.id}`)//getti