feat(rest,types)!: User apps GA (#3696)

* User apps GA

* Apply code-review suggettions

Without some re-wording of the already confusing Discord usage of context/type term

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
This commit is contained in:
Fleny
2024-07-07 20:42:02 +05:30
committed by GitHub
co-authored by Awesome Stickz
parent 48bc543e09
commit b20e12ded4
3 changed files with 33 additions and 20 deletions
+10 -1
View File
@@ -53,7 +53,7 @@ import type {
CamelizedDiscordVoiceRegion,
CamelizedDiscordWebhook,
CamelizedDiscordWelcomeScreen,
// Type is required for typedoc
// Type required for typedoc
// eslint-disable-next-line @typescript-eslint/no-unused-vars
ChannelTypes,
CreateApplicationCommand,
@@ -76,7 +76,13 @@ import type {
CreateStageInstance,
CreateTemplate,
DeleteWebhookMessageOptions,
// Type required for typedoc
// eslint-disable-next-line @typescript-eslint/no-unused-vars
DiscordApplicationIntegrationType,
DiscordBulkBan,
// Type required for typedoc
// eslint-disable-next-line @typescript-eslint/no-unused-vars
DiscordInteraction,
EditApplication,
EditAutoModerationRuleOptions,
EditBotMemberOptions,
@@ -2486,6 +2492,9 @@ export interface RestManager {
* - Needing to be able to see the contents of the channel that the message is in. (`READ_MESSAGES` permission.)
* - Requiring the `MESSAGE_CONTENT` intent.
*
* Apps are limited to 5 followup messages per interaction if it was initiated from a user-installed app and isn't installed in the server
* You can check if it was initiated from a user-installed app that isn't installed in the server by checking if {@link DiscordInteraction.authorizing_integration_owners | authorizingIntegrationOwners} only contains {@link DiscordApplicationIntegrationType.UserInstall | UserInstall}.
*
* Fires a _Message Create_ event.
*
* @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-followup-message}