developing-djs

275 threads · Page 5 of 6

Incorrect type of ModalSubmitFields.fields 4 messages
cinder wraith This property is typed as Collection<string, TextInputComponent>, however, the value is actually just an object that doe...
discord.js
Property 'update' does not exist on type 'ModalSubmitInteraction' 2 messages
cinder wraith In the docs (https://discord.js.org/#/docs/discord.js/main/class/ModalSubmitInteraction?scrollTo=update) ModalSubmitInte...
discord.js
overwritesFor private or undocumented 3 messages
void turtle Anyone know why https://github.com/discordjs/discord.js/blob/2130aae3210a8eaf91c5ccae5463940d49052c7d/packages/discord.j...
discord.js
Webhooks cache 55 messages
gilded compass Webhooks are the only thing in servers that do not have a cache afaik in djs. Even a manager for invites was created so ...
discord.js
Proposal to rewrite RPC to TypeScript 330 messages
worn pebble Since the RPC lib hasn't been update in like over a year and is not an overly large project, I'd like to look into rewri...
rpc
deprecated link in docs 2 messages
old flicker <https://discord.js.org/#/docs/discord.js/stable/typedef/ChannelType> wrong/deprecated link at > See Self-serve Game Se...
has pr website
Missing event 'debug' on VoiceConnection and AudioPlayer 14 messages
drifting hamlet Both of those classes support the debug event when debug is enabled on their constructors, although whis event is not do...
website
I want add a new feature in gateway of discord-api-types 4 messages
discord-api-types REST
RFC(ws) Session-specific Gateway Resume URLs 9 messages
drifting hamlet Discussion for the new announced feature of Region-specific WS urls
ws has pr
Is there a specific reason few very methods have examples in the documentation? 7 messages
echo bay I was looking through the documentation and noticed that there's a few methods with examples. I was wondering if there's...
website
Accepted component types in modals 18 messages
cinder wraith In the latest stable release, discord.js only accepts TextInputComponents in ModalBuilders but Discord also accepts Sele...
discord.js
Stable tag on the docs website should be removed 3 messages
drifting hamlet The Stable tag refers to the v13 which is still supported, but it is confusing for the end user considering `main` is v1...
website
integration permissions 11 messages
mint wadi Is there a way to set default permissions per command? like for example, have ban command and set default permissions to...
discord.js
DefaultMakeCacheSettings edited 13 messages
drowsy pendant looks like DefaultMakeCacheSettings was edited at some point (and capitalized); the description still lists everything i...
discord.js
SlashCommandBuilder.from()? 4 messages
karmic ridge Are there any discussions about this becoming a possibility? My current implementation for this is... **spotty** at best...
discord.js
Add an method to the RequestManager to clear the request queue 108 messages
drifting hamlet An method to reset the queue preventing from queued requests from actually be sent and rejecting all of then with an err...
REST
14.1.2 docs not loading 2 messages
shy inlet Seems like the docs for discord.js v14.1.2 are not loading, idk if its an issue on my side or not but i do get this in t...
website
missing total_message_sent field on APIThreadChannel type 9 messages
round gazelle ^
discord-api-types
Missing `state` getter on VoiceConnection 11 messages
drifting hamlet The docs for the VoiceConnection is missing the getter `state` which is defined in code, only the private `_state` exist...
website has pr
MessageMentions (Possible memory leak) 10 messages
drifting hamlet In the getter for the `MessageMentions#parsedUsers` when the `this._parsedUsers` is a falsy value what prevents this cod...
discord.js has pr
Add static method ActionRowBuilder.of() 18 messages
soft geode The static method `ActionRowBuilder.of()` creates a new action row adding the passed component builders. Most often the...
discord.js
Snowflake type 10 messages
violet bolt Why **Snowflake** type equals to **string** when it can be **\`${bigint}\`**? Seems like a safer restriction to be had
discord-api-types
InteractionResponse bugs the collector 6 messages
drifting hamlet **Will open an issue** Sorry for the misuse of this forum 😕 - Experienced a bug a while ago while working on Yuudachi...
discord.js
Breaking change on codeBlock function 18 messages
cinder wraith This thread is NOT to be confused with <#1001614734203834499>, it's about a different issue So this PR https://github.co...
discord.js
Can't install 2 messages
glossy socket When I try to install discord.js's dependencies using `yarn --immuntable` it gives me this error: `...\discord.js\node_m...
discord.js
Why is my timeout running twice? 5 messages
unborn echo ^
discord.js
Improve flow of slash command creation 19 messages
untold holly Add a method to create slash commands easier
discord.js
please I want make a new feature inside discord.js and i can not found in discord-api-types 10 messages
hexed surge Hello, I wanna make new feature inside discord js and feature is auto moderation , but i can't find it in the discord-...
discord-api-types discord.js
Guide does not include an 'Autocomplete' section 3 messages
paper sleet So since v14's release, I am trying to update my bots to the latest version. Some of theme had an autocompletion system,...
guide
Modal (awaitModalSubmit) UX is bad 2 messages
tepid cobalt Can anything be done to improve the UX of modals like being able to tell when it has been cancelled / programatically cl...
discord.js REST
Error code union compatibility 58 messages
tepid cobalt ```ts export interface DiscordjsErrorFields<Name extends string> { readonly name: `${Name} [${keyof typeof DiscordjsEr...
discord.js
changes v14 guide update 16 messages
lusty marten i saw the new v14.1.0 release is out with the updates and isCommand() is back etc, but in the changes guide it still say...
guide
Support for Add and Remove Guild Member Role endpoints 14 messages
fringe spire I am talking about <https://discord.com/developers/docs/resources/guild#add-guild-member-role> and <https://discord.com/...
discord.js has pr
Classes instead of types? 24 messages
nocturne burrow Is there a reason d.js uses types instead of classes? Any plans to have classes (or optionally)? It'd be nice not to hav...
discord.js discord-api-types
codeBlock function from builders should have its parameters swapped 189 messages
cinder wraith While I understand why it was originally designed this way, I believe it would make more sense for the language paramete...
discord.js
rest1.0.0 relies on vulnerable package 16 messages
wide nacelle According to Snyk: https://security.snyk.io/vuln/SNYK-JS-FILETYPE-2958042 File-type (the package) is vulnerable is a fe...
REST
Sending vs transforming deleteMessageDays 6 messages
drowsy pendant what do you guys think
has pr discord.js
Please what is the basics i must know to be a contributor at discord js 7 messages
hexed surge (ofcourse I learned javascript , i just want know if there are another thing i must know before developing at discord js...
discord.js discord-api-types REST
typo in the Gateway Intents page 9 messages
forest sky dunno if it has been reported but there’s a typo in the guide
guide has pr
Formaters.codeBlock() should add a new line after code 9 messages
undone bramble The `Formatter.codeBlock()` just adds a new line before the code but not after which results in this
discord.js
[🪲] Broadcast eval erroring 13 messages
fast wind When trying to boradcast eval anything I'm getting this error, if i give `() => true` for example. I can't find what is ...
discord.js
Implementation for something like …Manager.forge from discord.js-light 17 messages
dawn zodiac One of the nicest features of discord.js-light is the ability to use the forge method to quickly construct a partial str...
discord.js
Using the PresenceUpdateStatus enum instead of PresenceStatusData 3 messages
serene jetty Hey, I'm wondering why isn't the `PresenceUpdateStatus` enum used instead of `PresenceStatusData` when setting the clien...
discord-api-types discord.js
Are there plans to integrate a cooldown function into discordjs natively? 9 messages
onyx ingot as per title
discord.js
Allow ButtonBuilder to be URL or Custom ID only 5 messages
pale tinsel It would be *very* useful if the Button Builder could be either a builder for a URL or a Custom ID. This way, I can set ...
discord.js
Add utils like `GuildMember.bannableBy(member)` 35 messages
gilded compass So, we have getters such as `GuildMember#bannable`, `GuildChannel#manageable` etc... that check if the client can ban a ...
discord.js
API types command 4 messages
mortal sail Suggestion: Add command to search in discord-api-types to utils bot *if it is possible*
discord-api-types
how is discord.js developed 5 messages
hasty horizon How is discord.js developed? I'm curious. Is discord.js a program that allows bots to communicate with discord itself, o...
discord.js
Add a .setTypeOfUser() option of sorts 7 messages
gritty crescent Basically for the User or Member options, make it so there's a method that can filter through real discord users or bots...
discord.js discord-api-types
stable branch isn't up to date 7 messages
spring idol crawl forgot to merge main into stable
discord.js