djs-questions

13317 threads · Page 67 of 267

My Bot isn't Deleting Archived Threads 8 messages
bold pond When a Thread is closed or archived, it cannot delete the thread. It only deletes unclosed or active threads but I'd lik...
how to know the channel id of voice channel so that i do not need to put my channel id manually 75 messages
loud eagle in my code while using joinvoicechannel function it asks for channel id is there any way so that i do not need to put my...
node
Interaction reply time limit 6 messages
golden pilot Hi all, I'm currently writing a discord bot command that needs to ping the API which ping the DB as well as a Redis cach...
how download discord j.s. 3 messages
feral marten How download discord j.s
node
Discord Presence 15 messages
dense kernel ``Discord.js Version 14.14.1 NodeJS Version: 18.15.0`` Been working on my logs for discord trying to get a presence log ...
Converting the Command Handler and the Command Deployer to use ES modules 12 messages
paper elm I am attempting to convert my project to an ES Module instead of using CommonJS. I've already changed imports from `requ...
node
If I crate a /command 10 messages
lapis grail there are commands after this like /command command1:10 how the command1 is called tyyy :3
Starter 2 messages
TypeError: Cannot read properties of null (reading 'createMessageComponentCollector') 9 messages
night pagoda I have this error `TypeError: Cannot read properties of null (reading 'createMessageComponentCollector')`
Channel Question 2 messages
gloomy flame Is there any way that when someone open a ticket for example change the channel he see into the ticket without user have...
How to defer a button without losing the loading animation? 8 messages
burnt grotto Hello, I have a button interaction which will take some time to process. Is it possible to use `deferUpdate` while stil...
node
Bot Custom RP 4 messages
alpine salmon Can I set up `Custom RP` for my bot?
Is it normal that the latest version of discord.js has vulnerabilities caused by undici ? 8 messages
hearty arch Like you can see in my attached file, undici is not up-to-date, is it normal ?
@discordjs package
Why does it just say "application didn't respond"? 18 messages
quartz venture ```javascript const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); const Utils = require('../../utils');...
When I am running Node . it's throwing errors... 5 messages
node
Automatically Sort Roles 2 messages
Automatic reactions 30 messages
dusky oyster so here I am, with another query. How would I go over making it so upon modal submission there would appear two reaction...
How do I make the description and so on of the embed an option when putting in the command 4 messages
languid tiger const { SlashCommandBuilder } = require('discord.js'); const Discord = require('discord.js') const data = new SlashComm...
TypeError: Cannot read properties of undefined (reading 'get') 5 messages
quartz venture ```javascript const { SlashCommandBuilder, EmbedBuilder } = require('discord.js'); const Utils = require('../../utils');...
Doesn't fetch the channel, why? 12 messages
quartz venture ```javascript const channel = client.channels.fetch("1198299044582281216", { force: true }); console.log(channel.name);`...
It doesn't fetch the channel 3 messages
quartz venture ```javascript const { EmbedBuilder } = require("discord.js"); module.exports = async (client) => { console.log("Loa...
I wanted to ask for everything I need for this command 11 messages
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?...
node
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 ...
node
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 3 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...
node
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...
node
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...
node
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, ...
@discordjs package
[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...
@discordjs package