'data':newSlashCommandBuilder().setName("settings").setDescription("Set the settings tickets").addRoleOption(_0x1bd6f0=>_0x1bd6f0.setRequired(true).setName("support-role").setDescription("Set the support role for tickets.")).addChannelOption(_0x2fec86=>_0x2fec86.setRequired(true).setName("log-channel").setDescription("Select the channel for transcripts.")).setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
async'run'(_0x3e99a2,_0x4b4680){
let{
options:_0x3d516c
}=_0x4b4680;
const_0x5be46d={
ephemeral:true
};
await_0x4b4680.deferReply(_0x5be46d);
let_0x164c0a=_0x3d516c.getRole("support-role");
let_0x24eac8=_0x3d516c.getChannel("log-channel");
const_0xd64bc5={
name:_0x4b4680.guild.name
};
const_0x5bcae0={
dynamic:true
};
let_0x526490=newEmbedBuilder().setColor(embed_color).setAuthor(_0xd64bc5).setThumbnail(_0x4b4680.guild.iconURL(_0x5bcae0)).setDescription("You successfully change the settings.");
db.query("INSERT INTO settings (log_channelID, support_roleID, ticket_counter, guildID) VALUES ('"+_0x24eac8.id+"', '"+_0x164c0a.id+"', '0', '"+_0x4b4680.guildId+"') ON DUPLICATE KEY UPDATE log_channelID='"+_0x24eac8.id+"', support_roleID='"+_0x164c0a.id+"'");