fix
This commit is contained in:
1 file changed
+1
-1
@@ -28,7 +28,7 @@ module.exports = {
|
||||
run: async (client, interaction, args, { GuildDB }) => {
|
||||
|
||||
if (!client.exists(GuildDB.playerstats)) {
|
||||
GuildDB.playerstats = [];
|
||||
GuildDB.playerstats = [{}];
|
||||
this.dbo.collection("guilds").updateOne({ "server.serverID": guild.serverID }, {
|
||||
$set: {
|
||||
"server.playerstats": []
|
||||
|
||||
Reference in new issue
Block a user