Fix default config not used
This commit is contained in:
parent
a9aba8b06b
commit
d40264f521
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class LanguageHandler extends AkairoHandler {
|
||||||
const o = this.client.config[key];
|
const o = this.client.config[key];
|
||||||
return typeof o === type
|
return typeof o === type
|
||||||
? o
|
? o
|
||||||
: o[dockerID] !== null
|
: o[dockerID] !== undefined
|
||||||
? o[dockerID]
|
? o[dockerID]
|
||||||
: o.default;
|
: o.default;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue