djs-questions

13317 threads · Page 92 of 267

DM User based on the Username 13 messages
brisk trellis Hi! I'm trying to use the discord rest API (https://discord.com/developers/docs/resources/user#get-user), but I can't se...
@discordjs package
hi my command no function help me pls 45 messages
harsh hill d
Zlib-sync failed to resolve 6 messages
brisk trellis Hi! So I'm trying to integrate discordjs into my Svelte application because I want the bot to send DMs to users on a but...
Ephemeral messages 2 messages
jaunty crescent Is there a way to fetch the ephemeral messages sent to a specific user in a channel in order to delete them? Or do I nee...
Error while trying to preserve previous components when adding new component to an existing message 5 messages
hazy sparrow Greetings, I am trying to write a script which would append a select menu to existing components. Here is my code to d...
My code looks correct, but my bot is no longer detecting messages. 8 messages
dark surge Hello, (I'm French but not bilingual, so sorry in advance if my english isnt good) I created a Discord bot for my server...
node
Attachment Image Problem 2 messages
gloomy flame I create a embed attaching some images and in phone the photo displayed as https://cdn.discordapp.com/attachments/112285...
TypeError [ClientMissingIntents]: Valid intents must be provided for the Client 4 messages
hard whale i am trying to get this bot working on that shows fivem and am running into this problem after updating my disoord.js t...
node
Error - const roleId = interaction.options.getString('role_id'); 17 messages
wet willow Morning all, I've been having this error since last night and I've seen a few people with the same error on Stackoverfl...
Commands not responding 5 messages
proven drum I added trycatch blocks with console.log to see if it gives me a error but there was nothing and it logged it as usual, ...
I need help load all items definition from .json files 3 messages
chilly cloud So in my current code, it work fine loading all items, the main problem is it cant load other data from .json it only ab...
TypeError: Cannot read properties of undefined (reading 'id') 12 messages
hard whale hey i am trying to make a bot that shows fivem server population on discord but i keep running into this error on my sec...
node
Attachment 16 messages
mental goblet Here I want to create moderation logs, well I also want to create message logs. how do you do it when a user deletes a m...
Unknown interaction error, code 10062 after updating to djs14 3 messages
red topaz Hi! I've recently updated to Discord.js 14 and I've noticed that almost all my interactions are having the same issue so...
ReferenceError: blacklistLog is not defined 6 messages
late stump ## Code Block ```javascript const logChannel = client.channels.cache.get('1095093697047183541'); const user = message.au...
node @discordjs package
Bot tags not sending a notification to users tagged. 8 messages
formal sandal Why does my discord js bot tagging people not send them a notification, is this normal behaviour?
Button does not reflect newest data when use next or previous page 3 messages
chilly cloud I got into a problem where my details button does not flect the lastest data of inventory. It easier to look at images.
The reply to this interaction has already been sent or deferred. 6 messages
chilly cloud ```ts /root/discord_bot/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:225 if (this.defer...
Vertical & Horizontal Scale question 7 messages
shrewd summit Hello. I just need maybe some hints for this. I know you can have Clusters(per core) and inside those there is Shards(2...
node
Cannot run deployment scripts 16 messages
prime turtle Hi, I'm feeling really dumb right now. I haven't touched my code in a couple months and I'm finally back at it but I'm f...
node
Weird slash command registering problem 7 messages
shut forum Hello, i'm having a weird issue where not logging (console.log) the result of `rest.put` does not register the slash com...
node
discord-api-types APIGuildMember no permissions bit field? 3 messages
modest pulsar Shouldn't `APIGuildMember` ( https://discord-api-types.dev/api/discord-api-types-v10/interface/APIGuildMember ) include ...
@discordjs package
Unknown Interaction - Cooldowns reconfigure 6 messages
proven cargo I have been reconfiguring my bot to use the built in cooldowns in discord.js instead of my own functions. I have been fo...
Registered command not responding. 22 messages
woeful furnace I have an command which is registered and is being added to client.commands, but for some reason whenever I execute it o...
node
How is this done? 3 messages
dense parcel for the badge
Select Menu Loop 2 messages
turbid trellis How can I make it so that after I select an attribute level, it will display psEmbed and I can again select the attribut...
Download Nodejs without admin rights 3 messages
uncut tusk Hello ! I want to know if it's possible to get nodejs npm without admin rights and how please? Thank you !
node
DiscordAPIError[0]: 404: Not Found 13 messages
glossy wedge # The Code ```require ('dotenv').config(); const { REST, Routes } = require ('discord.js') const commands =[ { ...
node @discordjs package
Can help me to create my bot pls 30 messages
harsh hill Can help me to create my bot pls
node
I have create a command folder 3 messages
lapis grail If i edit my commands I must deploy the commands again or is the edit save?
node
message.components[0].components is undefined 36 messages
lucid girder I got this error `Cannot read properties of undefined (reading 'components')` for a message that always has an ActionRow...
Error 9 messages
tawdry adder error with “else”
I need help solving an error message 8 messages
lapis grail This one says that my path is wrong???
My bot is responding multiple time 17 messages
shell plume any help?
node
Canvas fillText 3 messages
rigid knot I want if the line exceeds the canvas width it'll minimuze the text until the specfic size then it'll go to second line
Can anyone help me to make a bot for some reward plz 🙏 4 messages
gritty compass Looking for someone to create and develop bots for my Discord server, using Python or JavaScript, or any other suitable ...
RPC node dev release
How Can I make something like this? 10 messages
toxic sluice As above
Discord button parameters 2 messages
rare skiff Is it possible to have a button prompt the user for a parameter, like a user parameter for example?
@discordjs package
How to send a message to a channel? 11 messages
delicate bay I've copied the code from the FAQ verbatim: ```ts const channel = client.channels.cache.get('id'); channel?.send('conten...
node
Error syntax 3 messages
green thorn can someone help me to solve this please?
fetch connection 5 messages
upbeat shell is there any way i can get connections like (github, twitter, xbox, youtube) etc of an user?
node
Emojis in embed 9 messages
rare skiff I need a wizard. This black magic has me lost. I'm trying to show emoji's in an embed. This one does not work: ```<:QH:1...
@discordjs package
Message Collector From Chat 14 messages
rigid knot ```js client.on('messageCreate', async message => { let args = message.content.split(" "); if (args[0] === `even...
message collector from array 108 messages
rigid knot I'm using an attachments and message content, to get the question and answer like this:
interaction.options.getString returns null 5 messages
forest prism Hi, in the snippet here, all I'm trying to do is get the bot to repeat what the user writes, however all that I'm gettin...
Slash Command Error - I have no idea why 13 messages
chilly cloud current problem is between data.js in command folder and index.js There are 2 problem. ~~First is ``Warning: Accessing...
node @discordjs package
Slash Command Question 11 messages
chilly cloud ```js const { SlashCommandBuilder } = require('@discordjs/builders'); module.exports = { name: 'data', description:...
Docker ports on GCP & AWS 16 messages
hushed lark I recently dockerized my bot and have it running fine off my local machine, however when deploying it the bot hangs on w...
node
Commands not registering to guild 10 messages
shut forum I'm coding a bot template, and I want to make a folder-based command registration system (see the images below) However,...
node
How do I properly use a built in emoji? 7 messages
oak vigil I'm trying to set a voice channel name to a emoji. Currently it is only displaying a color less version of the emoji. I'...