most of the files now support translation

v2.1.0 push 8
This commit is contained in:
DJj123dj
2022-06-23 16:07:49 +02:00
parent 9d19c7053b
commit 15825d0da6
13 changed files with 68 additions and 79 deletions
+2
View File
@@ -48,6 +48,8 @@ module.exports = () => {
//ticketoptions from config
const currentTicketOptions = getconfigoptions.getOptionsById(customId)
if (currentTicketOptions.type != "ticket") return interaction.reply({embeds:bot.errorLog.serverError("This option isn't a ticket!")})
if (currentTicketOptions == false || currentTicketOptions.type != "ticket") return interaction.reply({embeds:[bot.errorLog.serverError("This option is not a ticket but another type!")]})
if (interaction.isButton()){