djs-questions

13317 threads · Page 14 of 267

Disable button on "end" 9 messages
shut wraith Heyo, I hope this is a quick one: I have a leaderboard with a couple buttons for navigation and toggling some properties...
Question Guild Tags 4 messages
modest drift Can a Discord bot get a guild tag from a user, so that if the tag is set, the bot will assign a role, if it removes the ...
node
Lookup Error 15 messages
marsh sinew Hey! I upgraded to the newest discordjs and one of my commands are not working anymore. I build in logs & that is the o...
Error to create thread on my bot embed. 9 messages
kindred plaza Hi everyone, I have a problem with the "startThread" option, which is normally suppose to allow me to create a thread on...
node @discordjs package
AuditLogEntryCreate event handling 2 messages
civic warren https://sourceb.in/aDrJQ7PuLm is my code currently for this gateway event but I am sure there has to be a better way to ...
node
How to get text from TextDisplayBuilder (Components v2) 2 messages
blissful fiber I need help with getting the text from TextDisplayBuilder which is inside of a ContainerBuilder. For example this is how...
TypeError: Cannot read properties of undefined (reading 'cache') 3 messages
restive bloom This error is very rare, it only happened once, today ```ts const member = await ButtonInteraction<"cached">#guild.memb...
Components v2 5 messages
grave mason How many containers can there be in an embed?
Double registering 5 messages
sullen merlin Discord double registers my commands. Basically I edited my code (the commands file code) and instead of replacing it, i...
buttons inside embeds 11 messages
sudden gulch how is it possible to get buttons INSIDE a discord embed??
node
Multiple images in embed 6 messages
urban hill You can send multiple embeds that share the same url property but have different image.url values but is there any new u...
Components V2 question 3 messages
tidal crane I was wondering if there is a way to create inline fields like in normal embeds using components v2? I have tried lookin...
node
Ask about discord.js and typescript 9 messages
night barn I have an event handler call message-delete.ts Which type should I use when message is using as function args? Here's my...
I have a problem with member.roles.cache.fetch() 10 messages
lilac quiver ```js import { Client, GatewayIntentBits } from 'discord.js'; const TEST_TOKEN = ''; const TEST_GUILD_ID = ''; const TE...
How do I make my bot say the usergag without mentioning the user with @? 7 messages
i have problems with the slash command 5 messages
timber agate im new with the bots and been following the guide and everything, been trying to make the slash command, but is not work...
Cannot read properties of null (reading 'byteLength') with AttachmentBuilder & @napi-rs/canvas 9 messages
visual falcon Moving my question from the djs help channel to here. currently running into an issue when attempting to edit an intera...
Find whether a user is on mobile or pc, from a user installable command 3 messages
tidal crane i know this is possible using the guild intent, but as it isnt installed on a server, i dont think it would be possible?...
node
Set Image for Forum Post 14 messages
sterile maple How can I set the image of a forum post when using components v2? - discord.js 14.19.3 - node 22.15.0 ```js // Get mod...
GuildDeleteEvent called at bot start 11 messages
kindred pivot When I start the bot, the GuildDeleteEvent is always called for the same guilds. The bot is also no longer on these serv...
Wrongful permission copying while creating a channel. @14.19.3 2 messages
this interaction failed 21 messages
nimble relic ```js async function lockChannel(interaction, channel, guild) { try { await interaction.deferReply({ epheme...
node
Question about a discord.js v14 bot 3 messages
sullen merlin So, my discord.js v14 code sends the embed and everything. Tho, the embed says the Home, California Law, Bill informatio...
Help 2 messages
placid kestrel I need help to work my web I need free domen in port
node
Registering multiple commands for many guilds 21 messages
placid island *I am trying to register 7 premium commands only for 1 guild and 25 public commands for all the others (including the pr...
node
How can I get information about a member's clan tag? 4 messages
analog lodge How can I get information about a member's clan tag (Guild Tag)? For example I have my own "QZR" and I want to check it...
Organization of my bot questions 2 messages
eager gate Hello, I just created my bot and I was wondering if it exist known pattern of good organizations. for the moment, I made...
node
Commands won't show up in DMs 22 messages
modern jungle I cannot for the LIFE of me get commands from my bot to show up in dms with other users.
@discordjs package
Removing chosen option from a string select menu 15 messages
cursive panther -# this might be a very simple answer, just cant find a solution to it hence the title, is it possible to remove all opt...
node
Question about a bot 30 messages
west sleet everytime i go to turn my bot on it just repeats this C:\Users\andre\Desktop\discordbot> What do i do i have tried node...
node
Modals 3 messages
delicate pendant Hello! For some time now, multiple choices in modals have not been working. Has the problem been resolved?
Question about own Bot and 5 messages
jade hearth Hello, I have a question. I recently created my own bot that has a sales system and an inventory system. I can sell item...
node
Guild Tag Interaction 13 messages
past hawk Does anyone think it's possible to create a discord bot that automatically allows someone to run a /tag command that wil...
Attachment Issue 40 messages
broken bear How I can upload a video using a Slash Command attachment, when I use it nothing appears ```JS const Video = interaction...
Your bot has been flagged by our anti-spam system... 10 messages
pale field I created a modmail system, and i noticed that this warning appeared on the terminal, i went to the website to try to ap...
DM messages doesent get handled 3 messages
jade dew Hey, does anyone know why my bot only handle dm´s when i use partials ? Cuz ive tried to use it with them and it works b...
node
Developer needed 2 messages
turbid zenith Can I get at least 2 developers for my Discord bot?
node
How best to implement a graceful shutdown? 60 messages
cunning elbow I found `client.destroy()` but it seems to be an immediate shutdown rather than a graceful one based on the source code....
Discord.js 9 messages
vestal crypt the discord.js documents are hard to understand how can i code a bot by myself ?
node
Does anyone know how to give XP to a user who is in a voice channel 3 messages
glass axle Does anyone know how to give XP to a user who is in a voice channel? I have a working level system, but I don’t know how...
MediaGalleryBuilder() error. 64 messages
solid spade I've been encountering this error in which I pass the `attachment://file.png` in the MediaGalleryBuilder().media.url and...
Deploying commands (following guide) 11 messages
sacred yew Hey! I'm having trouble. When I run `node deploy-commands.js`, I expect the deploy-commands.js file to actually run, but...
Bot not waking up 39 messages
copper cedar This is just basic code so there is no errors, but the bot wont wake up
Rate Limit Question 25 messages
kindred pivot Hey, I have a question about the rate limit. I was told that discord.js itself already handles rate limits and that you ...
Rich Presence 12 messages
solid arrow hi it's possible to have bot discord rich presence ? because i see bot with custorm rich presence thanks ^^
Update REST API URL while connected to gateway 100 messages
glad canopy Is there a way to update the API URL of a client while it is already connected to the gateway / was initialized already?...
bun
activity 16 messages
azure sky lol idk why it doesn't work, there's no error in console
node
How to handle multiple tokens. 35 messages
lone sail I have a single file of code. I'd like to run a service where you send a bot token and it runs the code on that bot too....
How to execute an event? 54 messages
neon sequoia I have an event that I made, and that i dont know how to make that event be ran when I react to a message. Please help.
node
Is there disnake cogs alternative in discord.js? 27 messages
gritty basin :3
node