djs-questions

9202 threads · Page 47 of 185

content: '' even when there's a content. 3 messages
fallow linden I am using this basic code - ```js const {   Client,   Collection,   Events,   GatewayIntentBits,   EmbedBuilder, } = re...
How can I fix the ChatInputCommandInteraction? 27 messages
craggy thorn I'm making a command however the `ChatInputCommandInteraction` is not looking right and my command won't show up, how ca...
Slash Command Register 28 messages
dense kernel commands in my server only register for me, when anyone else trys to use them they dont exist Node Version: 20.11.1 Disc...
PresenceUpdate usage 27 messages
hollow oak How can I reduce the memory demand of `presenceUpdate` events, I dont need them per guild, I just need the presence and ...
1150878580193116250
Looking for examples for code structure 11 messages
merry jasper I am trying to understand how I make discord bots according to the standards and what some good code structure practices...
1113356221962010634 1150878580193116250
discord.js occasionally resending requests, causing double messages 18 messages
fossil fable I've got a feature which sends a message at 00:00:00. However, sometimes requests are sent twice or even three times. Th...
1150878580193116250 986538542350086175
Role Select Menu not clearing/refreshing? 5 messages
honest quarry I swear it was working before. The input will not clear. Once the "next-button" is clicked, the message should update a...
1150878580193116250
RangeError [MessageNonceType]: Message nonce must be an integer or a string. 2 messages
fleet marsh hi someone can help me? ``` require('dotenv').config(); const { EmbedBuilder, AttachmentBuilder, SnowflakeUtil } = requi...
A variable is returning NaN even though it's supposed to be a Number 3 messages
celest smelt ```js module.exports = { data: new SlashCommandBuilder() .setName('c') .setDescription(''), asyn...
410 error Discord-Player 8 messages
royal oriole Hello i have probleme do you know why ? In my local bot its good BUT in my vps with same code he dont work ```js "@dis...
[opinion needed] Splitting data fetching to repositories 2 messages
ivory patrol 👋 ⚠️ I post that here because it a way related to djs but isn't a problem with djs itself, more a reflexion of structur...
1150878580193116250
Get Guilds Members 4 messages
worn sorrel how can i get the guilds member using accessToken
1150878580193116250
djs-checker 27 messages
runic silo Hi, what is it djs-checker (https://www.npmjs.com/package/djs-checker) ?
998292157150535700
discordapierror while deploying commands 3 messages
nocturne wolf link: https://sourceb.in/YWeLIeT3tl
how can i script that a staffler get ping when a ticket open?? 2 messages
glacial geyser .
Send Images from MongoDB 2 messages
wooden agate I have been trying to send image from mongodb but nothing seems working ```js const imagePath = "path/to/the/image.j...
thread send message 15 messages
final merlin yo, how can i send a message to a thread id i specified via my discord bot?
Trying to cycle embed with pictures and confirm, but have errors 1 messages
hushed sequoia Hi everybody, First, here his my code: https://sourceb.in/ZcNpnYRC32 **I'm currently trying to make a command, this is...
modules 8 messages
gleaming saddle Hello, do you have a question? Here I have a project to create a discord bot in javascript speaking several languages, b...
1150878580193116250
Can anybody help me? 2 messages
sullen merlin my warn.js code is: https://sourceb.in/In5H2k2pXo and my unwarn.js code (is not removing the warn, so it isn't working) ...
How can I get number of members in the role without having Guild Members Intent? 3 messages
latent warren ^^
Invite bot Error 2 messages
gloomy flame Im trying to invite my bot into a server but i cant any idea?
how can i delete the youtube link ? 6 messages
glacial geyser in my response message is no where the link
Inconsistent Timing in `ModalInteraction.deferReply()` 7 messages
cedar flax The function `ModalInteraction.deferReply()` is exhibiting inconsistent behavior. Instead of taking a constant interval ...
1150878580193116250
Intents. 5 messages
uneven knoll Same problem as before the what is the code for intents because when I do it with caps it throws and error and when I do...
is it fine to use fs.readline and fs.writeline over and over as a system to store data? 23 messages
winter mantle i use fs.readline and fs.writeline as an alternative to using db's, its an economy bot but its only for like 1 server, w...
Intents 7 messages
uneven knoll I'm having difficulty with the caps i don't know which to choose The tutorial says `IntentsBitField.FLAGS.GUILDS,` but t...
1150878580193116250
How i can fetch polls from message? 8 messages
nocturne wolf I'm asking because i want to make a bot that removes polls if user lacks permissions
Discord.js RPC Extension work ? 3 messages
wanton depot I found this extension https://github.com/discordjs/RPC/ for discord.js which allows the use of rpc, which leads me to 2...
1150878580193116250
HTTP Status code 400 [TypeScript] 3 messages
median basalt Making a bot using typescript that fetches a specific api, then sends the info formatted into an embed. i first start o...
Trying to pull users who reacted to a specified message with a specified emoji, need some guidance 48 messages
twin stratus Here's my code, can't seem to get reactedUsers to populate with the right values. This makes it a map with 0 length. Is ...
Welcome message not sending 24 messages
lean owl HELP SIR
Usage example for Poll? 31 messages
molten inlet https://discord.js.org/docs/packages/discord.js/14.15.1/Poll:Class How do I use this?
998292157150535700
Is screensharing with discord apps a thing now? 4 messages
silk herald Is screensharing with discord ~~bots~~ apps a thing now?
986538542350086175
My bot cant create emoji even though it has create expressions permission 3 messages
severe nexus ^^
Discord Bot Creating Invite Link 6 messages
dusty ledge is creating server invite links using a discord bot when it joins a guild against discord TOS?
1113356221962010634
How many subcommand groups can I have per command? 2 messages
wooden agate How many subcommand groups am I allowed to have? only one subcommand group per command? discord.js v14.15.2 nodejs v20.1...
Embeds Style 15 messages
merry nexus Sometimes I wonder how some bots can have their own embeds distinct from other bots? It is square instead of curved edge...
node:fs:1508 const result = binding.readdir( 10 messages
midnight frigate I ran into a problem which is a bit random since the bot worked before but it somehow started showing this to me: I hav...
Command Refresh 7 messages
lean pebble So, I can do node deploy.js and it'll refresh the command list etc, but I have to kick the bot and readd it back into th...
RequestAbortedError when uploading files 5 messages
quasi latch I tried uploading files from 18.3MB and 23.9MB as attachments below one message. I'm getting this error message: `Reques...
Opening Handshake has timed out (no CF ban) 1 messages
lilac thicket I mean seriously, this is the second time I get this, both times since updating to the most recent version 14.15.x from ...
1150878580193116250 998292157150535700
Problem when i try to use keepAlive wth MongoDB 2 messages
sonic knoll (async () => { try { mongoose.set('strictQuery', false); await mongoose.connect('mongodb...
Find avatar by an ID 5 messages
jovial jolt How could I told to used a specifical user ID (not the one who do the command but a specific ID set in the config before...
Can a bot react to a user joining a voice channel without being there? 1 messages
glass mango Hey guys, I want to notify certain users when any other user joins any voice channel on a server, can I do that without ...
TextChannel.send only works when sending raw content 26 messages
next prairie Hello , i am fetching a channel and trying to send an embed, and it doesnt work, it only allows me to send a channel whe...
1150878580193116250 998292157150535700
status Bot 19 messages
uneven wave Hello how do we get this status on discord with the bots pls
Is it possible to check if component timed out AFTER it has timed out? 21 messages
honest quarry For example, when a message is sent with a select-menu component: ```js try { const select = await initialReply.awai...
1150878580193116250
Send Attachment 4 messages
sleek heath ```js const attachment = new discord.AttachmentBuilder() .setFile(Canvas.toBuffer()) .setName('profileMember.png'); ...
1150878580193116250
Editing message 10 messages
granite forge I am making a bot that will update a message every hour, the code works so far but when trying to edit the message it gi...