Javascript 如果用户有gif,如何显示用户化身
每次运行此命令时:Javascript 如果用户有gif,如何显示用户化身,javascript,node.js,discord,discord.js,Javascript,Node.js,Discord,Discord.js,每次运行此命令时: const profile = new Discord.MessageEmbed() .setTitle('**You need to set it as an option (ImageURLOptions documentation). Search for the dynamic parameter there. Your code would need to be this way : message.author.displayAva
const profile = new Discord.MessageEmbed()
.setTitle('**You need to set it as an option (ImageURLOptions documentation).
Search for the dynamic parameter there. Your code would need to be this way :
message.author.displayAvatarURL({ dynamic : true })
const profile=new Discord.MessageEmbed()
.setTitle('**您需要将其设置为选项()
在此处搜索动态参数。您的代码需要如下所示:
message.author.displayAvatarURL({dynamic:true})
我想说这可能是不可能的。这似乎是一个很好的功能,可以用来建议Discord。