djs-questions

13317 threads · Page 12 of 267

animated sprite 3 messages
river island So i want to do a kind of 'build your own' character with layed sprites, static is fine, but i'd like to give it an idle...
Guild tag 3 messages
vernal widget Using Discord.js or the API directly, is there a way to retrieve the new guild tags displayed next to a user's username?...
edit ephemeral reply 20 messages
rain phoenix Hello, is there a way to edit an ephemeral reply ?
the new SelectMenuBuilder() - Error when adding one in my ContainerBuilder() 30 messages
cinder pelican Hello, so I am doing my bot using the new Container and I just saw that there is a new way to create select menus. But I...
node @discordjs package
Incompatibility Between ActionRowBuilder and interaction.reply() 6 messages
glass zinc I accidentally upgraded one of my bots to the latest version of discord.js by doing a downgrade and started getting an e...
node
Trying to edit content of specific v2 component, what's wrong? 4 messages
shadow onyx I'm running this code on an eval: ```js const { ContainerBuilder } = require('discord.js') interaction.channel.messag...
node
My bot disconnect randomly and I don't know why 31 messages
jade vector I have a spaghetti bot that is on ~150 servers, so I no need to shard (normally?). I use [Enmap](<https://www.npmjs.com/...
node
@discord.js/rest pool/bucket stats visibility 6 messages
gleaming ibex I am trying to access the underlying pool stats from the @discordjs/rest package. I currently utilize this package and p...
deno @discordjs package
Bot RAM usage 27 messages
strange wraith Hi, I have a Discord bot that is in around 65,000 servers. I have sharding, and it launches around 65 shards. They all...
Ia there any way to see which users use the server’s guild tag 2 messages
runic sleet title ^^
node
Required options must be placed before non-required options 14 messages
warm lantern im trying to register some slash commands, but specifically 2 are failing. ``` 83.options[3][APPLICATION_COMMAND_OPTION...
node
Discord.js User/Client Support (14.19) 3 messages
icy pine Does Discord.js support getting information from the User/Client API? I'm building a Discord bot dashboard, and I'm cu...
Cannot get discord bot to join voice channel. 4006 ERROR! 4 messages
mental mesa I haven't been able to resolve it myself for hours and I feel like it's not the code but possibly discord's end. I've be...
discordjs in rust 2 messages
devout palm is rust faster with discord bots? what are the benefits? or cons?
Slash command with limited roles selection 4 messages
shy summit Hey there guys, im looking for a way to make a slash command with addRoleOption but limited to roles with specific posit...
Unkown User 27 messages
woven canyon ```js node:events:496 throw er; // Unhandled 'error' event ^ DiscordAPIError[10013]: Unknown User at ha...
node
Is it possible to make discord.js use Redis for Cache? 2 messages
wanton relic Hi, I've been having issues with RAM because of discord.js's cache, is there a way to make discord.js cache using redis?...
bun @discordjs package node
Components V2 Error 9 messages
silk shell When trying to use my [Setup command](https://pastebin.com/iGnnQbN4), it keeps throwing this error: ```js CombinedError...
i need help asap sorry im from Germany 2 messages
barren lark i bought yesterday Nitro for 9,99 a month but i cant use nitro i tried every think i know but it dont work ......
I need help 44 messages
sullen merlin When the bot is supposed to rename the channel, it does not. The erorr renameOrderChannel: Provided channel does not sup...
"ChannelNotCached" Error when Editing Messages sent via DM (v15) 5 messages
clever plinth Hello, Discord.js version: 15.0.0-dev.1749341741-8e03af6ea After enabling the "user install" option for my bot, I occa...
@discordjs package
I cannot figure out what I am doing wrong, please help 16 messages
sullen merlin After I press the unclaim button, the embed should dissapear, a new one should appear and the channel should be renamed....
Send a ContainerBuilder() in Ephemeral 6 messages
cinder pelican Hello, I'm doing a command to manage a user (like ban, mute, ... but in the same command) and I want to use the new Comp...
node @discordjs package
Is it feasible to grab a random message from a server? 8 messages
brisk hill I'd like to be able to grab a completely random message that was sent anywhere/anytime in a server. Is this feasible wit...
Coding help needed! 95 messages
mighty ravine I made a discord bot today and need sash commands on everything, but i dont know how i make that! What i have on my bot...
node
Can we set both presence bubble and activity ? 19 messages
worn shadow Tried several ways but every time discord only show either the bubble or the activity never both of them
node
How to set bot's status bubble (not the Activity or Presence) 3 messages
sage solar recently I found out about a bot that can show a status on status bubble (I don't know what it actually called) and not ...
node
Menu Design / UX 2 messages
dapper halo Hi there, I was wondering how devs make larger "forms" or interactive forms with the discord api. I have been trying to...
idk im trying to run this in bothosting net website 5 messages
next marsh `const bot = mineflayer.createBot({ host: 'ip.aternos.host', // THIS IS THE IP OF YOUR SERVER username: 'BOTJIN', //...
Can't send message to specific channels 12 messages
sage solar In my ClientReady event. I can send a message to specific channel ```js const notiChannel = client.channels.cache.get('1...
node
Testing Entitlements 6 messages
pulsar wedge Is there a way to test entitlements / create test entitlements ? for development purposes
Error: Expected the value to be a string or number 15 messages
neat dock ```js const { ButtonBuilder, ButtonStyle, ActionRowBuilder, MessageFlags, TextDisplayBuilder, Co...
Why does it say (node:3668) Warning: Supplying "ephemeral" for interaction response options is depre 18 messages
obsidian leaf (node:3668) Warning: Supplying "ephemeral" for interaction response options is deprecated. Utilize flags instead. (Use `...
Overriding cache managers 9 messages
shy widget What is the best way to override discord.js's cache managers? Are there any public examples we can view, specifically so...
Want to deploy my bot but its not working?! 61 messages
node @discordjs package
Thumbnail Components V2 ContainerBuilder 14 messages
lucid goblet Hi, I have a question, how do I introduce a thumbnail into a ContainerBuilder please?
ComponentsV2 - How to set more than one button 30 messages
frosty crypt Hello, I want to set ActionRows with maximum 5 buttons but we can't set more, and since on a section the setButtonAccess...
@discordjs package
How i change color ContainerBuilder after send? 3 messages
vivid arch Hi devs, i need help with this, anyone knows how change the container color after send?
Problem with onMessageDelete 153 messages
marsh sinew Hello Guys, Im facing a really weird problem. I have this 1. code where i have a normal message loggin what is working...
components v2 - intent? 4 messages
storm kraken Hello! i saw that you need to have activated an intent called "Message Components V2" to use this feature. is it true? ...
node
When should I learn Discord.js 9 messages
karmic salmon I'm currently learning JavaScript; and I'm about 50-60% of the way through the course. I have done Functions, Iteraction...
node
ComponentsV2 23 messages
wind cobalt Is componentsV2 still based off slash commands ?
Disabling Buttons on new Components V2 58 messages
gilded dirge I need some help I am currently work with v2 components mostly containers and I have action rows / buttons which need to...
error when adding my bot to use everyone 3 messages
dark talon im not sure what this means, or what i need to change. I got it into my server though
slash command not showing 31 messages
marsh forge Hey guy’s, im learning djs i needed help regarding slash commands I made a slash command and it not showing i will send ...
@discordjs package
Help Connecting a Bot to an Ubuntu Server via VS Code 4 messages
fiery owl Hi everyone, I have some bots that I developed myself, and I want to set them up on an Ubuntu server. I'm using Visual S...
node
Learning DJS 4 messages
novel furnace What's the best way to learn djs? does anyone know any good yt channels or anything other than reading documentation? I ...
node
Is it possible to edit role icon with discord.js? 10 messages
lost tulip Is it possible to edit role icon with discord.js?
node
Setting a discord-activity from angular-app 11 messages
trail matrix Hello 🙂 I am wondering if it is technically possible, to set a discord-activity for users of my angular web-app? Is thi...
RPC
Question on user caching in bot messages 12 messages
versed depot I'm testing making a bot send a message when a user joins and leaves the guild. The message contains a mention of the us...