djs-questions

9202 threads · Page 41 of 185

Unable to catch the disalowed intent 25 messages
prisma wigeon I constantly fail to catch the missing intents. How can I catch this error? ```js const client = new Client({ intent...
How do I make an user install command? 2 messages
woeful stump Hi, I am just switching to discord.js@v14, and I'm trying to figure out if there's user installs here, or not. Thank yo...
Discord.js development utilities 5 messages
calm osprey I have noticed that testing my bot by hand is quite slow. In addition, there is a clear lag between the time i create a ...
998292157150535700
Unknown Interaction error 29 messages
pastel shale 10% of the time, when I'm running a command, I get the Unknown Interaction error for 1 or 2 minutes straight, and then i...
Create private threads in Forum 8 messages
wheat ice Hey i would like to know if there is a way to create private threads in forum channels. In fact, I have a forum channel ...
token invalid error 14 messages
ocean smelt Error and code in the Google document* https://docs.google.com/document/d/15KIjh0q1EdyNnuKukdLhJDKpN0JLVqG7EUMuKpe4OSY/e...
1150878580193116250
Telegram media download 3 messages
violet rapids I got a telegram channel, there is media of audio files, i want to download them, but there is no download option and i ...
registering code not working 18 messages
ruby agate i'm trying to register a subcommand but it's not working, registering a normal command works with my command handler
Bot stopped playing music 15 messages
south stirrup Hi guys, I have a bot that play music and it works fine before till this morning. When I try to play music, the song is ...
Best crypto price library? 4 messages
vestal spindle What is the best crypto price library with most popular crypto markets
Welcome Message Sending multiple times 11 messages
arctic siren Only one message should be sent, I do have some checks to attempt to ensure this. Would anybody be able to advise me on ...
presence update 1 messages
exotic marsh Wondering how to differentiate when a person starts a new activtity, such as listening to spotify and that the activity ...
Anyone got any good djs 14 command handlers 18 messages
ornate monolith Please send me some below
1150878580193116250
AxiosError: Request failed with status code 401 2 messages
vapid patrol ApexStats How to fix?
Please Explain This Stupidity - ButtonComponent and modifying existing buttons (on messages) 4 messages
sand lion Hello. I use typescript I would like to know... Why Can't I Simply Modify An Existing Message's Buttons? As shown in th...
1150878580193116250
Discord.js browser version 3 messages
sullen stag Is there an updated version of this for the latest version of D.JS? https://github.com/discordjs/discord.js/blob/6b3bfdd...
998292157150535700
Is it possible to make a poll with Discord.js that never expires? 3 messages
zealous osprey Is it possible to make a poll with Discord.js that never expires?
Network errors 18 messages
rich beacon Hi, i have two bots hosted on my Raspberry Pi 5 with pm2, i noticed that sometimes one of the bots when my internet goes...
RateLimit issues / other causes 10 messages
sleek flicker Hi, I have a lot of bots on my server and I feel like I get ratelimited everytime I restart the server. Everytime I rest...
Creating first bot and ran into problem 11 messages
dire crest Ive already done nmp i and installed discord.js in the terminal (using VSC) and when i try to run my code it says `canno...
1150878580193116250
Can the REST class be used to work with global rate limits (make sure you don't throttle)? 3 messages
honest quarry Let's say your bot gets huge fast and it's time to start worrying about rate limits, how would a developer go about mana...
1150878580193116250
How can I make sure slash commands are only added/registered once? 10 messages
honest quarry I was adding and removing my bot from my server once for testing purposes and recently ran into the "Interaction already...
1150878580193116250
TypeError: Cannot read properties of undefined (reading 'send') 33 messages
covert mulch i did find a few posts on this error but no amount of research or looking through documentation has fixed my issue. bas...
998292157150535700
how i can check is user timeouted 3 messages
nocturne wolf so, i'm making a unmute command that removes the timeout and i want to display an error saying user is not timeouted whe...
Unknow Application 6 messages
tranquil anchor ```js const { REST, Routes } = require('discord.js'); const fs = require('node:fs'); const path = require('node:path'); ...
1150878580193116250
Guild undefined when fetching a channel 5 messages
bleak trout I'm trying to get a channel by id, but it returns a undefined guild. Is there a way to get a channel and returns with ch...
1150878580193116250
Bot not returning API latency 10 messages
next sorrel Hello, I'm trying to make my bot return API latency but it is responding with NaN. In my code, API latency is defined ...
Hey if I have a verified bot with slash commands and added some commands for example ?ban 9 messages
pure oak Hey I have a verified bot with slash commands and added some commands for example ?ban but when i use it with my testing...
Is there a way to add a type to a choices inside an options? 11 messages
pure oak So basically I want to make the type of the choices as CHANNEL but somehow it doesn't work, is there any other way?
bot function 7 messages
solemn panther I want to make a function like when some one react on a particular message its copy the code
Webhook avatar 3 messages
spring jackal Hi, I'm trying to create a webhook linked to my bot, which works correctly, but the avatar is not displayed even though ...
1150878580193116250
ChannelSelectMenu 13 messages
glossy olive Is it possible for users to select more than one channel in ChannelSelectMenu?
1150878580193116250
channels.create().then() runs before the result is acquired 10 messages
daring ocean Trying to figure out why my query is getting ran before the result is acquired here: ```js const guildCategory = interac...
1150878580193116250
line break 18 messages
last lantern Im trying to break line in my embed description with an external string ( not used directly into the code )
bot just crashes 2 messages
dusty bluff ```const { Client, Interaction, ApplicationCommandOptionType, PermissionFlagsBits } = require('discord.js'); const fs = ...
options.uri is a required argument 3 messages
weary skiff ``` for (const member of members) { await member[1].roles.add(role) } ``` after 10 added roles this error is appeared ...
What is the best way to recover my buttons components? 7 messages
bleak trout Example: If my bot restarts, all buttons components will stop working, because i will lose all my collectors. I thought ...
1150878580193116250
bot mobile online status 5 messages
alpine salmon How to display mobile online like this bot?
1003448629866020986
Delete all Slash Commands 27 messages
scenic stump I'm trying to figure out if theres a way, as quite literally. they dont sync
D.js version 15 2 messages
tough scarab when will the d.js v15 launch ?
Property 'getMember' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, 5 messages
scenic stump Really interesting, as I haven't touched javascript in a while, nor TS.
how can i make a user installed command? 6 messages
river wren Im not sure how i can make this
Edit Interaction Reply 10 messages
covert nest Hey! I have a slash command that replies with an embed message containing button components. How could I edit the reply ...
1150878580193116250
My bot seems to not received the event "interactionCreate" from button sent in DM 10 messages
dawn thistle Hello, My bot has sent a message to a user with a button but when the user click on the button the bot doesn't receive ...
1150878580193116250 998292157150535700
discord.js breaks other packages event emitter's (typescript) 34 messages
winter knot I may completely be being stupid, but I think djs breaks other packages event emitter's. mongoose for me at least. This ...
1150878580193116250
[ ERROR: ]: source.on is not a function 87 messages
restive knot ``` let channelID = row.find(function (r) { return r.channeltype === 'welcome' }).channelid; ...
I don’t know what’s wrong 8 messages
final harbor Please help me
1150878580193116250
Bot stuck on thinking 2 messages
dusty bluff here is my code: ```const { Client, Interaction, ApplicationCommandOptionType, PermissionFlagsBits, } = require...
is this a right way to do? 4 messages
normal laurel i created a interactionCreate.js file that was given below is that a right way to check the bot has nessery permission t...
Does **MessageReactionAdd** Event work? 5 messages
dry quartz I asked myself this question because I use the event **messageReactionAdd** and my app does not interact in the event. H...