djs-questions

9202 threads · Page 14 of 185

Attach or send audios 4 messages
vapid bough Hello. I've been wondering if it's possible to send audio files and embed them, either through v2 components or as a mes...
998292157150535700
trying to run a palworld server and i get this error after setup 49 messages
compact ruin can some 1 help me with this please i am new to node.js and discord.js
1150878580193116250
Missing Access 5 messages
errant nova Hello, I'm creating a Discord bot for the first time, but when I type node . into the terminal, it says: Error registeri...
Modal interaction already acknowledged? 48 messages
peak kiln I have an issue where I'm consistently getting the error `Interaction has already been acknowledged` and I think it's be...
1150878580193116250
message.edit is not a function 4 messages
celest sand I'm developing a simple Discord bot for my classmates to manage homework assignments. The bot sends homework details as ...
1150878580193116250
How do I create confirmation flows? 2 messages
peak kiln I'm attempting to implement a button that has a deletion function, however I want to confirm that action before proceedi...
1150878580193116250
Ephemeral messages 6 messages
frank yacht I was using ephemeral: true but getting the following warning: (node:12656) Warning: Supplying "ephemeral" for interacti...
Global Slash Commands won't appear in one guild 15 messages
stuck flame # Issue - Commands won't show up in one of my guilds - I can invite the bot to different servers and it creates them fin...
1150878580193116250
How to add "ephemeral message" code to my code 82 messages
neon sequoia i have commands that i need to add this to, and dont know how to do it.
1150878580193116250
Getting messageCreate from one guild but not from another 3 messages
meager hollow As title indicates, I'm getting `messageCreate` events from one server, but I'm not from another server. It has all the ...
1150878580193116250
Bot transitioning from playing to autopause 9 messages
spiral spear Hi I'm taking my first steps into coding a personal project for the first time, I decided to create a discord bot to pla...
1150878580193116250
How do I properly manage a modal? 20 messages
peak kiln I'm attempting to get a modal working and I have my flow setup like this. - Slash command /debug - Create Custom Moda...
998292157150535700
discordjs/rpc 101 messages
grand sky ```js const DiscordRPC = require("./discord-rpc/src"); const scopes = ["rpc", "rpc.api"]; const clientId = "2313**177*...
1003448629866020986
Interactions Confusing themselves w/ modals 17 messages
mortal furnace I use a interactive modal embed system, for setting a greet message or creating/editing embeds however it confuses the i...
how do i check if a user is an admin 9 messages
velvet prairie i want to have a discord command which deletes everything in a server. but i don't know how to check if the user who sen...
TypeError: polyfillDispose is not a function 7 messages
warm ibex discord.js@14.19.1,v22.11.0
TypeError: polyfillDispose is not a function 2 messages
warm ibex .
Type error when sending a container and a action row (CV2) 5 messages
digital pecan ```ts const container = new ContainerBuilder(); const title = new TextDisplayBuilder().setContent( heading('🛠️ × Ma...
Edit components within a container (CV2) 24 messages
steady cloud Hi there. Was just wondering if I could get guidance to how I would edit a specific button accessory on a container when...
Components V2 Select menu 17 messages
ocean warren how to make a select menu using Components V2 ? cuz i try smth and it return me an error ```js const notificati...
1150878580193116250 998292157150535700
The up-to-date guide 8 messages
primal basin I'm currently working on a project, which requires me to build a discord-bot. I found a bit of resources, where there is...
1150878580193116250 998292157150535700
Components v2 error 44 messages
jagged folio Tried a simpler builder for now: ```js async execute(interaction, client) { const components = new ComponentBuilder() ...
Why is there no clear stable release for Discord.js? 4 messages
tacit pebble Hello, I noticed that there isn't a clear "stable" release for Discord.js recently. I am currently using version 14.18.0...
Why do I sometimes have to provide <true> to certain types? 2 messages
peak kiln I'm not entirely sure why sometimes I have to provide `<true>` to a type annotation. I've only seen this twice so far. F...
998292157150535700
component.toJSON is not a function 42 messages
fathom hawk This was gonna be a message in <#824411059443204127> but I ramble too much I have a tendency to not use builders. maybe...
Component V2 error 15 messages
crimson ibex Can somebody help me with my djs component V2 implementation. This my code ```js const { EmbedBuilder, ActionRowBuilder...
998292157150535700
Is there any way to remove this zoom on thumbnail 3 messages
storm vector I tried to use media.width and media.height but didn't help
1150878498534199426
ComponentsV2 Related Issue 7 messages
rare coral Hello, im not sure why this is happening ``` ExpectedConstraintError > s.array(T).lengthGreaterThanOrEqual() Invalid A...
1150878580193116250
Section errors 8 messages
flat sorrel hey everyone, i'm currently experiencing with components v2 and i'm having a little trouble experimenting with Sections ...
Discord.js v14.19.0 Components 9 messages
marsh bone can i still use components v1 in v14.19.0?
Builders 1.10.1 > 1.11.x causes errors 40 messages
fathom hawk I'm by no means a TS wizard, but I try. In one of my apps, I create a clear button that I pass around and is made avail...
998292157150535700
when do we get components v2 update ? 3 messages
inner coyote i cant find it in guide
1150878580193116250
what do i do yall??? 13 messages
sacred hedge ik this is some kind of connection error, it happened when i tried starting my bot, but how do i fix it? heres my index...
1150878580193116250
hello can you help me pls 2 messages
peak silo pls help me
1150878580193116250
Problem with Action Row 4 messages
empty path I have a problem with building new ActionRowBuilders from existed message. I am creating a tool for user to customize me...
1150878498534199426
Is there a non-deprecated replacement for MessageInteraction.commandName 9 messages
nocturne wolf Is there a replacement for this: https://discord.js.org/docs/packages/discord.js/14.18.0/MessageInteraction:Interface#co...
question about a function 7 messages
raven mason In one of my bots, i have a function named LowerRole (basically detects the lowest of the roles of a user) but when gith...
1150878580193116250 998292157150535700
Bot doesn't play music 2 messages
woeful vigil I have the problem that the bot does not play any music in typescript
Deno or Bun support ? 13 messages
empty path Does Discord.JS support Deno and Bun officially? Or at least have a stable version.
1150878890307358882 1150878498534199426
How does CachedManager work? 19 messages
acoustic token How does CachedManager<Snowflake, GuildMember, GuildMemberResolvable> (specifically guild.members.cache) work in discord...
1150878580193116250
awaitModalSubmit issue 5 messages
empty path With the following code, I noticed that when I open a modal, but don't submit that modal, then use the same button and c...
1150878580193116250
discord-rpc 8 messages
cinder jackal ```js const RPC = require('discord-rpc'); const rpc = new RPC.Client({ transport: 'ipc' }); const time = setInterva...
1003448629866020986
Need help setting up d.js 20 messages
neon sequoia I am at "loading file commands" and dont understand how to add the code to the current index.js file. I tried using Chat...
1150878580193116250
Crow baot 33 messages
peak silo pls help me for my crow bot
1150878580193116250
Missing modal update method 4 messages
empty path According to [this guide](https://discordjs.guide/interactions/modals.html#responding-to-modal-submissions), there is a ...
1150878580193116250
Discord v2 components 18 messages
frail rock Hello, I would like to know when the v2 components will be added to discord.js? And if there is currently an alternative...
1150878580193116250 998292157150535700
Bot becomes unresponsive when i close vs code but responds again when i have vs code back 2 messages
limber sleet Bot becomes unresponsive when i close vs code but responds again when i have vs code back and running node index.js. I t...
998292157150535700 1150878580193116250
trying to deploy my bot but it's not coming online 12 messages
somber siren im following this tutorial: https://discord.com/developers/docs/tutorials/hosting-on-cloudflare-workers
Fix Welcome @unknown-user with guildMemberAdd 9 messages
glass plover Hey Our bot sends a welcome message with an @tag to the person who just joined the server. (guildMemberAdd) However sin...
1150878580193116250 998292157150535700
How to upload your emojis to a bot via Discord JS 3 messages