djs-questions

13317 threads · Page 82 of 267

View Guild Onboarding 6 messages
queen glen I'm trying to see my Guild Onboarding questions and add answers to them but I'm just getting undefined for each property...
embedding an manipulated image inside the box 8 messages
tacit wolf i tried to manipulate an image and adding it to the embedded box as an attachment url but its not inside the embedded bo...
Disable select menu after use - interaction.update() 11 messages
languid umbra ```JS const tempComponent = interaction.message.components[0]; tempComponent.components[0].disabled = true; ...
node
(guild create channel) ---> TypeError [InvalidType]: Supplied parameter is not a User nor a Role. 8 messages
undone loom ```json { name: 'amal-accept-application', type: 0, parent: '1129515735014719600', permissionOverwrites: [ {...
node
Questions about on-premise and nodejs 3 messages
covert vessel Hello my friends, I'm planning to develop a software using Tauri that connects to a Node.js server. If I decide to depl...
How to call Slash commands in another slash command? 13 messages
abstract falcon Hi! We are making a discord bot as a school project and our goal is to have a /creategroup command that uses already mad...
@discordjs package
errorr 3 messages
node
images not in message? 16 messages
buoyant epoch Hello, when i get the messages every message with image is just empty, why is that? it shows every text message normally...
Support with using client in separate files. 14 messages
hardy briar I'm having a bit of a struggle with my project and could use some assistance. What I've gotten into the habit of doing i...
@discordjs package
Global / Commands 5 messages
gleaming crypt How long does it it take for global / commands to register? Anytime I add a command I have to invite the bot back and it...
node
images dont appear 9 messages
hard barn when i put an attachment using `AttachmentBuilder` in to the `files: []`part of a message it appears in discord as somet...
The bot is silent and does not send me a transcript 47 messages
mortal canopy Code: (This is my first time working with discord.js, don’t judge me) ```js $djsEval[(async () => { const discordTran...
node
how can i incorporate ai image generation? 8 messages
hard barn i'd just like to know how to incorporate ai image generation into this. i want it to respond that it's generating the im...
what is this and how do i make it for my own bot 8 messages
upper wraith title
node
"ValidationError: Expected a string primitive" when adding options to a StringSelectMenuBuilder 5 messages
mortal igloo Hey, got a question: I want to add a StringSelectMenuBuilder, and for the options I have this: ```js const optionsSSM = ...
how to disable button from client.on(Events.interactionCreate, interaction => {}) 4 messages
modern veldt how to disable button from ```js client.on(Events.interactionCreate, interaction => { ... }); ``` for example the butt...
Why the messages didnt get deleted 3 messages
harsh oracle https://sourceb.in/1la4uiT9CK
My avatar command does not embed anymore on first time, it does on second. 2 messages
winged tartan Has this to do with a recent discord update? Greatly appreciate if anyone has a solution. this is my code:
node
How to create new tag in a discussion and how to get the id of any tag in the discussion to apply it 2 messages
modern veldt How to create new tag in a discussion and how to get the id of any tag in the discussion to apply it to the new post?
node @discordjs package
super.user error after updating packages 60 messages
dreamy widget Code ```typescript import { Client as BaseClient, ClientUser, Collection, GatewayIntentBits } from "discord.js"; import ...
Expected the value to be an object, but received string instead & Message is not a Constructor Error 3 messages
dry stirrup I Coded a /ping Command & It's This How To Fix the Errors v14 (^14.14.1) ```js const { SlashCommandBuilder } = require(...
Problem with displaying the user's banner 17 messages
tender flame Good afternoon! I'm trying to display the user's banner. The problem is the following, if the user with nitro did not us...
How to send a followUp after deferReply() and editReply()? 8 messages
lilac wadi I have an ``interaction.deferReply()`` that is edited later with ``interaction.editReply()``. I'd like to also send a ...
command.permissions.has() always returns true 14 messages
quasi latch When using `slashCommand.permissions.has({ permissionId: interaction.user.id })`, it seems to always return `true`. Eve...
How to get user details and give him a role by his "User ID" 29 messages
modern veldt How to get user details and give him role by his "User ID" I tried a lot but not working
@discordjs package
Sometimes Unknown Interaction 12 messages
young blaze Hey, I made a discordjs Bot that relies heavily on slash commands, sadly sometimes it gives out just unknown interaction...
discord bot template 16 messages
empty lichen hi is there any chance anyone can give me a template for a slash command bot please because all the ones that i have tri...
Error 24 messages
peak widget node:events:495 throw er; // Unhandled 'error' event ^ CombinedPropertyError: Received one or more errors ...
node
Mentions and/or usernames in embeds 15 messages
calm remnant I cant get the embed welome message to return the joining members username. I have tried many ways. ``` const WelcomeEm...
bun
Dynamically update command choices without using autocomplete 25 messages
eternal topaz The title says it all, I don't want to have to use autocomplete as I've found it can be pretty buggy. I'd like to be abl...
Channel is not in cache when button interaction is used. 6 messages
rain skiff I tried making a button that would delete the message when clicked, but this error showed up: ## The Error ``` uncaugh...
Modal submiting 5 messages
quasi latch When a user uses a command, as example /say, a modal pops up using `interaction.showModal(modal)`. But when I use `inter...
if (!field) throw new DiscordjsTypeError(ErrorCodes.ModalSubmitInteractionFieldNotFound, customI 20 messages
modern veldt I have this error and this my code in the pictures
@discordjs package
[ERROR] Encountered error on event listener "moderationLog" 6 messages
torpid holly Full Error: https://pastebin.com/GnkxtJqe moderationLog Listener: https://pastebin.com/DLgksCHN I'm calling the modera...
How can 8 messages
mortal ruin How can I create a streaming account generator bot?
node @discordjs package
Sending Images with djs/rest 73 messages
stark lynx My issue is that the promise dont get resolved of the rest#post() neither the followup works in Discord and I dont see w...
node @discordjs package
Error with de 14.12.0 version. 3 messages
static mural Hello, Since the version of DJS 14.12.0, my channel and role select menus only no longer work (they are not displayed wh...
can someone help me with so high ram usage 4 messages
tulip grove can someone help me my bot is taking 29gb of ram its in 85 k servers when bot got started it only take 8gb ram then slow...
node @discordjs package
Commands not being deployed 7 messages
wise ivy Commands not being deployed
node
Unknown Interaction on interaction.reply() 18 messages
bitter hemlock The error is in the given picture, im using discord.js v14, i don't know why this is happening Code: ```JS import { ...
node @discordjs package
I don't have text in my canvas 3 messages
Bot will not .editReply() it's message. 95 messages
regal sluice Greetings, I am running discord.js v14.14.1 and npm v 9.8.1. I have two bots with the exact same code, however one is ...
Workaround Invalid Webhook Token Error 20 messages
visual spindle Recently, I have found that my game bot crashes because it throws Invalid Webhook Token Error when editing or defering a...
node
How do I get an user's "Display Name" with discord.js? 8 messages
rugged jackal For example, I want to specify the users in my server who have a specific symbol like a star ★, and if they have this sy...
How can I pull how many boosts a user gave on my server through discord.js? 13 messages
warm scaffold How can I pull how many boosts a user gave on my server through discord.js?
Getting Threads 5 messages
short stirrup Is it the Message or the Channel object that contains the threads?
Bot giving me "disallowed intents" error when trying to run through node.js 11 messages
peak mica Code: const { Client, GatewayIntentBits } = require('discord.js'); const client = new Client({ intents: [ GatewayI...
Another error in visual 12 messages
calm remnant I am trying to turn my bot on using the node . command and this is the error i am getting Error: Cannot find module 'C...
node
npm install discord.js 11 messages
calm remnant I am trying to install the discord.js but when i run that in visual it tells me npm : The term 'npm' is not recognized...
node
[ERROR] Encountered error on event listener "moderationLog" 7 messages
torpid holly Full Error: <https://pastebin.com/GnkxtJqe> moderationLog Listener: <https://pastebin.com/DLgksCHN>