Skip to content

Commit

Permalink
Update disnake/subscription.py
Browse files Browse the repository at this point in the history
Co-authored-by: vi <[email protected]>
Signed-off-by: Snipy7374 <[email protected]>
  • Loading branch information
Snipy7374 and shiftinv authored Dec 21, 2024
1 parent 2c46b96 commit a84f1ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion disnake/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
class Subscription(Hashable):
"""Represents a subscription.
This can only be retrieved using :meth:`SKU.subscriptions` or :meth:`SKU.fetch_subscription`.
This can only be retrieved using :meth:`SKU.subscriptions` or :meth:`SKU.fetch_subscription`,
or provided by events (e.g. :func:`on_subscription_create`).
.. warning::
:class:`Subscription`\\s should not be used to grant perks. Use :class:`Entitlement`\\s as a way of whether a user should have access to a specific :class:`SKU`.
Expand Down

0 comments on commit a84f1ea

Please sign in to comment.