discord.js - Imagine an app

DIA

discord.js - Imagine an app

Support server for discord.js, a Node.js module to interact with Discords apps API.

Join

djs-questions

djs-voice

Editing an embed

I remember seeing a video back when I was learning discord.js where someone edited a embed without having the edited tag showing up. I can't remember how they did this. Does anyone know how to do this?

Bot DMs Checking

Is there a way where I can check all my Bot's DMs with users?

VSCode inconvinience

My code runs fine with tsc and with ts-node but when i start vscode it starts to generate errors and idk why is that.
No description

Object literal may only specify known properties, and 'dynamic' does not exist in type 'ImageURLOpti

.setThumbnail(user.displayAvatarURL({ size: 1024, dynamic: true }))
.setThumbnail(user.displayAvatarURL({ size: 1024, dynamic: true }))
...

Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>

Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getUser" | "getMember" | ... 7 more ... | "getSubcommand">'.

how can i make my bot online forever

im just beginning and trying to learn it i am using VSCode idrk what i am doing and where i can start.

Help stuck

i did all the steps but yet i still dont see a trash icon on the discord browser

Discord JS Modal / Interaction

Here is the part of the code that I think doesn't work properly. https://paste.pythondiscord.com/UCXA There is no error in the console but there is no response in discord, I think it might be a problem with the submitting of the modals or maybe the API, but if it was the API I would have known because I have already used it for a create_key command already but now I want to compact everything into a beautiful single menu!...

image in embed

I'm working on something and I'm genuinely confused why this doesn't work. I've looked at previous questions about it but none of it works for me. I've tried both with EmbedBuilder and embed object, but both dont work ```js const image = await generateRankCard(playerData); console.log(image); ...

receiving InteractionCollectorError after assumed fix

https://srcb.in/ldSaMiZGcn I assumed by adding the .catch, the bot would stop crashing....

How to get user subscriptions in v14.17

I am looking for a way to get all the user subscriptions when they use a slashcommand. How can i obtain all the subscriptions the user has?

Vanity

How do fix my code to work, it only checks members who have joined instead of all members:

Mentioning users showing as unknown-user

```js const result = await User.find( { guildId: guildId } ); let userDiscordIds = [];...
No description

Expected SlashCommandSubcommandBuilder

```js data: new SlashCommandBuilder() .setName('user').setDefaultMemberPermissions(0) .setDescription('add user') .addSubcommand(subCommand => ...

Hellp i wanted to make a /timeout command but it doesnt work command is deployed

i checked it with a bot developer he saw the code and theres no eror

presenceUpdate not emitting

So basically presenceUpdate wont fire if i have user caches disabled which makes it fail to get user and not send, but now i have enabled cached and have set sweepers to clear that cache every hour so it can refill again, but for some reason, client emits events before the sweepers runs, after it runs, no more events come in? im not sure what that sweeper does but like why does it prevent cache from refilling? i wouldn't really want to have all caches full just to get user's current presence
No description

`broadcastEval()` fails to return promise, blocking my thread when awaiting it

Just a note: im using discord-hybrid-sharding I've verified that all shards are ready using manager.spawn().then() In this example: the 'hello world' is printed, however second console log never prints because of the await...

say im tryna make a bot using distube and i cant get it too play its a weird error idk about

[email protected] start node .
/home/runner/AKBOTS/node_modules/@distube/spotify/node_modules/undici/lib/web/fetch/response.js:528 ReadableStream...

Bot cant open Google Spreadsheets? Error 403

Hi, i'm quite new javascript and node and djs, I'm trying to make a slashCommand to see a spreadsheet however its not detecting? My code is below but the error message im getting is in the ss I'v tried: - testing my slashCommand file(regionals.js) separately from fetchSheetData - Giving my API key even though the spreadsheet is public...
No description