Fix default config not used

This commit is contained in:
1computer1 2019-05-21 11:38:36 -04:00
parent a9aba8b06b
commit d40264f521

View file

@ -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;
}