djs-questions

13317 threads · Page 15 of 267

How can I programmatically set or update the voice channel status 7 messages
acoustic token I'm referring to the line that appears under the voice channel name, like a heart emoji or a short status message. Is t...
node
Need help on a Auto role bot. 23 messages
neon sequoia this is my current code, and it keeps giving this error when i join the server. Can I have help? `node:events:496 ...
node
Problem with new embed component code 3 messages
untold bobcat how to use that new thingy? where to keep that? is it embed? is it component? can anyone send a example with discordjs c...
User "in server" nickname 8 messages
woeful pollen How do I get user server nickname, already tried GuildMember.nickname, still not working, Whenever I use nickname it jus...
node
Certain global slash commands missing for Guild Install but not for User Install 17 messages
steep python in short: for whatever reason the **guild install** of the bot is missing specific **global** slash commands, which gets...
bun
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...
@discordjs package
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
node
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...
node
Ephemeral messages through replies are glitched? 5 messages
@discordjs package
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 ...
node
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...
node
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...
node
How to add "ephemeral message" code to my code 84 messages
neon sequoia i have commands that i need to add this to, and dont know how to do it.
node
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 ...
node
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...
node
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...
@discordjs package
discordjs/rpc 103 messages
grand sky ```js const DiscordRPC = require("./discord-rpc/src"); const scopes = ["rpc", "rpc.api"]; const clientId = "2313**177*...
RPC
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 [email protected],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...
node @discordjs package
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...
node @discordjs package
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...
@discordjs package
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...
@discordjs package
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
bun
ComponentsV2 Related Issue 7 messages
rare coral Hello, im not sure why this is happening ``` ExpectedConstraintError > s.array(T).lengthGreaterThanOrEqual() Invalid A...
node
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...
@discordjs package
when do we get components v2 update ? 3 messages
inner coyote i cant find it in guide
node
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...
node
How do I setup Debugging & Breakpoints in VSCode? 2 messages
hello can you help me pls 2 messages
peak silo pls help me
node
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...
bun
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...
node @discordjs package
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.
deno bun
How does CachedManager work? 19 messages
acoustic token How does CachedManager<Snowflake, GuildMember, GuildMemberResolvable> (specifically guild.members.cache) work in discord...
node
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...
node
discord-rpc 8 messages
cinder jackal ```js const RPC = require('discord-rpc'); const rpc = new RPC.Client({ transport: 'ipc' }); const time = setInterva...
RPC
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...
node