diff --git a/src/struct/LanguageHandler.js b/src/struct/LanguageHandler.js index 353fb8b..a97955a 100644 --- a/src/struct/LanguageHandler.js +++ b/src/struct/LanguageHandler.js @@ -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; }