This commit is contained in:
Louis Mazin 2025-07-01 15:30:06 +02:00
parent f0c6b15974
commit fede7cf8bc

View File

@ -74,7 +74,7 @@ client.on(Events.InteractionCreate, async interaction => {
}); });
client.on(Events.MessageReactionAdd, async (reaction, user) => { client.on(Events.MessageReactionAdd, async (reaction, user) => {
console.log('Réaction détectée:', reaction.emoji.name, 'par', user.username); // <- Ajout de ce log
if (user.bot) return; if (user.bot) return;
if (reaction.emoji.name !== '❓') return; if (reaction.emoji.name !== '❓') return;