diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index 60ff146f7..1764a6339 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -309,6 +309,35 @@ export enum ChannelType { * A channel that can only contain threads */ GuildForum, + + // EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS // + + /** + * A channel that users can follow and crosspost into their own guild + * + * @deprecated This is the old name for {@apilink ChannelType#GuildAnnouncement} + * + * See https://support.discord.com/hc/en-us/articles/360032008192 + */ + GuildNews = 5, + /** + * A temporary sub-channel within a Guild Announcement channel + * + * @deprecated This is the old name for {@apilink ChannelType#AnnouncementThread} + */ + GuildNewsThread = 10, + /** + * A temporary sub-channel within a Guild Text channel + * + * @deprecated This is the old name for {@apilink ChannelType#PublicThread} + */ + GuildPublicThread = 11, + /** + * A temporary sub-channel within a Guild Text channel that is only viewable by those invited and those with the Manage Threads permission + * + * @deprecated This is the old name for {@apilink ChannelType#PrivateThread} + */ + GuildPrivateThread = 12, } export enum VideoQualityMode { diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index 7f8524834..e0f8cc175 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -309,6 +309,34 @@ export enum ChannelType { * A channel that can only contain threads */ GuildForum, + + // EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS + /** + * A channel that users can follow and crosspost into their own guild + * + * @deprecated This is the old name for {@apilink ChannelType#GuildAnnouncement} + * + * See https://support.discord.com/hc/en-us/articles/360032008192 + */ + GuildNews = 5, + /** + * A temporary sub-channel within a Guild Announcement channel + * + * @deprecated This is the old name for {@apilink ChannelType#AnnouncementThread} + */ + GuildNewsThread = 10, + /** + * A temporary sub-channel within a Guild Text channel + * + * @deprecated This is the old name for {@apilink ChannelType#PublicThread} + */ + GuildPublicThread = 11, + /** + * A temporary sub-channel within a Guild Text channel that is only viewable by those invited and those with the Manage Threads permission + * + * @deprecated This is the old name for {@apilink ChannelType#PrivateThread} + */ + GuildPrivateThread = 12, } export enum VideoQualityMode { diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index aded8a833..c9e38afe3 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -309,6 +309,35 @@ export enum ChannelType { * A channel that can only contain threads */ GuildForum, + + // EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS // + + /** + * A channel that users can follow and crosspost into their own guild + * + * @deprecated This is the old name for {@apilink ChannelType#GuildAnnouncement} + * + * See https://support.discord.com/hc/en-us/articles/360032008192 + */ + GuildNews = 5, + /** + * A temporary sub-channel within a Guild Announcement channel + * + * @deprecated This is the old name for {@apilink ChannelType#AnnouncementThread} + */ + GuildNewsThread = 10, + /** + * A temporary sub-channel within a Guild Text channel + * + * @deprecated This is the old name for {@apilink ChannelType#PublicThread} + */ + GuildPublicThread = 11, + /** + * A temporary sub-channel within a Guild Text channel that is only viewable by those invited and those with the Manage Threads permission + * + * @deprecated This is the old name for {@apilink ChannelType#PrivateThread} + */ + GuildPrivateThread = 12, } export enum VideoQualityMode { diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index a7cdfdcad..78c18eb2f 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -309,6 +309,34 @@ export enum ChannelType { * A channel that can only contain threads */ GuildForum, + + // EVERYTHING BELOW THIS LINE SHOULD BE OLD NAMES FOR RENAMED ENUM MEMBERS + /** + * A channel that users can follow and crosspost into their own guild + * + * @deprecated This is the old name for {@apilink ChannelType#GuildAnnouncement} + * + * See https://support.discord.com/hc/en-us/articles/360032008192 + */ + GuildNews = 5, + /** + * A temporary sub-channel within a Guild Announcement channel + * + * @deprecated This is the old name for {@apilink ChannelType#AnnouncementThread} + */ + GuildNewsThread = 10, + /** + * A temporary sub-channel within a Guild Text channel + * + * @deprecated This is the old name for {@apilink ChannelType#PublicThread} + */ + GuildPublicThread = 11, + /** + * A temporary sub-channel within a Guild Text channel that is only viewable by those invited and those with the Manage Threads permission + * + * @deprecated This is the old name for {@apilink ChannelType#PrivateThread} + */ + GuildPrivateThread = 12, } export enum VideoQualityMode {