djs-questions

9202 threads · Page 66 of 185

Reply interaction after editing voice channel perms 5 messages
analog mango There is a button inside a voice channel's text channel. I need to reply to the interaction after editing the channel's ...
ReferenceError: interaction is not defined at Object.execute (/home/container/commands/recru.js: 39 messages
harsh hill My code :
Member Guild Permissions via API 33 messages
gleaming ibex Is there a reason the discord-api-types package does not contain any of the optional values returned by the Discord API?...
1150878580193116250
Reaction Listener bot help needed 44 messages
tacit garnet I have this bot that I want to do these things. I want it to send an embed on command, react to it, then listen to user ...
Reading reaction info 16 messages
lusty onyx I am attempting to take an array of reactions on a given message and identify the individual users that have posted each...
Issue reading list of users who have reacted to a message 2 messages
lusty onyx Afternoon, I'm creating a voting system in one of my servers that has users choose one of eight options. I am currently...
Setting different commands for different types of servers. 24 messages
dreamy jacinth Hello there, so i have a few server types. the user must /register before being able to see all the commands. Seperate ...
AudioPlayerError: aborted 2 messages
thin glacier ```Lỗi khi phát nhạc: AudioPlayerError: aborted at connResetException (node:internal/errors:787:14) at TLSSocket...
is accessing the message object from interaction response possible? 6 messages
glossy dove ```js client.on("interactionCreate", async int => { if (int.isCommand()) { const SentResponse = await int.reply(...
Error: Invalid value GuildMember 16 messages
proper ember I'm working on unmute command for my guild designed bot. However when i run the command the mentioned error occurs. Its ...
settings command 3 messages
steel coral its not saving the notifications, I have added settings.notification new and i want it to be saved in the users data bu...
Saving 3 messages
steel coral its not saving the notifications, I have added settings.notification new and i want it to be in the users data but its ...
create channel 20 messages
stiff venture It says every time failed error: Error: DiscordAPIError[50035]: Invalid Form Body name[BASE_TYPE_REQUIRED]: This field ...
1150878580193116250
message collector filter not working as intended 18 messages
ebon patrol Hello, I'm trying to build a message collector that only collects specific numbers or phrases for a bot for a game commu...
Everyone role on guild.roles.everyone being undefined sometimes 4 messages
vagrant glen In the attached image function first it awaits the login of the client then fetch the mainServer my project uses, if i p...
Simple question 17 messages
dusky oyster How is like context menu worth it? like I don't see a much of a need in it but I'm just curious and wanna know how it's ...
getting guild object 5 messages
dusty wadi anyone knows how can I check if any kind of event happened and get the guild object? my bot only works on guilds so dire...
tracking first button press to do separate actions 2 messages
ionic zodiac hi, I'm trying to complete a util where: - all members in guild have "all channels" role - embed with 5 buttons to remo...
Uploading images don't work 22 messages
glass scarab I'm trying to make a commands that shows a image as a joke, but it keep showing this error message, how do i fix?
api-spam 16 messages
scarlet mica If the bot gets stuck on api-spam, there must be a way to tell. With a selectstringmenu, the member can change the name ...
Setting Client commands in ES Module 6 messages
languid hatch I am trying to set commands in an ESModule: ```js const __dirname = "./"; const foldersPath = path.join(__dirname, "comm...
1150878580193116250
The bot has started, but does not respond to the standard command (!ping) 13 messages
shy copper I installed all the required resources, node.js, discord.js library, latest versions. The bot has enabled intents on the...
1150878580193116250
The button does not appear 5 messages
marsh sable After applying the command, only Embed, but there is no button Code - https://pastebin.com/jztz1uTJ
How best to handle `unknown interaction` on `deferReply` 12 messages
native sinew Nomadding in Southeast Asia. My bot was working fine in Thailand but gets intermittent `unknown interaction` errors a lo...
1150878580193116250
Color Check for String 12 messages
earnest furnace I was wanting to see how I would go about validating a string as a color. I am using a command to change the color of ...
The program saves the old voice ID. 9 messages
solar mural Hey I'm developing one (+moove @user) and it works the first time when I start the bot but when I do the command again, ...
998292157150535700
[SOLVED] No such file or directory, scandir C:\<path>\commands\0 17 messages
jaunty wind ```js const commands_folder_path = path.join(__dirname, 'commands'); const command_folders = fs.readdirSync(commands_fol...
Issues with DJS dependencies? 4 messages
supple brook I was just running an npm audit as I sporadically do, and came across this ```bash undici <=5.28.2 Undici proxy-authori...
998292157150535700
Im building a verify bot and i keep getting the same error 33 messages
manic vigil When i put node bot.js to run it, it just gives me the same error over and over again and copilot ( the ai i went for he...
How to delete Application Slash Commands 29 messages
glass scarab That's is quick but i accidentally put two commands that do the same (due the other one not showing up) now all tutorial...
Error Verified System 3 messages
marsh sable Error - https://pastebin.com/j7Z0cTni Verify.js - https://pastebin.com/SR42VFqi InteractionCreate - https://pastebin.co...
CDN picture urls 3 messages
golden nova In regards to CDN picture urls: My users save the discord url of a picture into the bot db. Everytime the bot posts the...
1150878580193116250
Info about guildMembersAdd 3 messages
shadow notch A clarification: why if I track who join the server with guildMemberAdd, I get different logs than the discord user join...
What's the reason for subcommands? 2 messages
dusky oyster Pretty straightforward, might sound dumb but honest, kind of having trouble understanding it's purpose
This interaction Failed 8 messages
heady spire im trying to go from 1 embed to two inside of a message and in the background im trying to change the opponent datavalue...
can anyone help me with this 8 messages
tender oasis https://srcb.in/YYmw3h3x3H Am making like this how is in the image
error 27 messages
spice orbit ```TypeError: Cannot read properties of undefined (reading 'includes') at Object.run (/home/container/commands/info/...
just open this 6 messages
novel obsidian How do I find out or see the code on discord.js.org? When I was confused about wanting to create a system, especially f...
Help collecting a button component 27 messages
trim plume Hey guys, I have been struggling trying to collect a button response. I am following the "component collectors" portion ...
1150878580193116250
Can't fetch correctly 17 messages
gusty crane i need to fetch a lot of times per command but it only fetchs once and stops after it
How to use discord.js in Android? 7 messages
glass scarab So, i've been trying to make a discord bot on js (obviously) but i've been struggling trying to install the discord.js, ...
998292157150535700
Button Interactions 6 messages
heady spire hello! im trying to make a way to send different embed depending on the rarity. it works when i press a button but the o...
Client export doesn't work 8 messages
cold night Hello, i'm trying to export my client to use it in another file but i get an error https://screens.mathieuar.fr/Screen-...
multiple image attachments in one message 8 messages
dawn juniper can i add multiple images to a single message, similar to how users may do it?
how do i attach image from file path? 13 messages
dawn juniper title
Image shows on edit 8 messages
river dawn Hello, When I create an embed with an image that is attached to my message, and then I edit this embed, the image is sho...
interaction response 11 messages
dusky oyster Hey so my question is pretty simple, If I were to make ticket system or something and for example I want my embed with C...
temporary Voice Channels 11 messages
river island Is it possible to create temporary Voice Channels with Discord JS. Ideally. click a button and it will put you in a cus...
Patch using webhooks on DeferredChannelMessageWithSource with token and embeds 5 messages
dim plover hi everyone, I've been struggling for a while and can't find an answer using the search here. I'm sure it's a silly mist...
Always read a modal InputTextValue but when it doesn't exist it makes a null value of it. 8 messages
trail schooner Does anyone know how to always read a modal InputTextValue but when it doesn't exist it makes a null value of it? ```js ...
1150878580193116250