From f0cd344896497ff650708d58ff7a5219de426f10 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 7 Jul 2022 19:06:53 +0300 Subject: [PATCH] bugfix --- src/utilities/SettingsMigrator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/SettingsMigrator.js b/src/utilities/SettingsMigrator.js index 3f904f4..95c141e 100644 --- a/src/utilities/SettingsMigrator.js +++ b/src/utilities/SettingsMigrator.js @@ -207,7 +207,7 @@ class SettingsMigrator { } '2'(result) { - console.log(result); + if (result.settings) result = result.settings; const { moderation, modlogs, muterole, mutetype, automod, wordFilter, ignore, invitefilter, chatlogs, activity, selfrole, killitwithfire, memberlogs, staffRole, staffRule, modpoints, userlogs, grantable, privatelog, linkfilter, autorole, welcomer, prefix, protection } = result;