v3.5.5 hotfix (instant push)
This commit is contained in:
@@ -49,18 +49,10 @@ module.exports = () => {
|
||||
const currentTicketOptions = configParser.getTicketById(customId)
|
||||
if (currentTicketOptions == false) return interaction.reply({embeds:[bot.errorLog.serverError(l.errors.anotherOption)]})
|
||||
|
||||
if (interaction.isButton()){
|
||||
if (interaction.isButton() || interaction.isStringSelectMenu() || interaction.isChatInputCommand()){
|
||||
try{
|
||||
await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpen})
|
||||
}catch{}
|
||||
}else if (interaction.isChatInputCommand()){
|
||||
try {
|
||||
await interaction.deferReply({ephemeral:config.system.answerInEphemeralOnOpen})
|
||||
} catch{}
|
||||
}else if (interaction.isStringSelectMenu()){
|
||||
try {
|
||||
await interaction.deferUpdate()
|
||||
} catch{}
|
||||
}
|
||||
|
||||
const currentUserTicketAmount = storage.get("amountOfUserTickets",interaction.member.id)
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
"dependencies": {
|
||||
"axios": "^1.6.2",
|
||||
"chalk": "^5.0.1",
|
||||
"discord.js": "^14.14.1"
|
||||
"discord.js": "^14.15.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user