diff --git a/deno/payloads/v10/application.ts b/deno/payloads/v10/application.ts index 542cefb17..306c919c3 100644 --- a/deno/payloads/v10/application.ts +++ b/deno/payloads/v10/application.ts @@ -55,8 +55,10 @@ export interface APIApplication { /** * If this application is a game sold on Discord, this field will be the summary field for the store page * of its primary sku + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index 48c025c58..fbebfe39a 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -808,8 +808,10 @@ export interface APIGuildIntegrationApplication { description: string; /** * The summary of the app + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The bot associated with this application * diff --git a/deno/payloads/v8/application.ts b/deno/payloads/v8/application.ts index ecb70f59a..5a22d7d47 100644 --- a/deno/payloads/v8/application.ts +++ b/deno/payloads/v8/application.ts @@ -56,8 +56,10 @@ export interface APIApplication { /** * If this application is a game sold on Discord, this field will be the summary field for the store page * of its primary sku + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/deno/payloads/v8/guild.ts b/deno/payloads/v8/guild.ts index eecb5ef7b..9f0c265e5 100644 --- a/deno/payloads/v8/guild.ts +++ b/deno/payloads/v8/guild.ts @@ -821,8 +821,10 @@ export interface APIGuildIntegrationApplication { description: string; /** * The summary of the app + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The bot associated with this application * diff --git a/deno/payloads/v9/application.ts b/deno/payloads/v9/application.ts index 542cefb17..306c919c3 100644 --- a/deno/payloads/v9/application.ts +++ b/deno/payloads/v9/application.ts @@ -55,8 +55,10 @@ export interface APIApplication { /** * If this application is a game sold on Discord, this field will be the summary field for the store page * of its primary sku + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 48c025c58..fbebfe39a 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -808,8 +808,10 @@ export interface APIGuildIntegrationApplication { description: string; /** * The summary of the app + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The bot associated with this application * diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index e1106607e..b9435aa41 100644 --- a/deno/rest/v10/channel.ts +++ b/deno/rest/v10/channel.ts @@ -642,13 +642,6 @@ export interface RESTGetAPIChannelThreadsArchivedQuery { limit?: number; } -/** - * https://discord.com/developers/docs/resources/channel#list-active-threads - * - * @deprecated Use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead. Will be removed in v10. - */ -export type RESTGetAPIChannelThreadsResult = APIThreadList; - /** * https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads */ diff --git a/deno/rest/v8/guild.ts b/deno/rest/v8/guild.ts index 90b469d4b..20eac864c 100644 --- a/deno/rest/v8/guild.ts +++ b/deno/rest/v8/guild.ts @@ -570,6 +570,8 @@ export type RESTPutAPIGuildBanJSONBody = AddUndefinedToPossiblyUndefinedProperti delete_message_days?: number; /** * Reason for the ban + * + * @deprecated Removed in API v10, use the `X-Audit-Log-Reason` header instead. */ reason?: string; }>; diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index 7d9d27b3b..9647ce77a 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -659,7 +659,7 @@ export interface RESTGetAPIChannelThreadsArchivedQuery { /** * https://discord.com/developers/docs/resources/channel#list-active-threads * - * @deprecated Use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead. Will be removed in v10. + * @deprecated Removed in API v10, use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead. */ export type RESTGetAPIChannelThreadsResult = APIThreadList; diff --git a/deno/rest/v9/guild.ts b/deno/rest/v9/guild.ts index 79b6a3e04..aa5dbb8a4 100644 --- a/deno/rest/v9/guild.ts +++ b/deno/rest/v9/guild.ts @@ -528,6 +528,8 @@ export type RESTPutAPIGuildBanJSONBody = AddUndefinedToPossiblyUndefinedProperti delete_message_days?: number; /** * Reason for the ban + * + * @deprecated Removed in API v10, use the `X-Audit-Log-Reason` header instead. */ reason?: string; }>; diff --git a/deno/rest/v9/mod.ts b/deno/rest/v9/mod.ts index de832e43a..5dee79679 100644 --- a/deno/rest/v9/mod.ts +++ b/deno/rest/v9/mod.ts @@ -448,8 +448,7 @@ export const Routes = { /** * Route for: * - GET `/channels/{channel.id}/threads/active` - * (deprecated, use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead. - * Will be removed in v10.) + * (deprecated, removed in API v10, use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead.) * - GET `/channels/{channel.id}/threads/archived/public` * - GET `/channels/{channel.id}/threads/archived/private` */ diff --git a/payloads/v10/application.ts b/payloads/v10/application.ts index d07b148dc..97780f503 100644 --- a/payloads/v10/application.ts +++ b/payloads/v10/application.ts @@ -55,8 +55,10 @@ export interface APIApplication { /** * If this application is a game sold on Discord, this field will be the summary field for the store page * of its primary sku + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index fe70f6a67..c0445f73f 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -808,8 +808,10 @@ export interface APIGuildIntegrationApplication { description: string; /** * The summary of the app + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The bot associated with this application * diff --git a/payloads/v8/application.ts b/payloads/v8/application.ts index 0eedd81ae..39052a460 100644 --- a/payloads/v8/application.ts +++ b/payloads/v8/application.ts @@ -56,8 +56,10 @@ export interface APIApplication { /** * If this application is a game sold on Discord, this field will be the summary field for the store page * of its primary sku + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/payloads/v8/guild.ts b/payloads/v8/guild.ts index 9c9d64465..ec2ec4acc 100644 --- a/payloads/v8/guild.ts +++ b/payloads/v8/guild.ts @@ -821,8 +821,10 @@ export interface APIGuildIntegrationApplication { description: string; /** * The summary of the app + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The bot associated with this application * diff --git a/payloads/v9/application.ts b/payloads/v9/application.ts index d07b148dc..97780f503 100644 --- a/payloads/v9/application.ts +++ b/payloads/v9/application.ts @@ -55,8 +55,10 @@ export interface APIApplication { /** * If this application is a game sold on Discord, this field will be the summary field for the store page * of its primary sku + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function * diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index fe70f6a67..c0445f73f 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -808,8 +808,10 @@ export interface APIGuildIntegrationApplication { description: string; /** * The summary of the app + * + * @deprecated Always an empty string, will be removed in v11 */ - summary: string; + summary: ''; /** * The bot associated with this application * diff --git a/rest/v10/channel.ts b/rest/v10/channel.ts index 0bec1ff1d..63f4515a8 100644 --- a/rest/v10/channel.ts +++ b/rest/v10/channel.ts @@ -642,13 +642,6 @@ export interface RESTGetAPIChannelThreadsArchivedQuery { limit?: number; } -/** - * https://discord.com/developers/docs/resources/channel#list-active-threads - * - * @deprecated Use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead. Will be removed in v10. - */ -export type RESTGetAPIChannelThreadsResult = APIThreadList; - /** * https://discord.com/developers/docs/resources/channel#list-joined-private-archived-threads */ diff --git a/rest/v8/guild.ts b/rest/v8/guild.ts index 3a7ed8dd1..08c79e77e 100644 --- a/rest/v8/guild.ts +++ b/rest/v8/guild.ts @@ -570,6 +570,8 @@ export type RESTPutAPIGuildBanJSONBody = AddUndefinedToPossiblyUndefinedProperti delete_message_days?: number; /** * Reason for the ban + * + * @deprecated Removed in API v10, use the `X-Audit-Log-Reason` header instead. */ reason?: string; }>; diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index 866a028b3..67ee78ebc 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -659,7 +659,7 @@ export interface RESTGetAPIChannelThreadsArchivedQuery { /** * https://discord.com/developers/docs/resources/channel#list-active-threads * - * @deprecated Use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead. Will be removed in v10. + * @deprecated Removed in API v10, use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead. */ export type RESTGetAPIChannelThreadsResult = APIThreadList; diff --git a/rest/v9/guild.ts b/rest/v9/guild.ts index 82b3a34d5..fbe5bf275 100644 --- a/rest/v9/guild.ts +++ b/rest/v9/guild.ts @@ -528,6 +528,8 @@ export type RESTPutAPIGuildBanJSONBody = AddUndefinedToPossiblyUndefinedProperti delete_message_days?: number; /** * Reason for the ban + * + * @deprecated Removed in API v10, use the `X-Audit-Log-Reason` header instead. */ reason?: string; }>; diff --git a/rest/v9/index.ts b/rest/v9/index.ts index 299499fb5..f4847c391 100644 --- a/rest/v9/index.ts +++ b/rest/v9/index.ts @@ -448,8 +448,7 @@ export const Routes = { /** * Route for: * - GET `/channels/{channel.id}/threads/active` - * (deprecated, use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead. - * Will be removed in v10.) + * (deprecated, removed in API v10, use [List Active Guild Threads](https://discord.com/developers/docs/resources/guild#list-active-threads) instead.) * - GET `/channels/{channel.id}/threads/archived/public` * - GET `/channels/{channel.id}/threads/archived/private` */