Skip to content

Commit

Permalink
✏️ Fix writing 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Paillat-dev committed Dec 18, 2024
1 parent f819360 commit 24c2ec8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ These changes are available on the `master` branch, but have not yet been releas
([#2587](https://github.com/Pycord-Development/pycord/pull/2587/))
- Added optional `filter` parameter to `utils.basic_autocomplete()`.
([#2590](https://github.com/Pycord-Development/pycord/pull/2590))
- Added new role tags `subscription_listing_id`, `guild_connections`, and
- Added the following role tags: `subscription_listing_id`, `guild_connections`, and
`available_for_purchase`.
([#2606](https://github.com/Pycord-Development/pycord/pull/2606))
- Added missing `with_counts` parameter to `fetch_guilds` method.
Expand Down
8 changes: 4 additions & 4 deletions discord/role.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ def is_premium_subscriber(self) -> bool:

def is_integration(self) -> bool:
"""Whether the guild manages the role through some form of
integrations such as Twitch or trough guild subscriptions.
integrations such as Twitch or through guild subscriptions.
"""
return self.integration_id is not None

def is_available_for_purchase(self) -> bool:
"""Whether the role is available for purchase.
Returns ``True`` if the role is available for purchase,
Returns ``True`` if the role is available for purchase, and
``False`` if it is not available for purchase or if the role is not linked to a guild subscription.
.. versionadded:: 2.7
Expand Down Expand Up @@ -327,7 +327,7 @@ def is_premium_subscriber(self) -> bool:

def is_integration(self) -> bool:
"""Whether the guild manages the role through some form of
integrations such as Twitch or trough guild subscriptions.
integrations such as Twitch or through guild subscriptions.
.. versionadded:: 1.6
"""
Expand All @@ -348,7 +348,7 @@ def is_assignable(self) -> bool:
def is_available_for_purchase(self) -> bool:
"""Whether the role is available for purchase.
Returns ``True`` if the role is available for purchase,
Returns ``True`` if the role is available for purchase, and
``False`` if it is not available for purchase or if the role is not linked to a guild subscription.
.. versionadded:: 2.7
Expand Down

0 comments on commit 24c2ec8

Please sign in to comment.