reference fix
This commit is contained in:
parent
44280ab9bb
commit
50664ad5df
@ -77,7 +77,7 @@ class DiscordClient extends Client {
|
|||||||
|
|
||||||
defaultConfig() {
|
defaultConfig() {
|
||||||
if(this._defaultConfig) return this._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;
|
let def = DefaultGuild;
|
||||||
for(const setting of settings.values()) {
|
for(const setting of settings.values()) {
|
||||||
if(setting.default !== null) {
|
if(setting.default !== null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user