我想从表userLevel中显示用户xp
代码如下:
connection.query(`SELECT userXP FROM 'userLevel' WHERE userID='${message.author.id}`, err => {
if(err) throw err;
message.channel.send({embed: {
color: 15844367,
description:
}
});
});
我不知道说明中显示的是xp
答案 0 :(得分:0)
connection.query(`SELECT userXP FROM 'userLevel' WHERE userID='${message.author.id}`, err => {
if(err) throw err;
message.channel.send({embed: {
color: 15844367,
description: userXP
}
});
});