v2.5 (added translation for 2 new languages)

This commit is contained in:
DJj123dj
2022-08-14 21:23:04 +02:00
parent 568b2c9bee
commit 0845390569
11 changed files with 193 additions and 215 deletions
+19
View File
@@ -0,0 +1,19 @@
const discord = require('discord.js')
const bot = require('../../index')
const client = bot.client
const config = bot.config
const log = bot.errorLog.log
const loadChalk = async () => {
return await (await import("chalk")).default
}
//ENABLE message for when there is too less translation
const enableNoTranslationMessage = true
module.exports = async () => {
const chalk = await loadChalk()
if (enableNoTranslationMessage){
console.log(chalk.red("[warning]"),"WARNING!!\n"+chalk.blue("We have a small problem with translation atm, so it can be that "+chalk.redBright("some translations are in English!")+"\n\nYou can help us if you want by joining our server!\n"))
}
}