From 87262e82a3d875ec9e2302078f2b9b6383e78217 Mon Sep 17 00:00:00 2001 From: ItzEmerald Date: Tue, 31 Mar 2020 00:15:10 +0100 Subject: [PATCH] Update forceclose.js --- commands/forceclose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;