8.0.1 - Bug Fix

This commit is contained in:
1tzEmerald committed 2024-06-13 17:36:44 +01:00
1 parent 7449c0a61a
commit dcbddf9f23
8 files changed
+97 -67

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ module.exports = new Command({
(c) => c.name === supportbot.Ticket.TicketCategory || c.id === supportbot.Ticket.TicketCategory
);
const channel = await getChannel(panelconfig.Channel, interaction.guild);
const channel = await getChannel(supportbot.Ticket.TicketCategory, interaction.guild);
const ticketChannel = await channel.threads.create({
name: `${supportbot.Ticket.Channel}${ticketNumberID}`,
type: ChannelType.PrivateThread,