Fixxed a copy error

replaced reactionUser with user cause reactionUser was defined in the ticket command
This commit is contained in:
DuAnti7423 committed 2021-05-22 23:38:32 +02:00
1 parent defd0cc78c
commit 4399dfe6b8
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ module.exports = {
.setDescription(`${user} is already blacklisted`)
.setColor(supportbot.ErrorColour)
if(user.roles.cache.find(role => role.name === supportbot.TicketBlackListRole) || reactionUser.roles.cache.find(role => role.id === supportbot.TicketBlackListRole)) {
if(user.roles.cache.find(role => role.name === supportbot.TicketBlackListRole) || user.roles.cache.find(role => role.id === supportbot.TicketBlackListRole)) {
return message.channel.send({
embed: embed4
})