From d2cf41b28f65fbbf50bf3a4286b4c3424c07bb1b Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Mon, 25 Apr 2022 16:25:40 +0300 Subject: [PATCH] blagus --- src/structure/components/commands/administration/Import.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structure/components/commands/administration/Import.js b/src/structure/components/commands/administration/Import.js index 4a18638..4558837 100644 --- a/src/structure/components/commands/administration/Import.js +++ b/src/structure/components/commands/administration/Import.js @@ -66,6 +66,7 @@ class ImportCommand extends SlashCommand { if(hook) await guild.updateWebhook('messages', hook); } else if (version === '3') { delete webhook._id; + delete webhook.feature; await this.client.storageManager.mongodb.webhooks.updateOne({ feature: 'messages', guild: guild.id }, webhook); } }