Skip to content
Advertisement

Tag: discord.js

How do I delete a user’s new message

I’m pretty trash at coding so I need a little bit of help. I’m trying to code my discord bot to delete someone’s messages for one minute after they click a react emoji. It sounds simple but for my tiny pea brain, it’s not. This is what I have got so far. It deletes all messages from different users and

Unexpected token error in the discord.js bot’s code

So i was making a logger that basically logs all the nick role or username changes etc using discord.js documentation. Someone helped me to get this code but when I tried running it, it gives me an error. The code: I am really new with js so it might be a really stupid error The error: Can someone help me

Advertisement