every file now supports translation & the languages "custom & dutch" are added

v2.1.0 push 9
This commit is contained in:
DJj123dj
2022-06-23 19:59:35 +02:00
parent 15825d0da6
commit 0bbde2018c
11 changed files with 190 additions and 46 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ module.exports = async () => {
if (interaction.customId.startsWith("newR")){
const optionid = interaction.customId.split("newR")[1]
if (!optionid){
interaction.reply({embeds:[bot.errorLog.serverError("This role doesn't exist anymore!")]})
interaction.reply({embeds:[bot.errorLog.serverError(l.errors.roleDoesntExist)]})
return
}
}
@@ -56,7 +56,7 @@ module.exports = async () => {
}
}catch{
interaction.replyinteraction.channel.send({embeds:[bot.errorLog.serverError("Something went wrong!**\nPlease try again another time!")]})
interaction.replyinteraction.channel.send({embeds:[bot.errorLog.serverError(l.errors.somethingWentWrong)]})
}
})
}