djs-questions

13317 threads · Page 13 of 267

currently trying to make my slash command work globally atm it only works in bot dms and guild chan 2 messages
robust wyvern im currently trying to make /otp work in user to user dms but it wont
Detect other instance 7 messages
inland depot hi, i would like detect other instance of same bot for security
Voice Status - how to set them 11 messages
frosty crypt Hi, I have a question about the voice status that we see at the bottom of the voice channel name, how to set a voice sta...
Prevent automatic setting of a default value in the menu 4 messages
unkempt pumice Hi there <:waveBoye:985607731417329674> I'm currently working with a `ChannelSelectMenu`. When a user selects an option,...
node
premium commands 6 messages
pulsar wedge Do I have to keep a record for myself as to what user/guild is subscribing ? Or does DJS have build in support to retrie...
Handle Rate Limits 20 messages
severe storm I've been trying stuff with channels name, but I've yet to find a way to handle Rate Limit errors from the API, how can ...
node
Components v2 - SectionBuilder with button 40 messages
wild dagger Hey everyone. I'm trying to add a ButtonBuilder to a SectionBuilder, nested in a ContainerBuilder. But when trying to po...
Components timeout causing "Unknown Message" error on ephemeral messages 5 messages
dusty plank Hey all, I did a bit of research before posting this but I'm still a bit confused, I'm wondering what would be the best ...
Better way to see if user is in channel 51 messages
ornate fjord I want to check if a user is in the same channel as the executed command. My current solution is quite big and complex. ...
bun
Components v2 and collectors 27 messages
Error: Discord API call failed: read ECONNRESET 9 messages
main cosmos So, I am making a FiveM server and I have a discord.js bot. The bot is supposed to: - Detect when there is a new role a...
node
User client(desktop client/browser/mobile) 11 messages
rare kernel How can I get the user's device
A bot that uses multiple discord bots 23 messages
bitter mural Basicly my bot wukk get rate limited alot as it will create alot of channels and drag members when it create game vcs so...
@discordjs package
Editing ephemeral responses 5 messages
How to send ephemeral messages in new updates? 2 messages
fallow linden I am back to discrod.js after quite a while, I used to send ephemeral messages by using the `ephemeral: true` in the int...
how i can make like this server tags logging bot using djs 10 messages
vivid galleon for my tag server like my question is how i can fetch this server tag
Unable to see (/) commands 78 messages
soft scaffold I'm trying to follow the guide on the part of creating slash commands, and this is my `main.js` file, and my bot is up a...
node
Slash Command Help 20 messages
covert crown how to name slash command without accents - instead of spaces. For example /embed create instead of /embed-create for sl...
i got error for removing the semi colon 48 messages
nimble nebula i got error for removing the semi colon
Testing djs commands/flows 7 messages
wanton cipher What's the generic consensus for (unit/integration) testing commands? Mock the djs return values? Room for error if I my...
Bot not joining server 24 messages
soft scaffold Hi, i'm knew to coding and building bots, and I tried to follow all the discordjs guide instructions, and ran the code f...
Discord
Is there a way to take a (non-zip) folder as input for a slash command 5 messages
high nymph attempting to upload a folder that contains json files, currently failing to upload the attachment via addAttachmentOpti...
How to track multiple boosts within a server 20 messages
winter knot Hey, I'm looking to try and track when someone boosts more then once within a server. To my knowledge, this isn't pos...
Optimizing Cache Management for a High-Volume Discord Bot 8 messages
magic hamlet Hello everyone, I'm currently developing a Discord bot that's active on approximately 1,200 servers, with some servers ...
node
Errors in config.json, deploy-commands.js, and index.js 23 messages
mental quail I think I messed up something simple here. I'm following the discord.js guide and I'm this (https://discordjs.guide/crea...
How do i add components buttons dropdowns etc inside the embed? 2 messages
Collector not working 38 messages
Error (cant Open a Ticket) 7 messages
shell wagon Need Help.
dropdown menu timestamps markdown 2 messages
sudden gulch is it possible to have timestamps in the dropdown menu, v2 or i just have to write it with text instead?
can someone help me code a ticket bot 3 messages
thick flicker please
node
"No Description" when calling for guild.channels.fetchActiveThreads() 28 messages
fierce violet `Get "https://discord.com/api/v10/guilds/1334649246472732712/threads/active?": context deadline excee`... ``` DiscordAPI...
node @discordjs package
Voice Channel Create & Move Issue w/ PS5 8 messages
peak kiln I'm curious about a possible limitation of console usage with our temporary-voice feature in our bot. Currently my logic...
node
AutoModerationActionExecution Event Not Firing 13 messages
raven furnace I’m currently building a moderation feature for my Discord bot using Discord.js v14, and I’m running into an issue where...
node
Trying to get an API to work for Sydney Trains. 8 messages
Interaction reference 5 messages
empty path I am looking to refer my interaction to a bullmq job to process the data sequentially. Is there a way to do that, like f...
bun
Double commands 29 messages
lapis grail Does anyone have any idea why there are duplications? I have the deploy-commands.js from your guide only I use global co...
Is it possible to fix `Unused default export` 7 messages
unique latch I like to keep the files free of unnecessary warnings. Is there any way to remove it?
Default `time` value for `awaitMessageComponent` ? 14 messages
hallow tulip Hi, the `time` value in `awaitMessageComponent` is optional, but I cannot find any indication of what the default value ...
Embed Video ? 12 messages
random pike Hello i want put a link video URL on my embed and can watch the video on it it possible or not ?
Fetch all guild members 16 messages
brazen condor Hello! I want to fetch all members of my guild (around 40k) without blocking incoming interactions and without sending a...
in-line vertical 4 messages
sudden gulch is it possible to use in-line in embeds to have horizontal displays?
Slight code modification to make it work for another bot 4 messages
quasi lava Hello, the following code is fully functional and does the following: After a random amount of messages in the server th...
Error: Cannot message this thread until after the post author has sent an initial message. 21 messages
lucid parrot I'm encountering the following error: ``` DiscordAPIError[40058]: Cannot message this thread until after the post autho...
Question about Button Interactions 58 messages
marsh sinew Hello - I have a TempVoice System & Button to Manage on the Embed in the Voice. (Voice Lock & Unlock) > After clicking...
Potential bug on the ModalSubmitInteraction class 5 messages
bitter dove In the documentation it says that there is a method "update" which does not exist in the class : https://discord.js.org...
Inconsistent "Unknown Interaction" Error 61 messages
sturdy geode I checked the probably causes but neither of them should be causing the issue. - My interactions are already deferred. -...
TypeScript: GuildMember#joinedTimestamp may be null. Why? 5 messages
crystal crag I'm converting my bot to TS, and I just noticed that GuildMember#joinedTimestamp (and GuildMember#joinedAt) are typed as...
bun
Bare bones d.js setup with bun, can't find types for bun? 4 messages
last shuttle Currently setting up a new d.js project with bun. I don't even have d.js code in here yet lol. Vscode keeps complaining ...
How should my project be structured? 5 messages
daring meteor I've been working on a discord.js bot of considerable size for a long while now, but I'm starting to notice some issues ...
node
fetch all guilds? 17 messages
rough oyster Hey guys, I'm creating a dashboard for my Discord bot, but ran into some issues. I'm trying to get a list of all id's fr...