Update messageReactionAdd.js

This commit is contained in:
Kieran Davies authored and GitHub committed 2020-12-18 13:46:16 +00:00
1 parent f6d4383ff6
commit ed9b9dca79
1 file changed
+3 -3
+3 -3
View File
@@ -32,8 +32,8 @@ module.exports = async (bot, message) => {
reaction.users.remove(r.id)
});
const cmd = bot.commands.get(supportbot.NewTicket);
const ticketCMD = supportbot.NewTicket;
const cmd = bot.commands.get(ticketCMD);
if(!cmd) return;
console.log("1")
cmd.execute(bot, message, args);
@@ -46,4 +46,4 @@ module.exports = async (bot, message) => {
})
};
};