Skip to content

Commit

Permalink
chore(core): tweak KDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukellmann committed Sep 14, 2024
1 parent 3f5b8a1 commit 92d5131
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
14 changes: 9 additions & 5 deletions core/src/commonMain/kotlin/behavior/monetization/SkuBehavior.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ public interface SkuBehavior : KordEntity, Strategizable {

/**
* Requests to create a new [test entitlement][Entitlement] to this SKU for an owner with the given [ownerId] and
* [ownerType]. Discord will act as though that owner has entitlement to your premium offering.
* [ownerType].
*
* Discord will act as though that owner has entitlement to your premium offering.
*
* The returned [Entitlement] will not contain [startsAt][Entitlement.startsAt] and [endsAt][Entitlement.endsAt], as
* it's valid in perpetuity.
Expand All @@ -65,8 +67,9 @@ public interface SkuBehavior : KordEntity, Strategizable {
}

/**
* Requests to create a new [test entitlement][Entitlement] to this SKU for a given [user]. Discord will act as
* though that user has entitlement to your premium offering.
* Requests to create a new [test entitlement][Entitlement] to this SKU for a given [user].
*
* Discord will act as though that user has entitlement to your premium offering.
*
* The returned [Entitlement] will not contain [startsAt][Entitlement.startsAt] and [endsAt][Entitlement.endsAt], as
* it's valid in perpetuity.
Expand All @@ -77,8 +80,9 @@ public interface SkuBehavior : KordEntity, Strategizable {
createTestEntitlement(user.id, EntitlementOwnerType.User)

/**
* Requests to create a new [test entitlement][Entitlement] to this SKU for a given [guild]. Discord will act as
* though that guild has entitlement to your premium offering.
* Requests to create a new [test entitlement][Entitlement] to this SKU for a given [guild].
*
* Discord will act as though that guild has entitlement to your premium offering.
*
* The returned [Entitlement] will not contain [startsAt][Entitlement.startsAt] and [endsAt][Entitlement.endsAt], as
* it's valid in perpetuity.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ public class Entitlement(
/**
* Requests to delete this currently active test entitlement.
*
* Discord will act as though that [user][Entitlement.user] or [guild][Entitlement.guild] *no longer* has
* entitlement to your premium offering.
* Discord will act as though that [user] or [guild] *no longer* has entitlement to your premium offering.
*
* This request will fail if this is not a test entitlement.
*
Expand Down

0 comments on commit 92d5131

Please sign in to comment.