djs-questions

13317 threads · Page 10 of 267

need help installing discord.js 11 messages
fallen lance its giving the error in image when i try star bot
node
IDE for mobile 60 messages
dull cargo yoo, anyone know and want to create a website which allows to code discord bots?
ClientMissingIntents, how do i fix this issue? i've tried everything it just doesnt work 132 messages
woven karma please help
Inaccurate ping measurement with client.ws.ping 11 messages
upper galleon Every time I pull from client.ws.ping, it outputs -1, regardless of the connection I'm on or the speed at which it's run...
node
How to get started with ./,/;-commands 17 messages
finite totem I am making a discord bot for a ~~cult~~ server of mine about bread, and there is a channel in that server where new mem...
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...
node
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? ...
node
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 ...
node
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...
bun
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...
node
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...
node
Server Tag checker bot 19 messages
green prawn How can you create a bot that checks whether a person has a specific server tag?
node dev release
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...
bot cannot connect 3 messages
node
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...
node @discordjs package
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...
node @discordjs package
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 ...
node
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...
@discordjs package
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 ...
@discordjs package
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...
bun
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...
node @discordjs package
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...
node
deferReply() with withResponse/fetchReply 9 messages
scenic tulip ```js const { Client, CommandInteraction } = require("discord.js"); const { QuickDB } = require("quick.db"); const form...
node
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.
node
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.
node @discordjs package
'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...
node
message.createMessageComponentCollector 5 messages
woven canyon Collector is not collecting interactions from the message. ```js //Replying to the interaction. const messag...
node
Framework 16 messages
sacred fern What is the best framework that support commands and events and support latesz version of d.js?
node
I need help with this code 18 messages
opal oasis const { Client, GatewayIntentBits, REST, Routes, SlashCommandBuilder, EmbedBuilder, P...
node
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 ...
node
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 ...
node
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...
node
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...
node