djs-questions

9202 threads · Page 48 of 185

Can't use modal after button 27 messages
junior widget ```js const { ActionRowBuilder,PermissionFlagsBits,PermissionsBitField, ModalBuilder, TextInputBuilder, TextInputStyle, ...
1150878580193116250
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 ...
1150878580193116250
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...
1150878580193116250
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...
1150878580193116250 998292157150535700
Client.Users.Fetch(UserId) erroring, stating UserId is null when it is not. 1 messages
honest quarry I've printed **UserId** out in numerous places, the ID is in fact printing. But, when I use **client.users.fetch()** rat...
1150878580193116250
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...
998292157150535700
Webhook channel does not change after edit (webhook sends to wrong channel). 1 messages
honest quarry When I edit the webhook and change the channel, the webhook still sends to the prevous channel. Does the token or id u...
1150878580193116250
Webhook channels. 1 messages
honest quarry If you edit a webhook to post to a different channel, are you also supposed to visibly see the webhook within the new ch...
1150878580193116250
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...
1150878580193116250
slash command DM 1 messages
nimble wasp `Node v18.18.0` `Discord.js v14.15.2` ## Not yet resolved [At the Discord.js tutorial for DM Permissions](<https://disco...
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...
1150878580193116250
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...
If I receive two messages on the same channel, I want to be able to retrieve both of them separately 1 messages
carmine egret Sorry for the long title. I have been doing JS for a year or two and I am still a beginner. I would like to do exactly w...
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
1150878580193116250
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...
1150878890307358882
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...
1150878580193116250
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...
1150878580193116250
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 ...
Help with OAuth 5 messages
worldly lake Hey, im trying to get oauth working but i cannot figure out whats gone wrong. im using html and php to do this but i thi...
Error with a command 4 messages
dusty bluff Here is my code: ```const { SlashCommandBuilder } = require('discord.js'); const mysql = require('mysql2/promise'); cons...
discord api 6 messages
fiery valley How to get information whether a person has discord nitro on his account?
1150878580193116250
discord-hybrid-sharding? 4 messages
woven crest Hello, I have a bot with 31k servers, 31 shards. So I have add cluster but i have this error 5 minute after the launch: ...
1150878580193116250 998292157150535700