test
This commit is contained in:
parent
f0c6b15974
commit
fede7cf8bc
2
index.js
2
index.js
@ -74,7 +74,7 @@ client.on(Events.InteractionCreate, async interaction => {
|
||||
});
|
||||
|
||||
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 (reaction.emoji.name !== '❓') return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user