Estimated read time: 3 minutes, 6 seconds

fsBuilds is intended as a reference example, not an actively maintained SDK or library. This build and the accompanying documentation reflect the FastSpring and Discord APIs as of the publish date and may not account for later changes to either platform. Check the linked documentation for current behavior before building on it.

For many mobile games, Discord is one of the most popular stops for the most engaged players. Players talk strategy, share clips, and discuss updates to your game. Until now, it’s been difficult to turn Discord into revenue without sending players on a long trip to find the web store. We’re excited to share our latest build: the fsBuilds Discord Bot.

With FastSpring’s fsBuilds Discord Bot, players can open their own private storefront inside your server with one command. They browse your live catalog, see offers picked for their Discord role, and check out through a secure FastSpring checkout.

A smartphone displaying the Discord app, with text above it that reads 'Players type the command /store in discord'. The phone screen shows a channel named '#eggblast-store'. At the bottom of the screen, the user is typing the command '/store' into the message box, which brings up a pop-up suggestion to 'Browse and purchase in-game items'.

Key Benefits of the fsBuilds Discord Bot

Your players are already in Discord. Now your web store can be too. When a player is ready to buy, they type /store and get a branded storefront with product cards, prices, and buy buttons, pulled live from your FastSpring catalog.

Customized offers based on Discord roles

The bot uses Discord’s native roles to show exclusive products and bundles to your VIPs and other player segments. VIP status can come from a Discord role, or from an active FastSpring subscription. Players without VIP status see an “Unlock VIP” upsell, which is a natural place to promote a battle pass or membership.

Verified buyers with Discord account integration

Players connect their Discord account once through Discord OAuth. The bot then uses the FastSpring sessions API to create each checkout on your server, with the product, the verified buyer, and their Discord ID attached. Nothing editable travels in the checkout link, so every purchase is tied to the right player.

Purchase confirmations in Discord DMs

When an order completes, a FastSpring webhook notifies your server, and the bot DMs the player a purchase confirmation. The player still gets FastSpring’s email receipt too.

Announcements without a code change

Community managers can use /announce to post web store promotions to the whole server. They can add a custom banner and product cards chosen from the live catalog. Product names, prices, art, and descriptions all come from FastSpring, so launching a new item or running a season reset doesn’t need a ticket to the dev team.

Flexible by design and built for what’s next

This guide shows one way to build the bot, not the only way. It gives you a solid FastSpring integration to build on and your team can extend it from there with additional features that best fit your community.

How the Discord Bot Build Works

The bot follows a simple flow: Discord – Your Backend – FastSpring. The bot never touches payment details and automatically shows your products, hands the player off to a FastSpring checkout, and listens for the result.

  1. Set up your bot in Discord and connect FastSpring
  2. Players open their storefront by typing /store in Discord
  3. On the first purchase, players authorize a one-time Discord connect
  4. On each purchase, initialize a secure, server-side checkout with Sessions API
  5. FastSpring confirms, the bot follows up via DM in Discord

Why Use FastSpring to Monetize on Discord?

FastSpring gives game publishers a complete D2C monetization stack: a global payments partner, flexible checkout options, subscription support, and developer tools built to integrate wherever your players are. Ready to learn more? Set up some time with our team to learn how FastSpring can help you monetize in Discord. Or, review our public git repository or documentation to try it yourself.

Braden Steel

Braden Steel

Author

Braden is the Senior Product Marketing Manager for FastSpring. When he's not bringing new products to market, he spends his time writing fantasy novels.