问题描述
我尝试使用 list 命令列出此代码的存储数据,我尝试了很多但对我不起作用,
client.on("message",message=>{
if(!message.guild)return;
if(message.content.startsWith(prefix + "add")){
let user = message.mentions.users.first()
if(!user) return message.channel.send('**:x: You have to mention someone first.**')
if(db.fetch(`owner_${user.id}`)) return message.channel.send("**This user is already exists**")
db.set(`owner_${user.id}`,true)
message.channel.send(new discord.MessageEmbed().setColor('#4C6E70').setDescription(`**${user} Done.**`)).then(async msg => {
msg.react("✅")
})
}
}
});
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)