Update remove.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2019-12-03 23:24:22 +00:00
1 parent a90b43aba3
commit 34b6901434
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ if (!message.member.roles.has(staffGroup.id)) return message.reply({embed: donot
const outsideticket = new Discord.RichEmbed() const outsideticket = new Discord.RichEmbed()
.setDescription(`:x: Cannot use this command becase you are outside a ticket channel.`) .setDescription(`:x: Cannot use this command becase you are outside a ticket channel.`)
.setColor(bot.settings.colour) .setColor(bot.settings.colour)
if (!message.channel.name.startsWith(`ticket-`)) return message.channel.send({embed: outsideticket}); if (!message.channel.name.startsWith(`${bot.settings.Ticket_Channel_Name}-`)) return message.channel.send({embed: outsideticket});
let rUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0])); let rUser = message.guild.member(message.mentions.users.first() || message.guild.members.get(args[0]));