forked from Galactic/galactic-bot
reference fix
This commit is contained in:
parent
44280ab9bb
commit
50664ad5df
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user