Update messageReactionAdd.js
This commit is contained in:
1 parent
f6d4383ff6
commit
ed9b9dca79
1 file changed
+3
-3
@@ -32,8 +32,8 @@ module.exports = async (bot, message) => {
|
|||||||
reaction.users.remove(r.id)
|
reaction.users.remove(r.id)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const ticketCMD = supportbot.NewTicket;
|
||||||
const cmd = bot.commands.get(supportbot.NewTicket);
|
const cmd = bot.commands.get(ticketCMD);
|
||||||
if(!cmd) return;
|
if(!cmd) return;
|
||||||
console.log("1")
|
console.log("1")
|
||||||
cmd.execute(bot, message, args);
|
cmd.execute(bot, message, args);
|
||||||
@@ -46,4 +46,4 @@ module.exports = async (bot, message) => {
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user