8.2
This commit is contained in:
1 parent
4f14722e14
commit
ac0daf5fe7
28 files changed
+929
-550
No files matched your search
@@ -35,8 +35,13 @@ module.exports = new Command({
|
||||
});
|
||||
}
|
||||
|
||||
const channelName = panelconfig.Channel;
|
||||
const channel = interaction.guild.channels.cache.find(ch => ch.name === channelName);
|
||||
const { getChannel } = interaction.client;
|
||||
|
||||
const channel = await getChannel(
|
||||
supportbot.Ticket.TicketHome,
|
||||
interaction.guild
|
||||
);
|
||||
|
||||
if (!channel) {
|
||||
console.log(`[TICKET PANEL] ${channelName} channel not found. Please check your config file.`);
|
||||
return interaction.reply({
|
||||
|
||||
Reference in new issue
Block a user