Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2022-09-24 18:16:38 +02:00
parent 90cc224fd9
commit f9e60ac068
1 changed files with 5 additions and 1 deletions

View File

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