djs-questions

9202 threads · Page 37 of 185

Debug Undici 6 messages
scarlet geyser so discord.js uses undici on the backend and I've been having connection issues so I want to debug it. I've added a sta...
1150878580193116250
Vote Button Update Logic 4 messages
woeful badge Hey, I'm working on a bot that implements mafia game mechanics, and I'm facing a challenge with updating the dynamic co...
UND_ERR_CONNECT_TIMEOUT 1 messages
lean light Hello I am new to discord.js. I am trying to follow guide to learn how to bulid a basic bot on discord. As image shows, ...
call translation 4 messages
shell grove I am creating a bot that is capable of: 1) Recognize what the user says 2) Translate what the user said into a certain ...
User Context Menu in group dms - not sending interaction to gateway 6 messages
inner kraken Hello All, I have setup a user context command for reporting messages to my community. This command is user-installable....
1150878580193116250 998292157150535700
Activities 4 messages
alpine salmon How do you create activities like this with djs?
How to setup constants/variables outside of module.exports ? 5 messages
pure vapor Look at the image. I want to use the RateLimiter inside the command's run-function but I need to set it up somehow since...
1150878580193116250
the submitreview button is only becoming available after i submit all the 4 inputs and resubmit sum 14 messages
north temple { postInfoFilled: false, paymentInfoFilled: false, lastSelectedChannel: false, lastSelectedSchedule: 'per-task' ...
GuildMemberUpdate only fires when my bot's roles are modified. 7 messages
scarlet maple The code I'm using works, but it only works on my bot. It doesn't seem to detect when another member has their roles cha...
1150878580193116250
Shard Error 43 messages
gloomy flame ```[WS => Shard 0] Heartbeat acknowledged, latency of 94ms. [WS => Shard 0] Heartbeat acknowledged, latency of 93ms. [WS...
Error [ShardingInProcess]: Shards are still being spawned. 77 messages
pallid barn - I'm getting an error about Discord.js sharding that is not given an ERROR PATH. How can i find out what this is caused...
1150878580193116250
Working on SKU / Monetization 2 messages
mossy herald Can anyone refer me to a yt vid or documentation on setting up discord SKU's? Such as checking whether a user is subscri...
998292157150535700
Error installing packages. 14 messages
hushed fossil I thought I resolved it but didn't. I am running into this problem when trying to install packages. What would you sugge...
1150878580193116250
User Isntall not registering slash commands 19 messages
reef whale Hi, running latest versoin of discordjs with typescript and such, andcommands do register however when trying to instl ...
Error when installing packages 1 messages
hushed fossil Hey I am running into this problem when trying to install packages. What would you suggest I do to resolve them? ```js n...
1150878580193116250
.ENV file does not recognized in Synology NAS after shutdown 2 messages
fallen flame Well...I am just wondering what happens and why the .ENV file is not recognized after uploading it to the synology NAS w...
Reaction Collector not collecting reactions in DMs 37 messages
bitter bloom discordjs 14.12.1 ```js // Create a reaction collector const filter = (reaction, user) => { console.log...
Is this possible with discord.js? 8 messages
toxic whale Is it possible to make a slash commands where in some options are hidden to certain users, also a slash command which is...
1150878580193116250
i get the "This interaction failed" error for the last five "if" statements. 28 messages
hollow hollow Dont know why its only those.
GuildScheduledEventUserAdd and Remove not working for users that aren't me 4 messages
regal lake The event only fires when i interact with it
slash commands not working 31 messages
fading crystal My slash commands arent working. Give me a moment to get the code!
Commands send twice 39 messages
undone dust Commands send twice pushes an error to console and sends an error `There was an error while executing this command!` ...
"I got banned from the API for refreshing too much." 1 messages
naive venture As I mentioned, the system kept shutting down and restarting due to deleting too many messages. I kindly request the unb...
1150878580193116250 998292157150535700
Bot's role hierarchy position problem 3 messages
vernal heath So apparently in order to allow a bot to add a role to a user, the bot's role position should be above the role you are ...
Get Option Label 3 messages
covert nest I have a command with an option that has pre-defined text choices people can choose from. I get the value of the selecte...
missing permissions / permissions are already granted 32 messages
jovial helm Hey there, my bot is not able to create a channel. As the error suggests, it is missing some kind of permission, althoug...
1150878580193116250
linking external modules 2 messages
fading crystal I made a warn.js with a module.export but I dont know how to link it back to my index.js file
Async not working 9 messages
fading crystal when I write this code it shows a red underline underneath it
Not getting autocomplete info 21 messages
muted fractal Hey, i'm experimenting with the latest discordjs (14.x) and I've set up my command as normal. Command is registered fine...
Cannot install @discordjs/opus (djs ver 14.5.3) 5 messages
shy dove Have tried with bun 1.1.22, node 22, and currently am using Node 18. This error log was produced with the commands `npm ...
1150878580193116250 998292157150535700 1150878498534199426
Routes.guildMembers() only shows one member 8 messages
vagrant dune I've checked guilds, roles, emojis those are fine except this one
Supported impersonationsold version 4 messages
steep yoke As the title suggests, the most supported I'm curious which version is the older one. Is there a separate way to check?
1150878580193116250
channel fetch 6 messages
scarlet sinew When u fetch messages from text channel does it also fetch messages in threads?
pass variables into <ShardClientUtil>.broadcastEval() 3 messages
untold cloud I've got the following code: ```js var commandName = `foo`; await client.shard.broadcastEval(async (c) => { de...
Hi I want to learn how to make simple commands in discord.js 3 messages
velvet moss It's not important but I want to learn how to make them.
1150878580193116250
DiscordAPIError 8 messages
pliant wing I've recently begun programming using discord.js and when I try to deploy my commands I get this error: ``` "C:\Program...
1150878580193116250
Migrating v12 command to v14 3 messages
dry spruce Hey guys, what’s up I’m currently looking for a way to convert an old Text Encoder and Decoder from Text to Binary and v...
Premium 20 messages
keen glacier Code: ```JS await message.channel.send({ embeds: [ new EmbedBuilder() .setColor("DarkRed") ...
Broad JS Question 2 messages
steel skiff What is the difference between how NodeJS and Python installs modules? I’m installing modules on JS and I got system inf...
1150878580193116250
Error [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred. 7 messages
placid ivy whole file where interaction is being replied has this issue. what to do?
What is the best way to list the members inside a voice channel ? 8 messages
dawn thistle Hello I would like to know the best way to list all members inside a voice channel. Does the property "members" is full...
1150878580193116250
How can I make simple commands in discord.js 3 messages
velvet moss I want learn how to make simple commands
1150878580193116250
Application specific emojis 10 messages
severe terrace Is there any way to make use of application specific emojis currently? Or do we have to wait for a discord.js update?
Problems with modal 9 messages
flint gulch ```js setupPaginationCollector(message, pages, mode, authorId) { const collector = message.createMessageComponen...
1150878580193116250
How would you go about counting the number of channels your bot has access to? 3 messages
frank yacht title
Am trying to add a modal to update a embed 5 messages
north temple Am trying to add a modal to update a draft embed, the modal should have a post title and description as required and ima...
Help to convert old Binary to Text command from Discord v12 to v14 1 messages
dry spruce Hey guys, what’s up I’m currently looking for a way to convert an old Text Encoder and Decoder from Text to Binary and v...
Discord-Modals Error 4 messages
placid ivy Error - data.components[0].components[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 5 in length. case 'permit': ...
Emojies not working with select 8 messages
dusty bluff ```const { ActionRowBuilder, StringSelectMenuBuilder, StringSelectMenuInteraction, InteractionType } = require('discord....
Error : Could not resolve channel to GUILD_VOICE 6 messages
low hazel im trying to create an event through slashCommandBuilder but it doesnt seem to work. the params are passed succesffuly b...