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)
|
||||
});
|
||||
|
||||
|
||||
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) => {
|
||||
|
||||
})
|
||||
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user