djs-questions

13317 threads · Page 56 of 267

VS code with node 12 messages
hexed blade Hello I am new to the CODING and all can you tell me how to make node.js work with VS Code IDK about VS Code features an...
node
Button message not working 6 messages
random vapor I want when other users who arent the interaction user get met with this message 'only user can use these buttons', but ...
Webhooks 7 messages
spiral inlet Hey is there a way to get data sent to the webhook client, instead of when the webhook sends the message?
Making a discord bot and integrating a website 5 messages
devout frost Is there a way for me to start the bot and the website at the same time in the same file [Next.js]
messageDelete does not work with old messages. 16 messages
fierce lava If I delete a message that I just sent or that I sent a few minutes/hours ago, the bot detects and sends the embed but i...
How do I create a Logger for every event? 4 messages
turbid pewter I'm trying to create a logger for every event I cover, I alredy did it in the past but it was a bit messy. I had many li...
Reaction collector not working 21 messages
slow perch Reaction collector does not seem to work for me , i am expecting to be able to collect reactions on a message or embed. ...
Primary Key 11 messages
fierce lava Hi, I have a question. When I search for a ticket, I do it via the channel_id. Can I set the primary key to Channel_id?
Error with swich case 38 messages
broken bear I have this ticket system but the problem is when i click the "close-button" the message "Cerrando ticket, espere un mom...
node
Voice channel status 10 messages
serene sun Hey, i would like to know if there are any new infos regarding Voice channel status like when it will be implemented in ...
@discordjs package
Turn bot into an executable file 3 messages
dusky locust Basically the title, im not super knowledgable on this stuff and i want to make my bot an exe file so i dont have to run...
node
how to have spaces in command name 3 messages
frail stump i get regex error cuz spaces can't be in command name but i have seen some bot which do have spaces in b/w the command n...
How to make help command 14 messages
pallid fractal how can i make a help command which lets user choose the command category which will be the different subfolders inside ...
TicTacToe buttons don't work 3 messages
coral stratus Hello I have a tictactoe game coded but whenever I always send an invitation and accept it via another discord acc he al...
Discord Collector Filter 10 messages
tawny igloo Also, I'm creating a staff application bot where I need to send a dm when an user executes the /apply command, Right now...
[Question] How long is a file stored? 5 messages
jade vector My bot send an attachment (simple JSON files) and stock the ID of the message (+channel obviously). I download the att...
Handling Unmatched Autocomplete Inputs in Slash Commands 10 messages
worldly plume I’m working on a Slash Command that allows users to retrieve crafting instructions for Minecraft items with an autocompl...
Is there a way to see the option we provide to slash command 3 messages
worldly plume ~~look at the image~~ I want to display the differents option that has been provided to the command Like `/howto optio...
Discord
fs.readdir, glob, fast-glob all won't match any files while using Typescript 27 messages
fluid onyx ```ts async getEvents() { const eventPath = path.join(__dirname, "events"); fs.readdir(eventPath, async (err, ...
getting error on attaching attachments 8 messages
hearty wharf Error uploading product: TypeError: Cannot read properties of undefined (reading 'Symbol(Symbol.asyncIterator)') on upl...
Unable to get property 'id' of undefined or null reference - [email protected] 7 messages
glacial night When turning on the Discord bot, I get this TypeError: ``` TypeError: Unable to get property 'id' of undefined or null ...
getting typings error 5 messages
hearty wharf tsc node_modules/discord.js/typings/index.d.ts:1210:21 - error TS1139: Type parameter declaration expected. 1210 pub...
Roadmap? Any upcoming releases planned? 7 messages
grim bough Hello! Was just musing on some recent Discord policy changes, and some unrelated permissions strangeness related to serv...
how do i download slashcommand 14 messages
alpine quail .
interaction.reply is not a function) 5 messages
coral stratus Hello can someone help me I want a poll command code have everything ready but whenever I type /poll always comes (There...
how to make commands without the slash 7 messages
turbid gull i cant find the right thing in the docs and nothing else the internet can someone explain to me how to do it ? is it pos...
files not reading based on command handling (not a discord.js issue) 5 messages
quartz lance I'm new to djs and never made a bot with discord.js I'm facing an error with the code can anyone help me here's the code...
node
Get user ID from username 2 messages
peak hedge Is it possible to get someone's discord id from their username if the bot shares a server with them. I'd rather not iter...
voiceState 14 messages
I have an error in my code that I don't understand. 19 messages
forest wigeon Good evening, I have an error in my code that I don't understand. I have already tried several times to modify my code b...
node
Could I use D.JS on my own Discord account? 4 messages
Prevent caching 9 messages
deft grove Hey there! Yesterday I had a problem where my bot didn't show the roles it can give in the dashboard, even after moving...
node
Extending Client and making Interaction.client use that new Client 5 messages
fluid onyx As said in the guide, I have extended my Client class, no problems there. Though, I want to use `interaction.client` in ...
The Command That Has Me Stuck 8 messages
lapis marten I want to make a shop command that has a limited stock and will have a different item in each one. Currently the only id...
node index problem 76 messages
alpine quail wouldnt work :D everything is same as the link but doesnt work https://github.com/discordjs/guide/blob/main/code-sample...
I need Help with my Ticket System for Discord 14 messages
little mauve I have a lot of Errors and i don´t know what to do please help
node
Vulnerability 4 messages
alpine quail it says run npm audit fix to fix 4 low severity vulnerabilities but it doesnt fix it # npm audit report undici <=5.28...
Fetch messages after a message with including initialMessage 9 messages
vale mesa ```ts let messages = await dmChannel.messages.fetch(); const initialMessage = messages.find( (x) => x.components[0...
node
I don't suppose TextChannel polls are available on the API yet are they? 3 messages
quaint loom I know it's a new feature which has been rolled out slowly across servers by Discord. I don't suppose this library suppo...
Still need help understanding how I can stop a collector if await is used inside (for a modal) 11 messages
honest quarry Let's say the player dismisses the ephemeral message. The collector still runs because the actual "submit" button was no...
node
How can I stop this collector if component disappears (for example, ephemeral msg closed) 4 messages
honest quarry I want this collector to stop if the entire message is closed. The interaction is "unknown" if I run the command and use...
node
Shop Queue 5 messages
lapis marten Hello yall I'm wanting to make a shop queue which is essentially where I add multiple things under the same queue and th...
How can I make the following thing happen 11 messages
fallow linden I want to update an already existing message first and then show a modal. But the error occurs replying the interaction ...
Button Interaction 30 messages
dusty bluff Hey, heres my code: buttonCollector.on('collect', async buttonInteraction => { console.log(buttonInteraction...
A few errors. 12 messages
dusty bluff Hey, I have a few erros, I havent encountered some because of my initial problem. Heres my code attached. Basically, I w...
(Sorry if it's not super relevant) Anybody know if there is an online builder for editable images? 2 messages
honest quarry For example, discohook.org is a website for building Discord embeds. Is there something similar but for easily designing...
Button Collector 5 messages
solid bear Hi I use prefix command for some command. I want just owner click this message button but when I add message.channel.cre...
node
Cannot read propertiesof undefined cache 13 messages
willow pagoda Hello, Even though there is no command or event I use actively, the bot is pulling a message and trying to send it. For ...
ApplicationCommand & PermissionFlagsBits 6 messages
gilded cliff I recently refactored my static Command files to store the SlashCommands, and underlying SubCommands, SubCommandGroups a...
Is it possible to use an older version 7 messages
ionic zodiac Hey, I ran a couple Discord bots on 12 and 13, and then let them die like a year and a half ago. I recently got back in ...