djs-questions

9202 threads · Page 58 of 185

How to make an attachment from an http response 10 messages
turbid viper I'm making an http request with `await fetch(imageUrl)` and would like to turn that into an Attachment for use in an emb...
How to check if randomServerWithAd blacklisted the server that is running this command. 4 messages
acoustic hedge ```js module.exports = { data: new SlashCommandBuilder() .setName("partner") .setDescription("Partne...
1150878580193116250
User need to be authorized bug 15 messages
acoustic hedge Hey, so everytime my partner managers try to run /partner or /partner-category they can't run because of this if stateme...
1150878580193116250
storing 2 objects into one 2 messages
errant eagle hello, i wanted to know how i could make my data be stored in one object in mongodb, since im using 2 different collecto...
1150878580193116250
hey i have problem in my bot with welcome 5 messages
spark swan Unhandled promise rejection: Error: Server responded with 404 at C:\Users\sami\Downloads\Flux-Bot\Flux-Bot\node_modu...
1150878580193116250
<Interaction>.channel.edit stops working after 2 edits 14 messages
nocturne wolf I'm making a ticket system in my bot, and i noticed a problem. Where when i edit the channel 2 times (closing the ticket...
Looking for Feedback on a little project of mine 35 messages
sullen rivet Hey guys ! I hope you are all doing well ! I am working a little project of mine that consists of modifying the way DJS ...
Maybe this isn't discord.js but yesyes 4 messages
quartz venture As you can see, if I try to use the command in a channel where a user has sent a message, it only shows that (or those) ...
Fetching ALL >10,000 server members 2 messages
long hemlock Hey is it possible to fetch all the server members? right now the limit is 10k
Verify Modal 17 messages
small vault Hey i have a problem i want to create a verify command with a modal my problem is i dont can send this modal
help 1 messages
smoky lagoon im new to discord.js i had it installed on an older project but now it wont install in my new project (idk what tags thi...
998292157150535700
I cant put emojis in buttons. 69 messages
mortal badger const appealEmbed = new EmbedBuilder() .setTitle("Appeal A Moderator Action") .setDescription("If you receiv...
Requiring a specific role for a specific button. 24 messages
eternal depot So as I was in my testing phase, I created a ticket and noticed everyone could see the ticket. Can anyone have a look at...
1150878580193116250
getting a thread from an interaction 22 messages
primal lion i have a button that locks a thread once it's clicked only issue is i cant seem to figure out how to save the thread in...
Message missing Embeds that should be there. Restarting the bot fixes the problem. 2 messages
sturdy dagger This question is to continue the conversation started in <#824411059443204127> from here (https://discord.com/channels/2...
1150878498534199426
The image is not sent 29 messages
unreal nest Hello. I would like that when a person joins my discord server a welcome image generated with canvas is sent in the welc...
Bot cant interaction.editReply() 3 messages
kind cedar My bot randomly cant send a interaction reply. Everything in the command works except `interaction.editReply()` and gett...
1150878580193116250
modal issue 3 messages
primal lion I've done literally everything i can think of to fix this issue https://pastebin.com/mMe7jiZH this is the code that's ...
intents issue 19 messages
soft galleon so this is my code const { token, default_prefix, color } = require("./config.json"); const Discord = require("discord.j...
how to remove a build in discord message 11 messages
primal lion how could i have the bot delete this message? I already have the line of code to delete a message but how do i target th...
Another problem again with chatgpt bot 37 messages
azure compass I run index.js which I watched a whole video and nothing will pop up in powershell after running it
Bot wont resond to dms (Yes I used ChatGPT) 73 messages
azure compass const { Client, GatewayIntentBits } = require('discord.js'); // Create a new client instance with the necessary intents...
Getting 'Missing Access' error when deleting channel even with ManageChannels permission 12 messages
sour jungle Hey, I am rather stumped with this one and thought this would be the best place to ask for help. I am trying to delete a...
1150878580193116250
How to send base64 2 messages
eternal vapor How? embed.setImage()
status activites 6 messages
wraith brook can i get a user or member activite or prescence what is he doing ?
How to make an "Authorized App"? 25 messages
shadow epoch Hey there! So recently someone who's better than me at coding showed me they made a "self-bot" of sorts that allowed sla...
1150878580193116250
automatically obtain guildId 14 messages
summer flicker how do i obtain guildId automatically ? i'm tired of setting the guildId manually in config
1150878580193116250
How can I send a message to this channel? 4 messages
acoustic hedge Hey, how can I send a message to this channel? ```js const { Events, EmbedBuilder } = require("discord.js"); const { db...
1150878580193116250
Bot Online indicator 2 messages
tall vector How can I get rid of the green dot on a bot, like how "d.js docs" bot has no online green dot indicator in this server?
How do I do this? 8 messages
elfin holly How do I make it so that I can make a vehicle registration. Ex: Plate: UZP Vehicle Colour: Blue Vehicle Type: Porsche 9...
ERROR DISCPRDAPI 18 messages
modern veldt /Handlers/Commands.js ```js const { Client } = require("discord.js"); const { GUILDID } = require("../../Structures/conf...
roleUpdate Logs Entires Roles List For A Small Change On One Role 6 messages
blissful mist Whenever I Change The Slightest Thing On A Role It Fires The Event And Logs ALL The Roles Is There A Way It Targets The...
Problem with Modal Builders 9 messages
robust ember node:events:497 throw er; // Unhandled 'error' event ^ DiscordAPIError[50035]: Invalid Form Body data.custo...
How to send files through broadcastEval? 13 messages
restive bloom the error is due to an invalid file, the same does not happen when it is sent in the current client ```ts await this.cl...
Unknown interaction, sometimes 38 messages
lone elk The problem is that sometimes it works and sometimes it generates an error, and I've already tried it without using defe...
I need help with this error 6 messages
custom per-guild welcome message 2 messages
versed apex hii, so i wish to make a customized welcome message system for each guild wherein users can customize their own welcome ...
Embed and console desync 16 messages
fresh wagon Hello. Im trying to make a reaction role like system for my server. On startup it sends an embed on the selected channel...
can anyone help me revise the set position command 14 messages
cursive yoke ```ts setPosition(role: MockRole, position: number) { if (position < 0) position = 0; const rolesToAdjust = th...
Application not responding error 23 messages
warm gulch I followed the steps in this website: https://discordjs.guide/creating-your-bot/#using-config-json, and I keep getting t...
Send Embed to Channel with ID 16 messages
fiery shuttle I would like to send my embed to a channel specified by ID. Unfortunately it doesn't work in my code. ``` const { Embed...
Server Deafen and Mute 7 messages
primal lion can i remove the server deafen and server mute statuses from a user even if they aren't connected to a voice channel?
fetch the new created channel 8 messages
junior widget ```const { SlashCommandBuilder,PermissionFlagsBits } = require('discord.js'); module.exports = { data: new SlashCom...
12.5.3 Command not working 5 messages
hidden topaz Heres my code, any idea why its not working? const Discord = require('discord.js'); const client = new Discord.Client(...
1150878580193116250
How this method works? 6 messages
lone elk How `client.application.commands.set()` works to deploy commands? and is an alternative for this? https://discordjs.gui...
Hi everyone i have a question can anyone help me? 4 messages
sturdy mural How to set discord.js actually even though i read from the website i'm still confused i even watch some videos too<a:jay...
In autocomplete, how can I get the value of an option type "User" ? 3 messages
dawn thistle Hello, I have a command ``unmute`` which have 2 options : - user (type: User) - mute-id (type: number) The option "mu...
How to get never timeout buttons 14 messages
fallow linden I want my buttons in messages to get interactions forever. Even when I re-run the code, it must still give interaction r...
null value from slash command option 55 messages
addition and subtraction 4 messages