Update messageReactionAdd.js
ID Support, Boolean Changes
This commit is contained in:
1 parent
e6d63db3a9
commit
2c5ebd8620
1 file changed
+1
-1
@@ -17,7 +17,7 @@ module.exports = async (client, reaction, user) => {
|
||||
channel: reaction.message.channel
|
||||
}
|
||||
|
||||
if (supportbot.ReactionTickets === true) {
|
||||
if (supportbot.ReactionTickets) {
|
||||
if (reaction.message.id === tickets.ReactionMessage_ID) {
|
||||
if (reaction.emoji.name == supportbot.ReactionEmoji || reaction.emoji.id == supportbot.ReactionEmoji) {
|
||||
await reaction.users.remove(user.id)
|
||||
|
||||
Reference in new issue
Block a user