djs-questions

13317 threads · Page 47 of 267

Channel permission check 23 messages
marsh valley so i am trying to find if bot have permission to send message in channel or not, i using this code ```js // Check if th...
node
how can i use nvm in vs code 2 messages
sharp raft helpppppppp
command.run and command.excute 5 messages
vernal ivy guys how can i make 'command.run' with 'command.excute' both ? cuz some codes need command run and some need command exc...
node
How do I leave it like this? no name appears 7 messages
Discord
Keep saying The application did not respond 12 messages
lean owl Help
help with bot 15 messages
drifting storm I am trying to code my bot so that when a member of my sever pickes a role they get added to a specific thread channel. ...
Caching all guild entitlements for a process-sharded bot 3 messages
tired field What's the recommended approach for caching entitlements for all servers on a bot using process sharding? Some use cases...
createMessageComponentCollector timeout answer 7 messages
versed dune Yahallo 🕊️. I'm learning [email protected] 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.
node
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...
bun
TypeError [InvalidType]: Supplied parameter is not a User nor a Role. 4 messages
vital scarab VoiceStateUpdate Event. ```js for (let userId of trustedUsers) { let user =...
syntax error 41 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
Discord
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 ...
Can anyone help me how to create a poll using discord.js 12 messages
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?
node
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
Cmd error 11 messages
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?
node
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...
node
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...
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...
node
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...
Problem with a xp system 3 messages
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? 14 messages
queen breach I am sending a response with ```js const option = { name: "Hello World!", nameLocalizations: { "es-ES": "Hola Mu...
node
@DiscordJS/WS cache 41 messages
trail vigil By default, does djs/ws cache anything? for context I have GuildPresences, Guilds, and GuildMembers intents enabled.
@discordjs package
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 ...
node
@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...
node
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...