djs-questions

9202 threads · Page 11 of 185

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/...
1150878580193116250
@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...
1150878890307358882 998292157150535700
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 ^^
1150878580193116250
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...
1150878580193116250
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...
1150878580193116250
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?...
1150878498534199426 998292157150535700 1150878580193116250
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...
998292157150535700
I cannot figure out what I am doing wrong, please help 15 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...
1150878580193116250 998292157150535700
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...
1150878580193116250
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
1150878580193116250
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 ...
1150878580193116250
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...
1150878580193116250
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...
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...
998292157150535700
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 152 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? ...
1150878580193116250
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...
1150878580193116250
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 ...
998292157150535700
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...
1150878580193116250
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 ...
1150878580193116250
Is it possible to edit role icon with discord.js? 9 messages
lost tulip Is it possible to edit role icon with discord.js?
1150878580193116250
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...
1003448629866020986
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...
currently trying to make my slash command work globally atm it only works in bot dms and guild chan 2 messages
robust wyvern im currently trying to make /otp work in user to user dms but it wont
Detect other instance 7 messages
inland depot hi, i would like detect other instance of same bot for security
Voice Status - how to set them 11 messages
frosty crypt Hi, I have a question about the voice status that we see at the bottom of the voice channel name, how to set a voice sta...
<Role>.tags 1 messages
glad heath `tags: { guildConnections: true }` What are considered as guildConnections ??? All I know is `Linked Roles`, is there an...
Prevent automatic setting of a default value in the menu 4 messages
unkempt pumice Hi there <:waveBoye:985607731417329674> I'm currently working with a `ChannelSelectMenu`. When a user selects an option,...
1150878580193116250
premium commands 6 messages
pulsar wedge Do I have to keep a record for myself as to what user/guild is subscribing ? Or does DJS have build in support to retrie...
Handle Rate Limits 20 messages
severe storm I've been trying stuff with channels name, but I've yet to find a way to handle Rate Limit errors from the API, how can ...
1150878580193116250