diff --git a/src/structure/components/commands/administration/Import.js b/src/structure/components/commands/administration/Import.js index d15bbce..fb36b81 100644 --- a/src/structure/components/commands/administration/Import.js +++ b/src/structure/components/commands/administration/Import.js @@ -102,6 +102,7 @@ class ImportCommand extends SlashCommand { await this.client.mongodb.infractions.updateOne({ _id: log._id }, { case: log.case }); } await this.client.mongodb.infractions.insertMany(imported); + if (!guild._data.caseId) guild._data.caseId = 0; guild._data.caseId += highestOldId; }