From 50664ad5dff39f588b6a9338e6ced4083554c4a0 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Wed, 12 Jan 2022 17:01:25 +0200 Subject: [PATCH] reference fix --- src/structure/DiscordClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/DiscordClient.js b/src/structure/DiscordClient.js index 35dd29d..a3bd6ab 100644 --- a/src/structure/DiscordClient.js +++ b/src/structure/DiscordClient.js @@ -77,7 +77,7 @@ class DiscordClient extends Client { defaultConfig() { if(this._defaultConfig) return this._defaultConfig; - const settings = this.registry.components.filter((c) => c.type === 'setting'); + const settings = this.registry.components.filter((c) => c._type === 'setting'); let def = DefaultGuild; for(const setting of settings.values()) { if(setting.default !== null) {