test
This commit is contained in:
parent
0b4f9f9b63
commit
4e0f1678be
6
index.js
6
index.js
@ -56,11 +56,7 @@ client.once('ready', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
client.on('messageReactionAdd', async (reaction, user) => {
|
client.on('messageReactionAdd', async (reaction, user) => {
|
||||||
console.log('=== ÉVÉNEMENT REÇU ===');
|
console.log('reaction received', reaction.emoji.name, user.username);
|
||||||
console.log('Emoji:', reaction.emoji.name);
|
|
||||||
console.log('Utilisateur:', user.username);
|
|
||||||
console.log('Bot?:', user.bot);
|
|
||||||
console.log('======================');
|
|
||||||
|
|
||||||
if (user.bot) return;
|
if (user.bot) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user