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

Discord Connection Question

Anyone is familiar with that?
No description

Is there a way to silence mentions inside of containers using Components V2?

I am writing a moderation bot using Components V2. The code in the screenshot I attached works pretty good however, it pings anyone mentioned in the container. I was wondering if there is a way to silence the pings while still mentioning the user.
No description

Partial high ping on some shards

Sometimes some shards have a very high ping for me. Unfortunately, I can't figure out why. I've already disabled individual events and some bot functions, but nothing has helped. Is there an event or function that could give me more information? Furthermore, these shards do not have significantly more users or guilds than the others.
No description

how does discordjs populate cache

like im trying to implement minimal cache using core libraries, wondering how does main lib populate all guilds/channels/roles on gateway connect? does it idk what, and is in any way request guild members used or such?

How to use Custom Emojis in Buttons and Embeds

How can I use some custom emojis in buttons and embeds that I create ? like the ones in the photos. Do I have to upload an emoji in the developer portal, then I can use it or something like that ?...
No description

Components v2

IIs it already possible to use the components? I get an error all the time that my message is empty

Unknown Integration Error with my slash command

When I run a specific slash command that does pop up in my bot's list of application command list. I get this Unknown Integration error then it turns into application didn't respond. This hasn't occured before.

get options from interaction

how exactly are we supposed to get options from interaction when using @discordjs/core
No description

Miserable time design a "fancy" settings menu

I'm making a bot for my server (with help of AI, not gonna lie), and as the functionalities increased, the way i was organizing the /config command (adding multiple subcommands, that quickly became a mess to figure out) became unsustainable. So, when using Rythm, i really fell in love the way it manage its myrad of settings, but to implement my version of it for my bot... it was a nightmare. For example, i have a system of "memories" for each member that i end up forwarding to the AI api (it's a chatbot too), its organized in per-guild-per-user way (there is also a per-whole guild memory set too, not the focus on it for now), and handling text input in this settings style (using forms and dropdowns) became quickly miserable too, because the AI tried to make a dynamically ID'ed for that module's interactions using the target member ID....
No description

Super Reactions users collection appears empty

Hello, I noticed that while looping through a message's reactions, the users for all Super Reactions is just empty, the countDetails show that there is 1 burst reaction, and the total count of the reactions is 1 too, but the users who reacted don't appear in users Here is the code I used: ```js module.exports = {...
No description

error with dm channel awaitmessage

``` let dmChannel = interaction.user.dmChannel if (!dmChannel) dmChannel = await interaction.user.createDM() const filter = m => m.author.id === interaction.user.id && m.channel.type === 1...

Sharding with Deno

Does ShardingManager with mode: "worker" even work in Deno? I keep getting this error, which I'm guessing comes from how Deno polyfills node:worker_threads. But, mode: "process" works fine, just uses too much ram. Compatibility? I didn't find a related issue on GitHub, so maybe I'm missing something......
No description

Discord Embed Not Showing Image

I created a bot that web scrapes some info off of a site, but when I run it, the embeds images dont show up. Here is a url that is parsed and set in the embed setImage() method: https://cdn.supremecommunity.com/supremecommunity/prod/season/fall-winter2025/t-shirts/fall-winter-2025-supreme-playboi-carti-tee_sqr_480px.jpg Ive confirmed that the url is present when setting it. I dont think code snippets would be helpful as im just using the setImage() in the embed after its found. Let me know if screen shots would be helpful thanks....

webhookClient.send avatarUrl option don't work.

I add the image URL to this parameter, but it doesn't work. This option previously worked. I didn't make any changes to the code. It just stopped working.

User names displayed as ids

Hey guys, I use ${member} object that I insert in a string and I noticed that it renders user names as IDs lately (referencing user that is in the given guild, he didn't left) Should I use allowedMention argument in message to make sure it renders properly?...
No description

Unable to register Slash commands

i am getting 401 error while trying to register slash commands the error: ```js
discord-getting-started@1.0.0 register node commands.js...

Modals String Select Menus

Aloha Folks. As seen on the Discord Developers, with the recent release of string select menus, do modals on discord.js have the ability to now habdle string select menus or would we have to wait for a update?...