djs-questions

13317 threads · Page 49 of 267

Find avatar by an ID 5 messages
jovial jolt How could I told to used a specifical user ID (not the one who do the command but a specific ID set in the config before...
TextChannel.send only works when sending raw content 26 messages
next prairie Hello , i am fetching a channel and trying to send an embed, and it doesnt work, it only allows me to send a channel whe...
node @discordjs package
status Bot 19 messages
uneven wave Hello how do we get this status on discord with the bots pls
Is it possible to check if component timed out AFTER it has timed out? 21 messages
honest quarry For example, when a message is sent with a select-menu component: ```js try { const select = await initialReply.awai...
node
Send Attachment 4 messages
sleek heath ```js const attachment = new discord.AttachmentBuilder() .setFile(Canvas.toBuffer()) .setName('profileMember.png'); ...
node
Editing message 10 messages
granite forge I am making a bot that will update a message every hour, the code works so far but when trying to edit the message it gi...
Can't use modal after button 27 messages
junior widget ```js const { ActionRowBuilder,PermissionFlagsBits,PermissionsBitField, ModalBuilder, TextInputBuilder, TextInputStyle, ...
node
Build each user a unique sets of buttons 59 messages
fallen flame This is the link. https://discordjs.guide/message-components/buttons.html#building-buttons I am just wondering how I c...
How ?? 14 messages
worn sorrel howwwwwww
screen share bot 32 messages
worn sorrel how can i make bot can make screen share
how can we convert downloaded voice messages (ogg) to raw stream? 4 messages
charred igloo ^
EmbedBuilder sends an empty message 5 messages
oak harness I'm trying to send an embed using the `interaction.editReply()` way. However when I execute the command I get an error ...
node
Horizontal fields 13 messages
idle snow How can I replicate something like this using fields?
DJS fetch function never ending? 2 messages
wary canyon Hey! I'm making a bot for my boss that checks every <interval> for staff activity and I came accross an issue: During th...
node
Change Status 17 messages
limber jewel Hi, how can i change my discord bot status?
DiscordJS V14 not catching Event "MessageCreate" 33 messages
frozen citrus ``` const { Client, GatewayIntentBits, Message } = require('discord.js'); const { token } = require('./config.json'); c...
node @discordjs package
Streaming .ogg file as it is created 4 messages
frosty bane I'm trying to make a bot play text-to-speech audio over voice chat using a speech synthesizer called RHVoice. When invok...
@discordjs package
Fetching song 4 messages
V10, roles cache pulling only "undefined" roles until the code is ran again 33 messages
rich steppe yes I know I need to update, I am not learning multiple versions worth of things in a single day, I just need to tweak m...
Is there any way for me to pull the logo of a server just by its id, and the name without having to 20 messages
vague forum Is there any way for me to pull the logo of a server just by its id, and the name without having to have a bot of mine o...
Error fetching avatar 24 messages
stuck pebble I included the code and console log below discord.js version 14.15.2
Typescript 2 messages
eager marlin This is how typescript should be used for discord.js?
Automod command(i closed my other forums btw) 3 messages
mortal venture https://sourceb.in/z2cQ8ySeM3 - Code https://sourceb.in/vB9Mb6V4UT - Error
userUpdate not emitting when PresenceUpdate occurs 7 messages
foggy magnet Within the documentation `userUpdate` is stated to be emitted whenever `UserUpdate`, `GuildMemberUpdate`, and `Presence...
Get embed info of another bot and who it replied to 10 messages
cunning stirrup user uses an interaction command and a bot sends an embed for everyone to see with it showing that "USER used INTERACTIO...
Global Commands Not Showing In DM 4 messages
nimble wasp `Node v18.18.0` `Discord.js v14.15.2` **Sorry for the repost, but the last thread was bugged, as it was showing it was r...
Error with bot 2 messages
dusty bluff Hey. I'm using the pterotacy; api: and I got this error: ```AxiosError: Request failed with status code 422 at settl...
Censor failing to detect words containing regex symbols 12 messages
bitter bloom I have a censor event that pulls the list of banned words, which may be preceded and/or followed by an * to mimic the Di...
node
Automod issue again 5 messages
mortal venture https://sourceb.in/M8SCsPB8Y6 - full code https://sourceb.in/UI1i8qlcEI - is the problematic part of the code https://so...
Bot responding from a button, and answer with a text and two buttons more 12 messages
worthy talon Hi! I have a problem on my code.....I dont know how to do this: When only the **Staff** click on the button that says "P...
Cannot read data and .toJSON 7 messages
flint sinew C:\Users\Bernardo\Desktop\berrie\main.js:37 for (const command of commands) { commandArray.push(client.commands....
registration stepper/wizard 21 messages
dusty wadi I want to make a registration stepper/wizard how do i create this using Discord.js i want to have a init reply where a u...
node
My unmute.js file isn't working 20 messages
If I receive two messages on the same channel, I want to be able to retrieve both of them separately 2 messages
carmine egret I pressed the wrong button. I am reposting. Sorry for the long title. I would like to do exactly what the title says. By...
An invalid token was provided. 3 messages
obtuse lagoon I reseted my token and i did put in my config.json ```json { "token_secret":"" } ``` ```js const { Client, Events, ...
Change Role icon (Emoji) 11 messages
merry nexus I want to change the icon for a specific roll with an emoji. I'm trying to do that, but I'm getting some problems. I hop...
How can i add no prefix system into my bot?? 18 messages
serene atlas I have to create a full no prefix system along with no prefix add remove list command how can i do that
node
Bot responding with 2 or 3 messages instead of 1 after being not used for a while 11 messages
Property 'getMessage' does not exist 4 messages
dusky hazel Hello, I've just updated to the latest version of discord.js and I can't seem to access the getMessage option in interac...
Recurring Events 4 messages
blissful merlin I'm putting my guild events onto a website calendar, but I'm having a hard time dealing with recurring events. I can on...
deno
Error when trying to upload global slash commands 4 messages
bitter bloom I have no idea why I am getting this error. When I register slash commands locally everything works fine, but when I set...
node
MongooseError: Model.findOne() no longer accepts a callback 3 messages
coral stratus Hello I coded an auditlog system and now I have a problem and I can't get it solved can someone help me here is the erro...
node
TypeError: user.permissionsIn is not a function 7 messages
steel coral ```js if (userData.notifications.luckypic === true) { try { const userEmbed = new EmbedBuilder() ...
Message object rate limits 18 messages
supple fern Few questions on messages editing: Trying to implement a single message that will be updated for all my discord player e...
the bot is not sending message when member joins 6 messages
empty tree i've tried to making a event that when a user joins the server the bot will send a message but it doesnt seem to be doin...
ticket bot reacts to own messages 3 messages
solemn nimbus I have a ticket bot and basically its supposed ot give reactions and open a channel based on which one they chose. It pi...
banner change cmd 4 messages
supple urchin I have a animated banner for my bot ofc can’t change it in dev portal ik for avatar it’s like .setAvatar for banner wo...
Problems with starting up the bot 31 messages
grand abyss This can seem a little bit strange, but I have a problem with the startup of my bot. Sometimes, It just wont start for n...
What causes this to be seen as an unknown interaction? 16 messages
mellow lake im just trying to make a ping command
Invalid_Grant error for OAuth 2.0 7 messages
digital ruin Goal for me was to initiate a redirect (in the server side) on my web app after I receive user information from discord ...