This commit is contained in:
JonnyBro 2022-08-09 23:54:52 +05:00
parent bcd9a04559
commit 7bbb77937f

View file

@ -32,7 +32,7 @@ class ImportMee6 extends BaseCommand {
* @param {Object} data * @param {Object} data
*/ */
async execute(client, interaction, data) { async execute(client, interaction, data) {
const level = (await getUserXp(interaction.guildId, interaction.member.id)).level; const level = (await getUserXp(interaction.guildId, interaction.member)).level;
data.memberData.level = level; data.memberData.level = level;
await data.memberData.save(); await data.memberData.save();