developing-djs

295 threads · Page 2 of 6

required permissions listed in djs docs next to each function 3 messages
pine estuary If it's not too much work would you consider adding tags for each permission that's required next to it's function? For...
992669466733334589
How can I run the docs website locally? 28 messages
ornate pelican How can I run/preview the discord.js docs website locally? `CONTRIBUTING.md` talks mostly about how to build/test the ...
992669647621074975
Typesafe API calls to never be missing permissions 16 messages
verbal surge As a prefix to this post, please read https://xetera.dev/article/typescript-permissions which explains this concept a lo...
992669466733334589
Escaping the "link embed suppressor" sequence 8 messages
safe vale *First things first: apologies for using the wrong tag, but there's no `formatters` tag in this forum.* Quick explanati...
1156758894320828469
Document embed limits 29 messages
vivid pecan I was recently wanting to get the embed limits, so I checked `discord-api-types` as most things in the discord docs are ...
992669520399450232
Changing type parameter names in Partialize type. 2 messages
safe vale I believe I've found an issue with typings I can fix. Original discussion was here: https://discord.com/channels/2220781...
992669466733334589 992677716690206750
Deprecated package for Windows section of PM2 3 messages
sudden osprey Apparently, it seems that the author added a deprecation notice back in August of 2022 and suggests to use [`pm2-install...
992669728218828870
Possible problem with how cooldowns are implemented in the guide 19 messages
celest sparrow Hi, first of all, I only have a few months of experience in bot creation, so it's fully possible that I'm completely wro...
992669728218828870
Simplifying typings 38 messages
rigid bloom a few things - derived typings such as [AwaitModalSubmitOptions](https://github.com/discordjs/discord.js/blob/main/packa...
992669466733334589
Fix parsing of IPC packets with multiple or partial messages in discord-rpc 8 messages
dense mauve Hi everyone, I've observed that in some cases, messages from Discord can get skipped during decoding. This happens when...
995450796852400330 992677716690206750
Remove argument in CommandInteractionOptionResolver#getFocused 10 messages
cinder wraith There is a `getFull` argument in the getFocused method that defaults to false, only returning the value of the option. I...
992669466733334589 992677716690206750
CachedManager questions 45 messages
vagrant shore Hello. I am creating a new manager that extends on CachedManager. I am trying to take example on the already existing m...
992669466733334589
Custom status abstraction 1 messages
drowsy pendant https://github.com/discordjs/discord.js/pull/9743#issuecomment-1661238598 what do other maintainers think
992669466733334589 992677716690206750
CacheManager's constructor type 28 messages
vagrant shore Heyo! In the JS code, CacheManager's constructor takes three parameters. In the type declaration, only two are there. I...
992669466733334589 992677716690206750
Bundle other dev versions when installing discord.js@dev 2 messages
cinder wraith It would be nice if discord.js@dev installed the other `@dev` packages instead of installing the latest as this discrepa...
992669466733334589
`channel.permissionsFor()` does not take timed out guild member permissions into consideration 4 messages
tame topaz According to [docs](<https://discord.com/developers/docs/topics/permissions#permissions-for-timed-out-members>), timed o...
992669466733334589
create-discord-bot's complexity 7 messages
fresh forge As I see create-discord-bot's development, I think it's getting too complex to a point that most of its users won't full...
992669466733334589
Translating Discord's terminology 23 messages
fresh forge There are many things that Discord refers to differently than how the community refers to them, for example, Discord ser...
992669466733334589
Why does it convert the string when it comes to intents, but not for partials? 5 messages
fresh forge I was told because partials is a number internally, but when I checked GatewayIntentBits, it also returns a number, I th...
992669466733334589
User.tag getting deprecated despite bots remaining with discriminators 3 messages
queen frost According to the #9512 PR (which has been merged), the `User.tag` property is getting deprecated, however to my understa...
992669466733334589 992677716690206750
Confusing wording in description of filterOld parameter of .bulkDelete(messages, [filterOld]) 3 messages
viscid flint thought of making a forum thread as it will be lost in the text Channel. moved from https://discord.com/channels/2220781...
992669466733334589
Syntax Error at discord.js welcome page 2 messages
viscid flint at https://old.discordjs.dev/#/docs/discord.js/14.11.0/general/welcome in the code snippet for registering slash command...
992669466733334589
Inconsistency in manager names 34 messages
fresh forge There's GuildApplicationCommandManager, GuildEmojiManager, GuildStickerManager, etc. and they all have Guild in front of...
992669466733334589
JSX Syntax 29 messages
torpid talon Hi 👋 Today I thought about doing a library to let people create embeds, buttons, modals etc with the JSX syntax. I imp...
992669466733334589
channel.threads.fetchActive() should return only the threads for that channel, not all guild threads 2 messages
verbal surge Screening this here before opening an issue The behavior of fetchArchived threads and fetchActive threads are different...
992669466733334589 992677716690206750
Why are CloseEvent#wasClean & #reason deprecated? 23 messages
wind grotto I have an event listener attached to `shardDisconnect` so I can implement some graceful reconnection logic, but I see he...
992669466733334589
new rate limit header property? 4 messages
karmic ridge Theres a property on rate limit headers for scope (`X-RateLimit-Scope`), that returns `user`, `global`, or `shared`, but...
995450905967198378
Guide for Automod usage 6 messages
cosmic bronze I'm not sure if there's a guide for automod and alot of people are using it, can there be one in the future?
992669728218828870
webhooks guide has incorrect code usage 1 messages
karmic ridge the `editMessage()` method on a webhook doesn't support editing the username and avatarURL, but it is displayed as such ...
992669728218828870
Embed Builder documentation 23 messages
vestal zinc The EmbedBuilder page contains only information about `.setColor`, and `.from`. It doesn't mention other methods like `....
992669647621074975
discord.js link content is wrong compared to all other links 20 messages
lofty zephyr On https://discordjs.dev/docs/packages the discord.js package link content is just slightly off compared too all other p...
992677716690206750 992669647621074975
Problem: some links just opens the homepage in the documentation 1 messages
zenith python For example, if I press `imageURLOptions` from https://discord.js.org/#/docs/discord.js/main/class/User?scrollTo=avatarU...
992669647621074975
Resume URL for WS isn't logged in v14.10 16 messages
cinder wraith In previous versions of discord.js we used to get a debug log with the resume URL which would help us identify what gate...
995450923776213073
contributing 27 messages
round gazelle how do I fix these problems
995450905967198378
Dynamically typing "partial-capable" Client#on event callbacks 3 messages
indigo magnet Heya! I think dynamically typing these callbacks makes a lot of sense from a conceptual & QoL standpoint, as you're only...
992669466733334589
Support markdown in message reply 20 messages
mortal sail Just a request to fix markdown in ui's MessageReply
992669728218828870
Add directory in package.json for repository attribute (monorepo packages) 17 messages
vivid pecan Should the sub packages inside the discord.js monorepo use the directory attribute in repository to further clarify wher...
992669466733334589 992677716690206750
Possible mistypings? BaseInteraction#member & UserContextMenuCommandInteraction#targetMember 8 messages
indigo magnet Heya, can anyone help me understand why `BaseInteraction#member` (as well as `UserContextMenuCommand#targetMember`) are ...
992669466733334589
Deployment section in guide 11 messages
light lintel what are the thoughts on adding a deployment section to the guide, are there any internal efforts or can others make a p...
992669728218828870
Role guild_connection tags is missing 19 messages
junior elk https://discord.com/developers/docs/topics/permissions#role-object-role-tags-structure i can't find it on the djs docs ...
992669466733334589 992677716690206750
Why PermissionFlagsBits isnt an enum 9 messages
mortal sail Like every other bits it should be constructed like an enumeration, but it isnt is there some reason for that?
992669520399450232
V14.8.0 is not the stable version of discord.js on the documentation? 2 messages
amber vessel Why the version V14.8.0 is not the stable version of discord.js on the documentation?
992669466733334589 992669647621074975
I fixed the discordjs.guide 62 messages
formal quiver A few days ago I was trying to make a bot using the official guide, but when I got confused and went to the github, ther...
992669728218828870
Customizable Debug Messages 4 messages
vivid umbra I think it would be better if we could customize Client (error, warn, debug), Rest and WebSocket event messages ourselve...
992669466733334589
Audit Log Entries cache 25 messages
mortal sail Seeing as `auditLogsEntryCreate` was recently added Maybe we could cache it, together with fetched ones Is is a good ide...
992669466733334589 992677716690206750
Wrong return tip for <Guild>.members.fetch() 20 messages
dark helm From what the tip suggests, `<Guild>.members.fetch()` returns `GuildMember`, but it actually returns `GuildMemberManager...
992669466733334589
Getting into helping dev djs 13 messages
chrome grotto Im sorry, this has probably been asked before but idk where to find it. I've always wanted to help contribute to the lib...
992669466733334589
ActivityOptions - causes some confusion when using 'setActivity' 12 messages
pseudo hornet Suggestion to update the documentation either on the function, or the options, to note to the reader that a bot cannot u...
992669466733334589
Potentially outdated PartialMessage interface? 1 messages
cinder wraith I noticed this is what the PartialMessage interface looks like. This would mean that things like embeds and components a...
992669466733334589
Missing/Empty page 2 messages
iron geode Hello, I found a page on the documentation that is missing/empty so I'm wondering if it's a error or if it should be de...
992669647621074975