djs-questions

9202 threads · Page 45 of 185

Why is my number of emoji inaccurate? 13 messages
fathom cliff im trying to count the number of emoji on my server ```js async function checkIfServerHasFreeEmojiSlots (guild) { co...
triggerUncaughtException error 2 messages
fallow linden This error started occuring few minutes ago when I try to login my bot
awaitMessageComponent 7 messages
spring jackal Hi, I'm currently building a bot but solely using interaction endpoints with express / nestjs, so I don't have a client ...
1150878580193116250
set permissions 16 messages
shell grove Hello can anyone say me How i set permissions to the Command (i Not use SlashCommandBuilder)
1150878580193116250
Transform a APIInteractionDataResolvedGuildMember into a GuildMember 9 messages
smoky yarrow Hello there, I am beginning with discord.js and typescript. To ensure type safety, i want to make sure that the object r...
1150878580193116250
Help with embededmsges 2 messages
tawny cedar how can i add user pfp as thumbnail of embed
AudioPlayerError: aborted and suddenly the music off and shutdown directly 2 messages
charred anvil I got an error when trying to play a song from YouTube. This command allows you to play from a URL or using the search f...
Alternative Slash Command Option 10 messages
final field Here is a slash command I am creating to kick a user. I want the user of the command to be able to alternate between t...
1150878580193116250
client.on() not handling/accepting requests when awaiting response from SQLite when it is busy 6 messages
paper aurora This is how I register events in **index.ts** ```typescript for (const event of events) { if (event.once) { ...
Can I make a list of options for each user separately in Slash command? 7 messages
versed dune For example, each user has different data: ```json { "441331402856857601": [ "Orange", "Green" ], "9298308...
is there a way to vertically pad non monospace text in an embed 2 messages
carmine panther I'd like to make neat columns out of my tabular data. I tried playing around with monospace blocks but that looks like �...
998292157150535700
how to set activity 2 messages
main bronze hello im trying to setup an activity but it’s not working
1150878580193116250
hey I create a offline notifer as event 16 messages
lapis grail But if my bot get offline I get no notification any idea why? ```js const { Events, EmbedBuilder} = require('discord.j...
So when I Run My Bot This What Happens 5 messages
wraith sparrow I wanna it to kick But it blacklist a Bot instead
Get input from the user 13 messages
lament sail Hey! I want to create a slash command which when you execute it, you will get options to choose from. After you choose a...
Collectors not working 9 messages
hollow lance Hey ! So I have a command (in a different file) that open a modal and when the modal is submitted (in the index.js) I ad...
998292157150535700
undici connection errors 24 messages
keen sequoia whats up my swag devs im back here with the same issue from 2 weeks ago because updating did not resolve it; we're havin...
How do delete all slashcommands 13 messages
oak valley So i have used the same token from one of my bots which has a slashcommand group and i wanted delete the old commands ca...
Audit Log Executer 22 messages
stone olive So how come `Security` bot get the executer in a second while discord sends that info after 5 seconds of the action?
pagination with button handler 14 messages
dusty wadi Hello i want to refactor my current embed pagination. How do I update the embed in a separate button handler? A user sta...
1150878580193116250
Interaction Error 5 messages
flint wyvern Hello, i got a interaction error when i try to make a ticket. My code is the following: My ticketSetup.js: https://pas...
Any performance issues if non-async function runs an async, compared to running async alone 2 messages
paper aurora On discordjs.guide, this is suggested ```typescript for (const event of events) { if (event.once) { client.o...
Error Code 404 when trying to launch app 3 messages
pliant flicker Missing application for some reason.
1150878580193116250 998292157150535700
Unban 24 messages
plucky nimbus i got this unban code, it is part of a bigger mod commands group, its a subcommand. i am not catching anything on the co...
Discord Login 5 messages
jagged yarrow I have a discord login with Express.js ```js app.get("/discord", async (req, res) => { const code = req.query.code...
1150878580193116250
Can someone explain me what can I do that my bot always response. If I try next day a slash command 41 messages
lapis grail my bot doesn't respons. ```js const fs = require('node:fs'); const path = require('node:path'); const { Client, Collect...
1150878580193116250
Button interaction 37 messages
stiff venture Hi, i tried soemthing, does when you press a button, the message get edited, i dont get it, i will send a screen shot he...
quick question for moderation bots and stuff 3 messages
fathom talon quick question when a discord bot deletes a message for rule breaking or others is it possible to do it before it appea...
Can you have multiple images in one embed? 14 messages
thin zenith Can you have multiple images in one embed?
Hello 12 messages
lean owl 2 same cmds??
Image in slash command option 6 messages
thin zenith Can you ask for an image in a slash command option?
Send data with component 4 messages
hollow lance Hey ! I have a command and I reply to the interaction by sending a modal and after sending a message with a button. But ...
1150878580193116250
Help to the dev 7 messages
jolly ravine Hello, is it normal that everyone from the DJ server tries to get my account information, or is this part of the support...
client.run help 1 messages
bitter grotto client.login(''); SyntaxError:...
Bot permissions help 25 messages
jolly ravine I greet you! First of all I have to tell you that I have made a lot of progress thanks to your help! Thanks for that! Bu...
Possible to _never_ purge/sweep specific cache? 6 messages
primal horizon Our bot frequently checks roles & server memberships On our bot initialization, we have `makeCache: Options.cacheEveryt...
can't see slash commands 1 messages
Modal Submit not Working 9 messages
icy tangle Can someone help me, I can't submit a Modal I can open it, but it won't even get to the `submit` function for some reaso...
1150878580193116250 998292157150535700
Collector not updating message embed 11 messages
slate ocean No errors in console or anything, ```js /** @type string */ let list = intr.options.getString("name", true) ...
1150878580193116250
Token invalid (Discord.js@13 / 10.7.0) 36 messages
hardy stag The token is correct but is returned as invalid.
Presence Intent question. 4 messages
outer star Hello, i have my bot working for more than +75 servers and i have the verification applied but i need to get the "Presen...
1150878580193116250
Name Error 10 messages
icy linden https://sourceb.in/4r5DOBUkgg
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...
1150878580193116250
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...
1150878580193116250
How do I leave it like this? no name appears 7 messages
1113356221962010634
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. ...
Updating documentation for receiving partial messageReactionRemove event 1 messages
obtuse wraith I spent a good deal of time trying to figure out why I was receiving partial events for adding reactions to uncached mes...
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...