User Content
How can a userContent be made visible/usable to a certain position or to everyone without having to manually modify the settings from the Discord integration server settings?
- Discord.js:
discord.js@14.11.0
- Node Version: v18.16.0...
Command Handler Issues
I would like to use my command handler to execute this code whenever someone types a message in a specific channel. This command iis NOT tied to a slash command, but instead listens for messages sent by users. I don't understand how to make the command handler work with code other than code using SlashCommandBuilder.
Image still shows
Hi, I have the following code as an update to a previous interaction, as you can see, I have set the files: [] to an empty array so that any files from previous interaction will not show.
...
return interaction.update({embeds: [embed],components: [actions], files:[], ephemeral: true});
return interaction.update({embeds: [embed],components: [actions], files:[], ephemeral: true});

Banning doesn't delete msgs
I have made a ban code and will attach the important part below. The problem is that when I use the code, it bans the user but isn't deleting messages which I think it should.
Plz enlighten me on this issue
Thnx...
await user.ban({ deleteMessageSeconds: 60 * 60 * 24 * 7, reason: reason }
await user.ban({ deleteMessageSeconds: 60 * 60 * 24 * 7, reason: reason }
does any one know how to get discord to display your bots command for auto complete
hello I just finished coding my bot and i want to make it so that when you type the commands can be auto filled with tab
slash cmd doesn't work
hey! i have recently created a bot, but the ping slash cmd don't work, can you help me?
get "Global display name"
Hello!
Since the discord update, discriminator disappear, and we have now the option to set a "global display name". For example, mine is "Mara", and my pomelo is "mara__li".
I want to know how I can get the global display name with the discordJS api.
I tried:...
Expected a string primitive
Keep getting this from my embed fields
input.value
| | ValidationError > s.string...
Cannot read 'edit'
I cannot resolve this error, pls help me to fix it.
```javascript
…
collector.on('collect', i => {...

Pass variables into <ShardingManager>.broadcastEval
I have this code:
```ts
const params = {
guild_id: "",
channel_id: "",...
Embed Help
Can someone tell me why this doesn't work.
```const { EmbedBuilder } = require('discord.js');
...
ReferenceError: client is not defined
I have followed the guide on "https://discordjs.guide/#before-you-begin" and when I run the code "node deploy-commands.js" I am getting this error:
ReferenceError: client is not defined
at Object.<anonymous> (C:\Users\Tiaan\OneDrive\Desktop\Mario\commands\fun\wahoo.js:12:1)
at Module._compile (node:internal/modules/cjs/loader:1256:14)...
Member count help
I have the following code but I want it to exclude bots, any hep would be appreciated. Thanks!
`client.on('ready' , (c) => {
let memberCount = 0;
...
bot is online but not resieving messages
Hello i am new to coding and i got my bot to go online but when i send a command in the discord it doesnt show up in the console or respond please help
Anchor GUI Menu to bottom
Is it possible to anchor a GUI menu to the bottom of the chat so when messages from other users come in it doesn't push it up?
StringSelectMenuBuilder
This: https://old.discordjs.dev/#/docs/discord.js/main/class/StringSelectMenuOptionBuilder
seems to be missing some set methods like set label, set description
and this:...
Error ActionRowBuilder() and TypeScript
```ts
const avanzarDis = new ButtonBuilder()
.setCustomId("avanzar")
.setLabel(">")
.setStyle(ButtonStyle.Primary)...