Update forceclose.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2020-03-31 00:15:10 +01:00
1 parent 953db88ed2
commit 87262e82a3
1 file changed
+1 -1
+1 -1
View File
@@ -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;