N
N
not important .2020-12-01 12:35:59
Node.js
not important ., 2020-12-01 12:35:59

MessageReaction not working why?

Here is the code:

client.on('MessageReactionAdd', (reaction, user) => {
        console.log('add');
    })

    client.on('MessageReactionRemove', (reaction, user) => {
        console.log('remove');
    })

Every time someone puts or removes a reaction on the server, either 'add' or 'remove' should come out in the console, but nothing comes out, nothing at all, not even errors, please help...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
not important ., 2020-12-01
@26DiDi12

'MessageReactionAdd' надо было написать вот так - 'messageReactionAdd'

a
'MessageReactionRemove' надо было написать вот так - 'messageReactionRemove'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question