djs-questions

9202 threads · Page 21 of 185

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...
1150878580193116250
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 ...
1150878580193116250
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 -
1150878580193116250
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...
1150878580193116250
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 ...
1150878580193116250
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...
1150878580193116250
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...
1150878580193116250
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 40 messages
1150878580193116250
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:...
1150878498534199426
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?
1150878890307358882 1150878580193116250 1150878498534199426
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...
1150878580193116250
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...
1150878580193116250
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"...
1150878580193116250
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.
1150878580193116250
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...
1150878580193116250
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 ...
1150878580193116250
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...
1150878580193116250 998292157150535700
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...
998292157150535700
`ModalBuilder` validation error 13 messages
ebon pond When creating a modal like this: ```ts export default class InputSocialMediaAccountName extends CustomModal { publi...
1150878580193116250 998292157150535700
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...
1150878580193116250
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
1150878580193116250
Discord Activity 13 messages
soft heath hi , how can I get user activity through bot?
1150878580193116250
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 = { ...
1150878580193116250
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?
1150878580193116250
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...
998292157150535700
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...
1113356221962010634
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...
998292157150535700
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 `...
Sharding error 1 messages
grave monolith Someone with sharding experience My bot got this error over the night ``` Unhandled promise rejection: Error [ShardingR...
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...
Disabling A Button Through CustomId(handler) 19 messages
jovial gust ```js const { SlashCommandBuilder, EmbedBuilder, PermissionFlagsBits, ButtonStyle, ButtonBuilder, ActionRowBuilder } = r...
captcha system 7 messages
granite urchin im making a captcha system but it keeps throwing the interaction failed. i just need someone to tell me what i did wrong...
Trying to get member/roles without being rate limited 47 messages
primal horizon I have a bot that is in ~20k servers and it does some work to role-gate certain features in our application based on ser...
1150878580193116250
can discord bots have a custom status emoji? 2 messages
wheat grove I know that recently discord allowed discord bots to have custom status messages, but i can't seem to find where i can a...
1150878580193116250
messageUpdate with Partials 13 messages
vapid torrent I am working on a auditlog feature for my bot, but I ran into a problem when i was working on the messageUpdate handler....