From d40264f521897eb2a3fa0d7cfd0e6d73f3df18a8 Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Tue, 21 May 2019 11:38:36 -0400 Subject: [PATCH] Fix default config not used --- src/struct/LanguageHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }