diff --git a/index.js b/index.js index 611ff04..3d34a25 100644 --- a/index.js +++ b/index.js @@ -51,7 +51,7 @@ client.on(Events.MessageCreate, async (message) => { userstoreact.forEach(async (usr) => { if (message.mentions.users.find((u) => u.id == usr.userId)) { try { - await message.react(emoji); + await message.react(usr.emoji); } catch (err) { console.error("Failed to react to message:", err); }