-
-
Notifications
You must be signed in to change notification settings - Fork 4k
feat: user-installable apps #10227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: user-installable apps #10227
Changes from 41 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
d5c6961
feat: inital user-installable apps support
Syjalo 5088fad
docs: add deprecation warnings
Syjalo b580bd3
Merge branch 'main' into feat/user-installable-app
Syjalo f10a3fe
Merge branch 'main' into feat/user-installable-app
Jiralite 548de0f
Merge branch 'main' into feat/user-installable-app
Syjalo b198465
feat: add equality checks
Syjalo 1df40d0
fix: possibly `null` cases
Syjalo e8f97ac
docs: tweaks
Jiralite 0a2dacb
Merge branch 'main' into feat/user-installable-app
Jiralite f6a823f
docs: add deprecations
Jiralite c50fe30
fix(ApplicationCommandManager): amend transform command
Jiralite 92b7fea
feat: properly support `integration_types_config`
Jiralite 876686c
docs: add .
Jiralite 5c13949
docs: minor changes
Jiralite 51f7078
featBaseApplicationCommandData): update type
Jiralite 92c5546
style: prettier
Jiralite 685412c
chore: fix issues
Jiralite 8253458
Merge branch 'main' into feat/user-installable-app
Jiralite e1d9350
fix: correct casing
Jiralite 2f20eeb
refactor: remove console log
Syjalo 9ea527c
fix: use case that satisfies `/core` and the API
Syjalo c99752a
fix: `oauth2InstallParams` property is not nullable
Syjalo b68015d
fix: do not convert keys into strings
Syjalo a256136
feat: update transforer to return the full map
Syjalo 50c0309
feat: update transformers
Syjalo 50f03fa
feat: add `PartialGroupDMMessageManager `
Syjalo a62472f
docs: fix type
Syjalo 4509116
feat: add approximate count of users property
Syjalo 4670ca2
fix: messageCreate doesn't emit in PartialGroupDMChannel
Syjalo bfabc23
fix: add GroupDM to TextBasedChannelTypes
Syjalo 2cc3bba
feat: add NonPartialGroupDMChannel helper
Syjalo 12eab6a
fix: expect PartialGroupDMChannel
Syjalo b0e3f33
feat: narrow generic type
Syjalo d5465df
test: exclude PartialGroupDMChannel
Syjalo bfadec0
feat: use structure's channel type
Syjalo 0043728
docs: narrow type
Syjalo 5400e18
feat: remove transformer
Syjalo 50319a5
refactor: remove unnecessary parse
Syjalo 21c86d8
feat: add APIAutoModerationAction transformer
Syjalo 22b46d7
Merge branch 'main' into feat/user-installable-app
Syjalo 49c6fd5
fix: use the right transformer during recursive parsing of interactio…
vladfrangu 86cd370
docs: add external types
Syjalo c5d87e3
docs: add `Message#interactionMetadata` property docs
Syjalo e6e8231
docs: make nullable
Syjalo 708dad3
Merge branch 'main' into feat/user-installable-app
Syjalo e4006a5
docs: add d-docs link
Syjalo 557be0d
docs: use optional
Syjalo 19c3222
fix: make `oauth2InstallParams` nullable
Syjalo 1f516a4
types: update `IntegrationTypesConfiguration`
Syjalo 933aa20
docs: update `IntegrationTypesConfigurationParameters`
Syjalo 72f9251
types: update `IntegrationTypesConfigurationParameters`
Syjalo 2b25024
refactor: improve readability
Syjalo 9d61a22
docs: mark integrationTypesConfig nullable
Syjalo b2e0d7d
refactor: requested changes
almeidx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
packages/discord.js/src/managers/PartialGroupDMMessageManager.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
'use strict'; | ||
|
||
const MessageManager = require('./MessageManager'); | ||
|
||
/** | ||
* Manages API methods for messages in group direct message channels and holds their cache. | ||
* @extends {MessageManager} | ||
*/ | ||
class PartialGroupDMMessageManager extends MessageManager { | ||
/** | ||
* The channel that the messages belong to | ||
* @name PartialGroupDMMessageManager#channel | ||
* @type {PartialGroupDMChannel} | ||
*/ | ||
} | ||
|
||
module.exports = PartialGroupDMMessageManager; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.