djs-questions

13317 threads · Page 41 of 267

AFK Command buttons not working properly :( 9 messages
elder anvil here is my error code + my actual code is attched ```DiscordAPIError[40060]: Interaction has already been acknowledged. ...
Handling attachments in ModalBuilder 4 messages
lapis magnet Hello! I was wondering if the Modal builder is able to handle image attachments? I've been trying to use the AttachmentB...
Handling commands with promises 100 messages
versed carbon Hi! So I have been working on this problem for a bit now. I've slowly solved most of the issues I've run into, but this ...
Bug of discord.js Message.mentions.members . Doesn't include all mentioned members. 40 messages
low merlin I am fetching a message by id and I am trying to read mentioned members in the message. The problem is it doesn't return...
node
ButtonBuilder Generic 2 messages
gentle peak Is there a reason that the ButtonBuilder does not have a generic type that allows you to specify exactly what type of bu...
node
Bot status 6 messages
slate raptor ```js require('module-alias/register'); const mongo = require('./mongo'); const { Client, Collection } = require('discor...
node
best way to secure my bot's token 17 messages
turbid oxide Hello! I want to add features that requires higher (dangerous) permission to my bot, but I'm afraid his token might be s...
node
How to check if message has any components, and if it does, bot will disable all of them and update 2 messages
vestal spindle Help please:)
Using Slash Command to send a message in a different chat and I want to capture the response 8 messages
golden turret Hey I have this code that once a process is finished I'll notify the result in a different channel and I want to collect...
node
embed description error 4 messages
Welcome messages 19 messages
zinc cave i’m making a bot that welcomes someone to the server but i don’t want to keep coding the channel ID can someone help me?...
Slashcommands with API 31 messages
blissful gazelle Hi, i tried to create a SlashCommand which gets data from ||https://brawlhalla.fly.dev/v1/glory/id?brawlhalla_id=3145331...
Problem with the guildBanAdd event 11 messages
wild raptor When I test the event by banning someone, it doesn’t work and I don’t know what to do. I already have version 14.15.3 of...
Unknown message when deleting bot messages 13 messages
ornate notch My message delete event throws me an error when i delete bot messages. ```txt DiscordAPIError[10008]: Unknown Message ...
departure is not defined 2 messages
node
Modal collecting two responses 40 messages
wheat ice I'm coding a bot with discord.js and I would like to prevent my bot from collecting two responses to a modal because we ...
Send a dm to user after bot/app has been added/authorized? (user install) 49 messages
timid zinc I would like the process of adding my bot to go something like this: 1. Lets say I send the bot authorization link to on...
vanity link 5 messages
merry nexus Is there a function in discord.js v13? If I change the vanity link, I can do special actions to change the vanity link.
@discordjs package
Is there anyway to get the time a user spent on a voice channel? 2 messages
olive crane I want to know how much time a user spent on a vc without joining it?
Discord bot works but not on my pcs 4 messages
upbeat flicker I have a personal discord bot I use for me and my friends. It used to work fine on my server pc but then one day it deci...
node
Interaction problem 5 messages
split finch Hello, a strange thing happend to me. I log interaction.channel in interactioncreate event and it's set, then i log it ...
node
Recurring "Cannot send an empty message" error 94 messages
lament urchin Hello, I'm intermittently getting hit with 50006 "Cannot send an empty message" errors in a production environment using...
bun node
Manage Embed Size in Title 10 messages
honest wave Hello, i've been switching from d.py to d.js and am looking for a way to change embed's tittle size. I put the screens ...
node
Sharding Client To Long to be Ready Error 33 messages
paper osprey I am creating a Discord Bot using Discord.js v14.15.3. Along with Node.js v18.18.2. I am currently trying to implement ...
node
AuditLog Event for member timeouts. 11 messages
hardy helm Currently, I have this code to see what it gives me in return: ```js if(!oldMember.isCommunicationDisabled() && newMembe...
my command category logos is not showing its just showing the code of all emojis 10 messages
rapid rain in the given picture it is viewing like a code help with error.txt is the code i want to to view it like the picture giv...
Cant get user's voice channel 13 messages
rare eagle I'm stumped, when I try to get the users voice channel everything returns null *(yes the user is in a vc)*, but I have t...
node
Move Logs 18 messages
silver kite How to create a move logs if the targetId isn't accessible through both "voiceStateUpdate" & "GuildAuditLogEntryCreate" ...
TS Error: The property "isReady" / "token" is not available for the "myClient" type. 28 messages
pure vapor I've made my own TS Client class which extends djs' Client class but it keeps giving me an error which has to do with th...
node
Can someone explain me how to return a value? 26 messages
lapis grail I try to return the .setvalue from the select menu That my bot response with the selected Option
embed message struggle 39 messages
lapis grail I try to reply with a embed message but I want as answer the .setValue from my select menu. Any Idea how I can get it? m...
how do djs and other wrappers sync application commands 21 messages
quasi comet yo guys i have another api question how do djs and other wrappers sync application commands im sending post requests t...
Problem with rest module 101 messages
split finch So i asked in <#824411059443204127> a few time about my deploy command not working, especially all lines after the rest...
node @discordjs package
how can i make my bot use external emojis in user installed apps (in group dms) 14 messages
quasi comet .
I need help setup my bot 2 messages
zenith heron I need help setup my bot. I dont know anymore.
Im not sure what to do next ngl 12 messages
quaint gorge Basically, I have a basic DiscordJS bot, however I want to create stuff like a moderation system. I can send someone wha...
node
Verified bot check failed in some rare cases 12 messages
floral crater ```const isVerifiedBot = await auditLogEntry.executor.flags.has(65536) ?? await memberObj.user.flags.has(65536)``` Hell...
I got two errors when I execute deferReply method. 23 messages
white pagoda I'm making a music bot, but I got two errors when I execute the deferReply method. (I don't know why, but I only got an...
Nuke Protection 12 messages
ornate notch Does anyone have a code that will protect my server from nukes? Or a tutorial?
Slash Commands Not Loading 133 messages
sage ginkgo So my bot is working perfectly but when I add it into a new server slash commands don't load like at all. No errors, it ...
Missing access error 28 messages
last egret I'm trying to make a warn command, I don't know why it's saying missing access. The only thing the bot fetches is guild ...
Function always returns "true". 6 messages
icy pine Hi everyone, I've created a function that checks if a user can be DMed. However, it always returns true, regardless of ...
Why ChatInputCommandInteraction can return a null channel? 11 messages
node
Message ID change when i edit the Message 7 messages
bleak trout I need to save the Message ID to use after, so i create a placeholder Message, save the Message ID, then edit the Messag...
node
i keep on getting the interaction failed error but i did the reply method already tried to debug it 9 messages
runic stone ``` const { Client, MessageEmbed, MessageActionRow, MessageButton,SlashCommandBuilder,Interaction } = require('discord.j...
Non-internal sharding without using a full `Client` instance 20 messages
solid lotus Hi there, I own a large bot that I'm rewriting to be mostly HTTP-based. However, there are a number of features that req...
node @discordjs package
v14.14.1: RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined. 11 messages
slate lagoon i get the above error when i run this command on my bot: "/setmodpackid modpack_id: 925200" ```javascript // Define the ...
node
Drag Moves Log 14 messages
polar gull What is the best method to log the Dragging Move Logs?
Sharding not working anymore out of nowhere 27 messages
prime bone Out of nowhere my bot isn't starting anymore, throwing a `ShardingReadyDied` every time after trying to start the sevent...
I need help as a beginner 3 messages
solemn panther Hello i am new to the codding world i just learn the java script and did not have any good experience i wanna build the ...