djs-questions

13317 threads · Page 107 of 267

The expected type comes from property 'content' which is declared here on type 'InteractionReplyOpti 23 messages
buoyant basin ```js const type: string = this.options.interaction.deferred || this.options.interaction.replied ? "editReply" : "reply...
Ram issues with new version 15 messages
paper iron Soo I run a rather small bot that used around 600mb of ram before the most recent version so discord.js. Now with the ne...
Re-run bot command 6 messages
wooden adder I'm creating a bot that has multiple steps that a user navigates using buttons. I have a "back" button that I would lik...
Unkown Interaction Error 3 messages
chrome dawn ```2|Wave| DiscordAPIError[10062]: Unknown interaction 2|Wave| at handleErrors (/root/Wave/node_modules/@discordjs/r...
channel.send() sending duplicates 11 messages
solar venture Im still having problems with channel.send() sending duplicate messages even though it is inside of a for loop and it sh...
UNHANDLED_REJECTION: DiscordAPIError: Unknown Message 19 messages
halcyon hollow Hello, I have some issues about my bot. To explain where the errors come from is when I delete RulesMessage even if it d...
i get this error but i don't know how to fix it 38 messages
open thistle i will post a photo rn
Max messages in cache is not working 6 messages
atomic portal Hello, i remark that the limit max for messages is broken, I don't have makeCache parameter in client variable So, my bo...
setAvatar() setInterval() 30 messages
dusk violet what would be too fast to update the avatar? i would like to make it as often as possible without getting ratelimited wo...
I want to make an audit log to my server. 11 messages
timid pecan Where can I find all the events like "MemberAdd" or "MemberBanned" for this?
How to shuffle my warnlist ? 56 messages
silent sapphire Hello, i explain ( Im french).
sharding rate limit 3 messages
blissful raven Hi if I got rate limited after adding sharding from restarting too much to test, should I leave the bot trying to restar...
Listing of notes doesnt work 10 messages
silent sapphire Hi, i explain (sry im french)
i have error 8 messages
rare trellis why this error ocurr Error: getaddrinfo EAI_AGAIN discord.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:...
Extending EmbedBuilder class 21 messages
mint dagger Hello I created this Embed class to always have the same color and footer on my embeds. However, I'd like the setFooter ...
@discordjs/core interaction create type error 7 messages
clear veldt Hi, I am creating a bot using @discordjs/core and it seems to be having issues with TypeScript when I do `i.data.data?.n...
@discordjs package
Check Ban list 12 messages
hidden grove Hello, Is it possible to check if a person is already in the ban list? I looked on the internet but nothing worked (mayb...
Best way to update bot 4 messages
tribal goblet Can i upgrade my bot directly from a v12 bot to a v14 - or would it be recommended to go v13>v14
Forking Discord.js 2 messages
tall pier Hi, I needed to add some lines in discord.js package so I forked the repository and edited what I wanted, then replaced ...
Attached image sending before embed? Not within 14 messages
tall cloak Why is this happening?
`interactionCreate.js DiscordAPIError 39 messages
frank pine `interactionCreate.js DiscordAPIError[10062]: Unknown interaction` How to fix bot unavailable due to this error please h...
@discordjs package
Route specifc ratelimits 2 messages
muted ice I need to run multiple bulkDeletes in a multiple channels. The problem is that discord.js's rest implementation does not...
mobile bot 2 messages
coral stream can we make a discord.js bot on mobile (if we can do please tell me the apps)
Hosting public bot 8 messages
raven charm Hello there, i would like to ask anyone who is more experience with hosting public bot, how to make it public, simply, l...
Rate Limiting 3 messages
muted ice Does the global rate get increased when connecting through multiple shards. Or do i have to manually half it in the rest...
Markups? 3 messages
stark fog Hi, are there markups or markdowns for discord js bot? I was looking for it but i only found somthing for discord chat i...
discord server help 2 messages
Receiving HTTP Requests 23 messages
wise prairie I want to be able to receive HTTP requests, do some processing on the JSON and then post that to a discord channel. Are ...
halp 2 messages
Pressing button results in TypeError: Cannot read properties of undefined (reading 'execute') 12 messages
hallow moth I will send the code for my interactionCreator.js, bot.js and deleteAll.js files below
Authenticate a discord-rpc app only once 2 messages
remote grove i have managed to build a working discord-rpc app but every time i start it the popup comes up asking for permission, ho...
RPC
Receives "Unknown interaction" after edited ephemeral messages 3 messages
Running slash command returns "ExpectedConstraintError > s.number.lessThanOrEqual' 6 messages
frail bough new SlashCommandBuilder() .setName('search') .setDescription('Search Test') .setDefaultPermissio...
Embed catalog 13 messages
polar mesa hey I want to create a command catalog for send embed with buttons to navigates the pages help me pls
Spotify Activity 20 messages
tall pier Hi, Is there a way to retrieve the Spotify link of the currently playing song from a user's activity ? I can already re...
@discordjs package
What happens to threads that you lose access to? 2 messages
muted ice Referring to https://discord.com/channels/222078108977594368/1138344816854433875 . I just had a try but it is not what i...
Help with canvas 4 messages
gleaming fjord In the following code, the bot sends the canvas banner to the user in dm, but I want them to see the text under the user...
HELP 2 messages
gleaming fjord In the following code, the bot sends the canvas banner to the user in dm, but I want them to see the text under the user...
Emit command not emitting the event 37 messages
mint dagger Hello I'm making an 'Emit' command in order to test some event handlers. Here's my code : ```js // emit.js data: new...
How to capture Mouse clicks on Channels in the Channel list in the left-side Panel? 4 messages
eternal shore Hi all, I am trying out the discord js guide and have tried out everything till https://discordjs.guide/creating-your-bo...
Slash Command Permission 2 messages
shut citrus Hello, I'm trying to set guild permissions to some of my slash commands but I am confused to why it's asking me for a be...
Please try this command again later. Possible bug reported to bot developers.`TypeError: Cannot rea 9 messages
severe rivet I try to know about the shards but I got this error ```js const promises = [ client.shard.fetchClientValues('gu...
Thread access lost 3 messages
muted ice What happens when the client loses access to the threads in the channel. Will cached threads be flushed? Which event is ...
How to make a command handler for both prefix commands and slash commands 2 messages
lunar basalt I'm building a bot for me and my friends and we both prefer the prefix commands for example !command over the slash comm...
Best way to delete certain guild commands. 12 messages
left crater I have this idea to use "modules" in my bot that you can enable and disable via a command or future dashboard. The way i...
How to upgrade 8 messages
tribal goblet Can i go straight from a v12 update to v14?
GatewayIntentBits.GuildMessages problem 29 messages
past elbow I have a problem with the GatewayIntentBits.GuildMessages intention on my bot. For a week now, this intention has been u...
Recoursive Error 9 messages
jagged folio I have this error that keeps reoccuring. It happens on random times and when nothing else is happening When and Why does...
Paginationn Questions 2 messages
frigid glacier (This might just be a common js question, if it is please just direct me to the right source and ill figure it out) In t...
SlashCommandBuilder#addStringOption: set(Min/Max)Length is unnecessary when using setChoices 6 messages
warm sail ```ts .addStringOption((options) => options .setName("say") .setDescription("greetings?") .s...
@discordjs package