'data':newSlashCommandBuilder().setName("send-ticket-message").setDescription("Send a ticket message").addStringOption(_0x373a2d=>_0x373a2d.setRequired(false).setName("description").setDescription("Enter a description.")).setDefaultMemberPermissions(PermissionFlagsBits.Administrator),
async'run'(_0x28592b,_0x2ce1cf){
let{
options:_0x331145
}=_0x2ce1cf;
const_0x5862fd={
"ephemeral":true
};
await_0x2ce1cf.deferReply(_0x5862fd);
let_0x165176=_0x331145.getString("description");
while(_0x165176?.['includes']('[E]')){
_0x165176=_0x165176.replace("[E]","\n");
}
let_0x5162c1=newEmbedBuilder().setColor(ticket_settings.embed_color).setThumbnail(ticket_settings.ticket_thumbnail).setDescription("Please use /settings commands first!");
let_0x468465=awaitquery(db,"SELECT * FROM settings WHERE guildID='"+_0x2ce1cf.guildId+"'");
const_0x1b2ee6={
"embeds":[_0x5162c1],
"ephemeral":true
};
if(!_0x468465){
return_0x2ce1cf.editReply(_0x1b2ee6);
}
const_0x25bc63={
"name":"Ticket Support:"
};
_0x5162c1.setAuthor(_0x25bc63);
_0x5162c1.setDescription(_0x165176||"Click the button below to create a ticket!");