'data':newSlashCommandBuilder().setName("create-ticket-option").setDescription("Create new option for tickets").addStringOption(_0x1c845e=>_0x1c845e.setName("name").setRequired(true).setDescription("Enter a option name.")).addStringOption(_0x150601=>_0x150601.setName("description").setRequired(true).setDescription("Enter a description for option.")).addChannelOption(_0x26102f=>_0x26102f.addChannelTypes(ChannelType.GuildCategory).setRequired(true).setName("category").setDescription("Select the category for new tickets.")).setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
async'run'(_0x3829be,_0x47ca10){
let{
options:_0x5b2b87
}=_0x47ca10;
const_0x5500bc={
"ephemeral":true
};
await_0x47ca10.deferReply(_0x5500bc);
let_0x225d14=_0x5b2b87.getString('name');
let_0x325a7c=_0x5b2b87.getChannel('category');
let_0x9a57c7=_0x5b2b87.getString("description");
const_0x4103dd={
'name':_0x47ca10.guild.name
};
let_0x1ea7b2=newEmbedBuilder().setColor(ticket_settings.embed_color).setAuthor(_0x4103dd).setThumbnail(ticket_settings.ticket_thumbnail).setDescription("You can't have more than 5 option!");
let_0x5d70b1=awaitqueryMulti(db,"SELECT * FROM options WHERE guildID='"+_0x47ca10.guildId+"'");