djs-questions

13317 threads · Page 38 of 267

Slash Command registration in files and in deploy-commands: double declaration 5 messages
rare coral Hello, I asked for help a lot of times here and every times I sent my code, the member who was assisting me asked me "Wh...
node
Multiple commands using Collectors are clashing 5 messages
Separated inline's fields on embeds 10 messages
royal bramble Hiya, I'm looking to do something like the first image (recreated in DIscohook (someone needs to update this tool,its ou...
node @discordjs package
String Collectors not Collecting? 22 messages
charred sparrow ```// User interaction - Add Line Item Button if (newOrderButtons.customId === 'addlineitem') { // Log start newOrde...
Database system recommendations? 12 messages
lilac wadi Does anyone have a favorite database system they use for their bots? I would love a recommendation, preferably something...
Error on ticketing bot 7 messages
subtle yacht help needed
error in sharding 15 messages
subtle yacht [ SHARD ] Shard 0 in cluster 0 is deployed Error spawning shards: Error [ShardingReadyTimeout]: Shard 0's Client took to...
Getting "Unknown message" sometimes... 4 messages
tranquil zephyr yo. Excluding command handling I have something like this: ```ts client.on("interactionCreate", (interaction: Interactio...
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...
node
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...
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....
node @discordjs package
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...
node
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...
node
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. 80 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...
node
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...
@discordjs package
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...
node
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 ...
.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 38 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...
node
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!` ...
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...
node
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 ...
node @discordjs package bun
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?
node
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.
node
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...
node
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...
node
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...
node
How can I make simple commands in discord.js 3 messages
velvet moss I want learn how to make simple commands
node
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...
node
How would you go about counting the number of channels your bot has access to? 3 messages
frank yacht title