From f9e60ac06870e7fb01065e5082fe761ac53b9df6 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 24 Sep 2022 18:16:38 +0200 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index fdaa35f1e6..70d5ac97a0 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2,7 +2,7 @@ * @name BDFDB * @author DevilBro * @authorId 278543574059057154 - * @version 2.6.2 + * @version 2.6.3 * @description Required Library for DevilBro's Plugins * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -4653,6 +4653,10 @@ module.exports = (_ => { try {for (let hook of stringObj.intMessage.format(formatVars).match(/\([^\(\)]+\)/gi)) formatVars[hook.replace(/[\(\)]/g, "")] = n => n;} catch (err2) {} } + if (stringObj.intlMessage) { + try {for (let hook of stringObj.intlMessage.format(formatVars).match(/\([^\(\)]+\)/gi)) formatVars[hook.replace(/[\(\)]/g, "")] = n => n;} + catch (err2) {} + } } } if (returnvalue) return parseLanguageStringObj(returnvalue);