discord.js - Imagine an app

DIA

discord.js - Imagine an app

Support server for discord.js, a Node.js module to interact with Discord's apps API.

Join

djs-questions

djs-voice

Cannot Find Module Error

everytime i run node register-commands.js in the terminal, it shows an error, here's a screenshot
No description

how can DAVE be used in discordjs?

I see in the most recent announcement it adds support. Is there documentation on this anywhere? Please reply with PING!!!!

tag discord.js

Hello, on discord.js there is a possibility that the bot recognizes the tag that a user has and then gives a role for example.

Is it possible to edit already generated invite?

In docs values maxAge and maxUses aren't labeled as read-only. I just want to make sure my script won't implode....
No description

NextJS compatable with discord.js?

So i was talking to a friend of mine who recently developed a music bot but the website was too slow using NodeJS so then i asked the same question they denied that we can't. Now i'm really curious is it or not?...

Unknown interaction

Hello i keep getting the "unknown interaction" error like 7 out of 10 times every time i run a slash command or use any component i'll share my InteractionCreate event and one of my slash commands: ```js const { Events } = require('discord.js'); ...

Unable to register slash commands

I ran into this yesterday and got rate limited but I don't understand why I am not able to create my slash commands. I'm not rate limited anymore. It expired over 12h ago. No errors log - the commands just don't register. I have them tied to a prefix command that I run to create the commands since I have 75 of them. Code for that command incoming......

Rare message double-sends when using @discordjs/proxy

Hi! I'm using djs/proxy since to my knowledge, it's the preferred way of handling rate limits for process-sharded bots in d.js. I'm experiencing some rare issues where join messages in my support server (likely others as well, this is just the server it's easiest for me to notice in) seem to send twice sometimes, and I'm not entirely sure why. I've added some logging and deduced the following: - Client is emitting guildMemberAdd only once, and this function is only being called once - This function contains no logic for retrying message delivery if it fails - These two messages are sent exactly 15 seconds apart from each other...
No description

Gateway Intents & Partials

Hi ! In this picture, what does this mean exactly?
"If you use gateway intents but can't or don't want to use the privileged GuildPresences intent, you additionally need the User partial." ...
No description

performance concerns regarding presence_update

Hello, I track online/total member counts. How many events a second should i throw at a shard? It's super vague, but hoping there's a general range I can follow

Unknown interaction

Hey! In 1 out of 20 cases, we encounter the issue that a response to an interaction returns an โ€œUnknown interaction 10062โ€ error, even though we respond within the specified time frame. Is there a solution for this, or is this considered โ€œnormalโ€?...
Next