8.0.1 Bug Fix

This commit is contained in:
1tzEmerald committed 2024-06-13 18:01:41 +01:00
1 parent dcbddf9f23
commit 8d8d9e4bee
4 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ module.exports = new Command({
});
}
const channelName = panelconfig.TicketCategory;
const channelName = panelconfig.Channel;
const channel = interaction.guild.channels.cache.find(ch => ch.name === channelName);
if (!channel) {
console.log(`[TICKET PANEL] ${channelName} channel not found. Please check your config file.`);