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) {