Update close.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2019-12-03 23:22:54 +00:00
1 parent 320992f3fa
commit 6290fee7bd
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ exports.run = ( bot, message, args ) => {
message.delete();
if ( !message.channel.name.startsWith( `ticket-` ) ) {
if ( !message.channel.name.startsWith( `${bot.settings.Ticket_Channel_Name}-` ) ) {
const embed = new Discord.RichEmbed()
.setDescription( `:x: Cannot use this command becase you are outside a ticket channel.` )
.setColor( bot.settings.colour );