djs-questions

13317 threads · Page 130 of 267

can I mix all the bot token in a project and working 2 messages
pliant sun can I mix all the bot token in a project and working?
@discordjs package
Discord Automod 50 messages
Create Forum Tags 11 messages
supple pumice Hey, how can I create Forum Tags? I try it on discord.js
Question relating to DMs 7 messages
edgy dune When users disable permissions for server members to DM them, when a bot tries to DM them, it produces an error. I can u...
Bot not responding to commands 3 messages
pallid helm https://pastebin.com/W7JVjaa9 Whenever I run this code, it just says `This application did not respond` and no error mes...
After interaction.reply() how do I get the interaction's sent message ID? 4 messages
ionic wigeon I've been looking through the docs, but I can't find a way to get the message's ID... it exist though, as a dev account ...
Question 4 messages
steel dove Hi, why its creating a text channel and not a voice channel
Error 7 messages
Bot unresponsive after failed heartbeat 2 messages
white ore Three times in the last month I have got the message ```[HeartbeatTimer] Didn't receive a heartbeat ack last time, assum...
@discordjs package
How can I get all people that are using voice chat on my discord server? 3 messages
orchid trail Hello, recently I've tried getting all people using my vc and I've ran into an issue with it... The code looks like this...
Enable Community using Discord.js 33 messages
cerulean ledge So, this might be a stupid question, but I haven't found anything about it online. Is there any way for a bot (programme...
permissionOverwrites 2 messages
faint sinew ```js newState.guild.channels.create(String(chname.replace("{user}", newState.member.user.username)).substr(0, 32), { ...
Interaction has already been acknowledged - yet I am not acknowledging it ? 12 messages
arctic siren I have had a look through my code and I will append it below, however, I do not see where the issue is appearing as it i...
Remove Emoji 4 messages
jovial moon How To Remove Emoji From Button Builder After Sent
Remove Label Not Working 29 messages
jovial moon Error ```emojiBtn.setEmoji(emoji).setStyle(ButtonStyle.process).removeLabel();```
Fetching Roles 41 messages
last lantern Hey , im trying to fetch all roles in discord with a specific name , hmmi guess im kinda doing right but i cant undresta...
Delete Interaction Message 4 messages
jovial moon How To Delete Iteraction Message When Button Clicked.
Voice chat join event detection and handling 2 messages
eternal topaz Please god someone tell me how to respond accordingly to when a user enters a VC, the documentation is nonexistent and n...
Delete Collector Message 4 messages
Button to show modal 7 messages
near shale Hello, how can I show a modal to a user after a button was pressed?
Error whenever I'm trying to start the bot after writing the deploy-command.js 15 messages
autumn pagoda So i've just copied the code down from github under the deploy-commands.js file, but whenever I try to start the bot it ...
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 6 messages
uneven halo Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActionRowComponent<APIMessageActionRowCompone...
Update Guild Data 2 messages
viral viper (the `memberCount`, it isn't giving me accurate values, about a million lesser) my server started acting weird since ye...
Not enough sessions remaining to spawn 1 shards; only 0 remaining; 5 messages
weak narwhal command: `ts-node-dev --respawn --transpile-only main.ts` when I start the command I am getting this error when authent...
Embed not being sent 47 messages
ashen topaz ^
Discord-rpc 6 messages
wooden tree I cant find the docs for discord-rpc can anyone point me to them?
RPC
interaction fetchReply attachment URL is different than the actual URL 13 messages
remote kite I'm trying to retrieve the image URL from the attachment using fetchReply, yet the URL/ID seems to be a different one th...
Timeout on deferReply 6 messages
river island Good morning, is there a way to extend the time on the TOKEN for when you have run interaction.deferReply() obvisouly it...
How does Djs bundle everything into one file? 5 messages
mossy belfry Hello! I'm actually new to typescript and everything, but I made myself a small discord.js "utils" library. I was wonde...
@discordjs package
Accessing usernames with the new username system 8 messages
void mural Is it going to stay as `interaction.user.username` or will it change?
problem witch code js 7 messages
peak grove when I use a java script code and I put my bot's token after it no longer connects and it's boring (thank you I'm doing ...
Message content length without Message Content Intent? 7 messages
stray vigil Is there a way to get the length of the content of a message without the Message Content Privileged Intent? My bot was ...
No handler for command? 2 messages
calm sun I've never seen this... help???? https://img.sticks.ovh/inHFaGyx5
[SOLVED] Unable to source error… 13 messages
toxic vale The code `class AutodeleteReply`: ```js class AutodeleteReply { constructor( interaction, client, expirati...
Need help getting Discord Client Type and Version 17 messages
small coral So for my stats.js command I am trying to get Discord Client (Mobile, web, desktop) and Version (like what update the cl...
Why I'm unable to send messages in Announcement type channels? 19 messages
sleek shuttle ```js module.exports = { name: 'msg', description: "", run: async (client, message, args) => { var ...
Reload of Commands throws errors 14 messages
quaint frost Hi, I am testing out the reload function for the commands from the djs guide. However even if I follow everything from t...
guild.scheduledEvents.create not working with latest version 10 messages
cobalt echo { "name": "qsdas", "scheduledStartTime": "2023-05-24 16:15+05:30", "scheduledEndTime": "2023-05-...
Begginer | Adding one slash command 13 messages
woeful terrace Alright, so I'm new to discord.js, but apparently I seem to need a lot of code just for the most simple command. First ...
DisCloud 3 messages
clever yacht hey so does anyone know how exactly does discloud get your bots tag, avatar (basically the user object) by just providin...
Display "Failed of the interaction" but no logs error and still running well 5 messages
sacred dirge I've done a pagination on an embed, everything works well when i click on navigation buttons but a very ugly red message...
Send message to a channel after interaction expiry? 3 messages
viral schooner Creating a reminderbot with customizable frequency, but frequency will be in the order of hours rather than minutes... h...
Cannot retrieval a list of member by role id 8 messages
agile lily Hi guys, I'm working on discord.js v14.11.0 on Node.js I would like to retrieval a list of member has a specific role b...
Which part of the code do I copy to put a button on my embed? 12 messages
Command options 3 messages
topaz shale Im trying to add command options so i can be able to @ people while in the command and a few other things im not sure wh...
what does this mean 4 messages
Discord
Ping is not defined 6 messages
ashen topaz ^
Accessing direct messages? 6 messages
humble bough Hi I am trying to see whenever my bot was DM'ed and then send the dm to myself , the first part I was testing for this w...
How can I reset a select menu and then show a modal? 7 messages
magic jasper I've tried using `interaction.update()` but it doesn't work
I don't know how to activate responses based on each button 10 messages
bronze ice ```js async function battleButtons(player1Id, player2Id, message, battleEmbed, time) { const row = new ActionRowBui...