djs-questions

9202 threads · Page 2 of 185

passing a list(array, map, I can turn it into whatever) of objects and turning them into options 11 messages
pure pike I'm a bit rusty at javascript, but I'm trying to link up an api, turn some information and ultimately turn it into an ob...
1150878580193116250
question about interaction handling 7 messages
vivid hawk hi, im working on a bot but im trying to minimize memory leaks and boost performance because it will be listening to ton...
fix 2 messages
pearl crest fix
1425536557883850804
discord.js v14 - Bot commands not responding 36 messages
rapid skiff Hi, I'm using discord.js v14. I deployed my bot but none of the commands respond when I use them in the server. My code ...
1150878580193116250
App crashing on sending message 8 messages
hexed pike Code: https://www.codebin.cc/code/cmm24gbqh0003jv03yrie8n1m:7nnMwUrrxgN4iXgX1nVcWpueWgkjmY4kAbz7i9a7m8Mc Error: https://...
Embed resized by Image 3 messages
jolly wyvern First screen is like what I want from embed (sent by webhook) and second is my embed with same image in MediaGallery. I...
998292157150535700
Handling ephemeral updates/deletes without a corresponding interaction 13 messages
lunar oar I'm building out a views framework on top of d.js for my application that provides lifecycle notifications to a mixture ...
1150878498534199426 998292157150535700
Multiple events about same thing 8 messages
keen dove Hey, I have action logs system like (log when someone got role etc), but sometimes it appears to send events from past (...
1150878580193116250 1425536557883850804
Command Cooldowns? 19 messages
dusk violet does the new djs version support command cooldowns yet? or we still gotta use the npm? (haven't been here for a whil.)
Discord clan tag detecting 4 messages
unkempt igloo can somebody give me an example to detect when a user reps the servers “clan” tag so it can give them a role?
Detecting other activities when using RPC 6 messages
silver oyster I have an RPC implementation that is **working**. * node v20 * using ipc transport * application requires no scopes (so ...
1003448629866020986
Emoji bot 2 messages
hearty herald Guys anyone can tell me how to use emojis sending thing in bot? Like My bot uses emojis.js (where bot stores the id of ...
1150878580193116250
Accessing properties of APIChannel without narrowing 34 messages
fair sable I'm trying to work with the `APIChannel` type from `discord-api-types` and running into an issue working with this discr...
1150878580193116250
Help with setting up slash commands. 18 messages
delicate holly Hello, I am a beginner, and learning discord.js. I have problems with setting slash commands.I tired my best...
1150878580193116250
channel.messages.fetchPins() does not return 44 messages
lyric maple I've been noticing an issue recently where when calling channel.messages.fetchPinned() my bot hangs. It doesn't return e...
Receiving incorrect Missing Access errors until bot is restarted 143 messages
cunning elbow ## **What are you trying to do?** Send DMs to a user who has added the bot to their account. ## **What's the problem?** ...
1150878580193116250
components v2 10 messages
pastel folio I Nee Help how can my bot send an embed (components V2)
How to detect role assignment from a Discord invite in Discord.js v14? 5 messages
rigid karma ## **What are you trying to do?** I want to detect when a new Discord invite is created that automatically assigns a rol...
1150878580193116250
User Applications 16 messages
autumn hawk How can I pull the applications thrown to the server? Does djs support pulling applications?
status 7 messages
hearty herald How to use status like this
1150878580193116250
Looking for Remote Workers – Paid in Crypto! 3 messages
wraith karma ✍️ All work is fully remote, flexible, and paid in crypto. Requirements: 💻 A computer 📶 Web development experience 🗣...
1150878498534199426 1003448629866020986 998292157150535700 1150878580193116250 986538542350086175
Slash Commands 6 messages
bleak yew Hello! I’m still in the process of reading the guide. Please bare with me. I’m not sure if I missed a spot but upon mod...
Setting client user presence fails siletly 17 messages
timid terrace For some reason, either calling ClientUser#setPresence; or providing the options as ClientOptions don't work. ```js // A...
Bot doesn't retry a request after hitting a rate-limit 9 messages
north quail Hey there, I am trying to create roles in bulk. But every time the bot hits a rate limit. After teh retry time, the bot ...
Sharding questions 203 messages
winter knot Hi, -# I'm making a post so any future questions I ask I can easily come back to them in the future I have a few quest...
New Modal components? 4 messages
sleek jungle Hey 👋 Quick question is there any info on when the new modal components (Radio Groups, Checkbox Groups, and Checkboxes)...
998292157150535700
Error 5 messages
slender forge ``` > bun src/index.ts 2760 | constructor(enumShape, validatorOptions = {}) { 2761 | super(validatorOptions); 276...
1150878498534199426
How to find out if bot is rate limited? 9 messages
rare coral Hello, I'm trying to get a message when the bot is rate limited but I can't really seem to make it work, here's the func...
1150878580193116250
Buttons Inside Embeds 5 messages
wraith plover Is it possible to add buttons inside embeds. Cause i have see it a lot of times but i can find any documentation to see ...
1150878580193116250
Get a user's guild tag upon join 28 messages
jovial valley Hello! I'm implementing a blacklisting system for a client of mine, and I was curious if it's possible to get a user's g...
RangeError: Non-premium buttons must have a label and/or an emoji. 10 messages
full radish Hello, v14.25, I've got this error ` Non-premium buttons must have a label and/or an emoji.` This is my code : ```js ....
1150878580193116250 998292157150535700
Code can run in the local env but can not run when deploy it to Render 16 messages
mystic crystal Hi guys, I want to ask some questions about Discord bot development I have this code, and work well in the local enviro...
1150878580193116250
GuildMemberRemove not emitted on voluntary guild leave? 4 messages
prisma notch I'm writing some data cleanup on my bot for when guild members leave. GuildMemberRemove seems to be working just fine wh...
Is there a UserCreate event or something like that for user installed apps ? 3 messages
storm solstice Hello, I'm working actually on a user installed app. I want to DM the user once he add the app. But i'm looking for a gu...
1150878580193116250
I wanted to create a discord.js code for my bot that using External app Command user spam 21 messages
lunar wigeon I want to delete the message & give timeout the executed user and this bot is not inside the server but it spamming
1150878580193116250
Section 2 messages
royal river Hi, how to put the button at the bottom instead of right?
1150878580193116250
Bot randomly not logging in anymore 31 messages
dull wing Hello, randomly my bot is no longer logging into discord.js. No changes occured and it randomly won't log in anymore. Is...
1150878498534199426
I cant sign in my account 5 messages
dreamy grove because of the Verification/2FA Required and i dont have passkey, is thee a way to sign in?
discord presence 16 messages
wicked dome hello i downloaded discord presence on visual studio code but the status from vs is not on discord wjy
1113356221962010634
Channel is a voice channel or not 39 messages
restive breach Hi, how to know if a channel is a voice based channel ? like stage or voice
1150878498534199426
No RPC events 5 messages
slate lagoon RPC events that require a subscription don't seem to fire and im not sure why been testing with this program ```js cons...
1003448629866020986
Can someone make a Bot for me? 8 messages
trim dock its pretty simple, i have the code i just need someone to install and get it on discord!! heres the code // index.js //...
1150878580193116250
is there a way to copy the json of a discord embed 15 messages
boreal hare like this one I tried making and couldn't figure out how. thank you
1150878498534199426
When iam doing /start it says league doesn’t exist 3 messages
queen trench Idk hownto fix it
1150878580193116250
GuildMemberRemove leave log shows unknown user? 3 messages
worldly lake So i have a member log, for both join and leave, but sometimes when they leave, it shows as unknown_user, is that a user...
1150878580193116250
Channel Selection in modals? 21 messages
dusty linden So, the question is basic: are we able to put channel/role/user selections in modal structures?
1150878580193116250
Seemingly impossible "Interaction has already been achnowledged" 47 messages
queen saffron Using discord.js@14.25.1. I'm getting a seemingly impossible error, stating that the interaction has already been acknow...
1150878890307358882
Where to get the order of a DC bot 4 messages
merry dragon Does anyone know where I can get Discord bot development-related work?
1150878580193116250
Client Ping? 19 messages
low mural `Client.ping` is returning undefined, and not showing up under properties, am I calling it incorrectly? Pls help
Entitlement events 3 messages
scarlet turret Are entitlement create|update|delete events executed only on the first shard or on all shards ?