djs-questions

9202 threads · Page 55 of 185

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...
1150878580193116250
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 ...
998292157150535700
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...
1150878580193116250
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...
RPC instantly disconnecting 1 messages
eternal current I'm currently trying to create a RPC client inside of a Nuxt application and run it client-side, but whatever I try the ...
1003448629866020986
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...
1113356221962010634
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 - discord.js@11.6.4 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 13 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...
interaction.reply is not a function 1 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...
1150878580193116250
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...
1150878580193116250
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...
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...
1150878580193116250
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...
1150878580193116250
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 5 messages
little mauve I have a lot of Errors and i don´t know what to do please help
1150878580193116250
Vulnerability 3 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...
I need help please 1 messages
little mauve I have a ticket system for Discord and i don´t get it worked please DM me if you can help
1150878580193116250
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...
1150878580193116250
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...
1150878580193116250
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...
1150878580193116250
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...
1150878580193116250
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 ...
How to get content from a reply message 6 messages
noble raft Hi, I'm very new in DiscordJS, and try to create first bot with `/echo` command, I already can make echo command like th...
.addChannelType not working? I am still able to select voice channels. 2 messages
honest quarry Title is self explanatory. I am not sure of the latest way to use .addChannelTypes if I am currently doing it wrong. I s...
1150878580193116250
How to set interaction select complete 8 messages
sonic wraith StringSelectMenu
Working collaboratively on discord bot 7 messages
main panther Kinda a general question, but how do I let other people contribute to and run my discord bot? I'm in a group project ^^
Error cannot read FLAGS 2 messages
pallid cobalt I’m was working so peacefully but what’s wrong with my code? To get this stupid error
1150878580193116250
what would be the best way to generate an invoice like this? 2 messages
exotic marsh generate dynamic pdf with help of html/css? OR is it possible to use this image as template then write over this image?...