fix
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -29,7 +29,7 @@ module.exports = {
|
||||
|
||||
if (!client.exists(GuildDB.playerstats)) {
|
||||
GuildDB.playerstats = [{}];
|
||||
this.dbo.collection("guilds").updateOne({ "server.serverID": guild.serverID }, {
|
||||
client.dbo.collection("guilds").updateOne({ "server.serverID": guild.serverID }, {
|
||||
$set: {
|
||||
"server.playerstats": []
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user