djs-questions

13317 threads · Page 119 of 267

Question about context menus 4 messages
lusty lava Here about context menu commands, Is it possible to only make them visible to users who have a certain role etc. If so ...
Cannot read properties of null on guild.commands.create 13 messages
fierce fjord sup, see my code: ```js (this.client.guilds.fetch(process.env.GUILD_TEST)).then(g => { g.commands.create(command.data)...
Not recieving heartbeats, killed after ~50 seconds, zombie connection, do recieve guildCreate event 72 messages
lyric condor Hey, I'm having a really annoying issue. I have a ubuntu server on a digitalocean droplet where I try to host a djs 14 ...
Attachment content type support 18 messages
wispy blaze Hello. Not sure if this is correct place to ask this question. I need a list of what content types are supported for ...
RCON Response 26 messages
terse star I have a working chunk of code for RCON, but I can only get it to console log the command and the information. I have be...
how can i search for a member using an id? 19 messages
dire ermine i did this but not working v14.7.1
ReferenceError: interaction is not defined 58 messages
shadow atlas DiscordAPIError: Invalid Form Body error when i load my slash commands into my discord bot
CombinedPropertyError? when trying to use a function that uses JSDOM to return a string for embed 27 messages
static vault Hello! I have a problem so my code is giving me multiple `CombinedPropertyError` idk whats that but I used some async f...
ApplicationFlags of mentioned bots? 9 messages
Autocomplete Error! 2 messages
jovial moon CommandHandler```module.exports = class Command { constructor(client, meta = {}) { this.client = client; ...
how to get user’s displayName 5 messages
glass kindle I am trying to display the server members displayName not usernmae but it returns with a username even tho i use member....
a general question about autocomplete 5 messages
north juniper how would I show an array in autocomplete? I want foo and bar to be the 2 options that will show upon respond, the quest...
Autocomplete Error! 31 messages
I have a simple doubt 3 messages
nimble wolf it is possible to edit only the button that i reacted in a message i wanted to deactivate it only when i reacted it
Exporting variable 2 messages
@discordjs package
Fetch an array of message IDs at once 13 messages
mild drift Is there some sort of way to fetch multiple messages by `id` in a single request? Kind of like `message.channel.messages...
Unknown Message 16 messages
heavy coyote ```js const message = await interaction.fetchReply(); const collector = message.createMessageComponentCo...
Embedded errors 7 messages
weak glade Hi! I'm having a problem with my robot! I don't know why, but the robot crashes when a member fails to join the trigger ...
Unexpected string in JSON 35 messages
queen badger I'm trying to create discord bot that can show an output by slash command but the code couldn't run. App used: Replit. H...
ChannelNotCached 39 messages
coarse rapids Error [ChannelNotCached]: Could not find the channel where this message came from in the cache! **how to fix this error...
Activity Filtering 13 messages
dawn mica If I wanted to filters those discord activities, like the games you can play, would I need to filter via activity type o...
How to Respond to the interaction without displaying anything 7 messages
craggy saddle I have created a function to edit the message according to the StringSelectMenu selection. However, the message "This in...
Collector doesnt work, even tho i took it form the docs 7 messages
Automated soundboard on user join 10 messages
Creating an Update Handler 9 messages
waxen zenith Would it be plausable to create a handler thats job would be to catch any updates such as updating/deleting messages or ...
How do I limit the number of roles that guild.roles.cache shows (It crashes bot) 55 messages
Reliably Fetching Roles from Member in Guild 2 messages
drowsy crest How can I reliably fetch a member from a guild (without guild members intent) and ensure that the role information is al...
Preventing some guilds from being cached 27 messages
muted beacon I want to customize my cache to prevent my Bot from caching the GuildMembers of any guild which isn't set up in my datab...
Ticket lock error 21 messages
"BitFieldInvalid" error 13 messages
shadow atlas I keep getting the "BitFieldInvalid" error. It says throw new DiscordjsRangeError(ErrorCodes.BitFieldInvalid, bit); ...
dev release
command handler not registering commands 50 messages
ashen summit . I'll upload sourcebins one moment
Owner Commands 7 messages
last lantern hey , how is everyone doin , i dont have a code with issue atm since idk if what i wanna is even possible. i got some c...
Ports that discordjs is using? 11 messages
orchid zodiac For now for my bot to work i enabled all ports in egress rules, but I need to know which port(or port range) is discord ...
Kicking a user 131 messages
ashen topaz ```JavaScript if(button === 'kick') { const member = interaction.options.getMember(''); member.kick(); } ```
Hello, how to make a modal in djs v13 please 6 messages
pine pike Hello, how to make a modal in djs v13 please
Creating a join/leave message 127 messages
ashen topaz How would I create one? I'm trying to use guildMemberAdd
More Builders in Modals 11 messages
tepid locust Hey guys, when do you think `StringSelectMenuBuilder` and `ButtonBuilder` will be usable in Modals? I don't know if it i...
@discordjs package
Change user nickname 20 messages
hexed escarp Good morning. I want to change the nickname of the user whose user id is entered in the command option, except I did som...
Linking guild to a specific member based on dm with bot 21 messages
cinder chasm I have a bot that's supposed to verify people. Is it possible for the verification to happen under dms? I figure I can't...
@discordjs package
Command that runs every millisecond - Discord.js V13 16 messages
sweet owl How would I make a command that runs every millisecond to check my database for a timestamp that matches the Date.now() ...
How to display "TRY MY COMMANDS" 5 messages
fierce willow Title
getTime is undefined 17 messages
tight prawn ```js .setDescription(`**Username:** <@${user}> (${user_id})\n**Action:** User Joined\n**Joined At:** <t...
@discordjs package
I can't make the new mute 7 messages
pine pike I can't make the new mute. Who can explain to me please ?
how can i make button Bot Discord 4 messages
severe cliff how can i make button Bot Discord In V13
@discordjs package
Fetch every thread ever in a forum channel 2 messages
safe egret Is this possible? I'm trying to fetch a count of posts in a forum channel.
Webhook Logging 2 messages
Bot cannot edit its own messages 14 messages
fading mason With my bot I am trying to make it so that when you press a button it becomes disabled. This fails so I simplified it to...
.setName is not a function 4 messages
rancid flume Hello, I cannot understand why it tells me that ".setName" is not a function. Here is my code: ```js const {EmbedBuild...
New Question 10 messages
rancid wasp How Do i make a warn commands so like /warn
Verification system with a button on an Embed 4 messages
rancid flume Hello, I'm trying to make a verifitcation system. Here is my code: ```js const { EmbedBuilder, ButtonStyle, ActionRow...