How do I make a reaction log?

I wan’t to make a reaction log for my server, but I keep getting undefined. Here’s the code: client.on(“messageReactionAdd”, async function (messageReaction, user, message) { const channel …

Unable to read standard emoji name from reaction [discord.js]

Hey I’m doing a bot and I need to get the name of the emoji from the reaction. I did it for now with console.log () but I was surprised because I got some kind of weird badge instead of the emoji name….

members map with a limit per page

how could I make a member limit on a page? for example: only 10 members would appear on the first page, and to see the second page you would have to react with ⏩ const { MessageEmbed } = require(‘…

Is there a current way to create a discord channel then select it later on?

Currently, I have been working on a Discord.js bot for a discord server I have. I want to make a command so that a user can open a ticket using !oticket and it will make a new channel that all of …

Discord.js Error – MaxListenersExceededWarning: Possible EventEmitter memory leak detected

Every time I try to make more than 10 commands I get the error: node MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [Client]. Use emitter….

how can i move users with reaction

im trying to create bot that move users when they react in message create channel and move the user to the channel that was created , err = Cannot read property ‘setChannel’ of undefined if(reaction….

How can I send a message to a specific channel by using my own “say” command in discord.js?

I tried to make a code like I write .say blabla” in another channel and It will delete my channel and send my message to “#general” but I can’t find a code to do this. client.on(‘…

My Discord bot does not respond to my messages

I am making a bot using Python. I am very new to coding with Python and I don’t understand a lot of things, I am just following a tutorial(https://youtu.be/j_sD9udZnCk) but I am stuck with my bot not …

JS- SyntaxError: Identifier ‘Client’ has already been declared [closed]

‘user strict’; const { Discord, Client, MessageAttachment } = require(‘discord.js’); const client = new Discord.Client(); client.on(‘ready’, () => { console.log(‘I am ready!’); }); //reply to …

Send a message to my private channel on join & leave

Heyo, I want my bot to send a embed message to my private discord server when it joins & leaves a server. But the problem is that it does not send anything anywhere. My code looks like this: …