'data':newSlashCommandBuilder().setName("remove-ticket-option").setDescription("Remove the option from tickets").addStringOption(_0x3041a0=>_0x3041a0.setName('option').setRequired(true).setAutocomplete(true).setDescription("Select the option.")).setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
async'run'(_0x193bcc,_0x126ce1){
let{
options:_0x1773b8
}=_0x126ce1;
const_0x458456={
ephemeral:true
};
await_0x126ce1.deferReply(_0x458456);
let_0x4b0c72=_0x1773b8.getString("option");
const_0x33bac2={
'name':_0x126ce1.guild.name
};
let_0x1354ed=newEmbedBuilder().setColor(ticket_settings.embed_color).setAuthor(_0x33bac2).setThumbnail(ticket_settings.ticket_thumbnail).setDescription("You successfully removed the option!");
let_0x2e11b3=awaitqueryMulti(db,"SELECT * FROM options WHERE guildID='"+_0x126ce1.guildId+"'");
const_0x5b030c={
"embeds":[_0x1354ed],
"ephemeral":true
};
if(_0x2e11b3.length>0x5){
return_0x126ce1.editReply(_0x5b030c);
}
db.query("DELETE FROM options WHERE id='"+_0x4b0c72+"'");
_0x1354ed.setDescription("You successfully created new option!");