djs-questions

13317 threads · Page 37 of 267

GuildMemberAdd roles 3 messages
pearl mica Hello, is there any way to know the invitation link that a person used to join the discord, so that the bot can give the...
guildMemberAvailable 11 messages
warped scaffold why this event not fire with me ```Helium.on("guildMemberAvailable",(member) => { console.log(member.displayName) });...
Timeout command 14 messages
uneven wasp I am trying to get my timeout command to work but I keep getting > ERROR [22:21:32] Error while executing timeou...
@discordjs package
Fetching custom emoji from my discord application's emojis 3 messages
inner brook How can I fetch an emoji from discord's newest emoji section?
Can't run the guide lightly modified bot 63 messages
long violet ``` [WARNING] The command at /home/dainis/bot/commands/utility/info.js is missing a required "data" or "execute" propert...
Message collector sending an error when two people send a message at the same time 6 messages
rigid ivy When two people send a message at the exact same time I get an "unknow message" error, is there any way to prevent that ...
Ping command 8 messages
uneven wasp So I am a bit confused so I so I am new to using d.js/@core and d.js/@rest Witch I am fully using and I am having issue...
@discordjs package
Message.startThread fails with: DiscordAPIError[10008]: Unknown Message 7 messages
light sedge I'm sending a message to the channel using `channel.send`, awaiting it and saving it to a variable called `sentMessage`....
node
eventFolder errors: 11 messages
node
User install Commands 44 messages
shell grove Hello can anyone say me how i make User install commands
Unable to change USE_EXTERNAL_APPS permission 13 messages
humble garden Hello, I am trying to change the USE_EXTERNAL_APPS permission for a role in a channel. However I am encountering an iss...
Is @discordjs/builders deprecated or soon to be deprecated? 5 messages
civic yarrow I want to start using it in my project.
@discordjs package
discors bot and panel architectury 2 messages
pulsar sluice Hi, whats the best architectury for pannel and bot ? These two on the same server (nodejs) two servers ? (With socket ? ...
.addChoices and name_localizations 22 messages
gleaming saddle Hello, I have big problems with 2 orders containing . addChoices, here are the screens, if a charitable soul can @ to pr...
@discordjs/collection Dependency Remains 1.5.3 instead of latest version 4 messages
charred folio There may be a reason, considering the major version change, but I found out discord.js is still pulling 1.5.3 when I we...
@discordjs package
Bot wont talk & no error, how do i debug? (.wav sound file) 7 messages
rain gorge how do i debug this? since it says nothing in logs and doesnt even light up green code (voiceConnectionAudioPlayer.playe...
node
Message create event is being triggered on thread creation 4 messages
light sedge How can I check if the event was because a thread was created?
node
Bot user interaction 6 messages
fallen tusk Discord added user interaction, so slash commands can be use in any place, even in dms with other people. Does discord.j...
@discordjs package
messageCreate not picking up dm messages 8 messages
errant swift My bot's messageReact event doesn't pick up any messages that are in dms, even tho i have enabled the needed intents for...
node
is this wrong for making embeds 2 messages
glossy glacier so i have an entire folder for components (embeds, buttons, button rows, and...) then i have a file for the things that ...
problem with validator 6 messages
glossy glacier hey, is there a problem with this validator? not as in is it working, as in am i doing it correctly btw i cant defer the...
node
regenerating commands list 5 messages
glossy glacier is there a way to regenerate all comands?
node
returned user from getUser option 11 messages
lost ridge when u get the requested user from interaction.options.getUser or whatever its called thats supplies a "member" right? a...
Error 16 messages
alpine gyro Hello I have been trying to setup slash commands and it keeps saying `applicationGulidsCommands` isn't a function how ca...
@discordjs package
Permission Checks 13 messages
dusky oyster Is there any like suggested way to make permission checks? I have been doing fetch with force set to true to make sure t...
what is "with reason" 11 messages
dusky oyster So there are bots like bloxlink which update roles a lot for users but like, what is the with reason field? I haven't se...
Give role on To-Do checklist completion 4 messages
proper monolith Is there an event for when the member completes the Onboarding To-Do checklist?
Steps I should take to avoid rate limits? 6 messages
thorn mortar I haven't had any issues with rate limits, but I am just curious if discord.js handles rate limits for me or if I need t...
Questions about what is "spam" when it comes to messaging users with a bot 13 messages
thorn mortar This post relates to an earlier post I made (that I can't access) where I was informed that mass messaging wasn't allowe...
Discord
Receiving special banners on the server 8 messages
odd wave if the user has a private banner on the server, with which code will I show it?
Process on transferring from JS -> TS 3 messages
gentle peak What would the process entail of converting my bot from JS -> TS? If this helps, the base framework is built off https:/...
It doesnt set the permissons 3 messages
jagged yarrow I dont get an error https://pastebin.com/ccAVhUVw
How many people can my discord bot DM message before it's limited? 3 messages
thorn mortar I have a sample system that I am thinking of making it DM people to request an answer. Is this possible to do if I want...
Send a message in a specific channel? 13 messages
terse notch I copy pasted the [guide](https://discordjs.guide/popular-topics/faq.html#how-do-i-send-a-message-to-a-specific-channel)...
Attempting to react to messages older than bot does not work 5 messages
nocturne rose I'm trying to make my bot react with an emoji to all messages that are in a server. However, the reactions do go back by...
node
javascript object misbehaving 15 messages
fading crystal I have no clue why this is happening
Get message by ID and then update it 29 messages
light sedge I tried this but `.update` does not exist ```js await interaction.channel.messages.fetch(messageId).update(toSend); ```...
node
Error that I cannot solve 4 messages
sullen merlin Basically I got an unexpected error. Codes: index.js https://sourceb.in/soOMadCNaf deploy-commands.js https://sourceb.in...
An error I do not understand 10 messages
fading crystal I made a balance command that gives an error that I dont understand
node
Discord slash commands aren't registering 72 messages
echo cliff ```js require('dotenv').config(); const { REST, Routes } = require('discord.js'); const commands = [ { name...
How Do I install 8 messages
idle lance I want to use "Discord bot Client" but I need to install discord.js fist so how do I do this
Interaction from Guild the bot is in emitting with uncached Guild 25 messages
chilly egret Continuing here to make it easier to keep track
Internal Server Error 3 messages
weary skiff Discord issues an Internal Server Error when my embed field is 38 characters longer Embed with error: ```{ "color": 15...
Setting emojis in a select menu 57 messages
vast sigil ```js select.addOptions( new StringSelectMenuOptionBuilder() .setLabel(`${result.label}`) ...
Catching an error and sending custom error 7 messages
midnight sonnet I don't know if I have phrased the title well, but is it possible to filter an error and make it custom? So what I mean ...
can't read the mentions of a webhook 20 messages
fickle walrus I have a minor issue. So to give vote rewards, I have a webhook from top.gg that logs everytime a user votes. I usually ...
How to create a modal based on the options they picked from a dropdown menu 65 messages
gleaming copper Please tell me how
Convoluted code giving InteractionAlreadyReplied error 6 messages
autumn dune Rather than asking for help with the code, I wanted help with the structure of it. My ~~mango~~ main goal is to ~~blow u...
node
error 12 messages
node
retrieve all messages from a user 6 messages
bitter dove Hello, I wanted to know if it was possible to retrieve all the messages that a user has sent in a Channel, which are not...