openticket v3.0.1
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user