Update messageReactionAdd.js

This commit is contained in:
ItzEmerald authored and GitHub committed 2021-03-30 20:12:29 +01:00
1 parent 7780fa792c
commit a8f91c4814
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ module.exports = async (client, reaction, user) => {
channel: reaction.message.channel
}
if (supportbot.ReactionTickets === "true") {
if (supportbot.ReactionTickets === true) {
if (reaction.message.id === tickets.ReactionMessage_ID) {
if (reaction.emoji.name == supportbot.ReactionEmoji || reaction.emoji.id == supportbot.ReactionEmoji) {
await reaction.users.remove(user.id)