djs-questions

13317 threads · Page 22 of 267

Small question 6 messages
rugged goblet Maybe stupid question, but how to make this one?
Vote Member détection : Command slash 10 messages
half summit Hello, I hope I'm in the right place! ## Code informations - Djs v14.14.1 - Node js 20 ## What I need I would like ...
node
Autocomplete Unknown Interaction 32 messages
slate basalt Whenever I paste a url into my autocomplete command I get Unknown Interaction, even though the command still runs. erro...
node
ERROR: Shard 29's Client took too long to become ready 7 messages
strange wraith I have a bot where it comes up with this error randomly and causes the bot to crash, I then need to restart the server. ...
InteractionCreate for autocomplete won't fire on some commands 17 messages
keen comet Below is my code. There are no errors at all - on some commands the autocomplete works, on others nothing even prints fo...
node
ReferenceError: ReadableStream is not defined 6 messages
safe arch the code https://justpaste.it/iay5u The error: ```ps PS F:\Coding\Javascript\Discordjs\TheArena> pnpm start ...
node
dms not registering as a dm 55 messages
north hemlock hey, ive been trying to make this code from like a year ago work, but the channeltype.dm doesnt seem to be working -
node
Listing entries in a ForumChannel? 10 messages
worthy lichen I am wanting to list entries in a ForumChannel, but I am not sure how to go about it? I have a topic with two forum thre...
node
Issue with Duplicate Commands When Bot Is Added to Another Server 32 messages
inner coyote Hi everyone, I’m facing an issue with my bot’s deploy script, and I’d appreciate your help in resolving it. Here’s the ...
node
ERROR 34 messages
smoky ruin My bot is online and shows the commands But i end up with this.... pls help also i got a config.json index.js comma...
node
Embed generator 4 messages
frigid shoal Hello everyone! Today I have a question again, not quite on the topic. I am looking for a tool that will help to beautif...
How to limit visibililty of Slash Commands 7 messages
inner coyote I have around 30 commands, and some of them are special commands that I want to be visible only in my support server. If...
node
quick question about caching in djs 8 messages
silk summit hi. is there any way to control what i cache specifically? for my example, here's a guild object: ```json { "id": "19...
My bot command not showing up but bot is online here is how it looks like 41 messages
node
messageCreate isn't firing 24 messages
tidal bridge I'm not getting messageCreate triggers when a message is sent in a chat channel. To cover items from similar questions:...
bun
how to get this gray border thing around the dates 7 messages
Deno vs Bun vs Node 5 messages
slim quiver Which one's the best for bot development, speed, html logging and SQL database?
deno node bun
Dual Hosting 11 messages
sleek flicker Hi, would there be an easy way to detect if your bot is being dual hosted?
button interaction response problem 5 messages
austere surge When responding to a button interaction, I am trying to disable the clicked button, but the following error keeps occurr...
node
My bot runs slowly and delays 15 messages
node
Global Commands are not registering 11 messages
inner coyote i made sure certain command is reserved for a particular server and remaining commands are global , the code which iam p...
Does Discord.js natively support a debouncer or similar feature to prevent excessive button inputs? 5 messages
austere surge I am curious if Discord.js provides native support for a debouncer to handle issues like excessive button inputs. If not...
node
How to properly use "fetchReply" in Discord.js Interaction API? 42 messages
cerulean mulch While working on my Discord.js bot, I encountered the following warning: -# (node:12684) Warning: Supplying "fetchReply"...
node
commandFiles is not iterable 2 messages
node
Full stack 5 messages
node
slash command deploy 21 messages
austere surge I think the function for deploying slash commands is not working properly. I want to know what the issue is.
node
How to register a User Installed SlashCommand 5 messages
ivory roost i created a shlashcommand but it does not appear as user installed command ```js new SlashCommandBuilder() .setName("e...
Message cannot be edited 36 messages
pure vapor My code: ```ts // The channel is fetched with ctx.guild.channels.fetch(parsedLink.channelId) let message: Message | null...
node
When my bot receives DMs: 7 messages
austere surge Initially, when the bot is invited to a guild, it can receive DM messages without any issues. However, after the bot is ...
node
Discord.js voice resampling issues. 19 messages
harsh lark Not sure if this goes in djs-questions or other-js-ts Hello! Currently I'm trying to get voice recognition on my discor...
node @discordjs package
can anyone help me by giving tips on making money as a teenRn Iam a 14 year old trying to make cash 2 messages
hasty lichen iam very experienced in tech and would glady accept any tips given or offers and wouldnt mind if there were anyone to kn...
@discordjs package
`ModalBuilder` validation error 13 messages
ebon pond When creating a modal like this: ```ts export default class InputSocialMediaAccountName extends CustomModal { publi...
node @discordjs package
Speak in Stage Channel 7 messages
green wolf i am using latest djs version, ```js if (newState.id === client.user.id && newState.channel?.type === 13) { if (!oldS...
node
Getting a user’s Discord AvatarURL 3 messages
rigid hinge Hey! I’m trying to make a slash-command which will reply with the user’s AvatarURL
node
Discord Activity 13 messages
soft heath hi , how can I get user activity through bot?
node
Slash Problems 3 messages
round karma Hello, I am coding a bot in discord.js, but I encounter a problem like this, the slash commands that I have previously u...
Button interaction how to get the guild cache from former command 8 messages
junior widget ```js const { EmbedBuilder, ButtonBuilder, ButtonStyle, ActionRowBuilder } = require('discord.js') module.exports = { ...
node
Bots sharing screens 7 messages
long rose Is it possible to have a bot join a channel and share their screen and for example play a video, display a graphic?
node
Forward message 8 messages
modern sleet is it possible to forward a specific message from one channel to another using djs?
unknown interaction error 35 messages
strange wraith hey, i get the below error. I have tried to add an acknowledgement to the interaction, as we get the response from the A...
@discordjs package
helppp 3 messages
fickle eagle my npm wont start becuase it saying modual not found how do i fix even tho i got it set up
Automatic ranking system 3 messages
agile oriole I need a system that shows a rank in a certain Discord channel. This system would pull a column from MySQL and show who ...
Experiencing inability to text after using a slash command? 13 messages
wispy bison I have slash commands for my bot using DiscordJS. Didn't have this issue until recently where after using a slash comman...
Discord
How do I convert an Attachment into a RawFile 11 messages
finite cypress For a modmail, I want to send the user's attachments into a channel and I'm not sure how to
Cannot Receive Direct Messages 6 messages
finite cypress `messageCreate` doesn't seem to fire when I DM the bot ```ts const DiscordClient = new Client({ intents: ["DirectMessag...
Embedded App SDK 3 messages
knotty iris Hello! Does anyone know about Discord's "Embedded App SDK"? I would like to capture data every time someone starts a bo...
@discordjs package
How do i fetch a forwarded message content? 2 messages
nocturne wolf I'm making a discord bot for a single server and it has a starboard like system and the problem is when someone reacts `...
Events that execute activities 7 messages
knotty iris Hello! How do I capture events that perform activities? I have included and tagged the photo to make it easier to unders...
Why do i get bad request 21 messages
fringe prairie When i use the following scopes identify email guilds it works perfect but when i add guilds.channels.read i get bad r...
Slash Commands 17 messages
knotty iris I'm having trouble restricting the slash commands so that they only appear on the servers where the bot is installed. Th...