djs-questions

13317 threads · Page 101 of 267

Directory Error 19 messages
odd spire /home/containers/src/commands/test.js Meets a error of no directory
going back to previous embed 3 messages
wary vapor i have 2 embeds in MessageCreate event which checks message then only send the embed, and other embeds in Interaction cr...
Weird Error 14 messages
torpid holly ```js CombinedPropertyError (1) Received one or more errors input[2] | CombinedPropertyError (1) | Received o...
Button callback not working 11 messages
random terrace i had this button function that used to work properly, now that im checking in after a while of refactoring it just does...
Duplicate Message Send 7 messages
sudden geyser Hello, I've been having an issue with a channel.send() call occasionally resulting in a message being sent multiple time...
messageDelete & messageUpdate issue 4 messages
torpid holly .
Is screenshare possible ? 3 messages
solemn dock I'd like to make my bot able to display a map on the screen, but with screenshare, which will make the interface clean a...
@discordjs package
createMessageComponentCollector on a followUp is causing all sorts of inexplicable errors 34 messages
humble meteor So I don't really know how else to explain it. First and foremost, here is my code: https://pastebin.com/ezhdgMvT Now ...
bulkDelete reason 4 messages
cunning moth Why can't TextChannel#bulkDelete be provided a reason? The Discord docs say that the bulk-delete endpoint supports the `...
channel.threads.create at collector creates two threads in one time 5 messages
blazing glade ``` async function setup_message() { const { guild } = require("./discord_bot.js") var channel = await guild.cha...
Do you think its possible to add emote in Context menu command name please ? for example `.setName(' 25 messages
cyan nexus Do you think its possible to add emote in Context menu command name please ? for example `.setName(':red_square: Carton ...
Syntax error. 3 messages
last wagon ```js /root/Xenix/Xenix/node_modules/discord.js/src/client/BaseClient.js:29 userAgentAppendix: options.rest?.use...
Premium services 3 messages
rose field What's the best way to do premium services in my discord bot? Ive never done that before and wanted to know the best way...
Unknown Interaction - @discordjs/core 15 messages
obsidian scaffold I'm working on a bot that handles interactions via a webhook url, and am processing them in AWS Lambda. I have everythin...
@discordjs package
What Kind Of Error is this ? 32 messages
Is there a character limit to the .setLabel() field in the StringSelectMenuOptionBuilder? 3 messages
pure skiff title
My application does not start 29 messages
copper smelt I was tweaking some parts of the application, when I run the command a few times and I get "The interaction failed" yet ...
error 54 messages
lone bridge I have done codes of basic slash commands, but when i try to run node deploy-commands.js, this error appears: Error: EN...
Interaction Failed, buttons are not working 18 messages
vestal spindle https://srcb.in/1UpGBbIlfM buttons are not working, interaction failed. But select menu works
Creating a attachment with a link 26 messages
tidal yoke Hello! Currently i have a link that is cdn.discordapp.com in a webp format, how can i use attachment builder to upload ...
what is this 6 messages
obsidian frigate Guys does anyone know how Midjourney achieves that editing window, within discord??? Like this (attached image) What exa...
Does GuildMemberUpdate get triggered when a user completes the onboarding ? 3 messages
turbid sundial I see that the guildMember#flags field can also contain the flags `STARTED_ONBOARDING` and `COMPLETED_ONBOARDING`. Does ...
Any reason this doesnt work? 6 messages
undone flame I used the code from one of my old bots that used to work. There are no errors, the bot just doesn't respond to the comm...
Can't figure this out 3 messages
deft grotto C:\Users\shark\OneDrive\Desktop\discordbotv2\Handlers\eventHandlers.js:28 table.addRow(file, "loaded"); ...
npm init 2 messages
lone bridge i have node.js installed, i ran node -v in command prompt, version is 18.17.1, then i tried to run npm init in terminal ...
Error: Expected token to be set for this request, but none was present 16 messages
rare coral I'm getting this error when I try to execute a permissionOverwrites.set() to a channel. **Code:** https://sourceb.in/9KW...
I've created a server.js command designed to provide information about the server. However, I'm faci 18 messages
halcyon scarab I've created a server.js command designed to provide information about the server. However, I'm facing an issue where, u...
Default RoleSelectMenu options 4 messages
brave willow I am trying to set default options (ones that are already selected when the user sees the select menu), but this doesn't...
Channel is not found ? 24 messages
jagged garnet hello i have a probleme a little probleme i want to send a message in a channel when someone rank up but the channel is ...
Accessing handle functions globally. 10 messages
hardy briar I've been working on creating a Discord boilerplate for myself. One of my goals was to develop a handler function capabl...
Detect ad in a forum channel 2 messages
premium services 9 messages
rose field What's the best way to do premium services in my discord bot? Ive never done that before and wanted to know the best way...
what am I doing wrong? 12 messages
nimble wolf what am I doing wrong?
timeout perms 7 messages
dusky tusk im trying to make a timeout command but idk what perms are required if (!message.member.permissions.has('TIMEOUT_MEMBERS...
slash command reply taking a minute or two to send message despite logging fine 19 messages
fast creek (the code was too big for the message it's after this one) context: I'm working on a mod of the api and for some reason...
Timeout Error 10 messages
green sequoia Hello! After this message you can see my current Code. I have a problem, that firstly, i get the error right here: ``` ...
DiscordAPIError[50035]: Invalid Form Body 2 messages
vestal spindle Code - https://srcb.in/BPUgexv8SV ```DiscordAPIError[50035]: Invalid Form Body data.components[0].components[2].custom...
How do I distinguish an `APIRole` from a `Role`? 8 messages
wise pasture In a CommandInteraction, if you set one of the options to `type: 8` for Role, the user can pass in an `APIRole` if they ...
What's the best way to set a button to disabled? 16 messages
lean basin I have the button via interaction.component I noticed there isn't a set disabled method or anything of the sorts
CategoryChildManager create method not working 10 messages
crisp garden Hey everyone! I am having trouble creating a child channel within a category. Here is the code ```js const { Events, ...
Message content of partial message in messageDelete event 3 messages
peak pivot How can I get the message content of a partial message in the messageDelete event?
RoleUpdate Bug 78 messages
nocturne ingot I want to get the last updated role id, but it constantly prints the role id to the console .log. Is it normal to log th...
problem making auth 18 messages
bronze parrot this error occur when i click authorize on the discord page in my website
@discordjs package
Hello. Do you think it could be a problem to run 2 bots in same process main.js ? with separate func 3 messages
cyan nexus Hello. Do you think it could be a problem to run 2 bots in same process main.js ? with separate functions after. to hos...
commandArray is not defined but it is defined. 19 messages
jaunty flame ```js const fs = require("fs"); require("dotenv").config(); const { REST } = require("@discordjs/rest"); const { Routes ...
TypeError: MessageEmbed is not a constructor 6 messages
uneven wasp I seem to keep getting this error when trying to setup the DM when they get banned I get this error ``2|Fireball Beta ...
Stuck 'Signalling'` 2 messages
discord.Colors class question 55 messages
half ember Hello , kinda interested how should i go about this code : ```js .addStringOption((option) => option.setName("eventPlay...
messageDelete event 40 messages
nocturne goblet When I try to delete a message that was sent before I run the client the message that is on the messageDelete event does...
How to send the image inside the embed? 4 messages
crude sand The image is sent outside the embed as a regular attachment