Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#getEntitlement

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.getEntitlement
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Fetch an entitlement by its ID. This may be useful in confirming that a user has a given entitlement that another call or the SDK says they do.

Parameters

applicationId: string
entitlementId: string

Returns

Promise<unknown>