djs-questions

9202 threads · Page 46 of 185

createMessageComponentCollector timeout answer 7 messages
versed dune Yahallo 🕊️. I'm learning Discord.js@14.15.3 and have encountered an unpleasant situation. The thing is that I am creati...
Does DiscordJS support activities/activity creation? If not, will it in the future? 9 messages
honest quarry Title displays question. Sorry if this is regularly asked, couldn't find.
1150878580193116250
how to deploy commands only to an admin 2 messages
indigo quartz ive seen it before how do i make admin commands only accessible to ppl w/ admin perms
Fetching member disconnect audit logs 10 messages
mighty pelican Anyone knows how to fetch audit logs for member disconnect. I got already the data for who disconnects a target but when...
Unable to fetch all members from role 6 messages
jolly hare Hello. For my app, i need to get all members of a predefined role id to fill a const Unfortunately, when i fetch members...
1150878498534199426
TypeError [InvalidType]: Supplied parameter is not a User nor a Role. 3 messages
vital scarab VoiceStateUpdate Event. ```js for (let userId of trustedUsers) { let user =...
syntax error 40 messages
jovial ginkgo how do i fix this?
Button Interaction Help 14 messages
fallen flame I have create a button in one interaction event like client.on("interactionCreate", (c) => {}); However, in another even...
How do I end a poll that is in the message? 12 messages
vague forum <ref *1> Message { channelId: '1248070720551129090', guildId: '1226647840005160980', id: '1250225712741220372', ...
When did discord.js will release the possibility to add comands to users ? 4 messages
ancient mesa title
1113356221962010634
Roblox gamepass group price chages not working 2 messages
lean owl https://sourceb.in/ibjt6I3R83 cmd code https://sourceb.in/SSIR5gfgQU errors
Is there any way for me to check which servers a user is on by their ID? , or any API that lets me s 2 messages
vague forum Is there any way for me to check which servers a user is on by their ID? , or any API that lets me see which server the ...
Help me with an unexpected error!!! 31 messages
sullen merlin ``` node:internal/modules/cjs/loader:1189 throw err; ^ Error: Cannot find module 'commands\8-ball.js' Require stack...
How can i automate message? 24 messages
low kindle So, i am currently using pm2 to automatically run my bot and i want my bot to send message every time pm2 start my bot. ...
Integration Type/Context in slashCommandBuilder 4 messages
late oyster attached is a screenshot of where i want to use them.
Authorize modal 7 messages
quasi latch What's the best way to authorize a modal in order to know it came from the right user? I'd prefer nog to use the interac...
"Invalid Form Body" when sendPremiumRequired is called. 20 messages
heavy cradle Starting to get monetization on my bot but I keep getting this error every time I try to call sendPremiumRequired along ...
MongooseError 5 messages
lean owl Hello
voice channel status? 6 messages
sacred owl Hi everyone, I have a question. What should I use to edit that message, value?
1150878580193116250
ContextMenuCommandBuilder Permissions 7 messages
blazing slate I'm trying to add a User Command, and the permisisons through PermissionFlagsBits but I get an error. Here is the code...
How can I edit interaction.update, because if I use interaction.editReply it edits followUp 12 messages
vague forum How can I edit interaction.update, because if I use interaction.editReply it edits followUp
timestamp 12 messages
hardy sage how can I get the current time and add a certain number of milliseconds to it to get a timestamp?
1150878580193116250
hi question im following the guide and is this part needed or not 4 messages
vapid axle i just need to know
commands isnt work 24 messages
hardy sage ```TypeError: Cannot read properties of undefined (reading 'FLAGS') at Object.execute (c:\Users\artem\Desktop\bot\co...
1150878580193116250
level up message 41 messages
serene condor so I am having an issue with the level up message not sending... the console doesn't throw and errors or anything so I a...
trying to make daily bot 1 messages
golden iris the problem : /home/runner/crypo-bot-Vbeta/index.js:7 const client = new Client({ intents: [Intents.FLAGS.GUILDS, Inten...
help with invite tracker needed 4 messages
frigid acorn hey, i'm not that experienced with coding discord bots and i need help with an invite tracker. right now i have a /invit...
Trying to create a channel under a category 5 messages
gusty pier code: ```js client.on('guildMemberAdd', async member => { const guild = member.guild; // Find the verification ca...
How to determine the number of messages from a user ? 3 messages
dawn thistle Hi, Is there a way to determine the number of messages sent by a user in a guild (the last message is too old to be in t...
1150878580193116250
Readonly array in message options interface 130 messages
stoic silo Hey <@385132696135008259> I just saw your PR https://github.com/discordjs/discord.js/pull/10045 which broke my code. I'm...
Thread creation very slow in larger servers 11 messages
steel cloud We are part of Wonderverse and we created a bot (https://top.gg/bot/917630803314352208) that runs in this channel ⁠PlayF...
Why can't I import (require) something from discord.js ? 2 messages
pure vapor Just look at the screenshot. It says "The file is a CommonJS module and can possibly be converted into an ES module." T...
global slash command not working 3 messages
steel path when i try run with specific guild its run normally but when i try on global not working on all server
AutocompleteOption.NameLocalizations not works? 13 messages
queen breach I am sending a response with ```js const option = { name: "Hello World!", nameLocalizations: { "es-ES": "Hola Mu...
1150878580193116250
@DiscordJS/WS cache 41 messages
trail vigil By default, does djs/ws cache anything? for context I have GuildPresences, Guilds, and GuildMembers intents enabled.
998292157150535700
How do I know which gateway intents I need for a certain event in Discord.js? 9 messages
fickle rain How do I know which gateway intents I need for a certain event in Discord.js? For instance, if I want my bot to respond ...
1150878580193116250
@DiscordJs/Opus installation error for node v20 6 messages
chrome olive I have been investigating the errors when installing this package and it seems that @Discordjs/opus is not compatible wi...
1150878580193116250
What is this and is there a way to make it with djs? 10 messages
hardy mesa Found this under someone's profile, I was wondering how to make it
Buttons in the embed losing their functionality after a certain period of time 3 messages
wise blade I invite some users with a slash command and wait for their responses, but after about an hour, the buttons seem to stop...
Keep saying This interaction failed 8 messages
lean owl Code:
Issue with docker / discord.js / linux 6 messages
sleek flicker Hi I'm running my bot on a linux docker container, I'm currently getting this spammed in the console and not really sure...
thread.members._add is not a function 244 messages
young shore ```js [UnhandledPromise] TypeError: thread.members._add is not a functionPromise { <rejected> TypeError: thread.member...
1150878580193116250
Can't set role icon 2 messages
pliant egret > Discord.js version: 14.15.3 > Node version: v20.5.1 Code: ```js const customEmojis = content.match(/<a?:\w+:(\d+)>/g)...
embed color 3 messages
pulsar wedge Is it possible to make the embed border color invisible?
1150878580193116250
How to run discord.js in a serverless environment? 4 messages
inland knoll I want to build a bot using discord.js,It runs in cloudflare workers,How can I use discord.js to develop this bot?
Discord API 6 messages
last canopy dm_permission has been removed but I can't find what was added instead. Can you help me? I do not use Builder
Simplifying the API request process 18 messages
fickle rain ```javascript import { REST } from '@discordjs/rest'; import { API } from '@discordjs/core/http-only'; const rest = new...
1150878580193116250
Simplifying API Requests 8 messages
fickle rain Here's the code I'm using: ```javascript import { REST, Routes } from 'discord.js'; const rest = new REST({ version: '...
1150878580193116250
Docgen 15 messages
austere socket Can someone explain me how the @discordjs/docgen module work pls ? I search all the Internet I haven't find any document...
998292157150535700
Strange behavior with selectively sending multiple embeds 15 messages
feral olive I have a welcome message embed. The issue is that the embed will *sometimes* send 3 times in the welcome channel, but co...
998292157150535700