#discord.js (monorepo)

1 messages ยท Page 7 of 1

vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#

Hello there, i'm came here to appeal since is been months or idk maybe a year, i wanna an appeal if i did like some mistakes of switch accounts, if i'm not quite that Good remembering! But i wanna came back to the server just everything changed! Also wanna actually came back for the main server for helping, for an friendly conversation, and for contributing the library itself!

Here my id: 1202432891100069898
Reason for banned: switch between accounts

Question: if i'm not quite sure but I r...

vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: build/bump-discord-api-types
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/bump-deps
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/deprecate-ready
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: legacy-guide
vocal rampartBOT
#

Is your feature request related to a problem? Please describe.

It would be nice to have some examples on how to create scheduled events and polls without having to piece it together from the documentation.

Describe the solution you'd like

It would be nice to have some examples on how to create scheduled events and polls without having to piece it together from the documentation.

Describe alternatives you've considered

No response

Additional notes

No response

#

Is your feature request related to a problem? Please describe.

It took me way too long to figure out that to communicate between shards (i.e. to have one shard communicate something to all other shards) is done by making use of manager.broadcast and process.on. This info is not available in the chapter about shard communication.

Describe the solution you'd like

Information or a code sample that roughly goes like th...

vocal rampartBOT
#

The reason is not that you switched accounts, but the fact that switching became necessary because of negligence and not wanting to bother with properly remediating the situation for your initial account. As a public community, we have identified this as risk to our members and have removed all involved accounts as a result.

As mentioned in the original appeal request, we will not be granting appeals for this moderation action.

Please note that re-joining Discord servers on alt accounts...

vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/channel-edit-reason
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/core-reason-14
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/cdn-options
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/no-name-trim
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/export-directory
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/colours-colours-colours
vocal rampartBOT
vocal rampartBOT
#

040c66a docs(ApplicationCommand): incorrect method in e... - sdanialraza
500712d types(ModalSubmitFields): fix fields type (#1... - sdanialraza
b36b751 fix(Message): forwarded messages are not cross... - almeidx [5be774d](https://github.com/discordjs/discord.js/commit/5be774db641b60669505645861d721200d335a7b) docs: remove hardcoded locale from links (#10794) - almeidx [63f5261`](https://github.com/discordjs/discord.js/commit/63f5261f4c351cd1b6befca1163254300f7424f4) fix(GuildChannelManager): properly resolve avat... - imnaiyar

vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/animated-webp
#

"https://cdn-discord.com/emojis/123456.gif?animated=true".

It should be noted that the typings disallow this:

No overload matches this call.
  Overload 1 of 2, '(emojiId: string, options?: Readonly<EmojiURLOptions> | undefined): string', gave the following error.
    Object literal may only specify known properties, and 'animated' does not exist in type 'Readonly<EmojiURLOptionsNotWebp>'.
  Overload 2 of 2, '(emojiId: string, extension?: "gif" | "webp" | "png" | "jpg" | "jpeg"...
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/core-new-pins
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/djs-new-pins
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/app-emoji-types
vocal rampartBOT
#

Discord Guild Member Update Implementation

Current Status

Discord hasn't released an official update for this feature yet, but there's a workaround available.

Implementation Method

You can use the following approach to listen for guild member updates:

client.ws.on(GatewayDispatchEvents.GuildMemberUpdate, async (data) => {
  console.log(data)
});

Example Repositories

1. sw3do/discord-tag-role-bot

Repository: https://github.com/sw3do/...

vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: build/14-bump
#
[discordjs/discord.js] New branch created: build/ws-upgrade
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/new-pinned-messages-routes
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/context-validate-none
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/support-user-guilds
#

Please describe the changes this PR makes and why it should be merged:
Backports #10962

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating
  • This PR changes the library's interface (methods or parameters added)
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/regex-removal-context
#
[discordjs/discord.js] New branch created: fix/invite-fields-null
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/remove-rest-option
#
[discordjs/discord.js] New branch created: fix/container-v10
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/brokers-require-consumer-name
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/brokers-built-in-random-group
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/brokers-find-dead-events
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/brokers-poll-dead-consumers
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/redis-broker-core-gateway-impl
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/totally-a-new-feature
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/role-colours-missed
vocal rampartBOT
#
[discordjs/discord.js] New branch created: docs/structures-main
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/button-max
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/guild-create-removal
#

Please describe the changes this PR makes and why it should be merged:
Per https://discord.com/developers/docs/change-log#deprecating-guild-creation-by-apps, the endpoint is no longer available.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating
  • This PR includes breaking changes (methods removed or renamed, parameters moved...
vocal rampartBOT
#
[discordjs/discord.js] New branch created: ci/release-fixes
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/attachment-sending
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/issue-partials-update
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/remove-guild-ownership-stuff
vocal rampartBOT
vocal rampartBOT
#

Please describe the changes this PR makes and why it should be merged:
TypeScript rewrite of the discord-rpc library moved to the monorepo

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/deprecate-guild-owner-methods
#
[discordjs/discord.js] New branch created: feat/guild-template-create
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/guest-invites
vocal rampartBOT
#
#
[discordjs/discord.js] New branch created: chore/deno-vsc
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/select-in-modals
vocal rampartBOT
#
[discordjs/discord.js] New branch created: build/lock-update
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: ci/actions-5
vocal rampartBOT
#
[discordjs/discord.js] New branch created: build/fix-package-name-arg
vocal rampartBOT
#
[discordjs/discord.js] New branch created: Jiralite-patch-1
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/bump-djs-in-cdb
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/email-phone-formatters
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/bump-deps
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/consider-everyone-base
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/remove-guild-ownership-stuff
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: ci/fix-bad-name
#

Imagine this scenario:

  1. A user opens a pull request that is out of date with main. The pull request title does not match the regular expression
  2. The user updates their branch

When the user updates their branch, synchronisation occurs. This means validation will be skipped, and the error will go away. This means a bad actor could merge a pull request with any name they like if the pull request was in an approved state.

This pull request makes validation always run.

vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/v14-polls-overhaul
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/remove-fetch-voters
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/cdb-deno-and-loader
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/remove-guild-set-owner
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: build/same-timestamp-for-releases
#

Moved the creation of the timestamp part of release versions outside of the loop, so all the versions released in each run will have the same timestamp. This is mostly a QoL change for people (me) when upgrading packages.

e.g., this is the way the versions are currently:

{
	"dependencies": {
		"@discordjs/core": "3.0.0-dev.1756512122-cc43dadca",
		"@discordjs/rest": "3.0.0-dev.1756512128-cc43dadca",
		"@discordjs/ws": "3.0.0-dev.1756512132-cc43dadca"
	}
}

Everythin...

vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/more-labels-in-builders
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/guest-invites-v14
#
[discordjs/discord.js] New branch created: refactor/register-actions
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/labels-discordjs
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/labels-discordjs
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/new-self-fields
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#

I'm thinking of our existing api-changes and api support labels. We could rename this label to "t:discord" and then use it for both issues (they opened an issue but it's actually for Discord) and pull requests (the reason for the pull request is a change in Discord). Or, we could have 2 labels: 1 for issues and 1 for pull requests. Thoughts? Thinking how best to say an issue is actually an upstream issue and the reason for a pull request is because Discord changed something (whether that is a...

vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: build/dat-update
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/current-member-edit-type
#
[discordjs/discord.js] New branch created: fix/current-member-edit-type-main
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/overflow-package-home
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/core-consolidated-options
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/builders-modal-label-file
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/id
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/type
vocal rampartBOT
#
[discordjs/discord.js] New branch created: docs/select-default-value
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/modify-self-v14
#
[discordjs/discord.js] New branch created: fix/edit-me-conditionally
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: docs/use-localization-map
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/thread-member-flags
vocal rampartBOT
#
[discordjs/discord.js] New branch created: ci/publish-tagged-dev
#

I guess my main issue with that is like, I don't think I can use the PR number as a ref and resolving it in that CI context seems.. hell-ish? The workflow doesn't really need to be the most human friendly given the goal is to call it via bot.

And also, there's maybe some advantages to the general tag when we're trying to test something special and maybe don't even have a PR.

#

And I'm guessing the bot will just use pr-<num> as the tag then?

I more-so envisioned the tag as an input so we make sure it's coherent & easy to understand what you're actually using in logs that reference VERSION or package.json info, e.g. @bot pack this new-ws-compression

Oh, one thing to add: a flow to deprecate all releases with a tag, so once we're done they can be marked as deprecated on npms end ๐Ÿ™

Errrr, right. I'm not really sure when that would run, though? On PR cl...

vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/builders-refine
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/quote-escapers
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/core-gateway
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/incident-actions
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/voice-typescript-upgrade
#
[discordjs/discord.js] New branch created: chore/bump-deps
vocal rampartBOT
#
[discordjs/discord.js] New branch created: ci/actions-setup-node-v5
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/add-group-dm-recipient-endpoints
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/get-thread-member-query
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/modals-phase-1-2in-v14
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/builder-logic-for-select-menu-assertions
#
[discordjs/discord.js] New branch created: types/use-return-types-instead-of-direct-types
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/guide-sidebar-tab-icon
vocal rampartBOT
#
[discordjs/discord.js] New branch created: ci/release-target-cda
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/remove-guide-prefix
vocal rampartBOT
#

Pull Request Overview

This PR adds support for modal select menus in builders v1 by introducing a new LabelBuilder component and updating the modal system to support both traditional action rows and the new label components. The changes enable developers to create more flexible modal interfaces with labeled form controls.

Key changes:

  • Introduces LabelBuilder for creating labeled form components in modals
  • Updates ModalBuilder to support both action rows and label components
  • Mo...
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/guide-misc
#
[discordjs/discord.js] New branch created: fix/guide-path
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/update-name
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/ws-re-throw
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/update-badge
vocal rampartBOT
#

985b525 chore: bump dependencies (#11133) - almeidx
88778df ci: bump actions/setup-node to v5 (#11134) - almeidx
b80dd8c types(ClientEventTypes): fix messageDeleteBulk... - Pavel-Boyazov [f109fc9](https://github.com/discordjs/discord.js/commit/f109fc9b428999c0b3254838d68bd7468c8988fa) chore(guide): Update name of legacy path (#11149) - Jiralite [7de5b4a`](https://github.com/discordjs/discord.js/commit/7de5b4a349d1769261d6ec41ccac8400b0ecf17d) refactor: remove guide route prefix (#11146) - almeidx

#

b80dd8c types(ClientEventTypes): fix messageDeleteBulk... - Pavel-Boyazov [f109fc9](https://github.com/discordjs/discord.js/commit/f109fc9b428999c0b3254838d68bd7468c8988fa) chore(guide): Update name of legacy path (#11149) - Jiralite [7de5b4a](https://github.com/discordjs/discord.js/commit/7de5b4a349d1769261d6ec41ccac8400b0ecf17d) refactor: remove guide route prefix (#11146) - almeidx [f1087c7](https://github.com/discordjs/discord.js/commit/f1087c7e8717c2b77444eeced07800151a760d6a) fix: Guide content path for CODEOWNERS (#11148) - Jiralite [f4d361c`](https://github.com/discordjs/discord.js/commit/f4d361c12924c7403441a41200165541be9b673d) Merge branch 'main' into fix/ws-re-throw - kodiakhq[bot]

vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/bump-builders-in-v14
#

88778df ci: bump actions/setup-node to v5 (#11134) - almeidx
b80dd8c types(ClientEventTypes): fix messageDeleteBulk... - Pavel-Boyazov [f109fc9](https://github.com/discordjs/discord.js/commit/f109fc9b428999c0b3254838d68bd7468c8988fa) chore(guide): Update name of legacy path (#11149) - Jiralite [7de5b4a](https://github.com/discordjs/discord.js/commit/7de5b4a349d1769261d6ec41ccac8400b0ecf17d) refactor: remove guide route prefix (#11146) - almeidx [f1087c7`](https://github.com/discordjs/discord.js/commit/f1087c7e8717c2b77444eeced07800151a760d6a) fix: Guide content path for CODEOWNERS (#11148) - Jiralite

vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: ci/release-target-cda
vocal rampartBOT
#
[discordjs/discord.js] New branch created: ci/docs-old-path
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/add-text-displays-in-modals-lol
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/end-uncached-polls
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/modal-select-resolving
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/bot-guild-owner
vocal rampartBOT
#
[discordjs/discord.js] New branch created: debug/14-modal-no-user
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/modal-user-idek-tbh
vocal rampartBOT
#

a78dd01 feat(guild): Support incident actions (#11131) - Jiralite
aac247c feat: add {add,remove}GroupDMRecipient methods... - almeidx [fcf7f27](https://github.com/discordjs/discord.js/commit/fcf7f27fd78b6de9b67c3758899e0abfab3af774) ci(release): handling for create-discord-app (#... - didinele [0c2975e](https://github.com/discordjs/discord.js/commit/0c2975e3fdc0513d2962a104d11092409dde8fdb) ci: implement workflow to publish dev versions ... - didinele [230e746`](https://github.com/discordjs/discord.js/commit/230e746b3165e320754ff947f4e02a3139668b0e) ci(documentation): Skip unknown packages on old... - Jiralite

vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/application-structures
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/fix-bad-acm-type
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/optional-arg-type
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/view-perm
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/modal-resolving
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: guide/missingaccess
vocal rampartBOT
#
[discordjs/discord.js] New branch created: guide/pageorder
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: guide/headings
vocal rampartBOT
#

b80dd8c types(ClientEventTypes): fix messageDeleteBulk... - Pavel-Boyazov [f109fc9](https://github.com/discordjs/discord.js/commit/f109fc9b428999c0b3254838d68bd7468c8988fa) chore(guide): Update name of legacy path (#11149) - Jiralite [7de5b4a](https://github.com/discordjs/discord.js/commit/7de5b4a349d1769261d6ec41ccac8400b0ecf17d) refactor: remove guide route prefix (#11146) - almeidx [f1087c7](https://github.com/discordjs/discord.js/commit/f1087c7e8717c2b77444eeced07800151a760d6a) fix: Guide content path for CODEOWNERS (#11148) - Jiralite [af923fe`](https://github.com/discordjs/discord.js/commit/af923fee8e71b5f515478db070cbf53c3850ab1c) fix(WebSocketShard): bad error re-throw (#11151) - didinele

vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/text-value-empty
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/bump-deps
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/update-pinnable-migrated
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#

I think I fundamentally disagree with this rule for many of the cases it changes here, especially when combined with padding-line-between-statements enabled for after multline blocks.

A couple of the changes made I do like (I never noticed them and it indeed makes it more readable).
The majority change 2+ lines of consecutive short-circuiting into exponentially more lines which makes it really hard to tell what is going on (every line becomes 4 with no easily readable and clear separati...

vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/404-no-package
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: refactor/id-predicate
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/file-upload-builders-1
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/cda-release
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/d1-indices
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/defunct-docs-logic
#
[discordjs/discord.js] New branch created: refactor/cloudflare
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: types/boolean-type
vocal rampartBOT
#
[discordjs/discord.js] New branch created: types/label-no-array
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/file-upload-fields
#
[discordjs/discord.js] New branch created: fix/file-upload-fields-main
vocal rampartBOT
#

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt


This section details on the original issue you should resolve

Duplicate "guild" word in guild member flags bit field documentation
As seen here:

https://github.com/discordjs/discord.js/blob/56662ebad7b80ea3f474bf20562cc14fa87e6483/packages/discord.js/src/util/GuildMemberFlagsBitField.js#L14

...

vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/check-if-in-voice-based-channel
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/fixes
#
[discordjs/discord.js] New branch created: fix/retry-google-fonts-fetch
#
[discordjs/discord.js] New branch created: chore/readme-package-list
vocal rampartBOT
vocal rampartBOT
#

Hello everyone

Iโ€™m trying to determine how many Server Boosts a specific user has contributed to a guild (for example: user A has contributed 2 boosts, user B has contributed 1, etc.). I want to use this to give different perks for single-boosters vs multi-boosters.

What I want:

  • For a given user ID and guild, return their boost count (0, 1, 2, 3, ...).

What I already know / tried:

  • guild.premiumSubscriptionCount gives the total number of boosts in the guild (aggregate), ...
#

Specific questions for the community / maintainers

1.Is there any endpoint, field, or undocumented method that exposes a per-user boost count for a guild that I might have missed?

2.If not, what are recommended best practices for building a resilient multi-boost tracker? Are there hybrid approaches (gateway events + audit logs + polling) that actually work well in production?

3.Are there known edge-case patterns to watch for (gift boosts, refunded boosts, bot accounts, multiple boost...

#

What Iโ€™d accept as answers

โ€œNo โ€” the API does not provide this; track it yourselfโ€ โ€” include a recommended event flow and how to handle multi-boost decrements.

โ€œYes โ€” hereโ€™s the endpoint/field and an exampleโ€ (if one exists).

โ€œUse audit logs + guildMemberUpdate and note these caveatsโ€ (detailed explanation appreciated).

vocal rampartBOT
#

Seeing as the original issue (#727) was closed over a year ago (with no real conclusion to the issue), and unit testing is still a hassle to implement, I'm opening this issue.

Describe the ideal solution

The ideal solution would be for snippets like the one below to simply work:

import {Guild, TextChannel, Message} from 'discord.js';
import {MockClient} from 'discord.js/mock';
const client = new MockClient();
const guild = new Guild(client, {});
...
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: chore/guide-build
vocal rampartBOT
vocal rampartBOT
#

4c0d667 fix: retry google fonts fetch on fail (#11217) - almeidx
94a9b4d fix(Message): update pinnable to use PinMess... - sdanialraza [178c9cb](https://github.com/discordjs/discord.js/commit/178c9cb3483c74b16f1d0702522a73d87e6e89fb) fix(GuildMember): joinedAt possibly being NaN (... - TAEMBO [fb5c629](https://github.com/discordjs/discord.js/commit/fb5c62963833e693205212ad999e1613cdb599ad) chore: bump dependencies (#11225) - almeidx [9f64f4a`](https://github.com/discordjs/discord.js/commit/9f64f4aec79c34e0c890f4ddfa2ed1e2d77860ff) Merge branch 'main' into chore/readme-package-list - kodiakhq[bot]

vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/only-pass-relevant-options-fetching
vocal rampartBOT
vocal rampartBOT
#

Which application is this bug report for?

Documentation

Issue description

There's a bit of a discrepancy between the FAQ guides and the documentation and would love some clarification. I'm just confused as to where these get methods are being defined for roles, as the docs use fetch requests instead.

I see that interaction.options is defined by BaseInteraction. In the common use case of adding roles based on reactions, I don't think this works and you would need to use the `R...

vocal rampartBOT
#

getMember / getRole are convenience functions we define for interactions that let you retrieve the command options the user supplied (that being a member and a role in this example).

the guild member instance (retrieved via getMember or from the cache/rest call with .members.fetch("id")) then has the .roles.add() function on the guild member roles manager, to actually add a role.

if you...

#
[discordjs/discord.js] New branch created: chore/migrate-eslint-configs
#

that being said, i also want to bring attention to using buttons or select menus (or even relying on the discord-native onboarding feature).
"reaction roles" as a concept stems from a time where we had no better way of handling this.
reactions were never be meant to act as glorified buttons, and now we have proper buttons at our disposal!
ref: https://discordjs.guide/legacy/interactive-components/buttons

vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/og-image
vocal rampartBOT
#

The short answer is: No.
You can technically configure boost messages in a server and listen for them - they are authored by the boosting member - but you won't get notified of people dropping boosts as long as they still have one (premiumSince will persist)

<img width="405" height="179" alt="image" src="https://github.com/user-attachments/assets/1463ca87-7a5d-4937-aeec-0415e4c70e51" />

i diffed these two boost messages and they are identical save the timestamp, message id, so no way t...

#

Configure your app to be available as user install via contexts in the app portal: https://discord.com/developers/docs/resources/application#setting-supported-installation-contexts and add it via the link in its profile (which is what that configures)

<img width="1747" height="967" alt="image" src="https://github.com/user-attachments/assets/e9fa9db2-46d8-4403-8ae2-3b073f701c96" />

alternatively, you can compose the link yourself: https://discord.com/developers/docs/topics/oauth2#authori...

vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/builders-file-output
vocal rampartBOT
#
[discordjs/discord.js] New branch created: fix/builders-typo
#
[discordjs/discord.js] New branch created: fix/data-removal
vocal rampartBOT
#
[discordjs/discord.js] New branch created: feat/core-handle-all-member-ratelimit