most of the files now support translation
v2.1.0 push 8
This commit is contained in:
@@ -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()){
|
||||
|
||||
Reference in New Issue
Block a user