reference fix

This commit is contained in:
Erik 2022-01-12 17:01:25 +02:00
parent 44280ab9bb
commit 50664ad5df
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

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