I can’t find GatewayIntentBits in the discord.js documentation. Where can I find it? [closed]
Closed 2 days ago.
How To Detect Interaction user in other bots
I wanted to make a bot with logger, for example when someone runs /ban in Carl bot, I want my bot to detect the interaction user who ran this slash cmd in Carl bot. Any idea how without using reference msg??
How to remove a role from a user using the ID & check if they have a certain role using the ID discord.js v14
I have searched EVERYWHERE, and cannot find the answer.
Embed not displaying correct thing
My code for this is:
Is there a way to talk to discord from a webbrowser on the client side without interacting on the server side?
I’m still in the planning phase and I’m doing this as a smaller part of a bigger project just to see if I can do this. But I’m trying to see if there is a way to talk to discord with javascript to send and recieve messages without it being server side, but I’m not sure exactly how to talk to discord if there are multiple users on the website. Is this something that is possible?
Discord.js collecting multiple interactions on multiple sets of buttons on different messages
I have a Discord.js bot that allows users to vote on the outcome of games. The admin uses a slash command that sends a message with 2 buttons attached representing the 2 possible votes. There will often be more than 1 game to vote on at a time. I am handling the interactions like this:
TypeError: Cannot read properties of undefined (reading ‘MessageAttachment’)
I’m a beginner to discord.js, currently I’m trying to develop a bot that will listen to a folder and send any files that are being added to the specific discord server’s specific channel. I’m getting this error when a new file is being added/removed from the folder, I don’t get what’s wrong.
error: