From ed1b2cceb14ef836c412c7ed448be7c596a53261 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Fri, 18 Nov 2022 17:25:45 +0000 Subject: [PATCH 1/2] Remove `PRIVATE_THREADS` --- CHANGELOG.md | 4 ++++ discord/guild.py | 1 - discord/types/guild.py | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e131764b4..b628926f5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,6 +45,10 @@ These changes are available on the `master` branch, but have not yet been releas - `get_application_command()` now supports retrieving subcommands and subcommand groups. ([#1678](https://github.com/Pycord-Development/pycord/pull/1678)) +### Removed +- Removed the guild feature `PRIVATE_THREADS` due to paywall limitation removal. + ([#1789](https://github.com/Pycord-Development/pycord/pull/1789)) + ## [2.2.2] - 2022-10-05 ### Fixed diff --git a/discord/guild.py b/discord/guild.py index 8eacb2c944..b8d430815f 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -230,7 +230,6 @@ class Guild(Hashable): - ``PARTNERED``: Guild is a partnered server. - ``PREMIUM_TIER_3_OVERRIDE``: Forces the server to server boosting level 3 (specifically created by Discord Staff Member "Jethro" for their personal server). - ``PREVIEW_ENABLED``: Guild can be viewed before being accepted via Membership Screening. - - ``PRIVATE_THREADS``: Guild has access to create private threads. - ``ROLE_ICONS``: Guild can set an image or emoji as a role icon. - ``ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE``: Role subscriptions are available for purchasing. - ``ROLE_SUBSCRIPTIONS_ENABLED``: Guild is able to view and manage role subscriptions. diff --git a/discord/types/guild.py b/discord/types/guild.py index d404dcf086..76f69c582e 100644 --- a/discord/types/guild.py +++ b/discord/types/guild.py @@ -79,7 +79,6 @@ class UnavailableGuild(TypedDict): "PARTNERED", "PREMIUM_TIER_3_OVERRIDE", "PREVIEW_ENABLED", - "PRIVATE_THREADS", "ROLE_ICONS", "ROLE_SUBSCRIPTIONS_ENABLED", "SEVEN_DAY_THREAD_ARCHIVE", From 94f14693587c8231603b6bd455b7b964ff9300ce Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 18 Nov 2022 17:26:46 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b628926f5a..92c85d7f97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,9 +46,10 @@ These changes are available on the `master` branch, but have not yet been releas ([#1678](https://github.com/Pycord-Development/pycord/pull/1678)) ### Removed + - Removed the guild feature `PRIVATE_THREADS` due to paywall limitation removal. ([#1789](https://github.com/Pycord-Development/pycord/pull/1789)) - + ## [2.2.2] - 2022-10-05 ### Fixed