Missed a spot while removing the xp system
This commit is contained in:
parent
55ce34ded7
commit
1a1f21628b
1 changed files with 0 additions and 13 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue