Update close.js
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -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 = {
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user