diff --git a/guide/docs/popular-topics/images/monetization-intro.png b/guide/docs/popular-topics/images/monetization-intro.png new file mode 100644 index 00000000..e3f3c0d4 Binary files /dev/null and b/guide/docs/popular-topics/images/monetization-intro.png differ diff --git a/guide/docs/popular-topics/images/monetization-response.png b/guide/docs/popular-topics/images/monetization-response.png new file mode 100644 index 00000000..b90140ee Binary files /dev/null and b/guide/docs/popular-topics/images/monetization-response.png differ diff --git a/guide/docs/popular-topics/intro.mdx b/guide/docs/popular-topics/intro.mdx index dad87837..4a49c12c 100644 --- a/guide/docs/popular-topics/intro.mdx +++ b/guide/docs/popular-topics/intro.mdx @@ -110,6 +110,27 @@ use-cases. +
## Resulting Code diff --git a/guide/docs/popular-topics/monetization.mdx b/guide/docs/popular-topics/monetization.mdx new file mode 100644 index 00000000..6b0716bf --- /dev/null +++ b/guide/docs/popular-topics/monetization.mdx @@ -0,0 +1,96 @@ +--- +description: Add premium features to your bot. +--- + +# Monetization + +:::note + +Monetization is limited to **verified** apps/bots. + +::: + +Premium Apps offer developers the ability to monetize their application through either **monthly recurring subscriptions** or **one-time purchases**, natively on Discord. +This allows you to e.g. limit specific commands or other functionality to premium users/guilds. + +Not all applications are eligible - your app must be verified, part of a developer team, and use [slash commands](/interactions/slash-commands) or the privileged `Message Content` intent, among other things. + +## Initial setup + +To get started, visit the [official documentation](https://discord.com/developers/docs/monetization/overview) to see the full list of requirements, and configure your app for monetization by following the steps outlined there. + +## Entitlements + +Entitlements represent access to the premium functionality of your application. These can be granted to users or guilds, depending on the type of SKU you set up in the previous step. + +In [interactions](/interactions) (e.g. slash commands), the entitlements for the invoking user/guild are easily accessible using
+
+