djs-questions

9202 threads · Page 9 of 185

fetch users 11 messages
tidal plinth I'm developing a team system in my Discord bot, where each team can have multiple users. Now I want to create a select m...
1150878580193116250
Syncing messages globally 17 messages
hexed pike I am building a bot which has a live "feed" / home page. Any ways I can mass- update the messages of the page globally? ...
1150878580193116250
ApplicationCommandPermissionManager token 9 messages
dense dew I'm in the process of porting over a bot from djs 13 to 14, (and have also started adding typings). In the ApplicationCo...
Socket.io for React Native 3 messages
vague tendon Hello everyone, recently ive been working on a personal project that involves using React Native for the front-end and F...
New developer 47 messages
dull cargo Hello! I want to learn JavaScript for make my own Discord bots but i dont know how to start. I want to understand all i ...
1150878580193116250
Component Type Error (TS) 16 messages
undone panther I posted this in the regular help channel but it got buried without a lot of help. I'm running into an odd ts issue wi...
1150878498534199426
Sharding Help 174 messages
silk heart I want to increase my bot shard count to 2 but it is not working and there is no guide for that Only for auto guide is g...
1150878580193116250
updating interaction does not reset selected value 12 messages
muted tiger Upon selecting a value in a channelSelectMenu I update the interaction with another channelSelectMenu. The value from th...
1150878580193116250
Server Tag checker bot 19 messages
green prawn How can you create a bot that checks whether a person has a specific server tag?
1150878580193116250 986538542350086175
Database coded with Djs 5 messages
minor summit I coded my mySQL database with discord.js. After a certain time limit (unsure how long) the connection times out and I'm...
Is there an event and/or method to approve and see members that requested to join|| 2 messages
dense dew In some servers, members can 'Request to join' trough eg. a guild tag. They'll appear in the members tab. Are there exp...
EPIPE after upgrading NodeJs from 16 to 22 13 messages
hollow charm Hi, We started getting this error "No compatible encryption modes. Available include: aead_aes256_gcm_rtpsize, aead_xch...
1150878580193116250 998292157150535700
Error: Expected token to be set for this request, but none was present 3 messages
high anvil I'm seeing this error popup on my bot where I use @djs/rest, I'm not entirely sure why it happens or when it happens, it...
1150878580193116250 998292157150535700
Where can I find projects using discord.js? 5 messages
fluid mirage I'd love to look through a list of projects using discord.js. Perhaps someone has already built what I need and I can jo...
Help with Message Reaction Collectors 11 messages
clever plinth Hello, Version: 14.21 I'm not sure if I am just missing something really obvious here, but I can't seem to get the Mes...
member.id is returning null for only one specific member 16 messages
thorn root I've had a Discord bot running for over a year, no issue. The bot is running the latest version of discord.js: 14.21.0 o...
Files not getting attached 7 messages
nova wing I am trying to add text files as attachments, but it seems not to be working. Might be something obvious I am missing. C...
Can Guild.members.fetch return a partial member? 4 messages
deep mountain Like the title says, and can a partial member have the presence property null? If I needed the presence property, would ...
1150878580193116250
Discord Embeds 3 messages
scarlet aspen How does one get a button inside an embed, like the image..?
can you hide commands from users who have added your bot to their apps? 10 messages
cunning parcel Is there any way?
How do i handle permission bits when using REST 24 messages
cosmic ether ```const allowValue = channel.permission_overwrites?.find((p) => p.id === membersRole.id)?.allow === '2048' const denyVa...
@discordjs/proxy-container intermittently crashing 11 messages
solid lotus Hi, I use this package to proxy my cloudflare worker requests since I was getting 1015s while trying to use the OAuth ca...
998292157150535700
help compenentv2 35 messages
candid sonnet My command does not display the user's avatar when I use his ID and I cannot find the problem.
Button Pagination not working? 17 messages
minor summit I'm doing an auto updating help command just so my server can keep up to date with what commands are available. And yes ...
998292157150535700
My buttons are not updating correct. [USING COMMANDKIT LIBRARY] 10 messages
civic dove I am trying to make it so once my claim button is pressed, all the rest of the buttons will stay the same except for the...
Is it possible to edit a componentV2 message ? 10 messages
hollow crest ```typescript import { CronJob } from 'cron'; import { Client, ContainerBuilder, MessageFlags, TextDisplayBuilder } from...
1150878498534199426
Collections not collecting channel messages 26 messages
midnight ice I am using the code sample code from [basic message collector](https://discordjs.guide/popular-topics/collectors.html#ba...
1150878580193116250 998292157150535700
Voice channel name change fails silently after 2 successful attempts 7 messages
gaunt echo I'm using a bot with `Administrator` permissions to rename a voice channel via `channel.setName()`. The first two attemp...
1150878580193116250
deferReply() with withResponse/fetchReply 9 messages
scenic tulip ```js const { Client, CommandInteraction } = require("discord.js"); const { QuickDB } = require("quick.db"); const form...
1150878580193116250
Is it still possible to create music commands using YouTube Music as the source? 4 messages
umbral thicket I can never get my bot to play audio when connected into a voice channel.
1150878580193116250
How would I have two subCommandGroups? 3 messages
ivory idol I wanna have two subcommands for admin qoute and then admin activity which both have diff ways of manging.
1150878580193116250 998292157150535700
'collect' VS 'InteractionCreate' 7 messages
next peak While working on a bot I came across the problem of when to use collector, the 'collect' event and the 'interactionCreat...
Error Trying to Run on Server 10 messages
woven canyon Before when I was in VS code running it. It worked perfectly fine but when I move it to a server I get this error. ```js...
1150878580193116250
message.createMessageComponentCollector 5 messages
woven canyon Collector is not collecting interactions from the message. ```js //Replying to the interaction. const messag...
1150878580193116250
Framework 16 messages
sacred fern What is the best framework that support commands and events and support latesz version of d.js?
1150878580193116250
I need help with this code 15 messages
opal oasis const { Client, GatewayIntentBits, REST, Routes, SlashCommandBuilder, EmbedBuilder, P...
1150878580193116250
Building components 16 messages
orchid warren How do people usually use the component builders? Right now I'm using the builders inside of the "add component methods"...
Question about the type of channel option type for the slash command 6 messages
simple ledge I have a question about `ApplicationCommandOptionChannelTypesMixin.addChannelTypes()` and `APIApplicationCommandChannelO...
Canvas 4 messages
summer grove Howa can i use canvas
possible to put buttons in embed? 10 messages
magic ruin ❤️
Component v2 help 12 messages
wraith frost Can anyone help me to put drop menu inside the embed using components v2 and also canvas image inside the embed I asked ...
1150878580193116250
possible to instruct some events not to cache? 6 messages
tired field I was wondering if it's possible to receive message events without having the `messageCreate` event automatically cache ...
1150878580193116250
guildMemberRemove Event 61 messages
fleet dune hi, how is the specific event to detect when a member of a guild leave the guild? Because I have tested with `Events.Gui...
1150878580193116250
HTTP-only interactions bot 2 messages
limber spade i'm asking if there documents about http-only bot i heared i have to use a domain and i got one what packages i need? ho...
1150878580193116250
How to properly structure commands (directories) 19 messages
storm jungle Hi! I just started making my first ever discord bot with discord.js. I also dont have much prior TS/JS experience (I am ...
1150878580193116250
interactions.options broke 4 messages
modern helm Not sure if there is a better way to do this or not but after updating from v14.17.3 I'm now getting ` error TS2339: Pro...
Having trouble with stale or inaccurate data on nickname/member updates (coming from Pycord) 2 messages
wicked harness Hey everyone! I recently migrated from Pycord to Discord.js due to the new Components V2 system, and while I’ve got mos...
Get command options while doing modal 5 messages
static ether I'm making a command with multiple options and this command is showing a modal. When I get the modal, I would like to ge...
Is there a way to cache over 1000? (Need full info) 51 messages
desert pollen I was looking to cache over the limit, but it either doesn’t fully cache (ex: 1000/3000) or it assumes it fully cached, ...
Need help getting started making this bot idea I have. 4 messages
cold storm im somewhat new to making bots, but i'm new to Discord.JS so i need some direction. I have this bot idea that has a few ...
1150878580193116250