diff --git a/commands/forceclose.js b/commands/forceclose.js index 72a630c..10df40a 100644 --- a/commands/forceclose.js +++ b/commands/forceclose.js @@ -31,7 +31,7 @@ exports.run = async (bot, message, args) => { .setColor(supportbot.EmbedColour) if (!message.channel.name.startsWith(`${supportbot.Ticket_Channel_Name}-`)) return message.channel.send({embed: outsideticket}); - const log = message.guild.channels.find(channel => channel.name === supportbot.Transcript_Logs) + const log = message.guild.channels.find(channel => channel.name === supportbot.Transcript_Log) const uID = message.author const reason = args.join(" ") || "No Reason Provided."; const name = message.channel.name;