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];
|
||||
return typeof o === type
|
||||
? o
|
||||
: o[dockerID] !== null
|
||||
: o[dockerID] !== undefined
|
||||
? o[dockerID]
|
||||
: o.default;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue