openticket v3.0.1

This commit is contained in:
DJj123dj
2022-12-10 12:59:44 +01:00
parent f3613fb674
commit 33c3803ca8
8 changed files with 30 additions and 8 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ module.exports = () => {
var customId = "OTnewT"+interaction.options.getString("type")
}else if (interaction.isButton()){
var customId = interaction.customId
}else if (interaction.isSelectMenu() && (interaction.customId == "OTdropdownMenu")){
}else if (interaction.isStringSelectMenu() && (interaction.customId == "OTdropdownMenu")){
var customId = interaction.values[0]
}else return
@@ -53,7 +53,7 @@ module.exports = () => {
interaction.deferUpdate()
}else if (interaction.isChatInputCommand()){
interaction.reply({embeds:[bot.errorLog.success(l.messages.createdTitle,l.messages.createdDescription)]})
}else if (interaction.isSelectMenu()){
}else if (interaction.isStringSelectMenu()){
await interaction.deferUpdate()
}