djs-questions

13317 threads · Page 26 of 267

permission fetch error 8 messages
junior widget ```js async execute(interaction) { const pem = interaction.member.roles.cache.has('role1||'role2'||'role3'); ...
node
Questions about @discordjs/proxy 10 messages
turbid lotus hii, could someone tell me a bit about the `@discordjs/proxy` package? i have seen the motives but im not sure about it....
node @discordjs package
Aligned fields in embed 8 messages
knotty dove Hello ! I'm trying to align 4 fields of an Embed ( like a 2x2 matrix, 2 fields above 2 fields ), I did something like th...
node
How can i make my bots name chance every minute with code ? 51 messages
olive spire Hello everyone i want to make my bot chance his name like every minute or two, can you please help me? this is the code ...
Attaching PNG buffers directly to embed. 47 messages
hardy briar I've been working with getting a verification system setup, Playing around with canvas and other libraries. I'm at the p...
node
Discord External App Help 6 messages
solar storm Hey, I'm making a bot. Currently, it's commands can be used across all of my servers but not my DMs. I do have some othe...
node
Can't fix this error, client.on, code in pastebin 8 messages
copper herald https://pastebin.com/jt3P8fSy
I need a helping hand from a professional Dev 12 messages
lapis grail ```js Fehler beim Erkunden der Welt: DiscordAPIError[10062]: Unknown interaction at handleErrors (/home/discordbot/n...
node
Message sending multiple times 11 messages
arctic siren Sounds like a really basic issue - and it may be so. However, I've been unable to come up with a solution as to what is ...
Not triggering on entitlement create 27 messages
civic warren Does anyone know why the code here wouldn't work to create a user and make a subscription on entitlement create? ```type...
node
Adding reactions to embed message. 31 messages
small reef Hello there. I am trying to add reactions to a message my bot sends but for some reason react() doesn't exist for me. I ...
Edit Embed with buttons 7 messages
rustic zinc Hey, I have an embed and btns, I can also access the btns, but now I want the embed to be edited when I click on the pre...
node
client.login stopped working out of nowhere, can't start the bot 6 messages
light sedge Nothing changed in code, the container was just sitting there. Out of nowhere, the bot stopped responding to events so I...
How can I manage the client object for making calls? 76 messages
Delete Message from User in DM 58 messages
split cove Is it possible, to delete all Messages from the Bot and User in DMs
TypeError at _transformAPIMessageInteractionMetadata 9 messages
austere portal I'm having a strange error and can't seem to find anyone who's had this same problem. ```js async handleModal(interacti...
node
Memory profiling with sharding 2 messages
gloomy jetty When using the `ShardingManager`, using node's memory profiler (`node --inspect index.js`) only shows the memory usage o...
node
Thread .fetchArchived() doesn't return all the archived threads even if those are public 3 messages
burnt hollow Hey there, I'm using the .fetchArchived() function to get all the archived threads in a forum but it looks like the func...
Ephemeral messages 27 messages
modest drift My problem is that the error message is Error [InteractionAlreadyReplied]: The reply to this interaction has already bee...
node
Commands don't seem to update at all 34 messages
onyx basalt I have tried re-deploying commands again, restarting my bot, restarting my Discord client, reinviting my bot to the serv...
Linking emojis to a role 5 messages
fathom quarry Hello, if I remember correctly there is a way to make an emoji only usable with a certain role through the API. Does djs...
TAG ID doesn't work correctly 9 messages
wind ravine They are (the members) on my discord i have the guildmembers intent and i tried that : const guild = client.guilds.cac...
Discord auth script logging 19 messages
granite urchin I have made a discord auth script that uses glitch to verify people using discord. I want to make logs for it using work...
me commands arent updating 41 messages
hasty gyro ive changed the command folder and its still showing commands that arent there
node
click button 44 messages
modern sleet can we click a button using djs?
node
Getting poll results 8 messages
summer rain Hi there, I am trying to make a bot that makes a poll and then responds with the winning answer to the poll, How do i do...
Event to signify the launching on an activity 2 messages
rotund kiln Is there a particular gateway event to know if an installed activity has been launched/started by a user in a Discord se...
discord rest api how to send dm ? 11 messages
hasty haven Hello, I am using discord-api-types and discordjs/rest for my worker based discord bot. According to docs, ```js rest.po...
@discordjs package
Make a bot leave the server you run the command in. 8 messages
edgy spire ^^
Transcript to URL 9 messages
edgy quiver So right now i already have it going to my bot-hosting.net panel and it goes to the correct file location but... Wheneve...
Collector Error 4 messages
vital sequoia - **`Code`** ```js if (data) { const Btns = new Discord.ActionRowBuilder() .addCompo...
node
Role mention 17 messages
rotund token Please help me set up role notifications. My bot does not notify the role when sending a message in the chat. It has the...
node
I tried switching the file I am running node with but it keeps referencing the wrong file. 9 messages
vernal tartan Yes I am in the right directory, uninstalled and reinstalled node. And cleared the cache.
Commands not visible 12 messages
winged edge I have the problem that when I push the commands globally, the commands are not available even after hours. However, it ...
node
Fetch the prices of each SKU in your application store front 4 messages
rotund kiln Hello, is it possible to fetch the prices of SKUs from your application store front using discord.js?
Button not firing interactionCreate event 6 messages
formal summit I'm making a simple event signup bot tailored to my server. When registering for an event, you have to choose a characte...
node
How to make slash commands work globally (in other servers and in dms where bot is not presentt 46 messages
meager warren What do I do in my code to make it work? I have tried everything but the slash command does not work no matter what I do...
node
All Intents 6 messages
livid drum Where can i find all the Intent flags?
DJS parsing 24 messages
viscid belfry does DJS parse inputs from stuff like user tag to prevent exploits?
node
gaving probelm in ternminal 6 messages
vestal crypt but the code is running nice in vscode
Live X feed tracker 2 messages
alpine summit Hey, I want to make a bot that can track different X users and will post their posts, replies and reposts in a discord c...
what happens to the "main listener" when using a message collector? 6 messages
silent bay suppose i use a `client.on('messageCreate', ...)` (eg. for collecting DMs) and a `messageCollector.on('collect', ...)` o...
Prefix Guide (V14) 5 messages
shrewd helm Hello, i am interested if there is a still official discordjs guide for Prefix Commands, i don't really wanna use offici...
@discordjs package
Ban does not work? 44 messages
edgy spire When I try to do this: "" await interaction.guild.bans.create(banUnholy.id (reason)).catch(err => { ...
How to properly communicate between shards? 4 messages
cold sierra I tried something like this, but it ended up sending hundreds of messages when it should have sent one, or otherwise jus...
node
Interaction.member.roles is either string array or role manager 12 messages
deep mountain as the title says, how should I handle it, how can I force it to always give me on or the other?
node
Caching Issues 55 messages
eternal canopy Hello! I'm fairly new to discord.js and I have some issued with this code I wrote. ```if (oldMember.partial) await oldM...
node
help in code 2 messages
vestal crypt having error in code help me please
node
How to record Silent Parts of an Voice Channel Recording 4 messages
magic snow i wanted to make an bot to record cause i dont wanna pay for craig for some features... and i noticed the slient part of...
node @discordjs package
Managing Internal Queues 12 messages
odd ravine Apparently Discord.js has an internal queueing system for managing API requests to prevent exceeding rate limits. When I...