From 3713a553e96c3e9ce77d1b8e19ae13d1cdc6d11f Mon Sep 17 00:00:00 2001 From: Eejit <76887639+Eejit43@users.noreply.github.com> Date: Thu, 24 Nov 2022 06:12:51 -0500 Subject: [PATCH] docs: Remove locales and titles in help center article links (#654) * Remove locales in help center article links * remove article names from help center urls --- deno/payloads/v10/channel.ts | 18 +++++++++--------- deno/payloads/v10/guild.ts | 6 +++--- deno/payloads/v9/channel.ts | 18 +++++++++--------- deno/payloads/v9/guild.ts | 6 +++--- payloads/v10/channel.ts | 18 +++++++++--------- payloads/v10/guild.ts | 6 +++--- payloads/v9/channel.ts | 18 +++++++++--------- payloads/v9/guild.ts | 6 +++--- 8 files changed, 48 insertions(+), 48 deletions(-) diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index 7e2960b46..ee2f7d521 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -348,13 +348,13 @@ export enum ChannelType { /** * An organizational category that contains up to 50 channels * - * See https://support.discord.com/hc/en-us/articles/115001580171-Channel-Categories-101 + * See https://support.discord.com/hc/articles/115001580171 */ GuildCategory, /** * A channel that users can follow and crosspost into their own guild * - * See https://support.discord.com/hc/en-us/articles/360032008192 + * See https://support.discord.com/hc/articles/360032008192 */ GuildAnnouncement, /** @@ -372,13 +372,13 @@ export enum ChannelType { /** * A voice channel for hosting events with an audience * - * See https://support.discord.com/hc/en-us/articles/1500005513722 + * See https://support.discord.com/hc/articles/1500005513722 */ GuildStageVoice, /** * The channel in a Student Hub containing the listed servers * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 */ GuildDirectory, /** @@ -393,7 +393,7 @@ export enum ChannelType { * * @deprecated This is the old name for {@apilink ChannelType#GuildAnnouncement} * - * See https://support.discord.com/hc/en-us/articles/360032008192 + * See https://support.discord.com/hc/articles/360032008192 */ GuildNews = 5, /** @@ -456,7 +456,7 @@ export interface APIMessage { * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents**. * You also need to specify the intent bit value (`1 << 15`) if you are connecting to the gateway * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ content: string; /** @@ -513,7 +513,7 @@ export interface APIMessage { * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents**. * You also need to specify the intent bit value (`1 << 15`) if you are connecting to the gateway * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ attachments: APIAttachment[]; /** @@ -526,7 +526,7 @@ export interface APIMessage { * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents**. * You also need to specify the intent bit value (`1 << 15`) if you are connecting to the gateway * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ embeds: APIEmbed[]; /** @@ -616,7 +616,7 @@ export interface APIMessage { * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents**. * You also need to specify the intent bit value (`1 << 15`) if you are connecting to the gateway * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ components?: APIActionRowComponent[]; /** diff --git a/deno/payloads/v10/guild.ts b/deno/payloads/v10/guild.ts index 9ff09576a..fe7e09f28 100644 --- a/deno/payloads/v10/guild.ts +++ b/deno/payloads/v10/guild.ts @@ -419,7 +419,7 @@ export enum GuildFeature { /** * Guild is a Student Hub * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 * * @unstable This feature is currently not documented by Discord, but has known value */ @@ -435,7 +435,7 @@ export enum GuildFeature { /** * Guild is in a Student Hub * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 * * @unstable This feature is currently not documented by Discord, but has known value */ @@ -602,7 +602,7 @@ export interface APIGuildMember { /** * When the user started boosting the guild * - * See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting- + * See https://support.discord.com/hc/articles/360028038352 */ premium_since?: string | null; /** diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index 8792c3d3f..e25715abc 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -348,13 +348,13 @@ export enum ChannelType { /** * An organizational category that contains up to 50 channels * - * See https://support.discord.com/hc/en-us/articles/115001580171-Channel-Categories-101 + * See https://support.discord.com/hc/articles/115001580171 */ GuildCategory, /** * A channel that users can follow and crosspost into their own guild * - * See https://support.discord.com/hc/en-us/articles/360032008192 + * See https://support.discord.com/hc/articles/360032008192 */ GuildAnnouncement, /** @@ -372,13 +372,13 @@ export enum ChannelType { /** * A voice channel for hosting events with an audience * - * See https://support.discord.com/hc/en-us/articles/1500005513722 + * See https://support.discord.com/hc/articles/1500005513722 */ GuildStageVoice, /** * The channel in a Student Hub containing the listed servers * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 */ GuildDirectory, /** @@ -392,7 +392,7 @@ export enum ChannelType { * * @deprecated This is the old name for {@apilink ChannelType#GuildAnnouncement} * - * See https://support.discord.com/hc/en-us/articles/360032008192 + * See https://support.discord.com/hc/articles/360032008192 */ GuildNews = 5, /** @@ -454,7 +454,7 @@ export interface APIMessage { * * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents** * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ content: string; /** @@ -510,7 +510,7 @@ export interface APIMessage { * * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents** * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ attachments: APIAttachment[]; /** @@ -522,7 +522,7 @@ export interface APIMessage { * * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents** * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ embeds: APIEmbed[]; /** @@ -611,7 +611,7 @@ export interface APIMessage { * * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents** * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ components?: APIActionRowComponent[]; /** diff --git a/deno/payloads/v9/guild.ts b/deno/payloads/v9/guild.ts index 9ff09576a..fe7e09f28 100644 --- a/deno/payloads/v9/guild.ts +++ b/deno/payloads/v9/guild.ts @@ -419,7 +419,7 @@ export enum GuildFeature { /** * Guild is a Student Hub * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 * * @unstable This feature is currently not documented by Discord, but has known value */ @@ -435,7 +435,7 @@ export enum GuildFeature { /** * Guild is in a Student Hub * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 * * @unstable This feature is currently not documented by Discord, but has known value */ @@ -602,7 +602,7 @@ export interface APIGuildMember { /** * When the user started boosting the guild * - * See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting- + * See https://support.discord.com/hc/articles/360028038352 */ premium_since?: string | null; /** diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index 0703fc8a2..e069ef7a0 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -348,13 +348,13 @@ export enum ChannelType { /** * An organizational category that contains up to 50 channels * - * See https://support.discord.com/hc/en-us/articles/115001580171-Channel-Categories-101 + * See https://support.discord.com/hc/articles/115001580171 */ GuildCategory, /** * A channel that users can follow and crosspost into their own guild * - * See https://support.discord.com/hc/en-us/articles/360032008192 + * See https://support.discord.com/hc/articles/360032008192 */ GuildAnnouncement, /** @@ -372,13 +372,13 @@ export enum ChannelType { /** * A voice channel for hosting events with an audience * - * See https://support.discord.com/hc/en-us/articles/1500005513722 + * See https://support.discord.com/hc/articles/1500005513722 */ GuildStageVoice, /** * The channel in a Student Hub containing the listed servers * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 */ GuildDirectory, /** @@ -393,7 +393,7 @@ export enum ChannelType { * * @deprecated This is the old name for {@apilink ChannelType#GuildAnnouncement} * - * See https://support.discord.com/hc/en-us/articles/360032008192 + * See https://support.discord.com/hc/articles/360032008192 */ GuildNews = 5, /** @@ -456,7 +456,7 @@ export interface APIMessage { * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents**. * You also need to specify the intent bit value (`1 << 15`) if you are connecting to the gateway * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ content: string; /** @@ -513,7 +513,7 @@ export interface APIMessage { * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents**. * You also need to specify the intent bit value (`1 << 15`) if you are connecting to the gateway * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ attachments: APIAttachment[]; /** @@ -526,7 +526,7 @@ export interface APIMessage { * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents**. * You also need to specify the intent bit value (`1 << 15`) if you are connecting to the gateway * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ embeds: APIEmbed[]; /** @@ -616,7 +616,7 @@ export interface APIMessage { * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents**. * You also need to specify the intent bit value (`1 << 15`) if you are connecting to the gateway * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ components?: APIActionRowComponent[]; /** diff --git a/payloads/v10/guild.ts b/payloads/v10/guild.ts index 7f0d83fe7..8600ec636 100644 --- a/payloads/v10/guild.ts +++ b/payloads/v10/guild.ts @@ -419,7 +419,7 @@ export enum GuildFeature { /** * Guild is a Student Hub * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 * * @unstable This feature is currently not documented by Discord, but has known value */ @@ -435,7 +435,7 @@ export enum GuildFeature { /** * Guild is in a Student Hub * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 * * @unstable This feature is currently not documented by Discord, but has known value */ @@ -602,7 +602,7 @@ export interface APIGuildMember { /** * When the user started boosting the guild * - * See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting- + * See https://support.discord.com/hc/articles/360028038352 */ premium_since?: string | null; /** diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index c457b4af6..ee1c0bfa2 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -348,13 +348,13 @@ export enum ChannelType { /** * An organizational category that contains up to 50 channels * - * See https://support.discord.com/hc/en-us/articles/115001580171-Channel-Categories-101 + * See https://support.discord.com/hc/articles/115001580171 */ GuildCategory, /** * A channel that users can follow and crosspost into their own guild * - * See https://support.discord.com/hc/en-us/articles/360032008192 + * See https://support.discord.com/hc/articles/360032008192 */ GuildAnnouncement, /** @@ -372,13 +372,13 @@ export enum ChannelType { /** * A voice channel for hosting events with an audience * - * See https://support.discord.com/hc/en-us/articles/1500005513722 + * See https://support.discord.com/hc/articles/1500005513722 */ GuildStageVoice, /** * The channel in a Student Hub containing the listed servers * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 */ GuildDirectory, /** @@ -392,7 +392,7 @@ export enum ChannelType { * * @deprecated This is the old name for {@apilink ChannelType#GuildAnnouncement} * - * See https://support.discord.com/hc/en-us/articles/360032008192 + * See https://support.discord.com/hc/articles/360032008192 */ GuildNews = 5, /** @@ -454,7 +454,7 @@ export interface APIMessage { * * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents** * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ content: string; /** @@ -510,7 +510,7 @@ export interface APIMessage { * * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents** * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ attachments: APIAttachment[]; /** @@ -522,7 +522,7 @@ export interface APIMessage { * * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents** * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ embeds: APIEmbed[]; /** @@ -611,7 +611,7 @@ export interface APIMessage { * * In the Discord Developers Portal, you need to enable the toggle of this intent of your application in **Bot > Privileged Gateway Intents** * - * See https://support-dev.discord.com/hc/en-us/articles/4404772028055 + * See https://support-dev.discord.com/hc/articles/4404772028055 */ components?: APIActionRowComponent[]; /** diff --git a/payloads/v9/guild.ts b/payloads/v9/guild.ts index 7f0d83fe7..8600ec636 100644 --- a/payloads/v9/guild.ts +++ b/payloads/v9/guild.ts @@ -419,7 +419,7 @@ export enum GuildFeature { /** * Guild is a Student Hub * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 * * @unstable This feature is currently not documented by Discord, but has known value */ @@ -435,7 +435,7 @@ export enum GuildFeature { /** * Guild is in a Student Hub * - * See https://support.discord.com/hc/en-us/articles/4406046651927-Discord-Student-Hubs-FAQ + * See https://support.discord.com/hc/articles/4406046651927 * * @unstable This feature is currently not documented by Discord, but has known value */ @@ -602,7 +602,7 @@ export interface APIGuildMember { /** * When the user started boosting the guild * - * See https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting- + * See https://support.discord.com/hc/articles/360028038352 */ premium_since?: string | null; /**