Missed a spot while removing the xp system

This commit is contained in:
TheEssem 2019-12-20 10:03:22 -06:00
parent 55ce34ded7
commit 1a1f21628b

View file

@ -11,18 +11,5 @@ module.exports = async (guild) => {
tags: misc.tagDefaults,
prefix: "&"
});
const memberInfo = {};
for (const member of guild.members) {
memberInfo[member.id] = {
xpAmount: 0,
level: 0
};
}
const xpDB = new db.xp({
id: guild.id,
members: memberInfo,
enabled: false
});
await guildDB.save();
await xpDB.save();
};