Update close.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2021-06-15 19:08:46 +01:00
1 parent 0d76e76519
commit 0631ab536a
1 file changed
-2
-2
View File
@@ -15,8 +15,6 @@ module.exports = {
execute(message, args) {
if (supportbot.DeleteMessages) 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}-` )) {
const Exists = new Discord.MessageEmbed()
.setTitle("No Ticket Found!")