Entitlements: who has access to the application's SKUs.
Every function returns {:ok, result}, :ok when Discord sends no body, or
{:error, %Lingo.Error{}}. Calls go to the current bot (see Lingo.with_bot/2).
Summary
Functions
Marks a one-time purchase entitlement as used.
Grants a test entitlement to a user or guild.
Deletes a test entitlement.
Fetches an entitlement.
Lists the application's entitlements.
Functions
@spec consume(Lingo.Api.id()) :: Lingo.Api.result()
Marks a one-time purchase entitlement as used.
@spec create_test(Lingo.Api.params()) :: Lingo.Api.result(Lingo.Type.Entitlement.t())
Grants a test entitlement to a user or guild.
@spec delete_test(Lingo.Api.id()) :: Lingo.Api.result()
Deletes a test entitlement.
@spec get(Lingo.Api.id()) :: Lingo.Api.result(Lingo.Type.Entitlement.t())
Fetches an entitlement.
@spec list(keyword()) :: Lingo.Api.result([Lingo.Type.Entitlement.t()])
Lists the application's entitlements.