Update close.js

This commit is contained in:
Two authored and GitHub committed 2020-07-27 10:43:51 -04:00
1 parent 51ad35f72b
commit ceddd503f8
1 file changed
+3 -1
+3 -1
View File
@@ -13,6 +13,8 @@ module.exports = {
description: supportbot.CloseTicketDesc,
execute(message, args) {
if (supportbot.DeleteMessages == "true") message.delete();
console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.CloseTicket}!`);
if (!message.channel.name.startsWith( `${supportbot.TicketChannel}-` )) {
@@ -144,4 +146,4 @@ module.exports = {
}
}
};
};