the code i wrote is this:
module.exports = {
data: 'message',
async execute(message) {
if (message.channel.id === '923887255251193916') {
message.react('<:upvote:924217320975499334>');
message.react('<:downvote:924218322675970068>');
message.react('<:sidevotemarosso:947796419887128637>');
message.react('⭐');
}
}
}`
the module.exports = { data: 'message', async execute(message) {
part is there because i have many commands in different files, even if this is an event i got it separately. I don't get any error in the terminal, so i cant understand what's wrong with it. Any help?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/FycXvnh
Comments
Post a Comment