discord-rpc
```js
const RPC = require('discord-rpc');
const rpc = new RPC.Client({
transport: 'ipc'
});...

Need help setting up d.js
I am at "loading file commands" and dont understand how to add the code to the current index.js file. I tried using ChatGPT, but it didnt work.
Missing modal update method
According to this guide, there is a method to update the message when the modal was shown from a ButtonInteraction. But here it is missing.
DiscordJS version:
```bash
$ npm ls discord.js ...

Discord v2 components
Hello, I would like to know when the v2 components will be added to discord.js? And if there is currently an alternative to use them in JavaScript?
Bot becomes unresponsive when i close vs code but responds again when i have vs code back
Bot becomes unresponsive when i close vs code but responds again when i have vs code back and running node index.js. I tried doing pm2 setup commands but still its unresponsive, is it possibly because of hosting or is it any other cache?
Your help is appreciated....
Fix Welcome @unknown-user with guildMemberAdd
Hey
Our bot sends a welcome message with an @tag to the person who just joined the server. (guildMemberAdd)
However since recently this has gone wrong and looks like this:
(Screenshot)...

Discord away message
Is there a way to make a bot that reads the user's dms and messages back? (like a gmail away message)
Why slash commands not registering on servere host
So i try slash command on local machine and it fine
In DM commands is not working
I tried to many times but I am not getting where I messed up. I want some commands to run in clients dm. Basically prefix commands.
Using discord.js: v14.18.0
node version : v22.14.0...
Detect rename / setParent discord api rate limit
Hello guys ? How can I handle the rate limit of channel remane or setParent ? I'm trying to catch the error but nothing is catched I only get a The application did not respond on discord
Error with guild.members.me
Our bot is divided into several shards and clusters. To be able to make some updates, we go through each cluster and then each guild with client.guilds.cache.values(). But then guild.members.me is often null. However, the bot is still on the server. What could be the reason for this?
Is there a way to reset placeholder value and not have the message labelled as edited?
in continuance to #How to reset select menu placeholder after an option is selected, i only noticed this change after closing that thread
How to reset select menu placeholder after an option is selected
im trying to something like a menu that ppl do with discohook, but with a discord bot instead and i couldnt get the bot to reset the menu to its placeholder text after an option is selected, it keeps stuck on the option that was chosen last. couldnt find a proper solution googling it,

Pinging Roles on interaction reply messages
i have a basic command that pings the chat revive role when run, but i cant seem to get the bot to ping the members with the role. is there something i am missing
here is my code:
```js
const { SlashCommandBuilder } = require('discord.js');...
What's the most effective way to handle hundreds (300+) of users who join a single VC to be sorted?
The requirements:
- User joinsVoice Channel A
-Voice Channel A
will have hundreds of users join at once - Each user will need to be filtered (based on internal data from a database, have a local cache with sorting information) to another voice channel - There are currently 4 voice channels to be sorted to, channelsB
,C
,E
,F
, with possibilities of expansion in the future...
How to handle cancellations on individual reoccurring events?
I have a simple bot to clone events and announce them. a new partnership now uses reoccurring events, so i got to fix them today. I had to notice today tho that DJS does not handle cancellations of individual events, unless i don't quite understand how that works. So before I open up a feature request, I was curious, if i was missing something.
I tried checking for GuildScheduledEvent#isCanceled but that does not work and canceling the whole event calls a different event (guildScheduledEventDelete) and not guildScheduledEventUpdate.
But from what I can see on the GuildScheduledEvent - Structure in the docs it doesn't seem to have any fields related to these kinds of edge cases.
...