Update forceclose.js
This commit is contained in:
1 parent
953db88ed2
commit
87262e82a3
1 file changed
+1
-1
@@ -31,7 +31,7 @@ exports.run = async (bot, message, args) => {
|
|||||||
.setColor(supportbot.EmbedColour)
|
.setColor(supportbot.EmbedColour)
|
||||||
if (!message.channel.name.startsWith(`${supportbot.Ticket_Channel_Name}-`)) return message.channel.send({embed: outsideticket});
|
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 uID = message.author
|
||||||
const reason = args.join(" ") || "No Reason Provided.";
|
const reason = args.join(" ") || "No Reason Provided.";
|
||||||
const name = message.channel.name;
|
const name = message.channel.name;
|
||||||
|
|||||||
Reference in new issue
Block a user