v3.3.3 MAJOR FIX!

This commit is contained in:
DJj123dj
2023-04-22 16:52:43 +02:00
parent 5f8812d261
commit a6f67a9452
8 changed files with 13 additions and 14 deletions
+1 -2
View File
@@ -47,12 +47,11 @@ module.exports = () => {
//ticketoptions from config
const currentTicketOptions = configParser.getTicketById(customId)
if (currentTicketOptions == false) return interaction.reply({embeds:[bot.errorLog.serverError(l.errors.anotherOption)]})
if (interaction.isButton()){
try {
await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpe})
await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpen})
} catch{}
}else if (interaction.isChatInputCommand()){
await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpen})