developing-djs

275 threads · Page 2 of 6

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 ...
website
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...
discord.js
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...
other package
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 ...
discord-api-types
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...
discord.js has pr
Deprecated package for Windows section of PM2 5 messages
sudden osprey Apparently, it seems that the author added a deprecation notice back in August of 2022 and suggests to use [`pm2-install...
guide
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...
guide
Simplifying typings 38 messages
rigid bloom a few things - derived typings such as [AwaitModalSubmitOptions](https://github.com/discordjs/discord.js/blob/main/packa...
discord.js
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...
rpc has pr
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...
discord.js has pr
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...
discord.js
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...
discord.js has pr
web support for @discordjs/collection 37 messages
collection
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...
discord.js
`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...
discord.js
create-discord-bot's complexity 8 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...
discord.js
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...
discord.js
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...
discord.js
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...
discord.js has pr
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...
discord.js
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...
discord.js
Inconsistency in manager names 34 messages
fresh forge There's GuildApplicationCommandManager, GuildEmojiManager, GuildStickerManager, etc. and they all have Guild in front of...
discord.js
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...
discord.js
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...
discord.js has pr
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...
discord.js
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...
REST
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?
guide
Embed Builder documentation 23 messages
vestal zinc The EmbedBuilder page contains only information about `.setColor`, and `.from`. It doesn't mention other methods like `....
website
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...
has pr website
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...
ws
contributing 27 messages
round gazelle how do I fix these problems
REST
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...
discord.js
Support markdown in message reply 20 messages
mortal sail Just a request to fix markdown in ui's MessageReply
guide
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...
discord.js has pr
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 ...
discord.js
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...
guide
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 ...
discord.js has pr
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?
discord-api-types
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?
discord.js website
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...
guide
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...
discord.js
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...
discord.js has pr
Wrong return tip for <Guild>.members.fetch() 21 messages
dark helm From what the tip suggests, `<Guild>.members.fetch()` returns `GuildMember`, but it actually returns `GuildMemberManager...
discord.js
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...
discord.js
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...
discord.js
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...
website
Why isn't resolveColor a static function? 8 messages
dark helm Why isn't resolveColor a static function? shouldn't it be?
discord.js
send method in GuildMember has explanation text and example for channel 13 messages
thorny musk https://discord.js.org/#/docs/discord.js/main/class/GuildMember?scrollTo=send it should DM the user instead, no?
website
Migrating from zlib-sync to fast-zlib 40 messages
little lion I have a working branch of using `fast-zlib` as a replacement of `zlib-sync`. I would prefer to get an official blessing...
ws discord.js
I could be wrong, but there isn't any enum typings for Permissions, they are still strings 6 messages
vital forum I could be wrong, but there isn't any enum typings for Permissions, they are still strings. Things like ButtonStyle and ...
discord.js