djs-questions

9202 threads · Page 106 of 185

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...
998292157150535700
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. 11 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...
998292157150535700
bot spawning multiple instances of the same shard and rate limiting 29 messages
keen sequoia <a:NOOO:1095889845030764584> never had this issue so pardon my idiocy but bot spawns more than one instance and then i g...
Sending a messages to a channel without fetching the guild 4 messages
somber vessel Hello, I saw that some libs have functions to directly interact with the rest, for example i can send a message to an ch...
Variables/Changeable Data in Custom ID's 2 messages
earnest isle Someone recently mentioned to me that its bad for maintainability and slows processing speed when you use variables in a...
Does anyone know how to setup userselectmenu listeners? 22 messages
faint oracle im stuck as it says interaction failed, im wondering what listeners i need to make or is there one
fix pagination 83 messages
bright stone If the button press the embed would not update https://srcb.in/2C2bR1jTuJ in 1 video I want it to be like the 2nd vide...
delete bot messages 10 messages
fathom cliff is there an easy way to delete messages created by my bot like this? I tried setting to a variable the result of the `me...
Permissions Issue? 28 messages
charred igloo question, i check if bot has ManageChannels in guild, and then create a channel, log shows that it has perm, but then wh...
Get a guild object inside an express API route 4 messages
gray anvil I am trying to make my bot do some changes to our server based on a request to our API endpoint. in the index.js I am ...
Weird issue with GuildMemberUpdate event 49 messages
waxen jay i'm running into a really weird issue with the guildMemberUpdate event when adding a role: For some reason the nickname ...
Error 5 messages
Username bot 21 messages
wary wigeon I know this might not be related. But how do people do this? They are notified whenever someone changes their username
Get every User in a Voice Channel with REST/CORE 13 messages
vestal iris How do I do this?
998292157150535700
Type 'X' is not comparable to type 'APIApplicationCommandOption'. 5 messages
warm sail ```ts import { type APIApplicationCommandOption, Message, ApplicationCommandOptionType, } from "discord.js";...
MongoDB is not working 3 messages
marsh sable I installed the mongoose library and entered the DB connection into the code, but it does not work, there are no errors ...
998292157150535700
Sending ephemeral messages on another message 4 messages
lost lotus Is there any way I can send an ephemeral message in another message when someone clicks a button? Like lets say someone ...
fix pagination 1 messages
bright stone If button press the embed would not update
Get Guild Rules Channel 3 messages
pulsar fulcrum Hi ! Is there a way with Discord.JS to retrieve the rules channel that is defined in a server's settings other than usi...
Closing modal after submitting 4 messages
echo crown I have a modal that does not close but it makes alterations as intended (editing a embed) How i could close it without r...
Sweeper interval 3 messages
faint forge I want a persistent cache with no interval, but https://discordjs.guide/miscellaneous/cache-customization.html#sweeping-...
How to get title of the modal in Modals.ts (handler file) 8 messages
oak moth I'm trying to get the title of the modal to figure out the type. There are 5 types: * Games * Apps * Movies * Series * S...
Bot changes nickname, and after the nickname reset itself. 9 messages
toxic island Hi guys, I have a problem with nicknames. I have a bot that after a check, it adds a role and change the nickname of t...
application did not reply 3 messages
strange wraith Hi, I seem to be getting this error about the application not replying, but it replys in a seperate message. https://me...
message.reply() function takes more than 10 minutes to send message 20 messages
cedar verge I'm running multiple bots on the same machine, and the problem that has been happening is that the message.reply() funct...
Typescript bot using 14.11.0 claims unknown interaction, fails to compile with 14.12.1 9 messages
astral folio From a conversation that began here: https://discord.com/channels/222078108977594368/824411059443204127/1137518310896967...
Bot posts randomly 1 - 3 welcome messages for the same member that already joined. 114 messages
subtle cypress Lets start from my debugging results. First i wanted to make sure i have only one instance of the bot, so i added consol...
.isChatInputCommand() 1 messages
oak moth I'm gonna continue this conversation here, it's a bit clearer
interaction has already been answered 2 messages
paper crescent Is there any way to make this work? It gives the error that the interaction has already been answered.
HELP 1 messages
hollow lily when I use the /upload command, it says "This command is out of date, try again in a few minutes" and after a while it s...
ratelimit 9 messages
late verge I'm creating 70 room in discord but i'm getting rate limit after creating around 40 channel so how can we fix thiss iss...
HELP 24 messages
amber urchin i rlly need help all bots i made didnt reply. Can someone help me make a bot? (Like just gonna start a new bot rn i just...
A typeguard to check if the received message is from inside a guild. 5 messages
dense trench I'm currently using the `@discordjs/core` package along with it's other subpackages and `discord-api-types` for my bot. ...
998292157150535700
Bot no register slash commands 100 messages
glossy whale Tried: reinviting the bot with scopes enabled, testing with ping command in docs example(it worked), using applicationGu...